1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

10804 Commits

Author SHA1 Message Date
Nnenna Ndukwe
b7232d0397
docs: Spring Boot Tutorial v1 (#6620)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

We have a v1 for a Java Spring Boot Tutorial:
- uses popular Java Spring Boot open source project Spring Pet Clinic
- uses Unleash Spring Boot SDK
- this is simple & introductory as we don't have data plugged into the
new page we build in the application.

<img width="899" alt="spring-boot-tutorial-app-in-browser"
src="https://github.com/Unleash/unleash/assets/22972707/c620f49c-d487-44ac-af7d-ce32bc3c85d8">


<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

I added the tutorial to the Java section in the docs navigation menu. I
could have it stand alone, but I would consider it to be underneath the
Java language we have already listed in our menu.

<img width="301" alt="Screenshot 2024-03-19 at 8 49 11 PM"
src="https://github.com/Unleash/unleash/assets/22972707/404ff27b-0363-446a-9036-1b99e4ee5f80">
2024-03-20 10:25:29 -04:00
Mateusz Kwasniewski
87b9f4f713
refactor: Project insights subdomain (#6634) 2024-03-20 15:06:11 +01:00
Alvin Bryan
efb2df78c2
Fixed missing video in the Sveltekit tutorial (#6631)
The mp4 was missing in the Sveltekit tutorial, this fixes it
2024-03-20 13:52:05 +00:00
andreas-unleash
c67ad4222e
fix: ttp stat show latest date (#6626)
Makes the time to production stats show the current value (latest date).
This aligns it with other stats on the page.

Closes #
[1-2203](https://linear.app/unleash/issue/1-2203/make-the-time-to-production-stats-show-the-latest-current-data)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-20 15:46:00 +02:00
Thomas Heartman
990ef4144e
fix: render values that are N/A (#6633)
This change makes the tooltip still render values and headers that are
`N/A` (instead of not rendering them at all).

This makes the tooltip more consistent and predictable. At least to
me, it was confusing that some of the values were just hidden sometimes.

I've also added a test to make sure that the tooltip renders the N/A
values.

This is what it looks like now:


![image](https://github.com/Unleash/unleash/assets/17786332/46cb9250-6ce2-4567-a02d-b186f86c1de5)
2024-03-20 13:44:03 +00:00
Jaanus Sellin
0c0530ddcf
feat: make table scrollable (#6632) 2024-03-20 15:29:15 +02:00
Jaanus Sellin
99b5db1691
feat: connect lead time with backend (#6629) 2024-03-20 14:40:57 +02:00
Mateusz Kwasniewski
6dc6e36084
feat: expose stats, health and flag types insights (#6630) 2024-03-20 13:34:48 +01:00
Jaanus Sellin
1becfc0202
feat: project members widget (#6628)
![image](https://github.com/Unleash/unleash/assets/964450/7e27dbab-da24-44b2-8336-36df9660bd78)
2024-03-20 14:30:27 +02:00
Mateusz Kwasniewski
f0e5d075a7
feat: Fetch backend api data insights (#6622) 2024-03-20 10:54:21 +01:00
Gastón Fournier
ae921aed69
fix: linting (#6625) 2024-03-20 10:22:50 +01:00
Mateusz Kwasniewski
8ea4aec3d4
chore: orval with project insights (#6621) 2024-03-20 09:20:54 +01:00
andreas-unleash
c126ae130d
fix: insights UI improvements and aggreated TTP (#6584)
Various ui enhancements
Aggregates the time to production and metrics summary by averaging by
date across all projects to get the value. Creates a single dataset for
the aggregation. This makes theme behave like eg the Health chart
(showing aggregated graph when show all projects and per project when
not)

Gradient fill when all projects across all related charts
Attached recording with generated data for 3 months 




https://github.com/Unleash/unleash/assets/104830839/7acd80a8-b799-4a35-9a2e-bf3798f56d32

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-20 09:24:56 +02:00
Alvin Bryan
646a8f0192
Made sure the slugs are consistent in the tutorials (#6604)
Some of the slugs for the tutorials were handled in the config file with
the other redirects, some were handled locally in the markdown file.
This moves all the tutorial slugs to the markdown file, and fixes the
slug of the SvelteKit tutorial so it's the same as the others.

---------

Co-authored-by: Nnenna Ndukwe <nnenna.s.ndukwe@gmail.com>
2024-03-19 19:20:26 -04:00
renovate[bot]
9f15cd1c41
fix(deps): update dependency express-rate-limit to v7.2.0 (#6616)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[express-rate-limit](https://togithub.com/express-rate-limit/express-rate-limit)
| [`7.1.5` ->
`7.2.0`](https://renovatebot.com/diffs/npm/express-rate-limit/7.1.5/7.2.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/express-rate-limit/7.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/express-rate-limit/7.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/express-rate-limit/7.1.5/7.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/express-rate-limit/7.1.5/7.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>express-rate-limit/express-rate-limit
(express-rate-limit)</summary>

###
[`v7.2.0`](https://togithub.com/express-rate-limit/express-rate-limit/releases/tag/v7.2.0)

[Compare
Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v7.1.5...v7.2.0)

You can view the changelog
[here](https://express-rate-limit.mintlify.app/reference/changelog).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 23:10:38 +00:00
renovate[bot]
e35aa38a5a
chore(deps): update dependency msw to v2.2.3 (#6615)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io) ([source](https://togithub.com/mswjs/msw)) |
[`2.1.7` -> `2.2.3`](https://renovatebot.com/diffs/npm/msw/2.1.7/2.2.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/msw/2.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/msw/2.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/msw/2.1.7/2.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/msw/2.1.7/2.2.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mswjs/msw (msw)</summary>

### [`v2.2.3`](https://togithub.com/mswjs/msw/releases/tag/v2.2.3)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.2...v2.2.3)

#### v2.2.3 (2024-03-08)

##### Bug Fixes

- remove the upper range for `typescript` peer dependency
([#&#8203;2077](https://togithub.com/mswjs/msw/issues/2077))
([`07cc073`](07cc073f0d))
[@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v2.2.2`](https://togithub.com/mswjs/msw/releases/tag/v2.2.2)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.1...v2.2.2)

#### v2.2.2 (2024-02-28)

##### Bug Fixes

- set correct "Content-Length" response header for special characters
([#&#8203;2045](https://togithub.com/mswjs/msw/issues/2045))
([#&#8203;2046](https://togithub.com/mswjs/msw/issues/2046))
([`eb3e284`](eb3e284a3e))
[@&#8203;ZeroCho](https://togithub.com/ZeroCho)

### [`v2.2.1`](https://togithub.com/mswjs/msw/releases/tag/v2.2.1)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.2.0...v2.2.1)

#### v2.2.1 (2024-02-17)

##### Bug Fixes

- remove unused types
([#&#8203;2043](https://togithub.com/mswjs/msw/issues/2043))
([`a78d57d`](a78d57d3e9))
[@&#8203;kettanaito](https://togithub.com/kettanaito)

### [`v2.2.0`](https://togithub.com/mswjs/msw/releases/tag/v2.2.0)

[Compare Source](https://togithub.com/mswjs/msw/compare/v2.1.7...v2.2.0)

#### v2.2.0 (2024-02-12)

##### Features

- **support concurrent test runs via "server.boundary"**
([announcement](https://mswjs.io/blog/introducing-server-boundary),
[#&#8203;2000](https://togithub.com/mswjs/msw/issues/2000))
([`450e7bc`](450e7bc72e))
[@&#8203;kettanaito](https://togithub.com/kettanaito)
- automatically set "Content-Length" on text/json responses
([#&#8203;1996](https://togithub.com/mswjs/msw/issues/1996))
([`a957235`](a957235209))
[@&#8203;kettanaito](https://togithub.com/kettanaito)
- add `msw/core/http` and `msw/core/graphql` export paths
([#&#8203;2004](https://togithub.com/mswjs/msw/issues/2004))
([`31442cf`](31442cfc95))
[@&#8203;thepassle](https://togithub.com/thepassle)
[@&#8203;kettanaito](https://togithub.com/kettanaito)
- drop webpack 4 support (remove "chokidar")
([#&#8203;2021](https://togithub.com/mswjs/msw/issues/2021))
([`a076142`](a0761424c6))
[@&#8203;sairus2k](https://togithub.com/sairus2k)
[@&#8203;kettanaito](https://togithub.com/kettanaito)
- use a lightweight
"[@&#8203;inquirer/confirm](https://togithub.com/inquirer/confirm)" in
the CLI ([#&#8203;2020](https://togithub.com/mswjs/msw/issues/2020))
([`f25af8a`](f25af8a1e5))
[@&#8203;sairus2k](https://togithub.com/sairus2k)
[@&#8203;kettanaito](https://togithub.com/kettanaito)

##### Bug Fixes

- **setupWorker:** set "response.url" in "response:\*" events
([#&#8203;2031](https://togithub.com/mswjs/msw/issues/2031))
([`0e9d65f`](0e9d65ffbf))
[@&#8203;kettanaito](https://togithub.com/kettanaito)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 19:29:43 +00:00
renovate[bot]
e0c3fc3602
chore(deps): update dependency enhanced-resolve to v5.16.0 (#6614)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [enhanced-resolve](https://togithub.com/webpack/enhanced-resolve) |
[`5.15.1` ->
`5.16.0`](https://renovatebot.com/diffs/npm/enhanced-resolve/5.15.1/5.16.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/enhanced-resolve/5.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/enhanced-resolve/5.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/enhanced-resolve/5.15.1/5.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/enhanced-resolve/5.15.1/5.16.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>webpack/enhanced-resolve (enhanced-resolve)</summary>

###
[`v5.16.0`](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.16.0)

[Compare
Source](https://togithub.com/webpack/enhanced-resolve/compare/5.15.1...v5.16.0)

#### Features:

-   cache realpath and realpathSync methods

#### Bugfixes

-   types for cached input filesystem
-   support Buffer/URL/number paths in cached file system

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 19:29:27 +00:00
Mateusz Kwasniewski
03a84e2d42
feat: project insights resource with hardcoded data (#6610) 2024-03-19 20:23:29 +01:00
renovate[bot]
f3506da925
fix(deps): update dependency unleash-client to v5.5.2 (#6613)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [unleash-client](https://togithub.com/Unleash/unleash-client-node) |
[`5.5.1` ->
`5.5.2`](https://renovatebot.com/diffs/npm/unleash-client/5.5.1/5.5.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/unleash-client/5.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/unleash-client/5.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/unleash-client/5.5.1/5.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/unleash-client/5.5.1/5.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>Unleash/unleash-client-node (unleash-client)</summary>

###
[`v5.5.2`](https://togithub.com/Unleash/unleash-client-node/releases/tag/v5.5.2)

[Compare
Source](https://togithub.com/Unleash/unleash-client-node/compare/v5.5.1...v5.5.2)

#### What's Changed

- chore(deps): update dependency nock to v13.5.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/Unleash/unleash-client-node/pull/588](https://togithub.com/Unleash/unleash-client-node/pull/588)
- fix(lint): run lint-staged on pre-commit again by
[@&#8203;theneva](https://togithub.com/theneva) in
[https://github.com/Unleash/unleash-client-node/pull/594](https://togithub.com/Unleash/unleash-client-node/pull/594)
- fix: add ip to resolutions by
[@&#8203;gastonfournier](https://togithub.com/gastonfournier) in
[https://github.com/Unleash/unleash-client-node/pull/601](https://togithub.com/Unleash/unleash-client-node/pull/601)

#### New Contributors

- [@&#8203;theneva](https://togithub.com/theneva) made their first
contribution in
[https://github.com/Unleash/unleash-client-node/pull/594](https://togithub.com/Unleash/unleash-client-node/pull/594)

**Full Changelog**:
https://github.com/Unleash/unleash-client-node/compare/v5.5.1...v5.5.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 18:43:48 +00:00
renovate[bot]
a924757317
fix(deps): update dependency nodemailer to v6.9.12 (#6612)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [nodemailer](https://nodemailer.com/)
([source](https://togithub.com/nodemailer/nodemailer)) | [`6.9.11` ->
`6.9.12`](https://renovatebot.com/diffs/npm/nodemailer/6.9.11/6.9.12) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/nodemailer/6.9.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nodemailer/6.9.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nodemailer/6.9.11/6.9.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nodemailer/6.9.11/6.9.12?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>nodemailer/nodemailer (nodemailer)</summary>

###
[`v6.9.12`](https://togithub.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#6912-2024-03-08)

[Compare
Source](https://togithub.com/nodemailer/nodemailer/compare/v6.9.11...v6.9.12)

##### Bug Fixes

- **message-generation:** Escape single quote in address names
([4ae5fad](4ae5fadeaa))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 18:43:01 +00:00
Nuno Góis
899d9fe57f
chore: call signal endpoint example (#6611)
Adds a "call signal endpoint" example to the token dialog.


![image](https://github.com/Unleash/unleash/assets/14320932/9cd2b46e-dca7-4ae1-b389-c83f910cb377)
2024-03-19 15:53:41 +00:00
Gastón Fournier
085adaaa51
fix: authorization header typo (#6609)
## About the changes
There seems to be a typo in the authorization header. We're keeping the
old typo as preferred just in case, but if not present we'll default to
the authorization header (not authorisation).

Not sure about the impact of this bug, as all registrations might be
using default project.
2024-03-19 16:08:39 +01:00
Fredrik Strand Oseberg
911b918817
fix: set log level to error for db migrate (#6601)
This PR sets the log level of db-migrate to error, because it interferes
with the indexing of our logs in Loki when the logs are not in JSON
format.
2024-03-19 14:45:27 +01:00
Fredrik Strand Oseberg
bb847e2935
chore: move project stats (#6602)
Add stats to project insights. Will follow up with UI enhancements in a
later iteration.

<img width="1408" alt="Skjermbilde 2024-03-19 kl 13 19 18"
src="https://github.com/Unleash/unleash/assets/16081982/f4726635-99eb-4f27-8c31-5c6d402f2ceb">
2024-03-19 14:27:42 +01:00
Mateusz Kwasniewski
aeb6291863
feat: change request insights for oss and pro (#6608) 2024-03-19 13:43:43 +01:00
Jaanus Sellin
407b348a45
feat: flag types used for project insights (#6607)
![image](https://github.com/Unleash/unleash/assets/964450/b9eecb3e-eb02-4cc7-96eb-033c010734c0)
2024-03-19 14:21:54 +02:00
Mateusz Kwasniewski
84005e27cc
feat: change request insights widget (#6606) 2024-03-19 12:21:06 +01:00
Christopher Kolstad
b61912a70c
fix: read prepare phase builds frontend and backend 2024-03-19 11:53:19 +01:00
Christopher Kolstad
b4bf84d5b0
chore: Upgrade to typescript 5.4.2 (#6605)
The changes to arbitraries here is to make typescript agree with our
schema types. Seems like somewhere between 4.8.4 and 5.4.2, typescript
got stricter.
2024-03-19 10:46:08 +00:00
Jaanus Sellin
ec7bb2dae3
feat: add configurable event for banner goto action (#6603)
We added banner to get attention of customer, but we are not tracking
its usage.
Added a way to track the **goto action** button.
2024-03-19 12:09:09 +02:00
Mateusz Kwasniewski
52363f176a
feat: project health card (#6595) 2024-03-19 09:01:27 +01:00
renovate[bot]
5db0e9ac6e
chore(deps): update dependency vite to v5.1.6 (#6600)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://vitejs.dev)
([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) |
[`5.1.5` -> `5.1.6`](https://renovatebot.com/diffs/npm/vite/5.1.5/5.1.6)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.5/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.5/5.1.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.1.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small516-2024-03-11-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.1.5...v5.1.6)

- chore(deps): update all non-major dependencies
([#&#8203;16131](https://togithub.com/vitejs/vite/issues/16131))
([a862ecb](https://togithub.com/vitejs/vite/commit/a862ecb)), closes
[#&#8203;16131](https://togithub.com/vitejs/vite/issues/16131)
- fix: check for publicDir before checking if it is a parent directory
([#&#8203;16046](https://togithub.com/vitejs/vite/issues/16046))
([b6fb323](https://togithub.com/vitejs/vite/commit/b6fb323)), closes
[#&#8203;16046](https://togithub.com/vitejs/vite/issues/16046)
- fix: escape single quote when relative base is used
([#&#8203;16060](https://togithub.com/vitejs/vite/issues/16060))
([8f74ce4](https://togithub.com/vitejs/vite/commit/8f74ce4)), closes
[#&#8203;16060](https://togithub.com/vitejs/vite/issues/16060)
- fix: handle function property extension in namespace import
([#&#8203;16113](https://togithub.com/vitejs/vite/issues/16113))
([f699194](https://togithub.com/vitejs/vite/commit/f699194)), closes
[#&#8203;16113](https://togithub.com/vitejs/vite/issues/16113)
- fix: server middleware mode resolve
([#&#8203;16122](https://togithub.com/vitejs/vite/issues/16122))
([8403546](https://togithub.com/vitejs/vite/commit/8403546)), closes
[#&#8203;16122](https://togithub.com/vitejs/vite/issues/16122)
- fix(esbuild): update tsconfck to fix bug that could cause a deadlock
([#&#8203;16124](https://togithub.com/vitejs/vite/issues/16124))
([fd9de04](https://togithub.com/vitejs/vite/commit/fd9de04)), closes
[#&#8203;16124](https://togithub.com/vitejs/vite/issues/16124)
- fix(worker): hide "The emitted file overwrites" warning if the content
is same ([#&#8203;16094](https://togithub.com/vitejs/vite/issues/16094))
([60dfa9e](https://togithub.com/vitejs/vite/commit/60dfa9e)), closes
[#&#8203;16094](https://togithub.com/vitejs/vite/issues/16094)
- fix(worker): throw error when circular worker import is detected and
support self referencing worker
([eef9da1](https://togithub.com/vitejs/vite/commit/eef9da1)), closes
[#&#8203;16103](https://togithub.com/vitejs/vite/issues/16103)
- style(utils): remove null check
([#&#8203;16112](https://togithub.com/vitejs/vite/issues/16112))
([0d2df52](https://togithub.com/vitejs/vite/commit/0d2df52)), closes
[#&#8203;16112](https://togithub.com/vitejs/vite/issues/16112)
- refactor(runtime): share more code between runtime and main bundle
([#&#8203;16063](https://togithub.com/vitejs/vite/issues/16063))
([93be84e](https://togithub.com/vitejs/vite/commit/93be84e)), closes
[#&#8203;16063](https://togithub.com/vitejs/vite/issues/16063)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 00:32:17 +00:00
renovate[bot]
1c67c6ad3b
chore(deps): update dependency date-fns-tz to v2.0.1 (#6598)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [date-fns-tz](https://togithub.com/marnusw/date-fns-tz) | [`2.0.0` ->
`2.0.1`](https://renovatebot.com/diffs/npm/date-fns-tz/2.0.0/2.0.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/date-fns-tz/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/date-fns-tz/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/date-fns-tz/2.0.0/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/date-fns-tz/2.0.0/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>marnusw/date-fns-tz (date-fns-tz)</summary>

###
[`v2.0.1`](https://togithub.com/marnusw/date-fns-tz/blob/HEAD/CHANGELOG.md#v201-9-March-2024)

[Compare
Source](https://togithub.com/marnusw/date-fns-tz/compare/v2.0.0...v2.0.1)

- \[DOCS] Fix incorrect output comment
([#&#8203;270](https://togithub.com/marnusw/date-fns-tz/issues/270))
- \[DEPS] Limit to date-fns 2.x
([#&#8203;262](https://togithub.com/marnusw/date-fns-tz/issues/262),
[#&#8203;267](https://togithub.com/marnusw/date-fns-tz/issues/267))
- \[REFACTOR] `tzTokenizeDate`: Remove weird unneeded regex
([#&#8203;254](https://togithub.com/marnusw/date-fns-tz/issues/254))
- \[BUGFIX] Improving correctness of the `formatInTimeZone` close to the
DST threshold
([#&#8203;247](https://togithub.com/marnusw/date-fns-tz/issues/247))
- \[ENHANCEMENT] Use hourCycle for browsers that support hour cycle
formatting
([#&#8203;231](https://togithub.com/marnusw/date-fns-tz/issues/231))
- \[BUGFIX] Fix tzParseTimezone to parse 00:30 timezones properly
([#&#8203;229](https://togithub.com/marnusw/date-fns-tz/issues/229))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 00:31:54 +00:00
renovate[bot]
f985bc428e
chore(deps): update dependency @types/node to v18.19.23 (#6599)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`18.19.22` ->
`18.19.23`](https://renovatebot.com/diffs/npm/@types%2fnode/18.19.22/18.19.23)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.19.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.19.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.19.22/18.19.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.19.22/18.19.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 00:31:31 +00:00
renovate[bot]
1f4d9281b9
chore(deps): update dependency @swc/core to v1.4.6 (#6597)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://togithub.com/swc-project/swc)) | [`1.4.5` ->
`1.4.6`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.4.5/1.4.6) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.4.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.4.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.4.5/1.4.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.4.5/1.4.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc (@&#8203;swc/core)</summary>

###
[`v1.4.6`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#146---2024-03-08)

[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.4.5...v1.4.6)

##### Bug Fixes

- **(es/minifier)** Do not drop used properties
([#&#8203;8703](https://togithub.com/swc-project/swc/issues/8703))
([6069217](606921700e))

##### Performance

- **(es)** Do not create tokio runtime if not required
([#&#8203;8711](https://togithub.com/swc-project/swc/issues/8711))
([9a1f04f](9a1f04f426))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 21:37:45 +00:00
Christopher Kolstad
3e56c2f10d
fix: update husky precommit hook to run init script if present 2024-03-18 21:15:53 +01:00
Gastón Fournier
26e696a090
chore: log error properly (#6596)
## About the changes
We see some logs with: `Failed to store events: Error: The query is
empty` which suggests we're not sending events to batchStore. This will
help us confirm that and will give us better insights
2024-03-18 17:11:36 +01:00
Alvin Bryan
3539f3db02
Sveltekit tutorial (#6538)
Simple Sveltekit tutorial

---------

Co-authored-by: Nnenna Ndukwe <nnenna.s.ndukwe@gmail.com>
2024-03-18 15:54:55 +00:00
renovate[bot]
3fc8a4f9f4
chore(deps): update dependency vitest to v1.3.1 (#6578)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`1.2.2` ->
`1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.2.2/1.3.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.2.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.2.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (vitest)</summary>

###
[`v1.3.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.1)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1)

#####    🚀 Features

- **vitest**: Expose parseCLI method  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5248](https://togithub.com/vitest-dev/vitest/issues/5248)
[<samp>(c793a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c793a136)
- This feature is not affected by SemVer because it is part of an
[experimental API](https://vitest.dev/advanced/api.html).

#####    🐞 Bug Fixes

- Add task tests iteratively  -  by
[@&#8203;DerYeger](https://togithub.com/DerYeger) in
[https://github.com/vitest-dev/vitest/issues/5235](https://togithub.com/vitest-dev/vitest/issues/5235)
[<samp>(38155)</samp>](https://togithub.com/vitest-dev/vitest/commit/38155548)
- **coverage**: Ignore generated TS decorators  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5206](https://togithub.com/vitest-dev/vitest/issues/5206)
[<samp>(a2804)</samp>](https://togithub.com/vitest-dev/vitest/commit/a280451b)
- **ui**: Auto reload coverage iframe after test run  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5242](https://togithub.com/vitest-dev/vitest/issues/5242)
[<samp>(5376d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5376d5be)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1)

###
[`v1.3.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0)

##### 🚀 Features

- Deprecate watchExclude - by
[@&#8203;patak-dev](https://togithub.com/patak-dev) in
[https://github.com/vitest-dev/vitest/issues/5171](https://togithub.com/vitest-dev/vitest/issues/5171)
[<samp>(82885)</samp>](https://togithub.com/vitest-dev/vitest/commit/828858f8)
-   **browser**:
- Run test files in isolated iframes - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5036](https://togithub.com/vitest-dev/vitest/issues/5036)
[<samp>(4f401)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f40177e)
-   **config**:
- Add `snapshotSerializers` option - by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5092](https://togithub.com/vitest-dev/vitest/issues/5092)
[<samp>(5b102)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b1021da)
-   **reporters**:
- Support custom options - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5111](https://togithub.com/vitest-dev/vitest/issues/5111)
[<samp>(fec9c)</samp>](https://togithub.com/vitest-dev/vitest/commit/fec9ca0b)
-   **runner**:
- Support automatic fixtures - by
[@&#8203;fenghan34](https://togithub.com/fenghan34) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5102](https://togithub.com/vitest-dev/vitest/issues/5102)
[<samp>(0441f)</samp>](https://togithub.com/vitest-dev/vitest/commit/0441f761)
-   **ui**:
- Save splitpanes size to local storage - by
[@&#8203;posva](https://togithub.com/posva) in
[https://github.com/vitest-dev/vitest/issues/5166](https://togithub.com/vitest-dev/vitest/issues/5166)
[<samp>(c28b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/c28b4c26)
-   **vitest**:
- Add onTestFinished hook - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5128](https://togithub.com/vitest-dev/vitest/issues/5128)
[<samp>(6f5b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6f5b42b7)
- Add github actions reporter - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5093](https://togithub.com/vitest-dev/vitest/issues/5093)
[<samp>(40afb)</samp>](https://togithub.com/vitest-dev/vitest/commit/40afbe3a)
- Expose jsdom global if jsdom environment is enabled - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[15](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:16)5
[<samp>(567d2)</samp>](https://togithub.com/vitest-dev/vitest/commit/567d20b9)
- Add new CLI options - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[16](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:17)3
[<samp>(4e179)</samp>](https://togithub.com/vitest-dev/vitest/commit/4e179426)
- "test" accepts options object as the second parameter - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5142](https://togithub.com/vitest-dev/vitest/issues/5142)
[<samp>(7d9b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d9b1fb0)
-   **vm**:
- Support wasm module - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5131](https://togithub.com/vitest-dev/vitest/issues/5131)
[<samp>(5ed53)</samp>](https://togithub.com/vitest-dev/vitest/commit/5ed537f0)

##### 🐞 Bug Fixes

- Fix sourcemap in vm pools - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5063](https://togithub.com/vitest-dev/vitest/issues/5063)
[<samp>(81105)</samp>](https://togithub.com/vitest-dev/vitest/commit/8110540a)
- Don't optimize react/jsx-runtime by default when running in Node - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5079](https://togithub.com/vitest-dev/vitest/issues/5079)
[<samp>(0d2bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d2bfeac)
- Rpc timeout error messages to include caller - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5103](https://togithub.com/vitest-dev/vitest/issues/5103)
[<samp>(a6e04)</samp>](https://togithub.com/vitest-dev/vitest/commit/a6e04bd8)
- Requires fixed version across the monorepo - by
[@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/5208](https://togithub.com/vitest-dev/vitest/issues/5208)
[<samp>(68f51)</samp>](https://togithub.com/vitest-dev/vitest/commit/68f51961)
- Prevent merging of `poolOptions` - by
[@&#8203;penalosa](https://togithub.com/penalosa) in
[https://github.com/vitest-dev/vitest/issues/5221](https://togithub.com/vitest-dev/vitest/issues/5221)
[<samp>(bc5b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/bc5b2d04)
-   **browser**:
- Don't exclude node builtins from optimization - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5082](https://togithub.com/vitest-dev/vitest/issues/5082)
[<samp>(714c9)</samp>](https://togithub.com/vitest-dev/vitest/commit/714c911f)
- Support `coverage.reportsDirectory` with multiple directories - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5056](https://togithub.com/vitest-dev/vitest/issues/5056)
[<samp>(ae73f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ae73f273)
-   **cli**:
- Parse `--browser=<name>` correctly - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[17](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:18)9
[<samp>(656e2)</samp>](https://togithub.com/vitest-dev/vitest/commit/656e210b)
-   **coverage**:
- `.tmp` directory conflicts with `--shard` option - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[18](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:19)4
[<samp>(5749d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5749d2c2)
-   **deps**:
- Update dependency strip-literal to v2 - by
[@&#8203;renovate](https://togithub.com/renovate)\[bot]
in[https://github.com/vitest-dev/vitest/issues/5136](https://togithub.com/vitest-dev/vitest/issues/5136)6
[<samp>(ef557)</samp>](https://togithub.com/vitest-dev/vitest/commit/ef557243)
-   **reporters**:
- Testsuite name should include project root in Junit output - by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5116](https://togithub.com/vitest-dev/vitest/issues/5116)
[<samp>(2494f)</samp>](https://togithub.com/vitest-dev/vitest/commit/2494fbf2)
-   **typecheck**:
- Fix suite collection while-loop - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5065](https://togithub.com/vitest-dev/vitest/issues/5065)
[<samp>(35675)</samp>](https://togithub.com/vitest-dev/vitest/commit/35675bd3)
-   **ui**:
- Fix tests duration time - by
[@&#8203;vovsemenv](https://togithub.com/vovsemenv) in
[https://github.com/vitest-dev/vitest/issues/52](https://togithub.com/vitest-dev/vitest/issues/52)[19](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:20)
[<samp>(58103)</samp>](https://togithub.com/vitest-dev/vitest/commit/581030ee)
-   **utils**:
- Fix asymmetric matcher diff inside array - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5189](https://togithub.com/vitest-dev/vitest/issues/5189)
[<samp>(3ffcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/3ffcd2ea)
-   **vitest**:
- Correctly report failed test files as failures in json reporter,
export json reporter types - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5081](https://togithub.com/vitest-dev/vitest/issues/5081)
[<samp>(0417b)</samp>](https://togithub.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\))
- Don't run typecheck tests in browser if both are enabled - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5080](https://togithub.com/vitest-dev/vitest/issues/5080)
[<samp>(1045b)</samp>](https://togithub.com/vitest-dev/vitest/commit/1045b98b)
- Handle function config inside `defineWorkspace` - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5089](https://togithub.com/vitest-dev/vitest/issues/5089)
[<samp>(0bf52)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bf52533)
- Remove excessive listeners when running without isolation, don't reset
the state - by [@&#8203;sheremet-va](https://togithub.com/sheremet-va)
in
[https://github.com/vitest-dev/vitest/issues/5132](https://togithub.com/vitest-dev/vitest/issues/5132)
[<samp>(b607f)</samp>](https://togithub.com/vitest-dev/vitest/commit/b607f1ea)
- Auto-enable "github-actions" only where users didn't configure
reporters - by [@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5158](https://togithub.com/vitest-dev/vitest/issues/5158)
[<samp>(ef044)</samp>](https://togithub.com/vitest-dev/vitest/commit/ef0440cb)
- Support more array cli options - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5162](https://togithub.com/vitest-dev/vitest/issues/5162)
[<samp>(3afe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/3afe68f1)
- Add types for the new global `jsdom` variable - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5164](https://togithub.com/vitest-dev/vitest/issues/5164)
[<samp>(0f898)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f898d87)
- Expose onTestFinished globally - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(1304f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1304fed7)
- Disable optimizer by default until it's stable - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5156](https://togithub.com/vitest-dev/vitest/issues/5156)
[<samp>(e1bd8)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1bd8d5d)
- Delegate snapshot options to workspace from root config - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5199](https://togithub.com/vitest-dev/vitest/issues/5199)
[<samp>(86297)</samp>](https://togithub.com/vitest-dev/vitest/commit/86297d42)
- Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[21](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:22)5
[<samp>(1aecd)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aecd650)
-   **vm**:
- Handle `disableConsoleIntercept` config - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
https://github.com/vitest-dev/vitest/issues/[50](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74
[<samp>(a55ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/a55adac6)
- Improve error when module is not found - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/50](https://togithub.com/vitest-dev/vitest/issues/50)[53](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:54)
[<samp>(79a50)</samp>](https://togithub.com/vitest-dev/vitest/commit/79a50c3f)

##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 14:51:38 +00:00
Mateusz Kwasniewski
72758605b0
feat: project health chart (#6594) 2024-03-18 15:44:57 +01:00
Thomas Heartman
c2015c6f33
fix: invalid HTML and react errors in insights pages (#6593)
This PR fixes these errors (that were showing up in the dev console) in
the insights pages:
- nesting a div within a p in the count header (flags, environments,
apps); instead flip the relationship and nest the p within the div
- missing keys in mapped components
- passing a boolean "scrolled" value to the underlying component (a div)
is invalid: instead, make it so that that prop is not passed

The only one of these that could have a visual impact is the first one
(p>div -> div>p), but it appears to be the same to me.

Here's before the change:

![image](https://github.com/Unleash/unleash/assets/17786332/ffffd3cc-1236-458f-8449-3310b0044f14)



And here's after:

![image](https://github.com/Unleash/unleash/assets/17786332/9ad2d8f7-9f9e-492f-932e-a194683b1d75)
2024-03-18 15:25:03 +01:00
Christopher Kolstad
a3d06bd57f
fix(website): failing build due to failure to import React 2024-03-18 15:24:16 +01:00
Jaanus Sellin
e4af2fbcd5
feat: lead time for changes (#6592)
![image](https://github.com/Unleash/unleash/assets/964450/3b4d4ed7-6b8d-42b7-81ad-3f006eb1efca)
2024-03-18 16:22:06 +02:00
Nuno Góis
19ae9b5486
fix: project settings selected tab bug (#6590)
https://linear.app/unleash/issue/2-2034/project-settings-url-bug

This prevents a bug where the wrong tab would show as selected, only
present in an edge case where the project has the name of a settings
tab.
2024-03-18 14:02:29 +00:00
Christopher Kolstad
53354224fc
chore: Bump biome and configure husky (#6589)
Upgrades biome to 1.6.1, and updates husky pre-commit hook.

Most changes here are making type imports explicit.
2024-03-18 13:58:05 +01:00
Jaanus Sellin
f2c57f0fbd
feat: insights grid initial layout (#6591) 2024-03-18 14:50:25 +02:00
Fredrik Strand Oseberg
3621c7282d
feat: setup ff (#6532)
Setup feature flag for the new refactoring of the project overview page

---------

Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2024-03-18 13:38:59 +02:00
Nuno Góis
a86b8d36b3
chore: redesign action configurations (#6588)
https://linear.app/unleash/issue/2-2050/redesign-action-definitions-oss

Depends on a PR on Enterprise that will provide a new endpoint with
action configurations.

We should also clean up the now unnecessary constants and hook.
2024-03-18 11:09:49 +00:00
Mateusz Kwasniewski
f45dbc647e
refactor: make outdated sdk finding simpler (#6587) 2024-03-15 15:38:57 +01:00
Mateusz Kwasniewski
06e2c6e514
fix: outdated sdk version handles non semver versions (#6586) 2024-03-15 14:58:53 +01:00