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

3057 Commits

Author SHA1 Message Date
Simon Hornby
4790a26e6f
fix: prevent variant name from containing extra whitespace (#3777) 2023-05-16 13:50:57 +02:00
Tymoteusz Czech
0cb6174f75
Fix/strategy UI improvements (#3766)
https://linear.app/unleash/issue/1-889/ui-adjustments


![image](https://github.com/Unleash/unleash/assets/2625371/e9d851e6-57b5-4deb-b3de-2c0c69fa71dd)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: andreas-unleash <andreas@getunleash.ai>
2023-05-16 11:15:59 +00:00
renovate[bot]
f01d2cc644
chore(deps): update dependency @types/react to v17.0.59 (#3768)
[![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/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`17.0.58` ->
`17.0.59`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.58/17.0.59)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.59/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.59/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.59/compatibility-slim/17.0.58)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.59/confidence-slim/17.0.58)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43OS4xIiwidXBkYXRlZEluVmVyIjoiMzUuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 16:46:04 +00:00
renovate[bot]
fcd2c42a42
chore(deps): update dependency vite to v4.3.5 (#3763)
[![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://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`4.3.4` ->
`4.3.5`](https://renovatebot.com/diffs/npm/vite/4.3.4/4.3.5) |
[![age](https://badges.renovateapi.com/packages/npm/vite/4.3.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/4.3.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/4.3.5/compatibility-slim/4.3.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/4.3.5/confidence-slim/4.3.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite</summary>

###
[`v4.3.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small435-2023-05-05-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.3.4...v4.3.5)

- fix: location is not defined error in cleanScssBugUrl
([#&#8203;13100](https://togithub.com/vitejs/vite/issues/13100))
([91d7b67](https://togithub.com/vitejs/vite/commit/91d7b67)), closes
[#&#8203;13100](https://togithub.com/vitejs/vite/issues/13100)
- fix: unwrapId and pass ssr flag when adding to moduleGraph in
this.load
([#&#8203;13083](https://togithub.com/vitejs/vite/issues/13083))
([9041e19](https://togithub.com/vitejs/vite/commit/9041e19)), closes
[#&#8203;13083](https://togithub.com/vitejs/vite/issues/13083)
- fix(assetImportMetaUrl): reserve dynamic template literal query params
([#&#8203;13034](https://togithub.com/vitejs/vite/issues/13034))
([7089528](https://togithub.com/vitejs/vite/commit/7089528)), closes
[#&#8203;13034](https://togithub.com/vitejs/vite/issues/13034)
- fix(debug): skip filter object args
([#&#8203;13098](https://togithub.com/vitejs/vite/issues/13098))
([d95a9af](https://togithub.com/vitejs/vite/commit/d95a9af)), closes
[#&#8203;13098](https://togithub.com/vitejs/vite/issues/13098)
- fix(scan): handle html script tag attributes that contain ">"
([#&#8203;13101](https://togithub.com/vitejs/vite/issues/13101))
([8a37de6](https://togithub.com/vitejs/vite/commit/8a37de6)), closes
[#&#8203;13101](https://togithub.com/vitejs/vite/issues/13101)
- fix(ssr): ignore \__esModule for ssrExportAll
([#&#8203;13084](https://togithub.com/vitejs/vite/issues/13084))
([8a8ea1d](https://togithub.com/vitejs/vite/commit/8a8ea1d)), closes
[#&#8203;13084](https://togithub.com/vitejs/vite/issues/13084)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43OS4xIiwidXBkYXRlZEluVmVyIjoiMzUuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 10:21:43 +00:00
Nuno Góis
dabb6c00a3
fix: demo guide dialogs behavior (#3762)
Improves the dialogs behavior to address
https://linear.app/unleash/issue/2-1053/bug-when-big-dialog-is-open-if-you-click-on-a-step-the-flow-is-broken

Also prevents close on backdrop click for the welcome dialog.
2023-05-12 17:58:06 +00:00
Nuno Góis
f7b05c39f9
fix: demo userId screenshot path (#3761)
Fixes an issue where the userId screenshot did not load correctly.
2023-05-12 14:34:59 +00:00
Nuno Góis
a9c24e4262
chore: simplify package scripts (#3736)
# Simplify package scripts

This PR's purpose is to raise a discussion surrounding our current
package scripts.

It includes some suggestions that aim to simplify the scripts and
hopefully bring a much more straightforward approach to developing and
contributing to Unleash.

Building (prod) should only happen **explicitly** and when needed.

## Before PR (current behavior)

- Clone the project;
- Open 2 terminals: One for `unleash` and another for
`unleash/frontend`;
- On `unleash`: 
  - Run `yarn` (which will also build, for some reason?);
  - Run `yarn start:dev` to start backend in dev mode (`tsc-watch`);
- On `unleash/frontend`:
  - Run `yarn` (which will also build, for some reason?);
  - Run `yarn start` to start frontend in dev mode (`vite`);

So it seems to me like we build unnecessarily every time we install
dependencies. Neither dev scripts need to build the project, as backend
uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the
case, as building can take a very long time.


![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116)

There's also some complexity in the way we need to split the terminal to
`cd` into `frontend` and treat it as a different project. The fact that
we have different script names is also confusing (`yarn start`, `yarn
start:dev`, etc).

## After PR

- Clone the project;
- Run `yarn` to install all dependencies;
- Run `yarn dev` to get started developing Unleash;

Running `yarn` should take care of everything needed to start
developing. This includes installing dependencies for frontend as well.
It should not build projects if we are not being explicit about it,
especially since we don't need to build them at this stage.


![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1)

Running `yarn dev` should start the project in dev mode. This means
running both projects in `dev` mode, which for `backend` means running
`tsc-watch` and for `frontend` means running `vite`.

Here this PR attempts to provide a better DX by using
[concurrently](https://www.npmjs.com/package/concurrently) and
[wait-on](https://www.npmjs.com/package/wait-on) - This means both tasks
are ran simultaneously, stdout is labeled accordingly, and are stopped
together. It also means that `frontend` waits for `backend` to be
serving at `4242` before starting, since `frontend` starts pretty much
immediately with `vite` and `backend` takes a bit longer. Of course,
when the `backend` is hot-reloading you may still find some
`ECONNREFUSED`s on `frontend` stdout while it recompiles.


![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d)

No more splitting your terminal and treating `frontend` as a separate
project.

## Discussion points

Maybe there's a better alternative to `tsc-watch`? I briefly explored
some alternatives and while they had a much faster starting speed,
hot-reload was sometimes slower. IMO we should aspire to run
`src/server-dev.ts` directly and only compile when needed.

Running `dev:backend` still serves a version of the frontend (at 4242).
**Why? Can we remove that behavior?**
I can't imagine a scenario in dev where we wouldn't want to run the
latest version of the frontend with `vite`.

~~**Note:** This PR removes all other out-of-scope scripts to focus on
this revamp. If we decide to merge it, we should evaluate what other
existing scripts we still want to include. May be a good opportunity to
clean up unused ones and only include the ones we really use. This
includes scripts that our GH actions rely on.~~

**Update:** In an effort to minimize impact surface of this PR and make
it a bit more ready for merging:
- It updates some docs in
2a4ff805e8
and
1bbc488251
to reflect our new simplified flow;
- It includes the old package scripts for now in
039bc04699;
- It updates some of our GH actions to reflect the new scripts in
7782cb9b12;

Given its current status I'll promote the PR to "ready for review". 

I still think we should have a second look at our existing scripts and
GH actions to see what we really need and/or should adapt, but it should
be a team effort so we have a broader context. Maybe on a follow-up PR.

Does this require any changes to related projects (e.g. Enterprise)?

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 11:23:22 +01:00
Nuno Góis
7116b47a39
fix: point demo website links and QR to new URL (#3754)
https://linear.app/unleash/issue/2-1035/apply-changes-with-demo-instance-in-mind

Applies this item in the task:
- Ensure that the demo guide points to the URL mentioned above, with the
correct QR code;

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-05-12 12:07:51 +03:00
Nuno Góis
bf4cbd24b0
fix: ensure rel=noreferrer on target=_blank (#3755)
https://linear.app/unleash/issue/2-1043/ensure-that-links-with-target=-blank-include-rel=noreferrer-to-prevent

Ensures that links with `target="_blank"` include `rel="noreferrer"` to
prevent warnings such as:


![image](https://github.com/Unleash/unleash/assets/14320932/9e64df53-b4b9-4346-9394-edb0c2d2d555)
https://mathiasbynens.github.io/rel-noopener/#recommendations
2023-05-12 09:51:33 +01:00
renovate[bot]
3cc189407d
chore(deps): update dependency vitest to v0.31.0 (#3748)
[![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) | [`0.30.1` ->
`0.31.0`](https://renovatebot.com/diffs/npm/vitest/0.30.1/0.31.0) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/compatibility-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.0/confidence-slim/0.30.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0)

#####    🚨 Breaking Changes

- Remove `browser` from allowed pools inside `poolMatchGlob` config
option. Please, use Vitest workspaces for running tests in the browser.
- Move assertion declarations to expect package  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294)
[<samp>(cf3af)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf3afe2b)

    -   The change should be minor:

    ```diff
    - declare namespace Vi {
    + declare module 'vitest' {
       interface Assertion<T = any> extends CustomMatchers<T> {}
       interface AsymmetricMatchersContaining extends CustomMatchers {}
    }
    ```

#####    🚀 Features

- Update mock implementation to support ESM runtime, introduce
"vi.hoisted"  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258)
[<samp>(0c09a)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c09a40d)
- Bypass ESM import order restriction with `vi.hoisted` to run code
before imports are executed:
    ```ts
    vi.hoisted(() => vi.setSystemTime(new Date(2022, 1, 1)))
    ```
    You can also use it to pass variables to `vi.mock`:
    ```ts
    const { mockedMethod } = vi.hoisted(() => {
      return { mockedMethod: vi.fn() }
    })   
    vi.mock('./path/to/module.js', () => {
      return { originalMethod: mockedMethod }
    })
    ```
- Add repeat method to tests  -  by
[@&#8203;samkevin1](https://togithub.com/samkevin1) in
[https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652)
[<samp>(7c8f0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9)
- Add an option to hide skipped test lines  -  by
[@&#8203;g4rry420](https://togithub.com/g4rry420) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745)
[<samp>(9bdb1)</samp>](https://togithub.com/vitest-dev/vitest/commit/9bdb1603)
- **coverage**: Watermarks for c8  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254)
[<samp>(730af)</samp>](https://togithub.com/vitest-dev/vitest/commit/730af0b4)
- **ui**: Add html coverage  -  by
[@&#8203;userquin](https://togithub.com/userquin) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071)
[<samp>(e24cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2)
- **watch**: Test run cancelling, feat: `--bail` option for cancelling
test run  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163)
[<samp>(8d460)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d4606eb)

#####    🐞 Bug Fixes

- Don't call global setup teardown twice  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188)
[<samp>(ba3d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba3d1338)
- Reporter to log version before provider initalizations  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131)
[<samp>(481b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/481b1fd2)
- Throw an error if Vitest cannot access its internal state  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250)
[<samp>(fbb14)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbb1468e)
- Warning suppression broken  -  by
[@&#8203;IceQub3](https://togithub.com/IceQub3) in
[https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270)
and
[https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271)
[<samp>(036de)</samp>](https://togithub.com/vitest-dev/vitest/commit/036de797)
- Show correct diff in "toHaveBeenCalledWith"  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289)
[<samp>(19fcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/19fcd8df)
- Don't print esm warning, if package name is not found  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292)
[<samp>(62c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/62c14cba)
- Support exactOptionalPropertyTypes  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293)
[<samp>(ba81d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3)
- Don't inline vite hmr and rollup types  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291)
[<samp>(1f118)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f1189bc)
-   **browser**:
- Failing to load vitest/utils  -  by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190)
[<samp>(78bad)</samp>](https://togithub.com/vitest-dev/vitest/commit/78bad4ab)
-   **coverage**:
- `thresholdAutoUpdate` to work with `perFile`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182)
[<samp>(29eeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/29eebf65)
- Throw error if fail to load built-in provider  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217)
[<samp>(0a287)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a2875e3)
- Stackblitz hangs with c8  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225)
[<samp>(d9fda)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1)
- C8 to ignore vite's generated helpers  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241)
[<samp>(21942)</samp>](https://togithub.com/vitest-dev/vitest/commit/21942db0)
- Workspaces c8 source maps  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226)
[<samp>(efce3)</samp>](https://togithub.com/vitest-dev/vitest/commit/efce3b4d)
-   **docs**:
- Correct typo and broken link to WebdriverIO  -  by
[@&#8203;nathanbabcock](https://togithub.com/nathanbabcock) in
[https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275)
[<samp>(c7da1)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7da155f)
-   **spy**:
- Update to set initial implementation through normal logic  -  by
[@&#8203;Codex-](https://togithub.com/Codex-) in
[https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260)
and
[https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263)
[<samp>(c759a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c759a9aa)
-   **vite-node**:
- Circular imports  -  by [@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196)
[<samp>(cbb59)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbb593a8)
- Add missing `import.meta.hot.send` mock  -  by
[@&#8203;antfu](https://togithub.com/antfu)
[<samp>(b1624)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1624db5)
-   **vitest**:
- Also check for vite relative to vitest package  -  by
[@&#8203;JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274)
[<samp>(a3393)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3393b15)
-   **watch**:
- Run test files when added to filesystem  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189)
[<samp>(7b2c8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43OS4xIiwidXBkYXRlZEluVmVyIjoiMzUuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 01:56:45 +00:00
renovate[bot]
f333c59d6a
chore(deps): update react-router monorepo to v6.11.1 (#3743)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router) |
[`6.11.0` ->
`6.11.1`](https://renovatebot.com/diffs/npm/react-router/6.11.0/6.11.1)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.11.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.11.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.11.1/compatibility-slim/6.11.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.11.1/confidence-slim/6.11.0)](https://docs.renovatebot.com/merge-confidence/)
|
| [react-router-dom](https://togithub.com/remix-run/react-router) |
[`6.11.0` ->
`6.11.1`](https://renovatebot.com/diffs/npm/react-router-dom/6.11.0/6.11.1)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.1/compatibility-slim/6.11.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.1/confidence-slim/6.11.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>remix-run/react-router (react-router)</summary>

###
[`v6.11.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#&#8203;6111)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.11.0...react-router@6.11.1)

##### Patch Changes

- Fix usage of `Component` API within descendant `<Routes>`
([#&#8203;10434](https://togithub.com/remix-run/react-router/pull/10434))
- Fix bug when calling `useNavigate` from `<Routes>` inside a
`<RouterProvider>`
([#&#8203;10432](https://togithub.com/remix-run/react-router/pull/10432))
- Fix usage of `<Navigate>` in strict mode when using a data router
([#&#8203;10435](https://togithub.com/remix-run/react-router/pull/10435))
-   Updated dependencies:
    -   `@remix-run/router@1.6.1`

</details>

<details>
<summary>remix-run/react-router (react-router-dom)</summary>

###
[`v6.11.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#&#8203;6111)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.11.0...react-router-dom@6.11.1)

##### Patch Changes

-   Updated dependencies:
    -   `react-router@6.11.1`
    -   `@remix-run/router@1.6.1`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43NS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 20:59:34 +00:00
Nuno Góis
b8171cf909
fix: interactive demo guide adjustments (#3747)
https://linear.app/unleash/issue/2-1027/adjustments
https://linear.app/unleash/issue/2-989/add-imagegif-to-some-of-the-steps

Includes small adjustments from the tasks above:
 - Adjust zIndex values for the demo guide;
- Add a screenshot to better guide the users to their `userId` in the
demo website;

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-05-11 18:01:08 +00:00
renovate[bot]
36539c8e1c
chore(deps): update dependency vite to v4.3.4 (#3730)
[![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://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`4.3.3` ->
`4.3.4`](https://renovatebot.com/diffs/npm/vite/4.3.3/4.3.4) |
[![age](https://badges.renovateapi.com/packages/npm/vite/4.3.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/4.3.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/4.3.4/compatibility-slim/4.3.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/4.3.4/confidence-slim/4.3.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite</summary>

###
[`v4.3.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small434-2023-05-02-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.3.3...v4.3.4)

- fix(define): incorrect raw expression value type in build
([#&#8203;13003](https://togithub.com/vitejs/vite/issues/13003))
([8f4cf07](https://togithub.com/vitejs/vite/commit/8f4cf07)), closes
[#&#8203;13003](https://togithub.com/vitejs/vite/issues/13003)
- fix(importAnalysisBuild): support parsing '**VITE_PRELOAD**'
([#&#8203;13023](https://togithub.com/vitejs/vite/issues/13023))
([447df7c](https://togithub.com/vitejs/vite/commit/447df7c)), closes
[#&#8203;13023](https://togithub.com/vitejs/vite/issues/13023)
- fix(server): should respect hmr port when middlewareMode=false
([#&#8203;13040](https://togithub.com/vitejs/vite/issues/13040))
([1ee0014](https://togithub.com/vitejs/vite/commit/1ee0014)), closes
[#&#8203;13040](https://togithub.com/vitejs/vite/issues/13040)
- fix(ssr): track for statements as block scope
([#&#8203;13021](https://togithub.com/vitejs/vite/issues/13021))
([2f8502f](https://togithub.com/vitejs/vite/commit/2f8502f)), closes
[#&#8203;13021](https://togithub.com/vitejs/vite/issues/13021)
- chore: add changelog for vite 4.2.2 and 3.2.6
([#&#8203;13055](https://togithub.com/vitejs/vite/issues/13055))
([0c9f1f4](https://togithub.com/vitejs/vite/commit/0c9f1f4)), closes
[#&#8203;13055](https://togithub.com/vitejs/vite/issues/13055)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43NS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 05:00:44 +00:00
Christopher Kolstad
eaacb979d6
fix: Removed CR on variants flag (it's GA) (#3738)
This PR removes the usage of crOnVariants flag, but keeps the behaviour,
so CR are now enabled on variants.

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-05-10 13:46:41 +00:00
Nuno Góis
aaf15c96f9
feat: use new demo website (#3737)
https://linear.app/unleash/issue/2-1023/use-new-demo-website-for-testing-purposes

Use https://unleash-demo-app.vercel.app/ for now, which will help us
testing.
Should be reverted/updated before we release to the current `demo`
instance.

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-05-10 11:48:00 +00:00
renovate[bot]
9c395596a5
chore(deps): update dependency react-joyride to v2.5.4 (#3715)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-joyride](https://react-joyride.com/)
([source](https://togithub.com/gilbarbara/react-joyride)) | [`2.5.3` ->
`2.5.4`](https://renovatebot.com/diffs/npm/react-joyride/2.5.3/2.5.4) |
[![age](https://badges.renovateapi.com/packages/npm/react-joyride/2.5.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-joyride/2.5.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-joyride/2.5.4/compatibility-slim/2.5.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-joyride/2.5.4/confidence-slim/2.5.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>gilbarbara/react-joyride</summary>

###
[`v2.5.4`](https://togithub.com/gilbarbara/react-joyride/releases/tag/v2.5.4):
2.5.4

[Compare
Source](https://togithub.com/gilbarbara/react-joyride/compare/v2.5.3...v2.5.4)

- Fix step disableScrolling:
[`291da8e`](291da8ed13)
- Fix pre-commit hook paths:
[`d94df82`](d94df8232d)
- Upgrade dependencies:
[`ccf68d3`](ccf68d344e)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzQuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-10 07:05:38 +00:00
Nuno Góis
9d680a782d
fix: improve steps for demo guide toggle topic (#3728)
https://linear.app/unleash/issue/2-1006/steps-improvement-enabledisable-a-feature-toggle

Step improvements for the "toggle" topic.
Includes a smarter "Next" label that can also be "Start" or "Finish"
depending (nice-to-have).

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-05-09 22:33:01 +03:00
Nuno Góis
64bae9a042
fix: improve steps for demo guide specific user topic (#3727)
https://linear.app/unleash/issue/2-980/steps-improvements-enable-for-a-specific-user

Step improvements for the "specific user" topic.

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-05-09 22:30:18 +03:00
renovate[bot]
de6c4663e6
chore(deps): update dependency jsdom to v21.1.2 (#3714)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [jsdom](https://togithub.com/jsdom/jsdom) | [`21.1.1` ->
`21.1.2`](https://renovatebot.com/diffs/npm/jsdom/21.1.1/21.1.2) |
[![age](https://badges.renovateapi.com/packages/npm/jsdom/21.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/jsdom/21.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/jsdom/21.1.2/compatibility-slim/21.1.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/jsdom/21.1.2/confidence-slim/21.1.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>jsdom/jsdom</summary>

###
[`v21.1.2`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#&#8203;2112)

[Compare
Source](https://togithub.com/jsdom/jsdom/compare/21.1.1...21.1.2)

- Fixed `setRangeText()` used on `<input>` and `<textarea>` elements to
calculate the new end index correctly. (pmstss)
- Fixed `pageX`, `pageY`, `offsetX`, and `offsetY` on `MouseEvent`s
during dispatch. (jenseng)
- Upgraded `nwsapi` to v2.2.4, bringing along various fixes to our
selector engine.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzQuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 18:53:41 +00:00
Nuno Góis
0da0b13379
fix: improve steps for demo guide gradual rollout topic (#3723)
https://linear.app/unleash/issue/2-1007/steps-improvement-adjust-gradual-rollout

Step improvements for the "gradual rollout" topic.

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-05-09 18:24:28 +03:00
Nuno Góis
8746cb1f89
fix: strategyId in edit strategy API command endpoint (#3725)
Fixes a small issue where the "API Command" for edit strategy was
showing the strategyId as `undefined`:


`/api/admin/projects/demo-app/features/demoApp.step1/environments/dev/strategies/undefined'`


![image](https://github.com/Unleash/unleash/assets/14320932/19650a15-5cde-43c3-9d2b-a7e790bea0ac)
2023-05-09 13:39:28 +00:00
Nuno Góis
93a7d29003
fix: application name link styling (#3724)
https://linear.app/unleash/issue/2-1021/bug-dark-mode-application-screen-name-of-the-application-not-visible

Applies the styling changes mentioned in the task above, fixing the
style in dark mode and making these links more consistent in general.


![image](https://github.com/Unleash/unleash/assets/14320932/f3a873c1-e25e-4137-8b74-8020ebde0493)
2023-05-09 13:02:32 +00:00
Nuno Góis
29857e2bc5
fix: improve steps for demo guide variants topic (#3721)
https://linear.app/unleash/issue/2-1008/steps-improvement-adjust-variants

Step improvements for the "variants" topic.

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-05-09 11:47:55 +01:00
Nuno Góis
0c620656ef
fix: small fixes for the interactive demo guide (#3713)
https://linear.app/unleash/issue/2-1005/small-ui-improvements

https://linear.app/unleash/issue/2-1020/fix-issues-with-interactive-demo-guide

Tackles the 2 tasks above, which include items such as:
 - Change drop-shadow of step tooltips;
 - Change transparency of overlay;
 - Change box-shadow of topics "widget";
 - Gradual rollout should use `default` stickiness;
 - Improve last step behavior when redirecting (add optional delay);

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-05-09 10:04:39 +03:00
Jaanus Sellin
bacb73667a
feat: add UI to variant metrics (#3697) 2023-05-08 10:15:26 +00:00
andreas-unleash
83bb9b1656
Feat: enable toggle dialog (#3686)
<!-- 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! ❤️ -->
- Creates a dialog when the feature has ONLY disabled strategies and the
environment in turned on
- Adds functionality to either `enable` the strategies or add the
default one (if a project specific default strategy is set, uses it)
## 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. -->

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



Uploading Screen Recording 2023-05-05 at 17.40.48.mov…



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? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-05-08 11:42:26 +03:00
Nuno Góis
edefa6fc7e
test: add interactive demo guide e2e test (#3656)
This PR revamps e2e tests, while adding a new one for the interactive
demo guide:
 - Bumps Cypress from `9.7.0` to `12.11.0`;
 - Bumps Cypress GH action from `v2` to `v5`;
 - Makes any adjustments needed;
 - Fixes a lot of issues identified with existing tests;
- Adds new `demo.spec.ts` e2e test that covers the entire demo guide
flow;

**Note:** Currently does not include `demo.spec.ts` in the GH action, as
it
[fails](https://github.com/Unleash/unleash/actions/runs/4896839575/jobs/8744137231?pr=3656)
on step 2.13 (last step of "user-specific" topic). It runs perfectly
fine locally, though.

Might be placebo, but in general tests seem less flaky now and they may
even be faster (especially when not adding the `demo` one, which would
always take a long time).
2023-05-08 09:16:18 +01:00
renovate[bot]
08467f9dac
chore(deps): update react-router monorepo to v6.11.0 (#3703)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router) | [`6.8.1`
->
`6.11.0`](https://renovatebot.com/diffs/npm/react-router/6.8.1/6.11.0) |
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.11.0/compatibility-slim/6.8.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.11.0/confidence-slim/6.8.1)](https://docs.renovatebot.com/merge-confidence/)
|
| [react-router-dom](https://togithub.com/remix-run/react-router) |
[`6.8.1` ->
`6.11.0`](https://renovatebot.com/diffs/npm/react-router-dom/6.8.1/6.11.0)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.0/compatibility-slim/6.8.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.0/confidence-slim/6.8.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>remix-run/react-router (react-router)</summary>

###
[`v6.11.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#&#8203;6110)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.10.0...react-router@6.11.0)

##### Patch Changes

- Log loader/action errors to the console in dev for easier stack trace
evaluation
([#&#8203;10286](https://togithub.com/remix-run/react-router/pull/10286))
- Fix bug preventing rendering of descendant `<Routes>` when
`RouterProvider` errors existed
([#&#8203;10374](https://togithub.com/remix-run/react-router/pull/10374))
- Fix inadvertent re-renders when using `Component` instead of `element`
on a route definition
([#&#8203;10287](https://togithub.com/remix-run/react-router/pull/10287))
- Fix detection of `useNavigate` in the render cycle by setting the
`activeRef` in a layout effect, allowing the `navigate` function to be
passed to child components and called in a `useEffect` there.
([#&#8203;10394](https://togithub.com/remix-run/react-router/pull/10394))
- Switched from `useSyncExternalStore` to `useState` for internal
`@remix-run/router` router state syncing in `<RouterProvider>`. We found
some [subtle
bugs](https://codesandbox.io/s/use-sync-external-store-loop-9g7b81)
where router state updates got propagated *before* other normal
`useState` updates, which could lead to footguns in `useEffect` calls.
([#&#8203;10377](https://togithub.com/remix-run/react-router/pull/10377),
[#&#8203;10409](https://togithub.com/remix-run/react-router/pull/10409))
- Allow `useRevalidator()` to resolve a loader-driven error boundary
scenario
([#&#8203;10369](https://togithub.com/remix-run/react-router/pull/10369))
- Avoid unnecessary unsubscribe/resubscribes on router state changes
([#&#8203;10409](https://togithub.com/remix-run/react-router/pull/10409))
- When using a `RouterProvider`,
`useNavigate`/`useSubmit`/`fetcher.submit` are now stable across
location changes, since we can handle relative routing via the
`@remix-run/router` instance and get rid of our dependence on
`useLocation()`. When using `BrowserRouter`, these hooks remain unstable
across location changes because they still rely on `useLocation()`.
([#&#8203;10336](https://togithub.com/remix-run/react-router/pull/10336))
-   Updated dependencies:
    -   `@remix-run/router@1.6.0`

###
[`v6.10.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#&#8203;6100)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.9.0...react-router@6.10.0)

##### Minor Changes

- Added support for [**Future
Flags**](https://reactrouter.com/en/main/guides/api-development-strategy)
in React Router. The first flag being introduced is
`future.v7_normalizeFormMethod` which will normalize the exposed
`useNavigation()/useFetcher()` `formMethod` fields as uppercase HTTP
methods to align with the `fetch()` behavior.
([#&#8203;10207](https://togithub.com/remix-run/react-router/pull/10207))

- When `future.v7_normalizeFormMethod === false` (default v6 behavior),
        -   `useNavigation().formMethod` is lowercase
        -   `useFetcher().formMethod` is lowercase
    -   When `future.v7_normalizeFormMethod === true`:
        -   `useNavigation().formMethod` is uppercase
        -   `useFetcher().formMethod` is uppercase

##### Patch Changes

- Fix route ID generation when using Fragments in
`createRoutesFromElements`
([#&#8203;10193](https://togithub.com/remix-run/react-router/pull/10193))
-   Updated dependencies:
    -   `@remix-run/router@1.5.0`

###
[`v6.9.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#&#8203;690)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.8.2...react-router@6.9.0)

##### Minor Changes

- React Router now supports an alternative way to define your route
`element` and `errorElement` fields as React Components instead of React
Elements. You can instead pass a React Component to the new `Component`
and `ErrorBoundary` fields if you choose. There is no functional
difference between the two, so use whichever approach you prefer 😀. You
shouldn't be defining both, but if you do `Component`/`ErrorBoundary`
will "win".
([#&#8203;10045](https://togithub.com/remix-run/react-router/pull/10045))

    **Example JSON Syntax**

    ```jsx
    // Both of these work the same:
    const elementRoutes = [{
      path: '/',
      element: <Home />,
      errorElement: <HomeError />,
    }]

    const componentRoutes = [{
      path: '/',
      Component: Home,
      ErrorBoundary: HomeError,
    }]

    function Home() { ... }
    function HomeError() { ... }
    ```

    **Example JSX Syntax**

    ```jsx
    // Both of these work the same:
    const elementRoutes = createRoutesFromElements(
<Route path='/' element={<Home />} errorElement={<HomeError /> } />
    );

    const componentRoutes = createRoutesFromElements(
      <Route path='/' Component={Home} ErrorBoundary={HomeError} />
    );

    function Home() { ... }
    function HomeError() { ... }
    ```

- **Introducing Lazy Route Modules!**
([#&#8203;10045](https://togithub.com/remix-run/react-router/pull/10045))

In order to keep your application bundles small and support
code-splitting of your routes, we've introduced a new `lazy()` route
property. This is an async function that resolves the non-route-matching
portions of your route definition (`loader`, `action`,
`element`/`Component`, `errorElement`/`ErrorBoundary`,
`shouldRevalidate`, `handle`).

Lazy routes are resolved on initial load and during the `loading` or
`submitting` phase of a navigation or fetcher call. You cannot lazily
define route-matching properties (`path`, `index`, `children`) since we
only execute your lazy route functions after we've matched known routes.

Your `lazy` functions will typically return the result of a dynamic
import.

    ```jsx
// In this example, we assume most folks land on the homepage so we
include that
// in our critical-path bundle, but then we lazily load modules for /a
and /b so
    // they don't load until the user navigates to those routes
    let routes = createRoutesFromElements(
      <Route path="/" element={<Layout />}>
        <Route index element={<Home />} />
        <Route path="a" lazy={() => import("./a")} />
        <Route path="b" lazy={() => import("./b")} />
      </Route>
    );
    ```

Then in your lazy route modules, export the properties you want defined
for the route:

    ```jsx
    export async function loader({ request }) {
      let data = await fetchData(request);
      return json(data);
    }

// Export a `Component` directly instead of needing to create a React
Element from it
    export function Component() {
      let data = useLoaderData();

      return (
        <>
          <h1>You made it!</h1>
          <p>{data}</p>
        </>
      );
    }

// Export an `ErrorBoundary` directly instead of needing to create a
React Element from it
    export function ErrorBoundary() {
      let error = useRouteError();
      return isRouteErrorResponse(error) ? (
        <h1>
          {error.status} {error.statusText}
        </h1>
      ) : (
        <h1>{error.message || error}</h1>
      );
    }
    ```

An example of this in action can be found in the
[`examples/lazy-loading-router-provider`](https://togithub.com/remix-run/react-router/tree/main/examples/lazy-loading-router-provider)
directory of the repository.

🙌 Huge thanks to [@&#8203;rossipedia](https://togithub.com/rossipedia)
for the [Initial
Proposal](https://togithub.com/remix-run/react-router/discussions/9826)
and [POC
Implementation](https://togithub.com/remix-run/react-router/pull/9830).

-   Updated dependencies:
    -   `@remix-run/router@1.4.0`

##### Patch Changes

- Fix `generatePath` incorrectly applying parameters in some cases
([#&#8203;10078](https://togithub.com/remix-run/react-router/pull/10078))
- Improve memoization for context providers to avoid unnecessary
re-renders
([#&#8203;9983](https://togithub.com/remix-run/react-router/pull/9983))

###
[`v6.8.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#&#8203;682)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.8.1...react-router@6.8.2)

##### Patch Changes

-   Updated dependencies:
    -   `@remix-run/router@1.3.3`

</details>

<details>
<summary>remix-run/react-router (react-router-dom)</summary>

###
[`v6.11.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#&#8203;6110)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.10.0...react-router-dom@6.11.0)

##### Minor Changes

- Enable `basename` support in `useFetcher`
([#&#8203;10336](https://togithub.com/remix-run/react-router/pull/10336))
- If you were previously working around this issue by manually
prepending the `basename` then you will need to remove the manually
prepended `basename` from your `fetcher` calls
(`fetcher.load('/basename/route') -> fetcher.load('/route')`)

##### Patch Changes

- Fix inadvertent re-renders when using `Component` instead of `element`
on a route definition
([#&#8203;10287](https://togithub.com/remix-run/react-router/pull/10287))
- Fail gracefully on `<Link to="//">` and other invalid URL values
([#&#8203;10367](https://togithub.com/remix-run/react-router/pull/10367))
- Switched from `useSyncExternalStore` to `useState` for internal
`@remix-run/router` router state syncing in `<RouterProvider>`. We found
some [subtle
bugs](https://codesandbox.io/s/use-sync-external-store-loop-9g7b81)
where router state updates got propagated *before* other normal
`useState` updates, which could lead to footguns in `useEffect` calls.
([#&#8203;10377](https://togithub.com/remix-run/react-router/pull/10377),
[#&#8203;10409](https://togithub.com/remix-run/react-router/pull/10409))
- Add static prop to `StaticRouterProvider`'s internal `Router`
component
([#&#8203;10401](https://togithub.com/remix-run/react-router/pull/10401))
- When using a `RouterProvider`,
`useNavigate`/`useSubmit`/`fetcher.submit` are now stable across
location changes, since we can handle relative routing via the
`@remix-run/router` instance and get rid of our dependence on
`useLocation()`. When using `BrowserRouter`, these hooks remain unstable
across location changes because they still rely on `useLocation()`.
([#&#8203;10336](https://togithub.com/remix-run/react-router/pull/10336))
-   Updated dependencies:
    -   `react-router@6.11.0`
    -   `@remix-run/router@1.6.0`

###
[`v6.10.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#&#8203;6100)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.9.0...react-router-dom@6.10.0)

##### Minor Changes

- Added support for [**Future
Flags**](https://reactrouter.com/en/main/guides/api-development-strategy)
in React Router. The first flag being introduced is
`future.v7_normalizeFormMethod` which will normalize the exposed
`useNavigation()/useFetcher()` `formMethod` fields as uppercase HTTP
methods to align with the `fetch()` behavior.
([#&#8203;10207](https://togithub.com/remix-run/react-router/pull/10207))

- When `future.v7_normalizeFormMethod === false` (default v6 behavior),
        -   `useNavigation().formMethod` is lowercase
        -   `useFetcher().formMethod` is lowercase
    -   When `future.v7_normalizeFormMethod === true`:
        -   `useNavigation().formMethod` is uppercase
        -   `useFetcher().formMethod` is uppercase

##### Patch Changes

- Fix `createStaticHandler` to also check for `ErrorBoundary` on routes
in addition to `errorElement`
([#&#8203;10190](https://togithub.com/remix-run/react-router/pull/10190))
-   Updated dependencies:
    -   `@remix-run/router@1.5.0`
    -   `react-router@6.10.0`

###
[`v6.9.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#&#8203;690)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.8.2...react-router-dom@6.9.0)

##### Minor Changes

- React Router now supports an alternative way to define your route
`element` and `errorElement` fields as React Components instead of React
Elements. You can instead pass a React Component to the new `Component`
and `ErrorBoundary` fields if you choose. There is no functional
difference between the two, so use whichever approach you prefer 😀. You
shouldn't be defining both, but if you do `Component`/`ErrorBoundary`
will "win".
([#&#8203;10045](https://togithub.com/remix-run/react-router/pull/10045))

    **Example JSON Syntax**

    ```jsx
    // Both of these work the same:
    const elementRoutes = [{
      path: '/',
      element: <Home />,
      errorElement: <HomeError />,
    }]

    const componentRoutes = [{
      path: '/',
      Component: Home,
      ErrorBoundary: HomeError,
    }]

    function Home() { ... }
    function HomeError() { ... }
    ```

    **Example JSX Syntax**

    ```jsx
    // Both of these work the same:
    const elementRoutes = createRoutesFromElements(
<Route path='/' element={<Home />} errorElement={<HomeError /> } />
    );

    const componentRoutes = createRoutesFromElements(
      <Route path='/' Component={Home} ErrorBoundary={HomeError} />
    );

    function Home() { ... }
    function HomeError() { ... }
    ```

- **Introducing Lazy Route Modules!**
([#&#8203;10045](https://togithub.com/remix-run/react-router/pull/10045))

In order to keep your application bundles small and support
code-splitting of your routes, we've introduced a new `lazy()` route
property. This is an async function that resolves the non-route-matching
portions of your route definition (`loader`, `action`,
`element`/`Component`, `errorElement`/`ErrorBoundary`,
`shouldRevalidate`, `handle`).

Lazy routes are resolved on initial load and during the `loading` or
`submitting` phase of a navigation or fetcher call. You cannot lazily
define route-matching properties (`path`, `index`, `children`) since we
only execute your lazy route functions after we've matched known routes.

Your `lazy` functions will typically return the result of a dynamic
import.

    ```jsx
// In this example, we assume most folks land on the homepage so we
include that
// in our critical-path bundle, but then we lazily load modules for /a
and /b so
    // they don't load until the user navigates to those routes
    let routes = createRoutesFromElements(
      <Route path="/" element={<Layout />}>
        <Route index element={<Home />} />
        <Route path="a" lazy={() => import("./a")} />
        <Route path="b" lazy={() => import("./b")} />
      </Route>
    );
    ```

Then in your lazy route modules, export the properties you want defined
for the route:

    ```jsx
    export async function loader({ request }) {
      let data = await fetchData(request);
      return json(data);
    }

// Export a `Component` directly instead of needing to create a React
Element from it
    export function Component() {
      let data = useLoaderData();

      return (
        <>
          <h1>You made it!</h1>
          <p>{data}</p>
        </>
      );
    }

// Export an `ErrorBoundary` directly instead of needing to create a
React Element from it
    export function ErrorBoundary() {
      let error = useRouteError();
      return isRouteErrorResponse(error) ? (
        <h1>
          {error.status} {error.statusText}
        </h1>
      ) : (
        <h1>{error.message || error}</h1>
      );
    }
    ```

An example of this in action can be found in the
[`examples/lazy-loading-router-provider`](https://togithub.com/remix-run/react-router/tree/main/examples/lazy-loading-router-provider)
directory of the repository.

🙌 Huge thanks to [@&#8203;rossipedia](https://togithub.com/rossipedia)
for the [Initial
Proposal](https://togithub.com/remix-run/react-router/discussions/9826)
and [POC
Implementation](https://togithub.com/remix-run/react-router/pull/9830).

-   Updated dependencies:
    -   `react-router@6.9.0`
    -   `@remix-run/router@1.4.0`

###
[`v6.8.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#&#8203;682)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.8.1...react-router-dom@6.8.2)

##### Patch Changes

- Treat same-origin absolute URLs in `<Link to>` as external if they are
outside of the router `basename`
([#&#8203;10135](https://togithub.com/remix-run/react-router/pull/10135))
- Fix `useBlocker` to return `IDLE_BLOCKER` during SSR
([#&#8203;10046](https://togithub.com/remix-run/react-router/pull/10046))
- Fix SSR of absolute `<Link to>` urls
([#&#8203;10112](https://togithub.com/remix-run/react-router/pull/10112))
- Properly escape HTML characters in `StaticRouterProvider` serialized
hydration data
([#&#8203;10068](https://togithub.com/remix-run/react-router/pull/10068))
-   Updated dependencies:
    -   `@remix-run/router@1.3.3`
    -   `react-router@6.8.2`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 14:21:15 +00:00
renovate[bot]
8ca80ecb4e
chore(deps): update emotion monorepo to v11.10.8 (#3699)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@emotion/react](https://togithub.com/emotion-js/emotion/tree/main#readme)
([source](https://togithub.com/emotion-js/emotion)) | [`11.10.6` ->
`11.10.8`](https://renovatebot.com/diffs/npm/@emotion%2freact/11.10.6/11.10.8)
|
[![age](https://badges.renovateapi.com/packages/npm/@emotion%2freact/11.10.8/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@emotion%2freact/11.10.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@emotion%2freact/11.10.8/compatibility-slim/11.10.6)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@emotion%2freact/11.10.8/confidence-slim/11.10.6)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@emotion/styled](https://togithub.com/emotion-js/emotion/tree/main#readme)
([source](https://togithub.com/emotion-js/emotion)) | [`11.10.6` ->
`11.10.8`](https://renovatebot.com/diffs/npm/@emotion%2fstyled/11.10.6/11.10.8)
|
[![age](https://badges.renovateapi.com/packages/npm/@emotion%2fstyled/11.10.8/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@emotion%2fstyled/11.10.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@emotion%2fstyled/11.10.8/compatibility-slim/11.10.6)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@emotion%2fstyled/11.10.8/confidence-slim/11.10.6)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>emotion-js/emotion</summary>

###
[`v11.10.8`](https://togithub.com/emotion-js/emotion/releases/tag/%40emotion/styled%4011.10.8)

[Compare
Source](https://togithub.com/emotion-js/emotion/compare/@emotion/react@11.10.6...@emotion/react@11.10.8)

##### Patch Changes

- [#&#8203;3025](https://togithub.com/emotion-js/emotion/pull/3025)
[`6bd13425`](6bd13425a2)
Thanks [@&#8203;Andarist](https://togithub.com/Andarist)! - Fixed a
parsing issue with `&` within nested functions in declaration values by
updating the underlying parser
([stylis](https://togithub.com/thysultan/stylis)).

- Updated dependencies
\[[`6bd13425`](6bd13425a2)]:
-
[@&#8203;emotion/babel-plugin](https://togithub.com/emotion/babel-plugin)[@&#8203;11](https://togithub.com/11).10.8

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 22:47:03 +00:00
renovate[bot]
db2fd7aee7
chore(deps): update jest monorepo (#3694)
[![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/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`29.4.0` ->
`29.5.1`](https://renovatebot.com/diffs/npm/@types%2fjest/29.4.0/29.5.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/compatibility-slim/29.4.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.5.1/confidence-slim/29.4.0)](https://docs.renovatebot.com/merge-confidence/)
|
| [jest](https://jestjs.io/)
([source](https://togithub.com/facebook/jest)) | [`29.4.3` ->
`29.5.0`](https://renovatebot.com/diffs/npm/jest/29.4.3/29.5.0) |
[![age](https://badges.renovateapi.com/packages/npm/jest/29.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/jest/29.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/jest/29.5.0/compatibility-slim/29.4.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/jest/29.5.0/confidence-slim/29.4.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>facebook/jest</summary>

###
[`v29.5.0`](https://togithub.com/facebook/jest/blob/HEAD/CHANGELOG.md#&#8203;2950)

[Compare
Source](https://togithub.com/facebook/jest/compare/v29.4.3...v29.5.0)

##### Features

- `[jest-changed-files]` Support Sapling
([#&#8203;13941](https://togithub.com/facebook/jest/pull/13941))
- `[jest-circus, @&#8203;jest/cli, jest-config]` Add feature to
randomize order of tests via CLI flag or through the config
file([#&#8203;12922](https://togithub.com/facebook/jest/pull/12922))
- `[jest-cli, jest-config, @&#8203;jest/core, jest-haste-map,
@&#8203;jest/reporters, jest-runner, jest-runtime, @&#8203;jest/types]`
Add `workerThreads` configuration option to allow using [worker
threads](https://nodejs.org/dist/latest/docs/api/worker_threads.html)
for parallelization
([#&#8203;13939](https://togithub.com/facebook/jest/pull/13939))
- `[jest-cli]` Export `yargsOptions`
([#&#8203;13970](https://togithub.com/facebook/jest/pull/13970))
- `[jest-config]` Add `openHandlesTimeout` option to configure possible
open handles warning.
([#&#8203;13875](https://togithub.com/facebook/jest/pull/13875))
- `[@jest/create-cache-key-function]` Allow passing `length` argument to
`createCacheKey()` function and set its default value to `16` on Windows
([#&#8203;13827](https://togithub.com/facebook/jest/pull/13827))
- `[jest-message-util]` Add support for
[AggregateError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError)
([#&#8203;13946](https://togithub.com/facebook/jest/pull/13946) &
[#&#8203;13947](https://togithub.com/facebook/jest/pull/13947))
- `[jest-message-util]` Add support for [Error
causes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause)
in `test` and `it`
([#&#8203;13935](https://togithub.com/facebook/jest/pull/13935) &
[#&#8203;13966](https://togithub.com/facebook/jest/pull/13966))
- `[jest-reporters]` Add `summaryThreshold` option to summary reporter
to allow overriding the internal threshold that is used to print the
summary of all failed tests when the number of test suites surpasses it
([#&#8203;13895](https://togithub.com/facebook/jest/pull/13895))
- `[jest-runtime]` Expose `@sinonjs/fake-timers` async APIs functions
`advanceTimersByTimeAsync(msToRun)` (`tickAsync(msToRun)`),
`advanceTimersToNextTimerAsync(steps)` (`nextAsync`),
`runAllTimersAsync` (`runAllAsync`), and `runOnlyPendingTimersAsync`
(`runToLastAsync`)
([#&#8203;13981](https://togithub.com/facebook/jest/pull/13981))
- `[jest-runtime, @&#8203;jest/transform]` Allow V8 coverage provider to
collect coverage from files which were not loaded explicitly
([#&#8203;13974](https://togithub.com/facebook/jest/pull/13974))
- `[jest-snapshot]` Add support to `cts` and `mts` TypeScript files to
inline snapshots
([#&#8203;13975](https://togithub.com/facebook/jest/pull/13975))
- `[jest-worker]` Add `start` method to worker farms
([#&#8203;13937](https://togithub.com/facebook/jest/pull/13937))
- `[jest-worker]` Support passing a URL as path to worker
([#&#8203;13982](https://togithub.com/facebook/jest/pull/13982))

##### Fixes

- `[babel-plugin-jest-hoist]` Fix unwanted hoisting of nested `jest`
usages ([#&#8203;13952](https://togithub.com/facebook/jest/pull/13952))
- `[jest-circus]` Send test case results for `todo` tests
([#&#8203;13915](https://togithub.com/facebook/jest/pull/13915))
- `[jest-circus]` Update message printed on test timeout
([#&#8203;13830](https://togithub.com/facebook/jest/pull/13830))
- `[jest-circus]` Avoid creating the word "testfalse" when
`takesDoneCallback` is `false` in the message printed on test timeout
AND updated timeouts test
([#&#8203;13954](https://togithub.com/facebook/jest/pull/13954))
- `[jest-environment-jsdom]` Stop setting `document` to `null` on
teardown
([#&#8203;13972](https://togithub.com/facebook/jest/pull/13972))
- `[@jest/expect-utils]` Update `toStrictEqual()` to be able to check
`jest.fn().mock.calls`
([#&#8203;13960](https://togithub.com/facebook/jest/pull/13960))
- `[@jest/test-result]` Allow `TestResultsProcessor` type to return a
Promise ([#&#8203;13950](https://togithub.com/facebook/jest/pull/13950))

##### Chore & Maintenance

- `[jest-snapshot]` Remove dependency on `jest-haste-map`
([#&#8203;13977](https://togithub.com/facebook/jest/pull/13977))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

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

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 14:19:19 +00:00
andreas-unleash
a8936a13c3
Feat: default strategy UI (#3682)
<!-- 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! ❤️ -->
- Removed `strategyTitle` and `strategyDisable` flags. Unified under
`strategyImprovements` flag
- Implements the default strategy UI
- Bug fixes

## 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. -->

<!-- Does it close an issue? Multiple? -->
Closes #
[1-875](https://linear.app/unleash/issue/1-875/default-strategy-frontend)

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->
![Screenshot 2023-05-04 at 11 21
05](https://user-images.githubusercontent.com/104830839/236149232-84601829-1327-42af-9527-5cc15196517a.png)

### 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? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-05-05 14:32:44 +03:00
Jaanus Sellin
50fe3ebcaf
feat: metrics for variants (#3685) 2023-05-05 11:10:54 +03:00
renovate[bot]
e50a521781
chore(deps): update dependency vitest to v0.30.1 (#3692)
[![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) | [`0.28.5` ->
`0.30.1`](https://renovatebot.com/diffs/npm/vitest/0.28.5/0.30.1) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/compatibility-slim/0.28.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.30.1/confidence-slim/0.28.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1)

#####    🐞 Bug Fixes

- Do not rely on global `performance` and `AggregateError`  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3171](https://togithub.com/vitest-dev/vitest/issues/3171)
[<samp>(cce45)</samp>](https://togithub.com/vitest-dev/vitest/commit/cce45496)
- Allow workspace without a config in the root  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3173](https://togithub.com/vitest-dev/vitest/issues/3173)
[<samp>(06852)</samp>](https://togithub.com/vitest-dev/vitest/commit/06852f18)
- `test.each` respects `chaiConfig`  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(4f6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f6c1340)
- Use relative paths in source map's "sources" field  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3177](https://togithub.com/vitest-dev/vitest/issues/3177)
[<samp>(6b1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b1b4e68)
-   **types**:
- Allow augmenting jest namespace for custom assertions  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3169](https://togithub.com/vitest-dev/vitest/issues/3169)
[<samp>(905ec)</samp>](https://togithub.com/vitest-dev/vitest/commit/905ec05a)
- Publish utils and snapshot .d.ts files for typescript  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3172](https://togithub.com/vitest-dev/vitest/issues/3172)
[<samp>(7af64)</samp>](https://togithub.com/vitest-dev/vitest/commit/7af64444)
-   **snapshot**:
- `toMatchFileSnapshot` ensure dir exists  -  by
[@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/3155](https://togithub.com/vitest-dev/vitest/issues/3155)
[<samp>(31168)</samp>](https://togithub.com/vitest-dev/vitest/commit/311682a8)
- Improve `skipWriting` check  -  by
[@&#8203;antfu](https://togithub.com/antfu)
[<samp>(5436c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5436c736)
- Normalize EOL for `toMatchFileSnapshot`  -  by
[@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/3164](https://togithub.com/vitest-dev/vitest/issues/3164)
[<samp>(df3f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/df3f2b50)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.0...v0.30.1)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0)

#####    🚨 Breaking Changes

- Remove tinyspy internal properties on Vitest spies  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3069](https://togithub.com/vitest-dev/vitest/issues/3069)
[<samp>(2f1dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/2f1dc5ce)
- Only support Node.js 14.18.0 or newer  -  by
[@&#8203;danez](https://togithub.com/danez) in
[https://github.com/vitest-dev/vitest/issues/2985](https://togithub.com/vitest-dev/vitest/issues/2985)
[<samp>(287dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/287dc205)
- Use "concordance" package to display diff instead of using custom diff
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2828](https://togithub.com/vitest-dev/vitest/issues/2828)
[<samp>(44630)</samp>](https://togithub.com/vitest-dev/vitest/commit/446308da)
- Move snapshot implementation into
[@&#8203;vitest/snapshot](https://togithub.com/vitest/snapshot)  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3032](https://togithub.com/vitest-dev/vitest/issues/3032)
[<samp>(6aff0)</samp>](https://togithub.com/vitest-dev/vitest/commit/6aff0176)
- Bump coverage packages vitest peer dependency  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3126](https://togithub.com/vitest-dev/vitest/issues/3126)
[<samp>(be1bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/be1bf08d)
- Add workspace support  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3103](https://togithub.com/vitest-dev/vitest/issues/3103)
[<samp>(b9d1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b9d1a975)
-   Experimental optimizer introduced in 0.29.0 is temporarily disabled.

#####    🚀 Features

- Gzip html reporter's metadata  -  by
[@&#8203;7rulnik](https://togithub.com/7rulnik) in
[https://github.com/vitest-dev/vitest/issues/3113](https://togithub.com/vitest-dev/vitest/issues/3113)
[<samp>(7856e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7856ec12)
- Add chai config  -  by [@&#8203;btea](https://togithub.com/btea) in
[https://github.com/vitest-dev/vitest/issues/3066](https://togithub.com/vitest-dev/vitest/issues/3066)
[<samp>(6fcba)</samp>](https://togithub.com/vitest-dev/vitest/commit/6fcba9ba)
- **snapshot**: Introduce `toMatchFileSnapshot` and auto queuing expect
promise  -  by [@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/3116](https://togithub.com/vitest-dev/vitest/issues/3116)
[<samp>(bdc06)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdc06dcb)

#####    🐞 Bug Fixes

- Resolve reporters passed down to the CLI relative to the running
directory  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va)
in
[https://github.com/vitest-dev/vitest/issues/3097](https://togithub.com/vitest-dev/vitest/issues/3097)
[<samp>(93c7e)</samp>](https://togithub.com/vitest-dev/vitest/commit/93c7e39d)
- Don't show "diff" in "serialized error" section  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(326b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/326b242d)
- Convert '--single-thread' and '--inspect' cli args to boolean  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3111](https://togithub.com/vitest-dev/vitest/issues/3111)
[<samp>(83a9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a9aa74)
- Stack trace point to incorrect file  -  by
[@&#8203;ChenKS12138](https://togithub.com/ChenKS12138) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3004](https://togithub.com/vitest-dev/vitest/issues/3004)
and
[https://github.com/vitest-dev/vitest/issues/3115](https://togithub.com/vitest-dev/vitest/issues/3115)
[<samp>(5cee4)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cee4fbf)
- Run benchmarks sequentially  -  by
[@&#8203;thecodrr](https://togithub.com/thecodrr) in
[https://github.com/vitest-dev/vitest/issues/2004](https://togithub.com/vitest-dev/vitest/issues/2004)
and
[https://github.com/vitest-dev/vitest/issues/3151](https://togithub.com/vitest-dev/vitest/issues/3151)
[<samp>(430b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/430b4ecb)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.8...v0.30.0)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8)

#####    🚀 Features

- Allow accessing "vi" methods without context, don't fail when mocker
is not available  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3047](https://togithub.com/vitest-dev/vitest/issues/3047)
[<samp>(1531c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1531c420)
- Show browser console in the terminal  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3048](https://togithub.com/vitest-dev/vitest/issues/3048)
[<samp>(ee6f5)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee6f590d)
- Playwright as browser provider  -  by
[@&#8203;Aslemammad](https://togithub.com/Aslemammad) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3079](https://togithub.com/vitest-dev/vitest/issues/3079)
[<samp>(9dc69)</samp>](https://togithub.com/vitest-dev/vitest/commit/9dc69293)
- Implement `istanbul` coverage support for browser testing  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3040](https://togithub.com/vitest-dev/vitest/issues/3040)
[<samp>(0f44d)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f44d2c8)

#####    🐞 Bug Fixes

- Add generic to expect.objectContaining type  -  by
[@&#8203;ArtyMaury](https://togithub.com/ArtyMaury) in
[https://github.com/vitest-dev/vitest/issues/3053](https://togithub.com/vitest-dev/vitest/issues/3053)
[<samp>(69d2c)</samp>](https://togithub.com/vitest-dev/vitest/commit/69d2cc93)
- Do not fail, when primitive error is thrown  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3074](https://togithub.com/vitest-dev/vitest/issues/3074)
[<samp>(6efe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/6efe61ab)
- Handle cloning proxied classes w/ enumerable getters  -  by
[@&#8203;tgriesser](https://togithub.com/tgriesser) in
[https://github.com/vitest-dev/vitest/issues/3026](https://togithub.com/vitest-dev/vitest/issues/3026)
[<samp>(196a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/196a067a)
- Spy on popup apis like alert  -  by
[@&#8203;Aslemammad](https://togithub.com/Aslemammad) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3076](https://togithub.com/vitest-dev/vitest/issues/3076)
[<samp>(280ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/280ad1ed)
- Report coverage even when no tests found  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3091](https://togithub.com/vitest-dev/vitest/issues/3091)
[<samp>(2cb91)</samp>](https://togithub.com/vitest-dev/vitest/commit/2cb91211)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.7...v0.29.8)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7)

#####    🐞 Bug Fixes

- Import [@&#8203;vite/client](https://togithub.com/vite/client) in
browser code for handling optimizer  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(20c51)</samp>](https://togithub.com/vitest-dev/vitest/commit/20c510c4)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6)

#####    🐞 Bug Fixes

- Bundle UI with
[@&#8203;vitest/browser](https://togithub.com/vitest/browser)  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(14091)</samp>](https://togithub.com/vitest-dev/vitest/commit/14091c59)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5)

#####    🐞 Bug Fixes

- **browser**: Relax vitest peer dependency  -  by
[@&#8203;cexbrayat](https://togithub.com/cexbrayat) in
[https://github.com/vitest-dev/vitest/issues/3039](https://togithub.com/vitest-dev/vitest/issues/3039)
[<samp>(865d1)</samp>](https://togithub.com/vitest-dev/vitest/commit/865d1afd)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4)

#####    🚀 Features

- `--test-timeout` CLI argument  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3019](https://togithub.com/vitest-dev/vitest/issues/3019)
[<samp>(63c62)</samp>](https://togithub.com/vitest-dev/vitest/commit/63c62f9e)
- Add an option to control Vitest pool with filepath  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3029](https://togithub.com/vitest-dev/vitest/issues/3029)
[<samp>(c7f0c)</samp>](https://togithub.com/vitest-dev/vitest/commit/c7f0c86b)
- Process timeout to log names of stuck test files  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3031](https://togithub.com/vitest-dev/vitest/issues/3031)
[<samp>(0ddf7)</samp>](https://togithub.com/vitest-dev/vitest/commit/0ddf7220)
- Support relative path in html report  -  by
[@&#8203;poyoho](https://togithub.com/poyoho) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2695](https://togithub.com/vitest-dev/vitest/issues/2695)
[<samp>(a7680)</samp>](https://togithub.com/vitest-dev/vitest/commit/a768015e)
- Webdriverio (+ custom providers) integration for browser mode  -  by
[@&#8203;Aslemammad](https://togithub.com/Aslemammad), **Christian
Bromann**, [@&#8203;sheremet-va](https://togithub.com/sheremet-va),
[@&#8203;userquin](https://togithub.com/userquin) and
[@&#8203;dammy001](https://togithub.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/2999](https://togithub.com/vitest-dev/vitest/issues/2999)
[<samp>(9cdc8)</samp>](https://togithub.com/vitest-dev/vitest/commit/9cdc8030)

#####    🐞 Bug Fixes

- Show correct line numbers in stack trace when using vi.resetModules()
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3020](https://togithub.com/vitest-dev/vitest/issues/3020)
[<samp>(35730)</samp>](https://togithub.com/vitest-dev/vitest/commit/35730328)
- Mocking value proxy filter Symbol static properties  -  by
[@&#8203;ChpShy](https://togithub.com/ChpShy) in
[https://github.com/vitest-dev/vitest/issues/3036](https://togithub.com/vitest-dev/vitest/issues/3036)
[<samp>(0cf44)</samp>](https://togithub.com/vitest-dev/vitest/commit/0cf44098)
- Escape XML in error stack trace when using junit reporter  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3038](https://togithub.com/vitest-dev/vitest/issues/3038)
[<samp>(cc577)</samp>](https://togithub.com/vitest-dev/vitest/commit/cc5779d6)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3)

#####    🚀 Features

- Use custom colors implementation instead of picocolors  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(427b0)</samp>](https://togithub.com/vitest-dev/vitest/commit/427b0622)
- Uncaught errors to indicate env teardown  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2982](https://togithub.com/vitest-dev/vitest/issues/2982)
[<samp>(1fe82)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fe8286c)
- **config**: Add an option to run setupFiles in sequence  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3008](https://togithub.com/vitest-dev/vitest/issues/3008)
[<samp>(c2e25)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2e25bb9)

#####    🐞 Bug Fixes

- Console log not visible  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2943](https://togithub.com/vitest-dev/vitest/issues/2943)
[<samp>(02808)</samp>](https://togithub.com/vitest-dev/vitest/commit/0280825f)
- Remove duplicate execArgv when deps.registerNodeLoader: true  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2965](https://togithub.com/vitest-dev/vitest/issues/2965)
[<samp>(a1954)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1954cc0)
- Prevent running test cases timers after environment teardown  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2971](https://togithub.com/vitest-dev/vitest/issues/2971)
[<samp>(bde75)</samp>](https://togithub.com/vitest-dev/vitest/commit/bde75a34)
- Don't mark setupFiles as test files, if experimentaOptimizer is used
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2974](https://togithub.com/vitest-dev/vitest/issues/2974)
[<samp>(819c6)</samp>](https://togithub.com/vitest-dev/vitest/commit/819c6cbe)
- Config errors not visible  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2995](https://togithub.com/vitest-dev/vitest/issues/2995)
[<samp>(f01c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f01c7833)
- \--inspect to work inside workers  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2983](https://togithub.com/vitest-dev/vitest/issues/2983)
[<samp>(36087)</samp>](https://togithub.com/vitest-dev/vitest/commit/36087d1e)
- **types**: Use `any` as default value for TArgs in vi.fn()  -  by
[@&#8203;jessevanassen](https://togithub.com/jessevanassen) in
[https://github.com/vitest-dev/vitest/issues/2947](https://togithub.com/vitest-dev/vitest/issues/2947)
[<samp>(1bdcc)</samp>](https://togithub.com/vitest-dev/vitest/commit/1bdcc212)

#####    🏎 Performance

- **reporters**: Overall improvements  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3006](https://togithub.com/vitest-dev/vitest/issues/3006)
[<samp>(22ca0)</samp>](https://togithub.com/vitest-dev/vitest/commit/22ca0b6b)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2)

#####    🐞 Bug Fixes

- Optimize dependencies in setup files  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2935](https://togithub.com/vitest-dev/vitest/issues/2935)
[<samp>(c169f)</samp>](https://togithub.com/vitest-dev/vitest/commit/c169f980)
- **coverage**: C8 provider to work when isolate:false  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2929](https://togithub.com/vitest-dev/vitest/issues/2929)
[<samp>(86538)</samp>](https://togithub.com/vitest-dev/vitest/commit/8653830b)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1)

#####    🐞 Bug Fixes

- Wait for optimized dependency to be bundled in non-pnpm package
managers  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(d2460)</samp>](https://togithub.com/vitest-dev/vitest/commit/d2460b7a)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0)

This release makes some significant changes to how tests are running. If
you were using `--no-threads` before, you might consider enabling
`--single-thread` instead (because your tests are now running in
`child_process` instead of a worker thread) or try our new performance
optimization feature (discussed later). If you were relying on API that
was not available inside a worker (like `process.chdir()`, you can now
use this option.

One of the potential breaking bug fixes is that environments do not
share the same global scope anymore if you run them with `--no-isolate`,
`--no-threads` or `--single-thread` - you might need to update your
setup files if you were relying on a global variable before.

If you had performance issues on large code bases before, try the new
[`deps.experimentalOptimizer`](https://vitest.dev/config/#deps-experimentaloptimizer)
option instead of disabling threads. Feedback is welcome!

One of the breaking changes includes adding a link to snapshots inside
snapshot files, meaning you will need to update all your snapshots.

#####    🚨 Breaking Changes

- Vitest as peer dependency for coverage packages  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2836](https://togithub.com/vitest-dev/vitest/issues/2836)
[<samp>(94247)</samp>](https://togithub.com/vitest-dev/vitest/commit/94247f1b)
- Coverage-c8 to use V8 profiler directly instead of `NODE_V8_COVERAGE`
 -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2786](https://togithub.com/vitest-dev/vitest/issues/2786)
[<samp>(095c6)</samp>](https://togithub.com/vitest-dev/vitest/commit/095c6390)
- Add a link to the comment at the top of the snapshot file  -  by
[@&#8203;btea](https://togithub.com/btea) in
[https://github.com/vitest-dev/vitest/issues/2867](https://togithub.com/vitest-dev/vitest/issues/2867)
[<samp>(615e1)</samp>](https://togithub.com/vitest-dev/vitest/commit/615e150b)
- Always run separate environments in isolation  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2860](https://togithub.com/vitest-dev/vitest/issues/2860)
[<samp>(1f858)</samp>](https://togithub.com/vitest-dev/vitest/commit/1f858e0c)
- Tests with `node` and `jsdom` (and other environments) now don't share
the same global scope, if you run them with `--no-isolate` or
`--no-threads` flag. Vitest doesn't provide a way to restore the
previous behavior as it is considered a bug.
- Use child_process when --no-threads is used  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2772](https://togithub.com/vitest-dev/vitest/issues/2772)
[<samp>(7bf54)</samp>](https://togithub.com/vitest-dev/vitest/commit/7bf54505)
- Tests inside `chid_process` might run longer due to the communication
overhead. If you want to restore the previous behavior, use
`--single-thread`.

#####    🚀 Features

- Add test seed to banner  -  by
[@&#8203;btkostner](https://togithub.com/btkostner) in
[https://github.com/vitest-dev/vitest/issues/2877](https://togithub.com/vitest-dev/vitest/issues/2877)
[<samp>(bdb39)</samp>](https://togithub.com/vitest-dev/vitest/commit/bdb39569)
- Use custom source-map-support implementation  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2905](https://togithub.com/vitest-dev/vitest/issues/2905)
[<samp>(6ff6c)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ff6c6eb)
- Add an option to enable Vite optimizer  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2912](https://togithub.com/vitest-dev/vitest/issues/2912)
[<samp>(af8de)</samp>](https://togithub.com/vitest-dev/vitest/commit/af8de362)
-   **coverage**:
- Add support for coverage reporter options  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2690](https://togithub.com/vitest-dev/vitest/issues/2690)
[<samp>(f8176)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8176182)
- Automatic threshold updating  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2886](https://togithub.com/vitest-dev/vitest/issues/2886)
[<samp>(e1652)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1652163)
-   **spy**:
- Implement mock.withImplementation API  -  by
[@&#8203;obadakhalili](https://togithub.com/obadakhalili) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2835](https://togithub.com/vitest-dev/vitest/issues/2835)
[<samp>(610b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/610b1d46)
-   **vite-node**:
- Cli option for vite mode  -  by
[@&#8203;abarke](https://togithub.com/abarke) in
[https://github.com/vitest-dev/vitest/issues/2893](https://togithub.com/vitest-dev/vitest/issues/2893)
[<samp>(0fc08)</samp>](https://togithub.com/vitest-dev/vitest/commit/0fc08032)

#####    🐞 Bug Fixes

- Wait for console.log to print a message before terminating a worker
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2861](https://togithub.com/vitest-dev/vitest/issues/2861)
[<samp>(fbc54)</samp>](https://togithub.com/vitest-dev/vitest/commit/fbc54c91)
- Cleanup last mocked cache when call vi.doMock  -  by
[@&#8203;mysteryven](https://togithub.com/mysteryven) in
[https://github.com/vitest-dev/vitest/issues/2872](https://togithub.com/vitest-dev/vitest/issues/2872)
[<samp>(65d71)</samp>](https://togithub.com/vitest-dev/vitest/commit/65d71b9e)
- Reload changed configuration file on watch mode  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2889](https://togithub.com/vitest-dev/vitest/issues/2889)
[<samp>(4d277)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d277d8d)
- **coverage**: Custom providers to work inside worker threads  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2817](https://togithub.com/vitest-dev/vitest/issues/2817)
[<samp>(81604)</samp>](https://togithub.com/vitest-dev/vitest/commit/81604bce)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 05:17:20 +00:00
renovate[bot]
0d6d5b1220
chore(deps): update dependency vite-tsconfig-paths to v4.2.0 (#3687)
[![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-tsconfig-paths](https://togithub.com/aleclarson/vite-tsconfig-paths)
| [`4.0.5` ->
`4.2.0`](https://renovatebot.com/diffs/npm/vite-tsconfig-paths/4.0.5/4.2.0)
|
[![age](https://badges.renovateapi.com/packages/npm/vite-tsconfig-paths/4.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite-tsconfig-paths/4.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite-tsconfig-paths/4.2.0/compatibility-slim/4.0.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite-tsconfig-paths/4.2.0/confidence-slim/4.0.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>aleclarson/vite-tsconfig-paths</summary>

###
[`v4.2.0`](https://togithub.com/aleclarson/vite-tsconfig-paths/releases/tag/v4.2.0)

[Compare
Source](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.1.0...v4.2.0)

-
[`7a97869`](7a97869db4)
If a tsconfig file is malformed and cannot be parsed (e.g. its `extends`
property points to a non-existent file), an error is now logged instead
of crashing the process. You can disable parsing error logs by setting
`ignoreConfigErrors: true` in the plugin options.

###
[`v4.1.0`](https://togithub.com/aleclarson/vite-tsconfig-paths/releases/tag/v4.1.0)

[Compare
Source](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.9...v4.1.0)

-
[`9766de8`](9766de8a0d)
If the `projects` option is used, any missing tsconfig files will be
silently ignored (other than a debug log, enabled with
`DEBUG="vite-tsconfig-paths"` environment variable).

###
[`v4.0.9`](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.8...v4.0.9)

[Compare
Source](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.8...v4.0.9)

###
[`v4.0.8`](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.7...v4.0.8)

[Compare
Source](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.7...v4.0.8)

###
[`v4.0.7`](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.6...v4.0.7)

[Compare
Source](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.6...v4.0.7)

###
[`v4.0.6`](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.5...v4.0.6)

[Compare
Source](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.5...v4.0.6)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 00:43:07 +00:00
renovate[bot]
4fbeb20856
chore(deps): update dependency vite to v4.3.3 (#3680)
[![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://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`4.1.4` ->
`4.3.3`](https://renovatebot.com/diffs/npm/vite/4.1.4/4.3.3) |
[![age](https://badges.renovateapi.com/packages/npm/vite/4.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/4.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/4.3.3/compatibility-slim/4.1.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/4.3.3/confidence-slim/4.1.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite</summary>

###
[`v4.3.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small433-2023-04-26-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.3.2...v4.3.3)

- fix: address file path mismatch when loading Vite config file on
Windows (fix
[#&#8203;12923](https://togithub.com/vitejs/vite/issues/12923))
([#&#8203;13005](https://togithub.com/vitejs/vite/issues/13005))
([84c4118](https://togithub.com/vitejs/vite/commit/84c4118)), closes
[#&#8203;12923](https://togithub.com/vitejs/vite/issues/12923)
[#&#8203;13005](https://togithub.com/vitejs/vite/issues/13005)
- fix: undefined document in worker
([#&#8203;12988](https://togithub.com/vitejs/vite/issues/12988))
([08c1452](https://togithub.com/vitejs/vite/commit/08c1452)), closes
[#&#8203;12988](https://togithub.com/vitejs/vite/issues/12988)
- fix(resolve): deep import resolvedId error
([#&#8203;13010](https://togithub.com/vitejs/vite/issues/13010))
([30a41ff](https://togithub.com/vitejs/vite/commit/30a41ff)), closes
[#&#8203;13010](https://togithub.com/vitejs/vite/issues/13010)
- feat: optimize deps option to turn off auto discovery
([#&#8203;13000](https://togithub.com/vitejs/vite/issues/13000))
([bd86375](https://togithub.com/vitejs/vite/commit/bd86375)), closes
[#&#8203;13000](https://togithub.com/vitejs/vite/issues/13000)
- chore(deps): update all non-major dependencies
([#&#8203;12805](https://togithub.com/vitejs/vite/issues/12805))
([5731ac9](https://togithub.com/vitejs/vite/commit/5731ac9)), closes
[#&#8203;12805](https://togithub.com/vitejs/vite/issues/12805)

###
[`v4.3.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small432-2023-04-25-small)

[Compare
Source](2a8779c577...v4.3.2)

- fix: status optional in windows network drive regex (fix:
[#&#8203;12948](https://togithub.com/vitejs/vite/issues/12948))
([#&#8203;12949](https://togithub.com/vitejs/vite/issues/12949))
([f781fc6](https://togithub.com/vitejs/vite/commit/f781fc6)), closes
[#&#8203;12948](https://togithub.com/vitejs/vite/issues/12948)
[#&#8203;12949](https://togithub.com/vitejs/vite/issues/12949)
- fix: use realpathSync for node <16.18 on windows
([#&#8203;12971](https://togithub.com/vitejs/vite/issues/12971))
([965839c](https://togithub.com/vitejs/vite/commit/965839c)), closes
[#&#8203;12971](https://togithub.com/vitejs/vite/issues/12971)
- fix(ssr): hoist statements after hashbang
([#&#8203;12985](https://togithub.com/vitejs/vite/issues/12985))
([07bd6d1](https://togithub.com/vitejs/vite/commit/07bd6d1)), closes
[#&#8203;12985](https://togithub.com/vitejs/vite/issues/12985)
- chore: build time message setting color
([#&#8203;12940](https://togithub.com/vitejs/vite/issues/12940))
([ada7cd5](https://togithub.com/vitejs/vite/commit/ada7cd5)), closes
[#&#8203;12940](https://togithub.com/vitejs/vite/issues/12940)
- chore: remove extra ) in changelog
([#&#8203;12932](https://togithub.com/vitejs/vite/issues/12932))
([e7924d2](https://togithub.com/vitejs/vite/commit/e7924d2)), closes
[#&#8203;12932](https://togithub.com/vitejs/vite/issues/12932)
- chore: upgrade rollup
([#&#8203;12965](https://togithub.com/vitejs/vite/issues/12965))
([bdb2f25](https://togithub.com/vitejs/vite/commit/bdb2f25)), closes
[#&#8203;12965](https://togithub.com/vitejs/vite/issues/12965)
- refactor: resolveExports
([#&#8203;10917](https://togithub.com/vitejs/vite/issues/10917))
([ad21ec3](https://togithub.com/vitejs/vite/commit/ad21ec3)), closes
[#&#8203;10917](https://togithub.com/vitejs/vite/issues/10917)

###
[`v4.3.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small431-2023-04-20-small)

[Compare
Source](d6468a3b1f...2a8779c5779ddcf1dd726be39c4547b4851b45cf)

- fix: revert ensure module in graph before transforming
([#&#8203;12774](https://togithub.com/vitejs/vite/issues/12774))
([#&#8203;12929](https://togithub.com/vitejs/vite/issues/12929))
([9cc93a5](https://togithub.com/vitejs/vite/commit/9cc93a5)), closes
[#&#8203;12774](https://togithub.com/vitejs/vite/issues/12774)
[#&#8203;12929](https://togithub.com/vitejs/vite/issues/12929)
- docs: 4.3 announcement and release notes
([#&#8203;12925](https://togithub.com/vitejs/vite/issues/12925))
([f29c582](https://togithub.com/vitejs/vite/commit/f29c582)), closes
[#&#8203;12925](https://togithub.com/vitejs/vite/issues/12925)
- chore: clean up 4.3 changelog
([55ec023](https://togithub.com/vitejs/vite/commit/55ec023))

###
[`v4.3.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#&#8203;430-2023-04-20)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.2.2...d6468a3b1fa11f066a0f38515874f71da7b9640e)

Vite 4.3 is out! Read the [announcement blog post
here](https://vitejs.dev/blog/announcing-vite4-3)

[![Vite 4.3, It's
Fast](https://vitejs.dev/og-image-announcing-vite4-3.png)](https://vitejs.dev/blog/announcing-vite4-3)

In this minor, we focused on improving the dev server performance. The
resolve logic got streamlined, improving hot paths and implementing
smarter caching for finding `package.json`, TS config files, and
resolved URL in general.

You can read a detailed walkthrough of the performance work done in this
blog post by one of Vite Contributors: [How we made Vite 4.3 faaaaster
🚀](https://sun0day.github.io/blog/vite/why-vite4\_3-is-faster.html).

This sprint resulted in speed improvements across the board compared to
Vite 4.2.

These are the performance improvements as measured by
[sapphi-red/performance-compare](https://togithub.com/sapphi-red/performance-compare),
which tests an app with 1000 React Components cold and warm dev server
startup time as well as HMR times for a root and a leaf component:

| **Vite (babel)**   |  Vite 4.2 | Vite 4.3 | Improvement  |
| :----------------- | --------: | -------: | -----------: |
| **dev cold start** | 17249.0ms | 5132.4ms |      -70.2%  |
| **dev warm start** |  6027.8ms | 4536.1ms |      -24.7%  |
| **Root HMR**       |    46.8ms |   26.7ms |      -42.9%  |
| **Leaf HMR**       |    27.0ms |   12.9ms |      -52.2%  |

| **Vite (swc)**     |  Vite 4.2 | Vite 4.3 | Improvement  |
| :----------------- | --------: | -------: | -----------: |
| **dev cold start** | 13552.5ms | 3201.0ms |      -76.4%  |
| **dev warm start** |  4625.5ms | 2834.4ms |      -38.7%  |
| **Root HMR**       |    30.5ms |   24.0ms |      -21.3%  |
| **Leaf HMR**       |    16.9ms |   10.0ms |      -40.8%  |

You can read more information about the benchmark
[here](https://gist.github.com/sapphi-red/25be97327ee64a3c1dce793444afdf6e)

##### Features

- feat: expose `isFileServingAllowed` as public utility
([#&#8203;12894](https://togithub.com/vitejs/vite/issues/12894))
([93e095c](https://togithub.com/vitejs/vite/commit/93e095c)), closes
[#&#8203;12894](https://togithub.com/vitejs/vite/issues/12894)
- feat: reuse existing style elements in dev
([#&#8203;12678](https://togithub.com/vitejs/vite/issues/12678))
([3a41bd8](https://togithub.com/vitejs/vite/commit/3a41bd8)), closes
[#&#8203;12678](https://togithub.com/vitejs/vite/issues/12678)
- feat: skip pinging the server when the tab is not shown
([#&#8203;12698](https://togithub.com/vitejs/vite/issues/12698))
([bedcd8f](https://togithub.com/vitejs/vite/commit/bedcd8f)), closes
[#&#8203;12698](https://togithub.com/vitejs/vite/issues/12698)
- feat(create-vite): use typescript 5.0 in templates
([#&#8203;12481](https://togithub.com/vitejs/vite/issues/12481))
([8582e2d](https://togithub.com/vitejs/vite/commit/8582e2d)), closes
[#&#8203;12481](https://togithub.com/vitejs/vite/issues/12481)
- feat: use preview server parameter in preview server hook
([#&#8203;11647](https://togithub.com/vitejs/vite/issues/11647))
([4c142ea](https://togithub.com/vitejs/vite/commit/4c142ea)), closes
[#&#8203;11647](https://togithub.com/vitejs/vite/issues/11647)
- feat(reporter): show gzip info for all compressible files (fix
[#&#8203;11288](https://togithub.com/vitejs/vite/issues/11288))
([#&#8203;12485](https://togithub.com/vitejs/vite/issues/12485))
([03502c8](https://togithub.com/vitejs/vite/commit/03502c8)), closes
[#&#8203;11288](https://togithub.com/vitejs/vite/issues/11288)
[#&#8203;12485](https://togithub.com/vitejs/vite/issues/12485)
- feat(server): allow to import `data:` uris
([#&#8203;12645](https://togithub.com/vitejs/vite/issues/12645))
([4886d9f](https://togithub.com/vitejs/vite/commit/4886d9f)), closes
[#&#8203;12645](https://togithub.com/vitejs/vite/issues/12645)
- feat: add opus filetype to assets & mime types
([#&#8203;12526](https://togithub.com/vitejs/vite/issues/12526))
([63524ba](https://togithub.com/vitejs/vite/commit/63524ba)), closes
[#&#8203;12526](https://togithub.com/vitejs/vite/issues/12526)

##### Performance

- perf: parallelize await exportsData from depsInfo
([#&#8203;12869](https://togithub.com/vitejs/vite/issues/12869))
([ab3a530](https://togithub.com/vitejs/vite/commit/ab3a530)), closes
[#&#8203;12869](https://togithub.com/vitejs/vite/issues/12869)
- perf: avoid side effects resolving in dev and in the optimizer/scanner
([#&#8203;12789](https://togithub.com/vitejs/vite/issues/12789))
([fb904f9](https://togithub.com/vitejs/vite/commit/fb904f9)), closes
[#&#8203;12789](https://togithub.com/vitejs/vite/issues/12789)
- perf: parallelize imports processing in import analysis plugin
([#&#8203;12754](https://togithub.com/vitejs/vite/issues/12754))
([037a6c7](https://togithub.com/vitejs/vite/commit/037a6c7)), closes
[#&#8203;12754](https://togithub.com/vitejs/vite/issues/12754)
- perf: unresolvedUrlToModule promise cache
([#&#8203;12725](https://togithub.com/vitejs/vite/issues/12725))
([80c526e](https://togithub.com/vitejs/vite/commit/80c526e)), closes
[#&#8203;12725](https://togithub.com/vitejs/vite/issues/12725)
- perf(resolve): avoid tryFsResolve for /@&#8203;fs/ paths
([#&#8203;12450](https://togithub.com/vitejs/vite/issues/12450))
([3ef8aaa](https://togithub.com/vitejs/vite/commit/3ef8aaa)), closes
[#&#8203;12450](https://togithub.com/vitejs/vite/issues/12450)
- perf(resolve): reduce vite client path checks
([#&#8203;12471](https://togithub.com/vitejs/vite/issues/12471))
([c49af23](https://togithub.com/vitejs/vite/commit/c49af23)), closes
[#&#8203;12471](https://togithub.com/vitejs/vite/issues/12471)
- perf: avoid new URL() in hot path
([#&#8203;12654](https://togithub.com/vitejs/vite/issues/12654))
([f4e2fdf](https://togithub.com/vitejs/vite/commit/f4e2fdf)), closes
[#&#8203;12654](https://togithub.com/vitejs/vite/issues/12654)
- perf: improve isFileReadable performance
([#&#8203;12397](https://togithub.com/vitejs/vite/issues/12397))
([acf3a14](https://togithub.com/vitejs/vite/commit/acf3a14)), closes
[#&#8203;12397](https://togithub.com/vitejs/vite/issues/12397)
- perf: module graph url shortcuts
([#&#8203;12635](https://togithub.com/vitejs/vite/issues/12635))
([c268cfa](https://togithub.com/vitejs/vite/commit/c268cfa)), closes
[#&#8203;12635](https://togithub.com/vitejs/vite/issues/12635)
- perf: reduce runOptimizerIfIdleAfterMs time
([#&#8203;12614](https://togithub.com/vitejs/vite/issues/12614))
([d026a65](https://togithub.com/vitejs/vite/commit/d026a65)), closes
[#&#8203;12614](https://togithub.com/vitejs/vite/issues/12614)
- perf: shorcircuit resolve in ensure entry from url
([#&#8203;12655](https://togithub.com/vitejs/vite/issues/12655))
([82137d6](https://togithub.com/vitejs/vite/commit/82137d6)), closes
[#&#8203;12655](https://togithub.com/vitejs/vite/issues/12655)
- perf: skip es-module-lexer if have no dynamic imports
([#&#8203;12732](https://togithub.com/vitejs/vite/issues/12732))
([5d07d7c](https://togithub.com/vitejs/vite/commit/5d07d7c)), closes
[#&#8203;12732](https://togithub.com/vitejs/vite/issues/12732)
- perf: start preprocessing static imports before updating module graph
([#&#8203;12723](https://togithub.com/vitejs/vite/issues/12723))
([c90b46e](https://togithub.com/vitejs/vite/commit/c90b46e)), closes
[#&#8203;12723](https://togithub.com/vitejs/vite/issues/12723)
- perf: use package cache for one off resolve
([#&#8203;12744](https://togithub.com/vitejs/vite/issues/12744))
([77bf4ef](https://togithub.com/vitejs/vite/commit/77bf4ef)), closes
[#&#8203;12744](https://togithub.com/vitejs/vite/issues/12744)
- perf(css): cache lazy import
([#&#8203;12721](https://togithub.com/vitejs/vite/issues/12721))
([fedb080](https://togithub.com/vitejs/vite/commit/fedb080)), closes
[#&#8203;12721](https://togithub.com/vitejs/vite/issues/12721)
- perf(hmr): keep track of already traversed modules when propagating
update ([#&#8203;12658](https://togithub.com/vitejs/vite/issues/12658))
([3b912fb](https://togithub.com/vitejs/vite/commit/3b912fb)), closes
[#&#8203;12658](https://togithub.com/vitejs/vite/issues/12658)
- perf(moduleGraph): resolve dep urls in parallel
([#&#8203;12619](https://togithub.com/vitejs/vite/issues/12619))
([4823fec](https://togithub.com/vitejs/vite/commit/4823fec)), closes
[#&#8203;12619](https://togithub.com/vitejs/vite/issues/12619)
- perf(resolve): skip for virtual files
([#&#8203;12638](https://togithub.com/vitejs/vite/issues/12638))
([9e13f5f](https://togithub.com/vitejs/vite/commit/9e13f5f)), closes
[#&#8203;12638](https://togithub.com/vitejs/vite/issues/12638)
- perf: avoid fsp.unlink if we don't use the promise
([#&#8203;12589](https://togithub.com/vitejs/vite/issues/12589))
([19d1980](https://togithub.com/vitejs/vite/commit/19d1980)), closes
[#&#8203;12589](https://togithub.com/vitejs/vite/issues/12589)
- perf: back to temporal optimizer dirs
([#&#8203;12622](https://togithub.com/vitejs/vite/issues/12622))
([8da0422](https://togithub.com/vitejs/vite/commit/8da0422)), closes
[#&#8203;12622](https://togithub.com/vitejs/vite/issues/12622)
- perf: cache `depsCacheDirPrefix` value for `isOptimizedDepFile`
([#&#8203;12601](https://togithub.com/vitejs/vite/issues/12601))
([edbd262](https://togithub.com/vitejs/vite/commit/edbd262)), closes
[#&#8203;12601](https://togithub.com/vitejs/vite/issues/12601)
- perf: improve cleanUrl util
([#&#8203;12573](https://togithub.com/vitejs/vite/issues/12573))
([68d500e](https://togithub.com/vitejs/vite/commit/68d500e)), closes
[#&#8203;12573](https://togithub.com/vitejs/vite/issues/12573)
- perf: non-blocking write of optimized dep files
([#&#8203;12603](https://togithub.com/vitejs/vite/issues/12603))
([2f5f968](https://togithub.com/vitejs/vite/commit/2f5f968)), closes
[#&#8203;12603](https://togithub.com/vitejs/vite/issues/12603)
- perf: try using realpathSync.native in Windows
([#&#8203;12580](https://togithub.com/vitejs/vite/issues/12580))
([1cc99f8](https://togithub.com/vitejs/vite/commit/1cc99f8)), closes
[#&#8203;12580](https://togithub.com/vitejs/vite/issues/12580)
- perf: use fsp in more cases
([#&#8203;12553](https://togithub.com/vitejs/vite/issues/12553))
([e9b92f5](https://togithub.com/vitejs/vite/commit/e9b92f5)), closes
[#&#8203;12553](https://togithub.com/vitejs/vite/issues/12553)
- perf(html): apply preTransformRequest for html scripts
([#&#8203;12599](https://togithub.com/vitejs/vite/issues/12599))
([420782c](https://togithub.com/vitejs/vite/commit/420782c)), closes
[#&#8203;12599](https://togithub.com/vitejs/vite/issues/12599)
- perf(optimizer): bulk optimizer delay
([#&#8203;12609](https://togithub.com/vitejs/vite/issues/12609))
([c881971](https://togithub.com/vitejs/vite/commit/c881971)), closes
[#&#8203;12609](https://togithub.com/vitejs/vite/issues/12609)
- perf(optimizer): start optimizer early
([#&#8203;12593](https://togithub.com/vitejs/vite/issues/12593))
([4f9b8b4](https://togithub.com/vitejs/vite/commit/4f9b8b4)), closes
[#&#8203;12593](https://togithub.com/vitejs/vite/issues/12593)
- perf(resolve): avoid isWorkerRequest and clean up .ts imported a .js
([#&#8203;12571](https://togithub.com/vitejs/vite/issues/12571))
([8ab1438](https://togithub.com/vitejs/vite/commit/8ab1438)), closes
[#&#8203;12571](https://togithub.com/vitejs/vite/issues/12571)
- perf(resolve): findNearestMainPackageData instead of lookupFile
([#&#8203;12576](https://togithub.com/vitejs/vite/issues/12576))
([54b376f](https://togithub.com/vitejs/vite/commit/54b376f)), closes
[#&#8203;12576](https://togithub.com/vitejs/vite/issues/12576)
- perf(server): only watch .env files in envDir
([#&#8203;12587](https://togithub.com/vitejs/vite/issues/12587))
([26d8e72](https://togithub.com/vitejs/vite/commit/26d8e72)), closes
[#&#8203;12587](https://togithub.com/vitejs/vite/issues/12587)
- perf: avoid execSync on openBrowser
([#&#8203;12510](https://togithub.com/vitejs/vite/issues/12510))
([a2af2f0](https://togithub.com/vitejs/vite/commit/a2af2f0)), closes
[#&#8203;12510](https://togithub.com/vitejs/vite/issues/12510)
- perf: extract regex and use Map in data-uri plugin
([#&#8203;12500](https://togithub.com/vitejs/vite/issues/12500))
([137e63d](https://togithub.com/vitejs/vite/commit/137e63d)), closes
[#&#8203;12500](https://togithub.com/vitejs/vite/issues/12500)
- perf: extract vite:resolve internal functions
([#&#8203;12522](https://togithub.com/vitejs/vite/issues/12522))
([6ea4be2](https://togithub.com/vitejs/vite/commit/6ea4be2)), closes
[#&#8203;12522](https://togithub.com/vitejs/vite/issues/12522)
- perf: improve package cache usage
([#&#8203;12512](https://togithub.com/vitejs/vite/issues/12512))
([abc2b9c](https://togithub.com/vitejs/vite/commit/abc2b9c)), closes
[#&#8203;12512](https://togithub.com/vitejs/vite/issues/12512)
- perf: more regex improvements
([#&#8203;12520](https://togithub.com/vitejs/vite/issues/12520))
([abf536f](https://togithub.com/vitejs/vite/commit/abf536f)), closes
[#&#8203;12520](https://togithub.com/vitejs/vite/issues/12520)
- perf: regex to startsWith/slice in utils
([#&#8203;12532](https://togithub.com/vitejs/vite/issues/12532))
([debc6e2](https://togithub.com/vitejs/vite/commit/debc6e2)), closes
[#&#8203;12532](https://togithub.com/vitejs/vite/issues/12532)
- perf: remove regex in ImportMetaURL plugins
([#&#8203;12502](https://togithub.com/vitejs/vite/issues/12502))
([1030049](https://togithub.com/vitejs/vite/commit/1030049)), closes
[#&#8203;12502](https://togithub.com/vitejs/vite/issues/12502)
- perf: replace endsWith with ===
([#&#8203;12539](https://togithub.com/vitejs/vite/issues/12539))
([7eb52ec](https://togithub.com/vitejs/vite/commit/7eb52ec)), closes
[#&#8203;12539](https://togithub.com/vitejs/vite/issues/12539)
- perf: replace startsWith with ===
([#&#8203;12531](https://togithub.com/vitejs/vite/issues/12531))
([9cce026](https://togithub.com/vitejs/vite/commit/9cce026)), closes
[#&#8203;12531](https://togithub.com/vitejs/vite/issues/12531)
- perf: reuse regex in plugins
([#&#8203;12518](https://togithub.com/vitejs/vite/issues/12518))
([da43936](https://togithub.com/vitejs/vite/commit/da43936)), closes
[#&#8203;12518](https://togithub.com/vitejs/vite/issues/12518)
- perf: use `safeRealpath` in `getRealpath`
([#&#8203;12551](https://togithub.com/vitejs/vite/issues/12551))
([cec2320](https://togithub.com/vitejs/vite/commit/cec2320)), closes
[#&#8203;12551](https://togithub.com/vitejs/vite/issues/12551)
- perf(css): improve postcss config resolve
([#&#8203;12484](https://togithub.com/vitejs/vite/issues/12484))
([58e99b6](https://togithub.com/vitejs/vite/commit/58e99b6)), closes
[#&#8203;12484](https://togithub.com/vitejs/vite/issues/12484)
- perf(esbuild): make tsconfck non-blocking
([#&#8203;12548](https://togithub.com/vitejs/vite/issues/12548))
([e5cdff7](https://togithub.com/vitejs/vite/commit/e5cdff7)), closes
[#&#8203;12548](https://togithub.com/vitejs/vite/issues/12548)
- perf(esbuild): update tsconfck to consume faster find-all
implementation
([#&#8203;12541](https://togithub.com/vitejs/vite/issues/12541))
([b6ea25a](https://togithub.com/vitejs/vite/commit/b6ea25a)), closes
[#&#8203;12541](https://togithub.com/vitejs/vite/issues/12541)
- perf(resolve): fix browser mapping nearest package.json check
([#&#8203;12550](https://togithub.com/vitejs/vite/issues/12550))
([eac376e](https://togithub.com/vitejs/vite/commit/eac376e)), closes
[#&#8203;12550](https://togithub.com/vitejs/vite/issues/12550)
- perf(resolve): improve package.json resolve speed
([#&#8203;12441](https://togithub.com/vitejs/vite/issues/12441))
([1fc8c65](https://togithub.com/vitejs/vite/commit/1fc8c65)), closes
[#&#8203;12441](https://togithub.com/vitejs/vite/issues/12441)
- perf(resolve): refactor package.json handling for deep imports
([#&#8203;12461](https://togithub.com/vitejs/vite/issues/12461))
([596b661](https://togithub.com/vitejs/vite/commit/596b661)), closes
[#&#8203;12461](https://togithub.com/vitejs/vite/issues/12461)
- perf(resolve): refactor tryFsResolve and tryResolveFile
([#&#8203;12542](https://togithub.com/vitejs/vite/issues/12542))
([3f70f47](https://togithub.com/vitejs/vite/commit/3f70f47))
- perf(resolve): skip absolute paths in root as url checks
([#&#8203;12476](https://togithub.com/vitejs/vite/issues/12476))
([8d2931b](https://togithub.com/vitejs/vite/commit/8d2931b)), closes
[#&#8203;12476](https://togithub.com/vitejs/vite/issues/12476)
- perf(resolve): support # in path only for dependencies
([#&#8203;12469](https://togithub.com/vitejs/vite/issues/12469))
([6559fc7](https://togithub.com/vitejs/vite/commit/6559fc7)), closes
[#&#8203;12469](https://togithub.com/vitejs/vite/issues/12469)

##### Bug Fixes

- fix(build): do not repeatedly output warning message
([#&#8203;12910](https://togithub.com/vitejs/vite/issues/12910))
([251d0ab](https://togithub.com/vitejs/vite/commit/251d0ab)), closes
[#&#8203;12910](https://togithub.com/vitejs/vite/issues/12910)
- fix: escape msg in render restricted error html
([#&#8203;12889](https://togithub.com/vitejs/vite/issues/12889))
([3aa2127](https://togithub.com/vitejs/vite/commit/3aa2127)), closes
[#&#8203;12889](https://togithub.com/vitejs/vite/issues/12889)
- fix: yarn pnp considerBuiltins
([#&#8203;12903](https://togithub.com/vitejs/vite/issues/12903))
([a0e10d5](https://togithub.com/vitejs/vite/commit/a0e10d5)), closes
[#&#8203;12903](https://togithub.com/vitejs/vite/issues/12903)
- fix: broken middleware name
([#&#8203;12871](https://togithub.com/vitejs/vite/issues/12871))
([32bef57](https://togithub.com/vitejs/vite/commit/32bef57)), closes
[#&#8203;12871](https://togithub.com/vitejs/vite/issues/12871)
- fix: cleanUpStaleCacheDirs once per process
([#&#8203;12847](https://togithub.com/vitejs/vite/issues/12847))
([2c58b6e](https://togithub.com/vitejs/vite/commit/2c58b6e)), closes
[#&#8203;12847](https://togithub.com/vitejs/vite/issues/12847)
- fix(build): do not warn when URL in CSS is externalized
([#&#8203;12873](https://togithub.com/vitejs/vite/issues/12873))
([1510996](https://togithub.com/vitejs/vite/commit/1510996)), closes
[#&#8203;12873](https://togithub.com/vitejs/vite/issues/12873)
- fix: build time deps optimization, and ensure single crawl end call
([#&#8203;12851](https://togithub.com/vitejs/vite/issues/12851))
([fa30879](https://togithub.com/vitejs/vite/commit/fa30879)), closes
[#&#8203;12851](https://togithub.com/vitejs/vite/issues/12851)
- fix: correct vite config temporary name
([#&#8203;12833](https://togithub.com/vitejs/vite/issues/12833))
([cdd9c23](https://togithub.com/vitejs/vite/commit/cdd9c23)), closes
[#&#8203;12833](https://togithub.com/vitejs/vite/issues/12833)
- fix(importAnalysis): warning on ExportAllDeclaration
([#&#8203;12799](https://togithub.com/vitejs/vite/issues/12799))
([5136b9b](https://togithub.com/vitejs/vite/commit/5136b9b)), closes
[#&#8203;12799](https://togithub.com/vitejs/vite/issues/12799)
- fix(optimizer): start optimizer after buildStart
([#&#8203;12832](https://togithub.com/vitejs/vite/issues/12832))
([cfe75ee](https://togithub.com/vitejs/vite/commit/cfe75ee)), closes
[#&#8203;12832](https://togithub.com/vitejs/vite/issues/12832)
- fix: handle try-catch for fs promise when resolve https config
([#&#8203;12808](https://togithub.com/vitejs/vite/issues/12808))
([0bba402](https://togithub.com/vitejs/vite/commit/0bba402)), closes
[#&#8203;12808](https://togithub.com/vitejs/vite/issues/12808)
- fix(build): correctly handle warning ignore list
([#&#8203;12831](https://togithub.com/vitejs/vite/issues/12831))
([8830532](https://togithub.com/vitejs/vite/commit/8830532)), closes
[#&#8203;12831](https://togithub.com/vitejs/vite/issues/12831)
- fix(resolve): use different importer check for css imports
([#&#8203;12815](https://togithub.com/vitejs/vite/issues/12815))
([d037327](https://togithub.com/vitejs/vite/commit/d037327)), closes
[#&#8203;12815](https://togithub.com/vitejs/vite/issues/12815)
- fix: ignore sideEffects for scripts imported from html
([#&#8203;12786](https://togithub.com/vitejs/vite/issues/12786))
([f09551f](https://togithub.com/vitejs/vite/commit/f09551f)), closes
[#&#8203;12786](https://togithub.com/vitejs/vite/issues/12786)
- fix: warn on build when bundling code that uses nodejs built in module
([#&#8203;12616](https://togithub.com/vitejs/vite/issues/12616))
([72050f9](https://togithub.com/vitejs/vite/commit/72050f9)), closes
[#&#8203;12616](https://togithub.com/vitejs/vite/issues/12616)
- fix(cli): pass mode to optimize command
([#&#8203;12776](https://togithub.com/vitejs/vite/issues/12776))
([da38ad8](https://togithub.com/vitejs/vite/commit/da38ad8)), closes
[#&#8203;12776](https://togithub.com/vitejs/vite/issues/12776)
- fix(css): resolve at import from dependency basedir
([#&#8203;12796](https://togithub.com/vitejs/vite/issues/12796))
([46bdf7d](https://togithub.com/vitejs/vite/commit/46bdf7d)), closes
[#&#8203;12796](https://togithub.com/vitejs/vite/issues/12796)
- fix(worker): asset in iife worker and relative base
([#&#8203;12697](https://togithub.com/vitejs/vite/issues/12697))
([ddefc06](https://togithub.com/vitejs/vite/commit/ddefc06)), closes
[#&#8203;12697](https://togithub.com/vitejs/vite/issues/12697)
- fix(worker): return null for shouldTransformCachedModule
([#&#8203;12797](https://togithub.com/vitejs/vite/issues/12797))
([ea5f6fc](https://togithub.com/vitejs/vite/commit/ea5f6fc)), closes
[#&#8203;12797](https://togithub.com/vitejs/vite/issues/12797)
- fix: allow onwarn to override vite default warning handling
([#&#8203;12757](https://togithub.com/vitejs/vite/issues/12757))
([f736930](https://togithub.com/vitejs/vite/commit/f736930)), closes
[#&#8203;12757](https://togithub.com/vitejs/vite/issues/12757)
- fix: ensure module in graph before transforming
([#&#8203;12774](https://togithub.com/vitejs/vite/issues/12774))
([44ad321](https://togithub.com/vitejs/vite/commit/44ad321)), closes
[#&#8203;12774](https://togithub.com/vitejs/vite/issues/12774)
- fix: update package cache watcher
([#&#8203;12772](https://togithub.com/vitejs/vite/issues/12772))
([a78588f](https://togithub.com/vitejs/vite/commit/a78588f)), closes
[#&#8203;12772](https://togithub.com/vitejs/vite/issues/12772)
- fix: avoid clean up while committing deps folder
([#&#8203;12722](https://togithub.com/vitejs/vite/issues/12722))
([3f4d109](https://togithub.com/vitejs/vite/commit/3f4d109)), closes
[#&#8203;12722](https://togithub.com/vitejs/vite/issues/12722)
- fix: ignore pnp resolve error
([#&#8203;12719](https://togithub.com/vitejs/vite/issues/12719))
([2d30ae5](https://togithub.com/vitejs/vite/commit/2d30ae5)), closes
[#&#8203;12719](https://togithub.com/vitejs/vite/issues/12719)
- fix: leave fully dynamic import.meta.url asset (fixes
[#&#8203;10306](https://togithub.com/vitejs/vite/issues/10306))
([#&#8203;10549](https://togithub.com/vitejs/vite/issues/10549))
([56802b1](https://togithub.com/vitejs/vite/commit/56802b1)), closes
[#&#8203;10306](https://togithub.com/vitejs/vite/issues/10306)
[#&#8203;10549](https://togithub.com/vitejs/vite/issues/10549)
- fix: output combined sourcemap in importAnalysisBuild plugin
([#&#8203;12642](https://togithub.com/vitejs/vite/issues/12642))
([d051639](https://togithub.com/vitejs/vite/commit/d051639)), closes
[#&#8203;12642](https://togithub.com/vitejs/vite/issues/12642)
- fix: take in relative assets path fixes from rollup
([#&#8203;12695](https://togithub.com/vitejs/vite/issues/12695))
([81e44dd](https://togithub.com/vitejs/vite/commit/81e44dd)), closes
[#&#8203;12695](https://togithub.com/vitejs/vite/issues/12695)
- fix: throws error when plugin tries to resolve ID to external URL
([#&#8203;11731](https://togithub.com/vitejs/vite/issues/11731))
([49674b5](https://togithub.com/vitejs/vite/commit/49674b5)), closes
[#&#8203;11731](https://togithub.com/vitejs/vite/issues/11731)
- fix(css): css file emit synchronously
([#&#8203;12558](https://togithub.com/vitejs/vite/issues/12558))
([8e30025](https://togithub.com/vitejs/vite/commit/8e30025)), closes
[#&#8203;12558](https://togithub.com/vitejs/vite/issues/12558)
- fix(import-analysis): escape quotes correctly
([#&#8203;12688](https://togithub.com/vitejs/vite/issues/12688))
([1638ebd](https://togithub.com/vitejs/vite/commit/1638ebd)), closes
[#&#8203;12688](https://togithub.com/vitejs/vite/issues/12688)
- fix(optimizer): load the correct lock file
([#&#8203;12700](https://togithub.com/vitejs/vite/issues/12700))
([889eebe](https://togithub.com/vitejs/vite/commit/889eebe)), closes
[#&#8203;12700](https://togithub.com/vitejs/vite/issues/12700)
- fix(server): delay ws server listen when restart
([#&#8203;12734](https://togithub.com/vitejs/vite/issues/12734))
([abe9274](https://togithub.com/vitejs/vite/commit/abe9274)), closes
[#&#8203;12734](https://togithub.com/vitejs/vite/issues/12734)
- fix(ssr): load sourcemaps alongside modules
([#&#8203;11780](https://togithub.com/vitejs/vite/issues/11780))
([be95050](https://togithub.com/vitejs/vite/commit/be95050)), closes
[#&#8203;11780](https://togithub.com/vitejs/vite/issues/11780)
- fix(ssr): show ssr module loader error stack
([#&#8203;12651](https://togithub.com/vitejs/vite/issues/12651))
([050c0f9](https://togithub.com/vitejs/vite/commit/050c0f9)), closes
[#&#8203;12651](https://togithub.com/vitejs/vite/issues/12651)
- fix(worker): disable manifest plugins in worker build
([#&#8203;12661](https://togithub.com/vitejs/vite/issues/12661))
([20b8ef4](https://togithub.com/vitejs/vite/commit/20b8ef4)), closes
[#&#8203;12661](https://togithub.com/vitejs/vite/issues/12661)
- fix(worker): worker import.meta.url should not depends on document in
iife mode
([#&#8203;12629](https://togithub.com/vitejs/vite/issues/12629))
([65f5ed2](https://togithub.com/vitejs/vite/commit/65f5ed2)), closes
[#&#8203;12629](https://togithub.com/vitejs/vite/issues/12629)
- fix: avoid temporal optimize deps dirs
([#&#8203;12582](https://togithub.com/vitejs/vite/issues/12582))
([ff92f2f](https://togithub.com/vitejs/vite/commit/ff92f2f)), closes
[#&#8203;12582](https://togithub.com/vitejs/vite/issues/12582)
- fix: await `buildStart` before server start
([#&#8203;12647](https://togithub.com/vitejs/vite/issues/12647))
([871d353](https://togithub.com/vitejs/vite/commit/871d353)), closes
[#&#8203;12647](https://togithub.com/vitejs/vite/issues/12647)
- fix: call `buildStart` only once when using next port
([#&#8203;12624](https://togithub.com/vitejs/vite/issues/12624))
([e10c6bd](https://togithub.com/vitejs/vite/commit/e10c6bd)), closes
[#&#8203;12624](https://togithub.com/vitejs/vite/issues/12624)
- fix: sourcemapIgnoreList for optimizedDeps
([#&#8203;12633](https://togithub.com/vitejs/vite/issues/12633))
([c1d3fc9](https://togithub.com/vitejs/vite/commit/c1d3fc9)), closes
[#&#8203;12633](https://togithub.com/vitejs/vite/issues/12633)
- fix: splitFileAndPostfix works as cleanUrl
([#&#8203;12572](https://togithub.com/vitejs/vite/issues/12572))
([276725f](https://togithub.com/vitejs/vite/commit/276725f)), closes
[#&#8203;12572](https://togithub.com/vitejs/vite/issues/12572)
- fix: throw error on build optimizeDeps issue
([#&#8203;12560](https://togithub.com/vitejs/vite/issues/12560))
([02a46d7](https://togithub.com/vitejs/vite/commit/02a46d7)), closes
[#&#8203;12560](https://togithub.com/vitejs/vite/issues/12560)
- fix: use nearest pkg to resolved for moduleSideEffects
([#&#8203;12628](https://togithub.com/vitejs/vite/issues/12628))
([1dfecc8](https://togithub.com/vitejs/vite/commit/1dfecc8)), closes
[#&#8203;12628](https://togithub.com/vitejs/vite/issues/12628)
- fix(css): use `charset: 'utf8'` by default for css
([#&#8203;12565](https://togithub.com/vitejs/vite/issues/12565))
([c20a064](https://togithub.com/vitejs/vite/commit/c20a064)), closes
[#&#8203;12565](https://togithub.com/vitejs/vite/issues/12565)
- fix(html): dont pretransform public scripts
([#&#8203;12650](https://togithub.com/vitejs/vite/issues/12650))
([4f0af3f](https://togithub.com/vitejs/vite/commit/4f0af3f)), closes
[#&#8203;12650](https://togithub.com/vitejs/vite/issues/12650)
- fix: avoid crash because of no access permission
([#&#8203;12552](https://togithub.com/vitejs/vite/issues/12552))
([eea1682](https://togithub.com/vitejs/vite/commit/eea1682)), closes
[#&#8203;12552](https://togithub.com/vitejs/vite/issues/12552)
- fix: esbuild complains with extra fields
([#&#8203;12516](https://togithub.com/vitejs/vite/issues/12516))
([7be0ba5](https://togithub.com/vitejs/vite/commit/7be0ba5)), closes
[#&#8203;12516](https://togithub.com/vitejs/vite/issues/12516)
- fix: escape replacements in clientInjections
([#&#8203;12486](https://togithub.com/vitejs/vite/issues/12486))
([3765067](https://togithub.com/vitejs/vite/commit/3765067)), closes
[#&#8203;12486](https://togithub.com/vitejs/vite/issues/12486)
- fix: open browser reuse logic
([#&#8203;12535](https://togithub.com/vitejs/vite/issues/12535))
([04d14af](https://togithub.com/vitejs/vite/commit/04d14af)), closes
[#&#8203;12535](https://togithub.com/vitejs/vite/issues/12535)
- fix: prevent error on not set location href
([#&#8203;12494](https://togithub.com/vitejs/vite/issues/12494))
([2fb8527](https://togithub.com/vitejs/vite/commit/2fb8527)), closes
[#&#8203;12494](https://togithub.com/vitejs/vite/issues/12494)
- fix: simplify prettyUrl
([#&#8203;12488](https://togithub.com/vitejs/vite/issues/12488))
([ebe5aa5](https://togithub.com/vitejs/vite/commit/ebe5aa5)), closes
[#&#8203;12488](https://togithub.com/vitejs/vite/issues/12488)
- fix(config): add random number to temp transpiled file
([#&#8203;12150](https://togithub.com/vitejs/vite/issues/12150))
([2b2ba61](https://togithub.com/vitejs/vite/commit/2b2ba61)), closes
[#&#8203;12150](https://togithub.com/vitejs/vite/issues/12150)
- fix(deps): update all non-major dependencies
([#&#8203;12389](https://togithub.com/vitejs/vite/issues/12389))
([3e60b77](https://togithub.com/vitejs/vite/commit/3e60b77)), closes
[#&#8203;12389](https://togithub.com/vitejs/vite/issues/12389)
- fix(html): public asset urls always being treated as paths (fix
[#&#8203;11857](https://togithub.com/vitejs/vite/issues/11857))
([#&#8203;11870](https://togithub.com/vitejs/vite/issues/11870))
([46d1352](https://togithub.com/vitejs/vite/commit/46d1352)), closes
[#&#8203;11857](https://togithub.com/vitejs/vite/issues/11857)
[#&#8203;11870](https://togithub.com/vitejs/vite/issues/11870)
- fix(ssr): hoist import statements to the top
([#&#8203;12274](https://togithub.com/vitejs/vite/issues/12274))
([33baff5](https://togithub.com/vitejs/vite/commit/33baff5)), closes
[#&#8203;12274](https://togithub.com/vitejs/vite/issues/12274)
- fix(ssr): hoist re-exports with imports
([#&#8203;12530](https://togithub.com/vitejs/vite/issues/12530))
([45549e4](https://togithub.com/vitejs/vite/commit/45549e4)), closes
[#&#8203;12530](https://togithub.com/vitejs/vite/issues/12530)
- fix: should generate Hi-res sourcemap for dev
([#&#8203;12501](https://togithub.com/vitejs/vite/issues/12501))
([1502617](https://togithub.com/vitejs/vite/commit/1502617)), closes
[#&#8203;12501](https://togithub.com/vitejs/vite/issues/12501)

##### Clean up

- refactor: simplify crawlEndFinder
([#&#8203;12868](https://togithub.com/vitejs/vite/issues/12868))
([31f8b51](https://togithub.com/vitejs/vite/commit/31f8b51)), closes
[#&#8203;12868](https://togithub.com/vitejs/vite/issues/12868)
- refactor: use simpler resolve for nested optimized deps
([#&#8203;12770](https://togithub.com/vitejs/vite/issues/12770))
([d202588](https://togithub.com/vitejs/vite/commit/d202588)), closes
[#&#8203;12770](https://togithub.com/vitejs/vite/issues/12770)
- refactor: `import.meta.url` condition from renderChunk hook of worker
plugin ([#&#8203;12696](https://togithub.com/vitejs/vite/issues/12696))
([fdef8fd](https://togithub.com/vitejs/vite/commit/fdef8fd)), closes
[#&#8203;12696](https://togithub.com/vitejs/vite/issues/12696)
- refactor: clean up preTransformRequest
([#&#8203;12672](https://togithub.com/vitejs/vite/issues/12672))
([561227c](https://togithub.com/vitejs/vite/commit/561227c)), closes
[#&#8203;12672](https://togithub.com/vitejs/vite/issues/12672)
- refactor: make debugger nullable
([#&#8203;12687](https://togithub.com/vitejs/vite/issues/12687))
([89e4977](https://togithub.com/vitejs/vite/commit/89e4977)), closes
[#&#8203;12687](https://togithub.com/vitejs/vite/issues/12687)
- refactor: remove `ensureVolumeInPath`
([#&#8203;12690](https://togithub.com/vitejs/vite/issues/12690))
([a3150ee](https://togithub.com/vitejs/vite/commit/a3150ee)), closes
[#&#8203;12690](https://togithub.com/vitejs/vite/issues/12690)
- refactor: remove unused exports data props
([#&#8203;12740](https://togithub.com/vitejs/vite/issues/12740))
([4538bfe](https://togithub.com/vitejs/vite/commit/4538bfe)), closes
[#&#8203;12740](https://togithub.com/vitejs/vite/issues/12740)
- refactor: use `resolvePackageData` in
`requireResolveFromRootWithFallback`
([#&#8203;12712](https://togithub.com/vitejs/vite/issues/12712))
([1ea38e2](https://togithub.com/vitejs/vite/commit/1ea38e2)), closes
[#&#8203;12712](https://togithub.com/vitejs/vite/issues/12712)
- refactor(css): simplify cached import code
([#&#8203;12730](https://togithub.com/vitejs/vite/issues/12730))
([0646754](https://togithub.com/vitejs/vite/commit/0646754)), closes
[#&#8203;12730](https://togithub.com/vitejs/vite/issues/12730)
- refactor: improve scanner logs
([#&#8203;12578](https://togithub.com/vitejs/vite/issues/12578))
([9925a72](https://togithub.com/vitejs/vite/commit/9925a72)), closes
[#&#8203;12578](https://togithub.com/vitejs/vite/issues/12578)
- refactor: isInNodeModules util
([#&#8203;12588](https://togithub.com/vitejs/vite/issues/12588))
([fb3245a](https://togithub.com/vitejs/vite/commit/fb3245a)), closes
[#&#8203;12588](https://togithub.com/vitejs/vite/issues/12588)
- refactor: remove `idToPkgMap`
([#&#8203;12564](https://togithub.com/vitejs/vite/issues/12564))
([a326ec8](https://togithub.com/vitejs/vite/commit/a326ec8)), closes
[#&#8203;12564](https://togithub.com/vitejs/vite/issues/12564)
- refactor: simplify lookupFile
([#&#8203;12585](https://togithub.com/vitejs/vite/issues/12585))
([4215e22](https://togithub.com/vitejs/vite/commit/4215e22)), closes
[#&#8203;12585](https://togithub.com/vitejs/vite/issues/12585)
- refactor: tryStatSync as util
([#&#8203;12575](https://togithub.com/vitejs/vite/issues/12575))
([92601db](https://togithub.com/vitejs/vite/commit/92601db)), closes
[#&#8203;12575](https://togithub.com/vitejs/vite/issues/12575)
- refactor: use findNearestPackageData in more places
([#&#8203;12577](https://togithub.com/vitejs/vite/issues/12577))
([35faae9](https://togithub.com/vitejs/vite/commit/35faae9)), closes
[#&#8203;12577](https://togithub.com/vitejs/vite/issues/12577)
- refactor: esbuild plugin config logic
([#&#8203;12493](https://togithub.com/vitejs/vite/issues/12493))
([45b5b0f](https://togithub.com/vitejs/vite/commit/45b5b0f)), closes
[#&#8203;12493](https://togithub.com/vitejs/vite/issues/12493)

##### Previous Changelogs

#####
[4.3.0-beta.8](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.7....v4.3.0-beta.8)
(2023-04-19)

See [4.3.0-beta.8
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.8/packages/vite/CHANGELOG.md)

#####
[4.3.0-beta.7](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.6....v4.3.0-beta.7)
(2023-04-17)

See [4.3.0-beta.7
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.7/packages/vite/CHANGELOG.md)

#####
[4.3.0-beta.6](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.5....v4.3.0-beta.6)
(2023-04-14)

See [4.3.0-beta.6
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.6/packages/vite/CHANGELOG.md)

#####
[4.3.0-beta.5](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.4....v4.3.0-beta.5)
(2023-04-11)

See [4.3.0-beta.5
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.5/packages/vite/CHANGELOG.md)

#####
[4.3.0-beta.4](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.3....v4.3.0-beta.4)
(2023-04-09)

See [4.3.0-beta.4
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.4/packages/vite/CHANGELOG.md)

#####
[4.3.0-beta.3](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.2....v4.3.0-beta.3)
(2023-04-07)

See [4.3.0-beta.3
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.3/packages/vite/CHANGELOG.md)

#####
[4.3.0-beta.2](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.1....v4.3.0-beta.2)
(2023-04-05)

See [4.3.0-beta.2
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.2/packages/vite/CHANGELOG.md)

#####
[4.3.0-beta.1](https://togithub.com/vitejs/vite/compare/v4.3.0-beta.0....v4.3.0-beta.1)
(2023-03-29)

See [4.3.0-beta.1
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.1/packages/vite/CHANGELOG.md)

#####
[4.3.0-beta.0](https://togithub.com/vitejs/vite/compare/v4.2.1....v4.3.0-beta.0)
(2023-03-23)

See [4.3.0-beta.0
changelog](https://togithub.com/vitejs/vite/blob/v4.3.0-beta.0/packages/vite/CHANGELOG.md)

###
[`v4.2.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small422-2023-04-18-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.2.1...v4.2.2)

- fix: escape msg in render restricted error html, backport
[#&#8203;12889](https://togithub.com/vitejs/vite/issues/12889)
([8758c5c](https://togithub.com/vitejs/vite/commit/8758c5c)), closes
[#&#8203;12889](https://togithub.com/vitejs/vite/issues/12889)

###
[`v4.2.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small421-2023-03-20-small)

[Compare
Source](9dbb7f7765...v4.2.1)

- fix: add `virtual:` to virtual module source map ignore
([#&#8203;12444](https://togithub.com/vitejs/vite/issues/12444))
([c4aa28f](https://togithub.com/vitejs/vite/commit/c4aa28f)), closes
[#&#8203;12444](https://togithub.com/vitejs/vite/issues/12444)
- fix(css): inject source content conditionally
([#&#8203;12449](https://togithub.com/vitejs/vite/issues/12449))
([3e665f6](https://togithub.com/vitejs/vite/commit/3e665f6)), closes
[#&#8203;12449](https://togithub.com/vitejs/vite/issues/12449)
- fix(worker): using data URLs for inline shared worker
([#&#8203;12014](https://togithub.com/vitejs/vite/issues/12014))
([79a5007](https://togithub.com/vitejs/vite/commit/79a5007)), closes
[#&#8203;12014](https://togithub.com/vitejs/vite/issues/12014)
- chore: changelog edits for 4.2
([#&#8203;12438](https://togithub.com/vitejs/vite/issues/12438))
([ce047e3](https://togithub.com/vitejs/vite/commit/ce047e3)), closes
[#&#8203;12438](https://togithub.com/vitejs/vite/issues/12438)

###
[`v4.2.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#&#8203;420-2023-03-16)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.1.4...9dbb7f7765fd7d255daf82ad44fe867d49f0befd)

Vite 4.2 is out!

##### Support env variables replacement in HTML files

Vite now supports [replacing env variables in HTML
files](https://vitejs.dev/guide/env-and-mode.html#html-env-replacement).
Any properties in `import.meta.env` can be used in HTML files with a
special `%ENV_NAME%` syntax:

```html
<h1>Vite is running in %MODE%</h1>
<p>Using data from %VITE_API_URL%</p>
```

##### Sourcemaps improvements

The Chrome Dev Tools team has been working to improve the DX of Vite and
Vite-powered frameworks in the dev tools. Vite 4.2 brings an [improved
experience](https://twitter.com/bmeurer/status/1631286267823439881) and
tools for framework authors to [hide 3rd party code and build artifacts
from the user](https://twitter.com/bmeurer/status/1631531492462526467)
from console log traces using
[`server.sourcemapIgnoreList`](https://vitejs.dev/config/server-options.html#server-sourcemapignorelist)
and
[`build.rollupOptions.output.sourcemapIgnoreList`](https://rollupjs.org/configuration-options/#output-sourcemapignorelist).

##### ESM subpath imports

Vite 4.2 now supports [subpath
imports](https://nodejs.org/api/packages.html#subpath-imports), thanks
to [@&#8203;lukeed05](https://twitter.com/lukeed05)'s
[resolve.exports](https://togithub.com/lukeed/resolve.exports) library.

##### TypeScript 5 support

Vite 4.2 also supports TypeScript 5's `tsconfig` `extends` [array
format](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#supporting-multiple-configuration-files-in-extends),
thanks to [tsconfck](https://togithub.com/dominikg/tsconfck).

##### esbuild 0.17

esbuild
[v0.17.0](https://togithub.com/evanw/esbuild/releases/tag/v0.17.0)
improved the design of its incremental, watch, and serve APIs. Check out
[#&#8203;11908](https://togithub.com/vitejs/vite/pull/11908) for the
rationale of why we didn't consider the backward-incompatible changes
breaking for our use cases. The updated esbuild design now allows Vite
to properly cancel in-fly builds and improve server restarts.

##### Use Rollup types from the vite package

Expose Rollup types as a namespace. This is helpful to avoid type
conflicts because of different versions of Rollup types in environments
like [vite-ecosystem-ci](https://togithub.com/vitejs/vite-ecosystem-ci)
([#&#8203;12316](https://togithub.com/vitejs/vite/issues/12316)).

```ts
import type { Rollup } from 'vite'
```

##### Português Docs Translation

The Vite documentation is now translated to Português at
[pt.vitejs.dev](https://pt.vitejs.dev) thanks to [Nazaré Da
Piedade](https://twitter.com/nazarepiedady) .

##### Features

- feat: add status message for 504 caused by optimizer
([#&#8203;12435](https://togithub.com/vitejs/vite/issues/12435))
([5cdd3fa](https://togithub.com/vitejs/vite/commit/5cdd3fa)), closes
[#&#8203;12435](https://togithub.com/vitejs/vite/issues/12435)
- feat: update tsconfck to 2.1.0 to add support for typescript 5 config
syntax ([#&#8203;12401](https://togithub.com/vitejs/vite/issues/12401))
([3f1c379](https://togithub.com/vitejs/vite/commit/3f1c379)), closes
[#&#8203;12401](https://togithub.com/vitejs/vite/issues/12401)
- feat: default esbuild jsxDev based on config.isProduction
([#&#8203;12386](https://togithub.com/vitejs/vite/issues/12386))
([f24c2b0](https://togithub.com/vitejs/vite/commit/f24c2b0)), closes
[#&#8203;12386](https://togithub.com/vitejs/vite/issues/12386)
- feat(css): add `build.cssMinify`
([#&#8203;12207](https://togithub.com/vitejs/vite/issues/12207))
([90431f2](https://togithub.com/vitejs/vite/commit/90431f2)), closes
[#&#8203;12207](https://togithub.com/vitejs/vite/issues/12207)
- feat(types): export Rollup namespace
([#&#8203;12316](https://togithub.com/vitejs/vite/issues/12316))
([6e49e52](https://togithub.com/vitejs/vite/commit/6e49e52)), closes
[#&#8203;12316](https://togithub.com/vitejs/vite/issues/12316)
- feat: add `sourcemapIgnoreList` configuration option
([#&#8203;12174](https://togithub.com/vitejs/vite/issues/12174))
([f875580](https://togithub.com/vitejs/vite/commit/f875580)), closes
[#&#8203;12174](https://togithub.com/vitejs/vite/issues/12174)
- feat: cancellable scan during optimization
([#&#8203;12225](https://togithub.com/vitejs/vite/issues/12225))
([1e1cd3b](https://togithub.com/vitejs/vite/commit/1e1cd3b)), closes
[#&#8203;12225](https://togithub.com/vitejs/vite/issues/12225)
- feat: don't override `build.target` if terser is 5.16.0+
([#&#8203;12197](https://togithub.com/vitejs/vite/issues/12197))
([9885f6f](https://togithub.com/vitejs/vite/commit/9885f6f)), closes
[#&#8203;12197](https://togithub.com/vitejs/vite/issues/12197)
- feat: support ESM subpath imports
([#&#8203;7770](https://togithub.com/vitejs/vite/issues/7770))
([cc92da9](https://togithub.com/vitejs/vite/commit/cc92da9)), closes
[#&#8203;7770](https://togithub.com/vitejs/vite/issues/7770)
- feat(css): add preprocessor option to define stylus vars & funcs
([#&#8203;7227](https://togithub.com/vitejs/vite/issues/7227))
([5968bec](https://togithub.com/vitejs/vite/commit/5968bec)), closes
[#&#8203;7227](https://togithub.com/vitejs/vite/issues/7227)
- feat(css): support resolving stylesheets from exports map
([#&#8203;7817](https://togithub.com/vitejs/vite/issues/7817))
([108aadf](https://togithub.com/vitejs/vite/commit/108aadf)), closes
[#&#8203;7817](https://togithub.com/vitejs/vite/issues/7817)
- feat(html): support env replacement
([#&#8203;12202](https://togithub.com/vitejs/vite/issues/12202))
([4f2c49f](https://togithub.com/vitejs/vite/commit/4f2c49f)), closes
[#&#8203;12202](https://togithub.com/vitejs/vite/issues/12202)
- refactor: customize ErrorOverlay (part 2)
([#&#8203;11830](https://togithub.com/vitejs/vite/issues/11830))
([4159e6f](https://togithub.com/vitejs/vite/commit/4159e6f)), closes
[#&#8203;11830](https://togithub.com/vitejs/vite/issues/11830)
- refactor: remove constructed sheet type style injection
([#&#8203;11818](https://togithub.com/vitejs/vite/issues/11818))
([1a6a0c2](https://togithub.com/vitejs/vite/commit/1a6a0c2)), closes
[#&#8203;11818](https://togithub.com/vitejs/vite/issues/11818)
- refactor(importAnalysis): cache injected env string
([#&#8203;12154](https://togithub.com/vitejs/vite/issues/12154))
([2aad552](https://togithub.com/vitejs/vite/commit/2aad552)), closes
[#&#8203;12154](https://togithub.com/vitejs/vite/issues/12154)
- feat: esbuild 0.17
([#&#8203;11908](https://togithub.com/vitejs/vite/issues/11908))
([9d42f06](https://togithub.com/vitejs/vite/commit/9d42f06)), closes
[#&#8203;11908](https://togithub.com/vitejs/vite/issues/11908)
- feat: ignore list client injected sources
([#&#8203;12170](https://togithub.com/vitejs/vite/issues/12170))
([8a98aef](https://togithub.com/vitejs/vite/commit/8a98aef)), closes
[#&#8203;12170](https://togithub.com/vitejs/vite/issues/12170)
- feat: support rollup plugin `this.load` in plugin container context
([#&#8203;11469](https://togithub.com/vitejs/vite/issues/11469))
([abfa804](https://togithub.com/vitejs/vite/commit/abfa804)), closes
[#&#8203;11469](https://togithub.com/vitejs/vite/issues/11469)
- feat(cli): allow to specify sourcemap mode via --sourcemap build's
option ([#&#8203;11505](https://togithub.com/vitejs/vite/issues/11505))
([ee3b90a](https://togithub.com/vitejs/vite/commit/ee3b90a)), closes
[#&#8203;11505](https://togithub.com/vitejs/vite/issues/11505)
- feat(reporter): report built time
([#&#8203;12100](https://togithub.com/vitejs/vite/issues/12100))
([f2ad222](https://togithub.com/vitejs/vite/commit/f2ad222)), closes
[#&#8203;12100](https://togithub.com/vitejs/vite/issues/12100)

##### Bug Fixes

- fix: html env replacement plugin position
([#&#8203;12404](https://togithub.com/vitejs/vite/issues/12404))
([96f36a9](https://togithub.com/vitejs/vite/commit/96f36a9)), closes
[#&#8203;12404](https://togithub.com/vitejs/vite/issues/12404)
- fix(optimizer): # symbol in deps id stripped by browser
([#&#8203;12415](https://togithub.com/vitejs/vite/issues/12415))
([e23f690](https://togithub.com/vitejs/vite/commit/e23f690)), closes
[#&#8203;12415](https://togithub.com/vitejs/vite/issues/12415)
- fix(resolve): rebase sub imports relative path
([#&#8203;12373](https://togithub.com/vitejs/vite/issues/12373))
([fe1d61a](https://togithub.com/vitejs/vite/commit/fe1d61a)), closes
[#&#8203;12373](https://togithub.com/vitejs/vite/issues/12373)
- fix(server): should close server after create new server
([#&#8203;12379](https://togithub.com/vitejs/vite/issues/12379))
([d23605d](https://togithub.com/vitejs/vite/commit/d23605d)), closes
[#&#8203;12379](https://togithub.com/vitejs/vite/issues/12379)
- fix(resolve): remove deep import syntax handling
([#&#8203;12381](https://togithub.com/vitejs/vite/issues/12381))
([42e0d6a](https://togithub.com/vitejs/vite/commit/42e0d6a)), closes
[#&#8203;12381](https://togithub.com/vitejs/vite/issues/12381)
- fix: print urls when dns order change
([#&#8203;12261](https://togithub.com/vitejs/vite/issues/12261))
([e57cacf](https://togithub.com/vitejs/vite/commit/e57cacf)), closes
[#&#8203;12261](https://togithub.com/vitejs/vite/issues/12261)
- fix: throw ssr import error directly (fix
[#&#8203;12322](https://togithub.com/vitejs/vite/issues/12322))
([#&#8203;12324](https://togithub.com/vitejs/vite/issues/12324))
([21ffc6a](https://togithub.com/vitejs/vite/commit/21ffc6a)), closes
[#&#8203;12322](https://togithub.com/vitejs/vite/issues/12322)
[#&#8203;12324](https://togithub.com/vitejs/vite/issues/12324)
- fix(config): watch config even outside of root
([#&#8203;12321](https://togithub.com/vitejs/vite/issues/12321))
([7e2fff7](https://togithub.com/vitejs/vite/commit/7e2fff7)), closes
[#&#8203;12321](https://togithub.com/vitejs/vite/issues/12321)
- fix(config): watch envDir even outside of root
([#&#8203;12349](https://togithub.com/vitejs/vite/issues/12349))
([131f3ee](https://togithub.com/vitejs/vite/commit/131f3ee)), closes
[#&#8203;12349](https://togithub.com/vitejs/vite/issues/12349)
- fix(define): correctly replace SSR in dev
([#&#8203;12204](https://togithub.com/vitejs/vite/issues/12204))
([0f6de4d](https://togithub.com/vitejs/vite/commit/0f6de4d)), closes
[#&#8203;12204](https://togithub.com/vitejs/vite/issues/12204)
- fix(optimizer): suppress esbuild cancel error
([#&#8203;12358](https://togithub.com/vitejs/vite/issues/12358))
([86a24e4](https://togithub.com/vitejs/vite/commit/86a24e4)), closes
[#&#8203;12358](https://togithub.com/vitejs/vite/issues/12358)
- fix(optimizer): transform css require to import directly
([#&#8203;12343](https://togithub.com/vitejs/vite/issues/12343))
([716286e](https://togithub.com/vitejs/vite/commit/716286e)), closes
[#&#8203;12343](https://togithub.com/vitejs/vite/issues/12343)
- fix(reporter): build.assetsDir should not impact output when in lib
mode ([#&#8203;12108](https://togithub.com/vitejs/vite/issues/12108))
([b12f457](https://togithub.com/vitejs/vite/commit/b12f457)), closes
[#&#8203;12108](https://togithub.com/vitejs/vite/issues/12108)
- fix(types): avoid resolve.exports types for bundling
([#&#8203;12346](https://togithub.com/vitejs/vite/issues/12346))
([6b40f03](https://togithub.com/vitejs/vite/commit/6b40f03)), closes
[#&#8203;12346](https://togithub.com/vitejs/vite/issues/12346)
- fix(worker): force rollup to build worker module under watch mode
([#&#8203;11919](https://togithub.com/vitejs/vite/issues/11919))
([d464679](https://togithub.com/vitejs/vite/commit/d464679)), closes
[#&#8203;11919](https://togithub.com/vitejs/vite/issues/11919)
- fix: resolve browser mapping using bare imports (fix
[#&#8203;11208](https://togithub.com/vitejs/vite/issues/11208))
([#&#8203;11219](https://togithub.com/vitejs/vite/issues/11219))
([22de84f](https://togithub.com/vitejs/vite/commit/22de84f)), closes
[#&#8203;11208](https://togithub.com/vitejs/vite/issues/11208)
[#&#8203;11219](https://togithub.com/vitejs/vite/issues/11219)
- fix: avoid null sourcePath in `server.sourcemapIgnoreList`
([#&#8203;12251](https://togithub.com/vitejs/vite/issues/12251))
([209c3bd](https://togithub.com/vitejs/vite/commit/209c3bd)), closes
[#&#8203;12251](https://togithub.com/vitejs/vite/issues/12251)
- fix: configure proxy before subscribing to error events
([#&#8203;12263](https://togithub.com/vitejs/vite/issues/12263))
([c35e100](https://togithub.com/vitejs/vite/commit/c35e100)), closes
[#&#8203;12263](https://togithub.com/vitejs/vite/issues/12263)
- fix: enforce absolute path for server.sourcemapIgnoreList
([#&#8203;12309](https://togithub.com/vitejs/vite/issues/12309))
([ab6ae07](https://togithub.com/vitejs/vite/commit/ab6ae07)), closes
[#&#8203;12309](https://togithub.com/vitejs/vite/issues/12309)
- fix: handle error without line and column in loc
([#&#8203;12312](https://togithub.com/vitejs/vite/issues/12312))
([ce18eba](https://togithub.com/vitejs/vite/commit/ce18eba)), closes
[#&#8203;12312](https://togithub.com/vitejs/vite/issues/12312)
- fix: properly clean up optimization temp folder
([#&#8203;12237](https://togithub.com/vitejs/vite/issues/12237))
([fbbf8fe](https://togithub.com/vitejs/vite/commit/fbbf8fe)), closes
[#&#8203;12237](https://togithub.com/vitejs/vite/issues/12237)
- fix: unique dep optimizer temp folders
([#&#8203;12252](https://togithub.com/vitejs/vite/issues/12252))
([38ce81c](https://togithub.com/vitejs/vite/commit/38ce81c)), closes
[#&#8203;12252](https://togithub.com/vitejs/vite/issues/12252)
- fix(build-import-analysis): should not append ?used when css request
has ?url or ?raw
([#&#8203;11910](https://togithub.com/vitejs/vite/issues/11910))
([e3f725f](https://togithub.com/vitejs/vite/commit/e3f725f)), closes
[#&#8203;11910](https://togithub.com/vitejs/vite/issues/11910)
- fix(optimizer): don not call context.rebuild after cancel
([#&#8203;12264](https://togithub.com/vitejs/vite/issues/12264))
([520d84e](https://togithub.com/vitejs/vite/commit/520d84e)), closes
[#&#8203;12264](https://togithub.com/vitejs/vite/issues/12264)
- fix(resolve): update `resolve.exports` to `2.0.1` to fix `*`
resolution issue
([#&#8203;12314](https://togithub.com/vitejs/vite/issues/12314))
([523d6f7](https://togithub.com/vitejs/vite/commit/523d6f7)), closes
[#&#8203;12314](https://togithub.com/vitejs/vite/issues/12314)
- fix: use relative paths in `sources` for transformed source maps
([#&#8203;12079](https://togithub.com/vitejs/vite/issues/12079))
([bcbc582](https://togithub.com/vitejs/vite/commit/bcbc582)), closes
[#&#8203;1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 18:06:22 +00:00
renovate[bot]
ddf668fb42
chore(deps): update dependency tss-react to v4.8.3 (#3684)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tss-react](https://www.tss-react.dev)
([source](https://togithub.com/garronej/tss-react)) | [`4.8.2` ->
`4.8.3`](https://renovatebot.com/diffs/npm/tss-react/4.8.2/4.8.3) |
[![age](https://badges.renovateapi.com/packages/npm/tss-react/4.8.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/tss-react/4.8.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/tss-react/4.8.3/compatibility-slim/4.8.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/tss-react/4.8.3/confidence-slim/4.8.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>garronej/tss-react</summary>

###
[`v4.8.3`](https://togithub.com/garronej/tss-react/releases/tag/v4.8.3)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.8.2...v4.8.3)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.8.2...v4.8.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 14:44:56 +00:00
renovate[bot]
392e46f43d
chore(deps): update dependency tss-react to v4.8.2 (#3679)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tss-react](https://www.tss-react.dev)
([source](https://togithub.com/garronej/tss-react)) | [`4.6.1` ->
`4.8.2`](https://renovatebot.com/diffs/npm/tss-react/4.6.1/4.8.2) |
[![age](https://badges.renovateapi.com/packages/npm/tss-react/4.8.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/tss-react/4.8.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/tss-react/4.8.2/compatibility-slim/4.6.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/tss-react/4.8.2/confidence-slim/4.6.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>garronej/tss-react</summary>

###
[`v4.8.2`](https://togithub.com/garronej/tss-react/releases/tag/v4.8.2)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.8.1...v4.8.2)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.8.1...v4.8.2

###
[`v4.8.1`](https://togithub.com/garronej/tss-react/releases/tag/v4.8.1)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.8.0...v4.8.1)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.8.0...v4.8.1

###
[`v4.8.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.8.0)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.7.7...v4.8.0)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.7.7...v4.8.0

###
[`v4.7.7`](https://togithub.com/garronej/tss-react/releases/tag/v4.7.7)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.7.6...v4.7.7)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.7.6...v4.7.7

###
[`v4.7.6`](https://togithub.com/garronej/tss-react/releases/tag/v4.7.6)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.7.5...v4.7.6)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.7.5...v4.7.6

###
[`v4.7.5`](https://togithub.com/garronej/tss-react/releases/tag/v4.7.5)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.7.4...v4.7.5)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.7.4...v4.7.5

###
[`v4.7.4`](https://togithub.com/garronej/tss-react/releases/tag/v4.7.4)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.7.3...v4.7.4)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.7.3...v4.7.4

###
[`v4.7.3`](https://togithub.com/garronej/tss-react/releases/tag/v4.7.3)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.7.2...v4.7.3)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

#### What's Changed

##### Other Changes

- Update `target` options to `ES2015` by
[@&#8203;Semigradsky](https://togithub.com/Semigradsky) in
[https://github.com/garronej/tss-react/pull/156](https://togithub.com/garronej/tss-react/pull/156)

#### New Contributors

- [@&#8203;Semigradsky](https://togithub.com/Semigradsky) made their
first contribution in
[https://github.com/garronej/tss-react/pull/156](https://togithub.com/garronej/tss-react/pull/156)

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.7.1...v4.7.3

###
[`v4.7.2`](https://togithub.com/garronej/tss-react/releases/tag/v4.7.2)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.7.1...v4.7.2)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

#### What's Changed

##### Other Changes

- Update `target` options to `ES2015` by
[@&#8203;Semigradsky](https://togithub.com/Semigradsky) in
[https://github.com/garronej/tss-react/pull/156](https://togithub.com/garronej/tss-react/pull/156)

#### New Contributors

- [@&#8203;Semigradsky](https://togithub.com/Semigradsky) made their
first contribution in
[https://github.com/garronej/tss-react/pull/156](https://togithub.com/garronej/tss-react/pull/156)

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.7.1...v4.7.2

###
[`v4.7.1`](https://togithub.com/garronej/tss-react/releases/tag/v4.7.1)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.7.0...v4.7.1)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.7.0...v4.7.1

###
[`v4.7.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.7.0)

[Compare
Source](https://togithub.com/garronej/tss-react/compare/v4.6.1...v4.7.0)

<!-- Release notes generated using configuration in .github/release.yaml
at refs/heads/main -->

**Full Changelog**:
https://github.com/garronej/tss-react/compare/v4.6.1...v4.7.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 06:14:20 +00:00
renovate[bot]
1779c2a6b9
chore(deps): update dependency swr to v2.1.5 (#3677)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [swr](https://swr.vercel.app)
([source](https://togithub.com/vercel/swr)) | [`2.0.4` ->
`2.1.5`](https://renovatebot.com/diffs/npm/swr/2.0.4/2.1.5) |
[![age](https://badges.renovateapi.com/packages/npm/swr/2.1.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/swr/2.1.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/swr/2.1.5/compatibility-slim/2.0.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/swr/2.1.5/confidence-slim/2.0.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vercel/swr</summary>

### [`v2.1.5`](https://togithub.com/vercel/swr/releases/tag/v2.1.5)

[Compare
Source](https://togithub.com/vercel/swr/compare/v2.1.4...v2.1.5)

#### What's Changed

- fix: missing interop helpers in bundle by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[https://github.com/vercel/swr/pull/2582](https://togithub.com/vercel/swr/pull/2582)

**Full Changelog**:
https://github.com/vercel/swr/compare/v2.1.4...v2.1.5

### [`v2.1.4`](https://togithub.com/vercel/swr/releases/tag/v2.1.4)

[Compare
Source](https://togithub.com/vercel/swr/compare/v2.1.3...v2.1.4)

#### What's Changed

- Upgrade bundler by [@&#8203;huozhi](https://togithub.com/huozhi) in
[https://github.com/vercel/swr/pull/2557](https://togithub.com/vercel/swr/pull/2557)
- examples: fix invalid links by
[@&#8203;fxOne](https://togithub.com/fxOne) in
[https://github.com/vercel/swr/pull/2559](https://togithub.com/vercel/swr/pull/2559)
- types: Allow auto-import by improving generated types by
[@&#8203;oosawy](https://togithub.com/oosawy) in
[https://github.com/vercel/swr/pull/2563](https://togithub.com/vercel/swr/pull/2563)
- fix: pass serialized args to preload fetcher by
[@&#8203;oosawy](https://togithub.com/oosawy) in
[https://github.com/vercel/swr/pull/2564](https://togithub.com/vercel/swr/pull/2564)
- chore: use provenance for release by
[@&#8203;HerringtonDarkholme](https://togithub.com/HerringtonDarkholme)
in
[https://github.com/vercel/swr/pull/2571](https://togithub.com/vercel/swr/pull/2571)
- deps: update
[@&#8203;testing-library/react](https://togithub.com/testing-library/react)
to v14 by [@&#8203;koba04](https://togithub.com/koba04) in
[https://github.com/vercel/swr/pull/2578](https://togithub.com/vercel/swr/pull/2578)
- fix: Fix dependency tracking and useSES bug by
[@&#8203;shuding](https://togithub.com/shuding) and
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2576](https://togithub.com/vercel/swr/pull/2576)

#### New Contributors

- [@&#8203;fxOne](https://togithub.com/fxOne) made their first
contribution in
[https://github.com/vercel/swr/pull/2559](https://togithub.com/vercel/swr/pull/2559)
- [@&#8203;oosawy](https://togithub.com/oosawy) made their first
contribution in
[https://github.com/vercel/swr/pull/2563](https://togithub.com/vercel/swr/pull/2563)
-
[@&#8203;HerringtonDarkholme](https://togithub.com/HerringtonDarkholme)
made their first contribution in
[https://github.com/vercel/swr/pull/2571](https://togithub.com/vercel/swr/pull/2571)

**Full Changelog**:
https://github.com/vercel/swr/compare/v2.1.3...v2.1.4

### [`v2.1.3`](https://togithub.com/vercel/swr/releases/tag/v2.1.3)

[Compare
Source](https://togithub.com/vercel/swr/compare/v2.1.2...v2.1.3)

#### What's Changed

- Fix [#&#8203;2548](https://togithub.com/vercel/swr/issues/2548): pass
origin key to subcription callback by
[@&#8203;Zheaoli](https://togithub.com/Zheaoli) in
[https://github.com/vercel/swr/pull/2550](https://togithub.com/vercel/swr/pull/2550)
- Examples: fix type in axios-typescript example by
[@&#8203;daochouwangu](https://togithub.com/daochouwangu) in
[https://github.com/vercel/swr/pull/2552](https://togithub.com/vercel/swr/pull/2552)
- Update Cache Interface types by
[@&#8203;dmmulroy](https://togithub.com/dmmulroy) in
[https://github.com/vercel/swr/pull/2554](https://togithub.com/vercel/swr/pull/2554)
- fix: data passed to refreshInterval function is not latest by
[@&#8203;hong24](https://togithub.com/hong24) in
[https://github.com/vercel/swr/pull/2354](https://togithub.com/vercel/swr/pull/2354)
- types: allow passing function as `Data` for
`useSWRSubscriptionOptions` by
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2551](https://togithub.com/vercel/swr/pull/2551)

#### New Contributors

- [@&#8203;Zheaoli](https://togithub.com/Zheaoli) made their first
contribution in
[https://github.com/vercel/swr/pull/2550](https://togithub.com/vercel/swr/pull/2550)
- [@&#8203;daochouwangu](https://togithub.com/daochouwangu) made their
first contribution in
[https://github.com/vercel/swr/pull/2552](https://togithub.com/vercel/swr/pull/2552)
- [@&#8203;dmmulroy](https://togithub.com/dmmulroy) made their first
contribution in
[https://github.com/vercel/swr/pull/2554](https://togithub.com/vercel/swr/pull/2554)

**Full Changelog**:
https://github.com/vercel/swr/compare/v2.1.2...v2.1.3

### [`v2.1.2`](https://togithub.com/vercel/swr/releases/tag/v2.1.2)

[Compare
Source](https://togithub.com/vercel/swr/compare/v2.1.1...v2.1.2)

##### Patches

-   Improved type inferring for `swr/subscription`
-   Adding `SWRSubscriptionOptions` type for `swr/subscription`

#### Changes

- test: add typing test for empty config by
[@&#8203;koba04](https://togithub.com/koba04) in
[https://github.com/vercel/swr/pull/2521](https://togithub.com/vercel/swr/pull/2521)
- test: fix syntax error in Equal type alias implementation by
[@&#8203;SACHINnANYAKKARA](https://togithub.com/SACHINnANYAKKARA) in
[https://github.com/vercel/swr/pull/2517](https://togithub.com/vercel/swr/pull/2517)
- chore: remove engines by
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2536](https://togithub.com/vercel/swr/pull/2536)
- types: improve `useSWRSubscription` types by
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2535](https://togithub.com/vercel/swr/pull/2535)
- Rename subscription types by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[https://github.com/vercel/swr/pull/2537](https://togithub.com/vercel/swr/pull/2537)

#### New Contributors

- [@&#8203;SACHINnANYAKKARA](https://togithub.com/SACHINnANYAKKARA) made
their first contribution in
[https://github.com/vercel/swr/pull/2517](https://togithub.com/vercel/swr/pull/2517)

**Full Changelog**:
https://github.com/vercel/swr/compare/v2.1.1...v2.1.2

### [`v2.1.1`](https://togithub.com/vercel/swr/releases/tag/v2.1.1)

[Compare
Source](https://togithub.com/vercel/swr/compare/v2.1.0...v2.1.1)

#### Patches

- refactor: remove useless dataRef, always compare cached data by
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2431](https://togithub.com/vercel/swr/pull/2431)
- fix: swr infers incorrect `data` type for default `SWRConfig` generic
type by [@&#8203;connorch](https://togithub.com/connorch) in
[https://github.com/vercel/swr/pull/2506](https://togithub.com/vercel/swr/pull/2506)

#### Documentation

- docs: update subscription example by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[https://github.com/vercel/swr/pull/2499](https://togithub.com/vercel/swr/pull/2499)

#### New Contributors

- [@&#8203;connorch](https://togithub.com/connorch) made their first
contribution in
[https://github.com/vercel/swr/pull/2506](https://togithub.com/vercel/swr/pull/2506)

**Full Changelog**:
https://github.com/vercel/swr/compare/v2.1.0...v2.1.1

### [`v2.1.0`](https://togithub.com/vercel/swr/releases/tag/v2.1.0)

[Compare
Source](https://togithub.com/vercel/swr/compare/v2.0.4...v2.1.0)

#### Feature

- Subscription mode by [@&#8203;huozhi](https://togithub.com/huozhi) in
[https://github.com/vercel/swr/pull/1263](https://togithub.com/vercel/swr/pull/1263)
- parallel option for useSWRInfinite by
[@&#8203;koba04](https://togithub.com/koba04) in
[https://github.com/vercel/swr/pull/2404](https://togithub.com/vercel/swr/pull/2404)

Checkout [subscription docs](https://swr.vercel.app/docs/subscription)
and [useSWRInfinite parallel fetching
docs](https://swr.vercel.app/docs/pagination#parallel-fetching-mode) for
more details

#### Patches

- fix: use the latest config in useSWRMutation by
[@&#8203;koba04](https://togithub.com/koba04) in
[https://github.com/vercel/swr/pull/2468](https://togithub.com/vercel/swr/pull/2468)
- Fix: type support for suspense and
fallbackData([#&#8203;2396](https://togithub.com/vercel/swr/issues/2396))
by [@&#8203;taro-28](https://togithub.com/taro-28) in
[https://github.com/vercel/swr/pull/2452](https://togithub.com/vercel/swr/pull/2452)
- Error should be reset when new data comes by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[https://github.com/vercel/swr/pull/2472](https://togithub.com/vercel/swr/pull/2472)
- fix: avoid creating new snapshot if cache is not updated at client
during streaming by [@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2475](https://togithub.com/vercel/swr/pull/2475)
- refactor: initialize the cache only on first access by
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2479](https://togithub.com/vercel/swr/pull/2479)

#### Misc

- ci: fix publish workflow by
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2453](https://togithub.com/vercel/swr/pull/2453)
- ci: faster e2e test by
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2428](https://togithub.com/vercel/swr/pull/2428)
- test: add a test for keepPreviousData without changing key by
[@&#8203;koba04](https://togithub.com/koba04) in
[https://github.com/vercel/swr/pull/2470](https://togithub.com/vercel/swr/pull/2470)
- Always assume subscriptions will return sub count from current key by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[https://github.com/vercel/swr/pull/2460](https://togithub.com/vercel/swr/pull/2460)
- test: Fix flaky e2e test by
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2476](https://togithub.com/vercel/swr/pull/2476)
- chore: Add subscription example by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[https://github.com/vercel/swr/pull/2480](https://togithub.com/vercel/swr/pull/2480)

#### New Contributors

- [@&#8203;taro-28](https://togithub.com/taro-28) made their first
contribution in
[https://github.com/vercel/swr/pull/2452](https://togithub.com/vercel/swr/pull/2452)

**Full Changelog**:
https://github.com/vercel/swr/compare/v2.0.4...v2.1.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 01:47:40 +00:00
Nuno Góis
710b2a6d5e
feat: demo guide improvements (#3676)
https://linear.app/unleash/issue/2-986/feedback-from-sebastian

Implements the items mentioned in the task:
 - Refactors logic to track completion separately;
- When finishing a topic, jumps to the next unfinished topic it can
find;
- Shows the finish dialog when finishing a topic, as long as completion
is 100%;
- Changes the guide overlay behavior and implements the necessary
changes to adapt to light and dark mode;
- Fixes an issue where some guide dialogs would close when clicking
outside;
- Added a final "toggle" step for each topic (still needs alignment,
different task);
- Improve navigation logic to hopefully fix the feature toggle name
sorting;


![image](https://user-images.githubusercontent.com/14320932/236003007-6e441acc-f933-4eb0-93a4-4b6c15a45b96.png)

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-05-03 21:47:35 +03:00
renovate[bot]
d2999df7fd
chore(deps): update dependency orval to v6.15.0 (#3674)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [orval](https://togithub.com/anymaniax/orval) | [`6.14.4` ->
`6.15.0`](https://renovatebot.com/diffs/npm/orval/6.14.4/6.15.0) |
[![age](https://badges.renovateapi.com/packages/npm/orval/6.15.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/orval/6.15.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/orval/6.15.0/compatibility-slim/6.14.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/orval/6.15.0/confidence-slim/6.14.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>anymaniax/orval</summary>

###
[`v6.15.0`](https://togithub.com/anymaniax/orval/releases/tag/v6.15.0):
Release 6.15.0

[Compare
Source](https://togithub.com/anymaniax/orval/compare/v6.14.4...v6.15.0)

##### Features

- **core:** add optional flag to force number type instead of bigint
([#&#8203;841](https://togithub.com/anymaniax/orval/issues/841))
([a2798af](a2798afa68))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 18:43:37 +00:00
renovate[bot]
764a91b761
chore(deps): update dependency semver to v7.5.0 (#3671)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [semver](https://togithub.com/npm/node-semver) | [`7.3.8` ->
`7.5.0`](https://renovatebot.com/diffs/npm/semver/7.3.8/7.5.0) |
[![age](https://badges.renovateapi.com/packages/npm/semver/7.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/semver/7.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/semver/7.5.0/compatibility-slim/7.3.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/semver/7.5.0/confidence-slim/7.3.8)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>npm/node-semver</summary>

###
[`v7.5.0`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#&#8203;750-httpsgithubcomnpmnode-semvercomparev740v750-2023-04-17)

[Compare
Source](https://togithub.com/npm/node-semver/compare/v7.4.0...v7.5.0)

##### Features

-
[`503a4e5`](503a4e52fe)
[#&#8203;548](https://togithub.com/npm/node-semver/pull/548) allow
identifierBase to be false
([#&#8203;548](https://togithub.com/npm/node-semver/issues/548))
([@&#8203;lsvalina](https://togithub.com/lsvalina))

##### Bug Fixes

-
[`e219bb4`](e219bb4540)
[#&#8203;552](https://togithub.com/npm/node-semver/pull/552) throw on
bad version with correct error message
([#&#8203;552](https://togithub.com/npm/node-semver/issues/552))
([@&#8203;wraithgar](https://togithub.com/wraithgar))
-
[`fc2f3df`](fc2f3df0b5)
[#&#8203;546](https://togithub.com/npm/node-semver/pull/546) incorrect
results from diff sometimes with prerelease versions
([#&#8203;546](https://togithub.com/npm/node-semver/issues/546))
([@&#8203;tjenkinson](https://togithub.com/tjenkinson))
-
[`2781767`](2781767779)
[#&#8203;547](https://togithub.com/npm/node-semver/pull/547) avoid
re-instantiating SemVer during diff compare
([#&#8203;547](https://togithub.com/npm/node-semver/issues/547))
([@&#8203;macno](https://togithub.com/macno))

###
[`v7.4.0`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#&#8203;740-httpsgithubcomnpmnode-semvercomparev738v740-2023-04-10)

[Compare
Source](https://togithub.com/npm/node-semver/compare/v7.3.8...v7.4.0)

##### Features

-
[`113f513`](113f51312a)
[#&#8203;532](https://togithub.com/npm/node-semver/pull/532)
identifierBase parameter for .inc
([#&#8203;532](https://togithub.com/npm/node-semver/issues/532))
([@&#8203;wraithgar](https://togithub.com/wraithgar),
[@&#8203;b-bly](https://togithub.com/b-bly))
-
[`48d8f8f`](48d8f8fa63)
[#&#8203;530](https://togithub.com/npm/node-semver/pull/530) export new
RELEASE_TYPES constant
([@&#8203;hcharley](https://togithub.com/hcharley))

##### Bug Fixes

-
[`940723d`](940723d22b)
[#&#8203;538](https://togithub.com/npm/node-semver/pull/538) intersects
with v0.0.0 and v0.0.0-0
([#&#8203;538](https://togithub.com/npm/node-semver/issues/538))
([@&#8203;wraithgar](https://togithub.com/wraithgar))
-
[`aa516b5`](aa516b50b3)
[#&#8203;535](https://togithub.com/npm/node-semver/pull/535) faster
parse options
([#&#8203;535](https://togithub.com/npm/node-semver/issues/535))
([@&#8203;H4ad](https://togithub.com/H4ad))
-
[`61e6ea1`](61e6ea1e9b)
[#&#8203;536](https://togithub.com/npm/node-semver/pull/536) faster
cache key factory for range
([#&#8203;536](https://togithub.com/npm/node-semver/issues/536))
([@&#8203;H4ad](https://togithub.com/H4ad))
-
[`f8b8b61`](f8b8b619e7)
[#&#8203;541](https://togithub.com/npm/node-semver/pull/541) optimistic
parse ([#&#8203;541](https://togithub.com/npm/node-semver/issues/541))
([@&#8203;H4ad](https://togithub.com/H4ad))
-
[`796cbe2`](796cbe29b0)
[#&#8203;533](https://togithub.com/npm/node-semver/pull/533) semver.diff
prerelease to release recognition
([#&#8203;533](https://togithub.com/npm/node-semver/issues/533))
([@&#8203;wraithgar](https://togithub.com/wraithgar),
[@&#8203;dominique-blockchain](https://togithub.com/dominique-blockchain))
-
[`3f222b1`](3f222b1440)
[#&#8203;537](https://togithub.com/npm/node-semver/pull/537) reuse
comparators on subset
([#&#8203;537](https://togithub.com/npm/node-semver/issues/537))
([@&#8203;H4ad](https://togithub.com/H4ad))
-
[`f66cc45`](f66cc45c6e)
[#&#8203;539](https://togithub.com/npm/node-semver/pull/539) faster diff
([#&#8203;539](https://togithub.com/npm/node-semver/issues/539))
([@&#8203;H4ad](https://togithub.com/H4ad))

##### Documentation

-
[`c5d29df`](c5d29df6f7)
[#&#8203;530](https://togithub.com/npm/node-semver/pull/530) Add
"Constants" section to README
([@&#8203;hcharley](https://togithub.com/hcharley))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 16:00:07 +00:00
renovate[bot]
369e374ab7
chore(deps): update dependency sass to v1.62.1 (#3670)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sass](https://togithub.com/sass/dart-sass) | [`1.62.0` ->
`1.62.1`](https://renovatebot.com/diffs/npm/sass/1.62.0/1.62.1) |
[![age](https://badges.renovateapi.com/packages/npm/sass/1.62.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/sass/1.62.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/sass/1.62.1/compatibility-slim/1.62.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/sass/1.62.1/confidence-slim/1.62.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>sass/dart-sass</summary>

###
[`v1.62.1`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1621)

[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.62.0...1.62.1)

- Fix a bug where `:has(+ &)` and related constructs would drop the
leading
    combinator.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 06:36:20 +00:00
renovate[bot]
0732eca667
chore(deps): update dependency @types/react-dom to v17.0.20 (#3669)
[![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/react-dom](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`17.0.19` ->
`17.0.20`](https://renovatebot.com/diffs/npm/@types%2freact-dom/17.0.19/17.0.20)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/17.0.20/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/17.0.20/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/17.0.20/compatibility-slim/17.0.19)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/17.0.20/confidence-slim/17.0.19)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42Ni4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjYuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 03:10:53 +00:00
renovate[bot]
c904aa5323
chore(deps): update dependency eslint to v8.39.0 (#3661)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [eslint](https://eslint.org)
([source](https://togithub.com/eslint/eslint)) | [`8.38.0` ->
`8.39.0`](https://renovatebot.com/diffs/npm/eslint/8.38.0/8.39.0) |
[![age](https://badges.renovateapi.com/packages/npm/eslint/8.39.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.39.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/eslint/8.39.0/compatibility-slim/8.38.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.39.0/confidence-slim/8.38.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>eslint/eslint</summary>

### [`v8.39.0`](https://togithub.com/eslint/eslint/releases/tag/v8.39.0)

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.38.0...v8.39.0)

#### Features

-
[`3f7af9f`](3f7af9f408)
feat: Implement `SourceCode#markVariableAsUsed()`
([#&#8203;17086](https://togithub.com/eslint/eslint/issues/17086))
(Nicholas C. Zakas)

#### Documentation

-
[`6987dc5`](6987dc59e4)
docs: Fix formatting in Custom Rules docs
([#&#8203;17097](https://togithub.com/eslint/eslint/issues/17097))
(Milos Djermanovic)
-
[`4ee92e5`](4ee92e5cbd)
docs: Update README (GitHub Actions Bot)
-
[`d8e9887`](d8e9887c2c)
docs: Custom Rules cleanup/expansion
([#&#8203;16906](https://togithub.com/eslint/eslint/issues/16906)) (Ben
Perlmutter)
-
[`1fea279`](1fea279780)
docs: Clarify how to add to tsc agenda
([#&#8203;17084](https://togithub.com/eslint/eslint/issues/17084))
(Nicholas C. Zakas)
-
[`970ef1c`](970ef1c868)
docs: Update triage board location (Nicholas C. Zakas)
-
[`6d8bffd`](6d8bffdf45)
docs: Update README (GitHub Actions Bot)

#### Chores

-
[`60a6f26`](60a6f2694d)
chore: upgrade
[@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).39.0
([#&#8203;17102](https://togithub.com/eslint/eslint/issues/17102))
(Milos Djermanovic)
-
[`d5ba5c0`](d5ba5c0a85)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint
Jenkins)
-
[`f57eff2`](f57eff20f5)
ci: run tests on Node.js v20
([#&#8203;17093](https://togithub.com/eslint/eslint/issues/17093))
(Nitin Kumar)
-
[`9d1b8fc`](9d1b8fc60c)
perf: Binary search in token store `utils.search`
([#&#8203;17066](https://togithub.com/eslint/eslint/issues/17066))
(Francesco Trotta)
-
[`07a4435`](07a4435a0c)
chore: Add request for minimal repro to bug report
([#&#8203;17081](https://togithub.com/eslint/eslint/issues/17081))
(Nicholas C. Zakas)
-
[`eac4943`](eac4943ba2)
refactor: remove unnecessary use of `SourceCode#getAncestors` in rules
([#&#8203;17075](https://togithub.com/eslint/eslint/issues/17075))
(Milos Djermanovic)
-
[`0a7b60a`](0a7b60a9d5)
chore: update description of `SourceCode#getDeclaredVariables`
([#&#8203;17072](https://togithub.com/eslint/eslint/issues/17072))
(Milos Djermanovic)
-
[`6e2df71`](6e2df71cc3)
chore: remove unnecessary references to the LICENSE file
([#&#8203;17071](https://togithub.com/eslint/eslint/issues/17071))
(Milos Djermanovic)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 23:14:55 +00:00
Nuno Góis
2e1064b1f7
feat: demo sorts features by name (#3663)
https://linear.app/unleash/issue/2-983/can-we-we-reverse-order-of-the-toggles

This PR makes it so that, on topic navigation to the project overview
page, we assume a feature toggle name sorting by default:


![image](https://user-images.githubusercontent.com/14320932/235666804-94511704-010d-4173-809b-0c61252b02d6.png)

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-05-02 16:20:23 +03:00
andreas-unleash
e61c4524b0
fix: fix broken ImportOptions.tsx (#3657)
<!-- 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! ❤️ -->
Fixes ImportOptions.tsx

## 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. -->

<!-- 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? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Prabodh Meshram <prabodh.meshram7@gmail.com>
2023-05-02 10:17:05 +03:00
Mateusz Kwasniewski
be55961e6f
feat: Footer sdks (#3654) 2023-04-28 15:56:35 +02:00
andreas-unleash
1ccbbfeb57
Feat: project default strategy (#3644)
<!-- 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! ❤️ -->

Adds default strategy to project environment link table

## 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. -->

<!-- Does it close an issue? Multiple? -->
Closes #
[1-876](https://linear.app/unleash/issue/1-876/default-strategy-backend)

<!-- (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? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-04-28 14:59:04 +03:00
Nuno Góis
9df9095b1f
feat: demo small UI adjustments (#3653)
https://linear.app/unleash/issue/2-975/small-ui-adjustments

Adds some small UI adjustments we identified in the meantime:
 - "Get Unleash" -> "Get started" in the top banner;
 - Topics list header is now the same color as the top banner;
- Added `focus` capabilities to steps, added it to the appropriate
steps;
 - No longer closes tooltip when clicked when using `anyClick`;
 - Reversed the topics list header arrow rotation;

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537


![image](https://user-images.githubusercontent.com/14320932/235139390-a40db29d-befe-44f9-9f61-a0ad120b7251.png)
2023-04-28 11:54:58 +00:00
Mateusz Kwasniewski
c8bce08e94
feat: remove project overview flag (#3648) 2023-04-28 12:25:59 +02:00