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

8257 Commits

Author SHA1 Message Date
GitHub Actions Bot
6506fcc5a7 5.1.0-beta.33 2023-05-09 11:18:39 +00:00
andreas-unleash
5229c44dcb
fix: bypass change requests when unprotected deleting (#3720)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

<!-- 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>
2023-05-09 14:18:21 +03:00
GitHub Actions Bot
4bb7ce7761 5.1.0-beta.32 2023-05-09 10:48:18 +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
GitHub Actions Bot
a6aa34ece5 5.1.0-beta.31 2023-05-09 09:22:54 +00:00
andreas-unleash
b132cce986
fix: project api token type to lowercase (#3717)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

<!-- 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>
2023-05-09 09:22:21 +00:00
GitHub Actions Bot
97f22d496f 5.1.0-beta.30 2023-05-09 09:14:03 +00:00
Nuno Góis
b013d4286c
fix: log project access events (#3683)
https://linear.app/unleash/issue/2-992/register-event-when-granting-access-to-a-project

 - Correctly registers a new `project-access-added` event;
- Adds an anonymization method that supports anonymizing objects,
recursively searching for keys to anonymize;
- Fixes the event label used by `ProjectUserUpdateRoleEvent` to be
`PROJECT_USER_ROLE_CHANGED`;


![image](https://user-images.githubusercontent.com/14320932/236216227-bf6e5dff-f509-48a4-ba7c-9f37e23e87c0.png)
2023-05-09 11:13:38 +02:00
GitHub Actions Bot
871c9da83c 5.1.0-beta.29 2023-05-09 07:04:59 +00: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
renovate[bot]
f153f632c0
fix(deps): update dependency ajv to v8.12.0 (#3707)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>ajv-validator/ajv</summary>

###
[`v8.12.0`](https://togithub.com/ajv-validator/ajv/releases/tag/v8.12.0)

[Compare
Source](https://togithub.com/ajv-validator/ajv/compare/v8.11.2...v8.12.0)

- fix JTD serialisation (remove leading comma in objects with only
optional properties)
([#&#8203;2190](https://togithub.com/ajv-validator/ajv/issues/2190),
[@&#8203;piliugin-anton](https://togithub.com/piliugin-anton))
- empty JTD "values" schema
([#&#8203;2191](https://togithub.com/ajv-validator/ajv/issues/2191))
- empty object to work with JTD utility type
([#&#8203;2158](https://togithub.com/ajv-validator/ajv/issues/2158),
[@&#8203;erikbrinkman](https://togithub.com/erikbrinkman))
- fix JTD "discriminator" schema for objects with more than 8 properties
([#&#8203;2194](https://togithub.com/ajv-validator/ajv/issues/2194))
- correctly narrow "number" type to "integer"
([#&#8203;2192](https://togithub.com/ajv-validator/ajv/issues/2192),
[@&#8203;JacobLey](https://togithub.com/JacobLey))
-   update Node.js versions in CI to 14, 16, 18 and 19

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 00:48:41 +00:00
renovate[bot]
dca990cf26
chore(deps): update dependency @swc/core to v1.3.56 (#3706)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://togithub.com/swc-project/swc)) | [`1.3.55` ->
`1.3.56`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.55/1.3.56) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.56/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.56/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.56/compatibility-slim/1.3.55)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.56/confidence-slim/1.3.55)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc</summary>

###
[`v1.3.56`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#&#8203;1356---2023-04-29)

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

##### Bug Fixes

- **(es/codegen)** Emit type arguments for call expressions
([#&#8203;7335](https://togithub.com/swc-project/swc/issues/7335))
([7e99e5f](7e99e5fd2c))

- **(es/parser)** Parse decorators after `export`
([#&#8203;7340](https://togithub.com/swc-project/swc/issues/7340))
([985f0ca](985f0cad06))

- **(es/typescript)** Fix typescript strip pass
([#&#8203;7342](https://togithub.com/swc-project/swc/issues/7342))
([d061d29](d061d295ff))

- **(plugin/runner)** Revert
[#&#8203;7341](https://togithub.com/swc-project/swc/issues/7341)
([#&#8203;7344](https://togithub.com/swc-project/swc/issues/7344))
([d6999ba](d6999ba1ac))

##### Features

- **(es/minifier)** Drop expressions using sequential inliner
([#&#8203;6936](https://togithub.com/swc-project/swc/issues/6936))
([246300a](246300ae25))

- **(plugin/runner)** Improve caching
([#&#8203;7341](https://togithub.com/swc-project/swc/issues/7341))
([245163a](245163a778))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-08 21:48:45 +00:00
GitHub Actions Bot
f23df62667 5.1.0-beta.28 2023-05-08 12:45:08 +00:00
Simon Hornby
3ed4aeba5c
chore: expand default segment limits to 1000 (#3710)
This expands the segment limits to 1000, this should have no impact on
OSS since this feature isn't exposed. This is overridden to 250 in
hosted `pro` instances and 1000 in hosted `enterprise` customers. This
only affects self hosted enterprise instances
2023-05-08 14:44:48 +02:00
GitHub Actions Bot
fab0f97404 5.1.0-beta.27 2023-05-08 11:56:58 +00:00
andreas-unleash
3c8b766ea6
fix: Add default value for shouldActivateDisabledStrategies (#3711)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

<!-- 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>
2023-05-08 14:56:42 +03:00
GitHub Actions Bot
68741bb67e 5.1.0-beta.26 2023-05-08 10:15:46 +00:00
Jaanus Sellin
bacb73667a
feat: add UI to variant metrics (#3697) 2023-05-08 10:15:26 +00:00
GitHub Actions Bot
6053963750 5.1.0-beta.25 2023-05-08 08:42:54 +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]
dc6a158794
chore(deps): update typescript-eslint monorepo to v5.59.1 (#3705)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint)
| [`5.53.0` ->
`5.59.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.53.0/5.59.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.1/compatibility-slim/5.53.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.1/confidence-slim/5.53.0)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint)
| [`5.53.0` ->
`5.59.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.53.0/5.59.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.1/compatibility-slim/5.53.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.1/confidence-slim/5.53.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/eslint-plugin)</summary>

###
[`v5.59.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5591-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5590v5591-2023-04-24)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1)

##### Bug Fixes

- **eslint-plugin:** \[prefer-regexp-exec] skip malformed regexes
([#&#8203;6935](https://togithub.com/typescript-eslint/typescript-eslint/issues/6935))
([05ed60e](05ed60e25f))
- **eslint-plugin:** \[unified-signatures] no parameters function
([#&#8203;6940](https://togithub.com/typescript-eslint/typescript-eslint/issues/6940))
([2970861](297086154a))

###
[`v5.59.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5590-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5580v5590-2023-04-17)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.58.0...v5.59.0)

##### Bug Fixes

- **eslint-plugin:** \[no-unnecessary-condition] allow nullish
coalescing for naked type parameter
([#&#8203;6910](https://togithub.com/typescript-eslint/typescript-eslint/issues/6910))
([3e5f858](3e5f8583f1))

##### Features

- **eslint-plugin:** \[ban-types] add NonNullable suggestion and allow
custom suggestions
([#&#8203;6876](https://togithub.com/typescript-eslint/typescript-eslint/issues/6876))
([ff65235](ff65235246))

###
[`v5.58.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5580-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5571v5580-2023-04-10)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.57.1...v5.58.0)

##### Bug Fixes

- **eslint-plugin:** \[unified-signatures] allow overloads with
different named and different number of parameters
([#&#8203;6877](https://togithub.com/typescript-eslint/typescript-eslint/issues/6877))
([939d665](939d6656eb))

##### Features

- **eslint-plugin:** \[no-unsafe-enum-comparison] add rule
([#&#8203;6107](https://togithub.com/typescript-eslint/typescript-eslint/issues/6107))
([915f9c2](915f9c2dc8))

####
[5.57.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.57.0...v5.57.1)
(2023-04-03)

##### Bug Fixes

- **eslint-plugin:** \[strict-boolean-expressions] support mixed enums
in allowNullableEnum option
([#&#8203;6740](https://togithub.com/typescript-eslint/typescript-eslint/issues/6740))
([49be8a8](49be8a814c))

###
[`v5.57.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5571-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5570v5571-2023-04-03)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.57.0...v5.57.1)

##### Bug Fixes

- **eslint-plugin:** \[strict-boolean-expressions] support mixed enums
in allowNullableEnum option
([#&#8203;6740](https://togithub.com/typescript-eslint/typescript-eslint/issues/6740))
([49be8a8](49be8a814c))

###
[`v5.57.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5570-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5560v5570-2023-03-27)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.56.0...v5.57.0)

##### Bug Fixes

- **eslint-plugin:** \[no-unnecessary-boolean-literal-compare] simplify
fixer and add support for double negation
([#&#8203;6620](https://togithub.com/typescript-eslint/typescript-eslint/issues/6620))
([81c8519](81c85193d2))
- **eslint-plugin:** correct crashes with getTypeArguments for ts < 3.7
([#&#8203;6767](https://togithub.com/typescript-eslint/typescript-eslint/issues/6767))
([59eab58](59eab58789))

##### Features

- **eslint-plugin:** \[consistent-type-assertions] add suggestions for
objectLiteralTypeAssertions
([#&#8203;6642](https://togithub.com/typescript-eslint/typescript-eslint/issues/6642))
([720e811](720e81138b))
- **eslint-plugin:** \[consistent-type-assertions] autofix angle bracket
assertions to as
([#&#8203;6641](https://togithub.com/typescript-eslint/typescript-eslint/issues/6641))
([ad8ea64](ad8ea64dbd))
- **eslint-plugin:** add `no-duplicate-type-constituents` rule
([#&#8203;5728](https://togithub.com/typescript-eslint/typescript-eslint/issues/5728))
([bc31078](bc31078cf8))

###
[`v5.56.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5560-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5550v5560-2023-03-20)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.55.0...v5.56.0)

##### Bug Fixes

- **eslint-plugin:** \[member-ordering] check order when
optionalityOrder is present with no optional members
([#&#8203;6619](https://togithub.com/typescript-eslint/typescript-eslint/issues/6619))
([6aff431](6aff431668))
- **eslint-plugin:** \[no-misused-promises] avoid unnecessary calls to
getContextualType
([#&#8203;6193](https://togithub.com/typescript-eslint/typescript-eslint/issues/6193))
([745cfe4](745cfe4a35))
- **eslint-plugin:** \[no-misused-promises] fix incorrect detection of
void functions in JSX attributes
([#&#8203;6638](https://togithub.com/typescript-eslint/typescript-eslint/issues/6638))
([9e41cee](9e41ceeaea))
- **eslint-plugin:** \[strict-boolean-expression] support falsy and
truthy literals simultaneously
([#&#8203;6672](https://togithub.com/typescript-eslint/typescript-eslint/issues/6672))
([62ef487](62ef487a99))
- **eslint-plugin:** \[strict-boolean-expressions] handle truthy enums
([#&#8203;6618](https://togithub.com/typescript-eslint/typescript-eslint/issues/6618))
([0d0639f](0d0639fb25))
- **eslint-plugin:** add TSPropertySignature with TSFunctionType
annotation to typeMethod selector
([#&#8203;6645](https://togithub.com/typescript-eslint/typescript-eslint/issues/6645))
([3fc5c63](3fc5c63f87))

##### Features

- **eslint-plugin:** add allowNever support to
restrict-template-expressions
([#&#8203;6554](https://togithub.com/typescript-eslint/typescript-eslint/issues/6554))
([423f164](423f164242))

###
[`v5.55.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5550-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5541v5550-2023-03-13)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.54.1...v5.55.0)

##### Bug Fixes

- **eslint-plugin:** \[no-confusing-void-expression] check sequence
expressions for void is in last position
([#&#8203;6597](https://togithub.com/typescript-eslint/typescript-eslint/issues/6597))
([d73d7d3](d73d7d3904))
- **eslint-plugin:** \[no-unnecessary-boolean-literal-compare] fixer
should handle parentheses
([#&#8203;6569](https://togithub.com/typescript-eslint/typescript-eslint/issues/6569))
([2d8c196](2d8c196294))

##### Features

- **eslint-plugin:** \[lines-around-comment] add extension rule
([#&#8203;5327](https://togithub.com/typescript-eslint/typescript-eslint/issues/5327))
([d55211c](d55211caf6))
- **eslint-plugin:** \[member-ordering] add support for grouping
readonly fields
([#&#8203;6349](https://togithub.com/typescript-eslint/typescript-eslint/issues/6349))
([9d3bdfc](9d3bdfcb2f))
- **eslint-plugin:** \[no-unnecessary-cond] check logical assignments
([#&#8203;6594](https://togithub.com/typescript-eslint/typescript-eslint/issues/6594))
([dbc203a](dbc203aeb6))
- update TypeScript to 5.0 RC
([#&#8203;6570](https://togithub.com/typescript-eslint/typescript-eslint/issues/6570))
([36ef0e1](36ef0e16f3))
- use [@&#8203;eslint-community](https://togithub.com/eslint-community)
dependencies
([#&#8203;6603](https://togithub.com/typescript-eslint/typescript-eslint/issues/6603))
([5f6ed73](5f6ed738a2))

####
[5.54.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.54.0...v5.54.1)
(2023-03-06)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

###
[`v5.54.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5541-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5540v5541-2023-03-06)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.54.0...v5.54.1)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

###
[`v5.54.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5540-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5530v5540-2023-02-27)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.53.0...v5.54.0)

##### Features

- **eslint-plugin:** \[promise-function-async] check for promises in
implicit return types
([#&#8203;6330](https://togithub.com/typescript-eslint/typescript-eslint/issues/6330))
([de1e5ce](de1e5ce112)),
closes
[#&#8203;6329](https://togithub.com/typescript-eslint/typescript-eslint/issues/6329)

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/parser)</summary>

###
[`v5.59.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5591-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5590v5591-2023-04-24)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.59.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5590-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5580v5590-2023-04-17)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.58.0...v5.59.0)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.58.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5580-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5571v5580-2023-04-10)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.57.1...v5.58.0)

##### Bug Fixes

- update getLib for new TypeScript targets ES2021, ES2022
([#&#8203;6782](https://togithub.com/typescript-eslint/typescript-eslint/issues/6782))
([1c04664](1c04664143))

####
[5.57.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.57.0...v5.57.1)
(2023-04-03)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.57.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5571-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5570v5571-2023-04-03)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.57.0...v5.57.1)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.57.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5570-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5560v5570-2023-03-27)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.56.0...v5.57.0)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.56.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5560-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5550v5560-2023-03-20)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.55.0...v5.56.0)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.55.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5550-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5541v5550-2023-03-13)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.54.1...v5.55.0)

##### Features

- **parser:** add exported meta object
([#&#8203;6586](https://togithub.com/typescript-eslint/typescript-eslint/issues/6586))
([d05c3d8](d05c3d8aa4))

####
[5.54.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.54.0...v5.54.1)
(2023-03-06)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.54.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5541-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5540v5541-2023-03-06)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.54.0...v5.54.1)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.54.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5540-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5530v5540-2023-02-27)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.53.0...v5.54.0)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

</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 21:05:49 +00:00
renovate[bot]
1c36205f01
chore(deps): update dependency tsc-watch to v6.0.4 (#3704)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>gilamran/tsc-watch</summary>

###
[`v6.0.4`](https://togithub.com/gilamran/tsc-watch/blob/HEAD/CHANGELOG.md#v604---29042023)

[Compare
Source](https://togithub.com/gilamran/tsc-watch/compare/v6.0.3...v6.0.4)

-   Automate CRLF to LF conversion

###
[`v6.0.3`](https://togithub.com/gilamran/tsc-watch/blob/HEAD/CHANGELOG.md#v603---29042023)

[Compare
Source](https://togithub.com/gilamran/tsc-watch/compare/v6.0.2...v6.0.3)

-   Fixed (Again CRLF to LF)

###
[`v6.0.2`](https://togithub.com/gilamran/tsc-watch/releases/tag/v6.0.2)

[Compare
Source](https://togithub.com/gilamran/tsc-watch/compare/v6.0.1...v6.0.2)

Fixed CRLF to LF issue

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 19:18:11 +00: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]
a39f54b4ed
chore(deps): update metcalfc/changelog-generator action to v4.1.0 (#3702)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[metcalfc/changelog-generator](https://togithub.com/metcalfc/changelog-generator)
| action | minor | `v4.0.1` -> `v4.1.0` |

---

### Release Notes

<details>
<summary>metcalfc/changelog-generator</summary>

###
[`v4.1.0`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.1.0)

[Compare
Source](https://togithub.com/metcalfc/changelog-generator/compare/v4.0.1...v4.1.0)

-
[afdcb94](afdcb9470a)
- Releasing support for branches with slashes in 4.1.0.
-
[6745040](67450402da)
- Merge pull request
[#&#8203;188](https://togithub.com/metcalfc/changelog-generator/issues/188)
from metcalfc/pr\_183
-
[afbb436](afbb436356)
- Adding tests for branches with slash in names.
-
[f624ce0](f624ce0f5a)
- Add support for / in branch names
-
[1999345](19993455b6)
- Bump eslint from 8.34.0 to 8.36.0
-
[ead7f3a](ead7f3ad70)
- Merge pull request
[#&#8203;187](https://togithub.com/metcalfc/changelog-generator/issues/187)
from metcalfc/dependabot/npm_and_yarn/eslint-8.36.0
-
[e4611ec](e4611eca19)
- Bump eslint from 8.34.0 to 8.36.0
-
[007a68c](007a68c897)
- Merge pull request
[#&#8203;184](https://togithub.com/metcalfc/changelog-generator/issues/184)
from metcalfc/dependabot/npm_and_yarn/eslint-8.34.0
-
[9ffb3f5](9ffb3f53a9)
- Bump eslint from 8.33.0 to 8.34.0
-
[a6c4304](a6c430458e)
- Merge pull request
[#&#8203;182](https://togithub.com/metcalfc/changelog-generator/issues/182)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.4
-
[99d2f13](99d2f13d54)
- Bump prettier from 2.8.3 to 2.8.4
-
[1c1842e](1c1842e90c)
- Merge pull request
[#&#8203;181](https://togithub.com/metcalfc/changelog-generator/issues/181)
from metcalfc/dependabot/npm_and_yarn/eslint-8.33.0
-
[9f82ca5](9f82ca5bea)
- Bump eslint from 8.32.0 to 8.33.0
-
[baff252](baff252eae)
- Merge pull request
[#&#8203;180](https://togithub.com/metcalfc/changelog-generator/issues/180)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.36.1
-
[07a2b81](07a2b81172)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.36.0
to 0.36.1
-
[8434262](8434262796)
- Merge pull request
[#&#8203;177](https://togithub.com/metcalfc/changelog-generator/issues/177)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.3
-
[2a6983c](2a6983c960)
- Merge pull request
[#&#8203;178](https://togithub.com/metcalfc/changelog-generator/issues/178)
from metcalfc/dependabot/npm_and_yarn/eslint-8.32.0
-
[8ad4443](8ad44437b3)
- Bump eslint from 8.31.0 to 8.32.0
-
[1526b06](1526b0627d)
- Bump prettier from 2.8.2 to 2.8.3
-
[3177d3f](3177d3f626)
- Merge pull request
[#&#8203;176](https://togithub.com/metcalfc/changelog-generator/issues/176)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.2
-
[9631f7a](9631f7af35)
- Bump prettier from 2.8.1 to 2.8.2
-
[682bb79](682bb796f8)
- Merge pull request
[#&#8203;175](https://togithub.com/metcalfc/changelog-generator/issues/175)
from metcalfc/dependabot/npm_and_yarn/eslint-8.31.0
-
[a0a7da8](a0a7da8672)
- Bump eslint from 8.30.0 to 8.31.0
-
[c2958f1](c2958f1f63)
- Merge pull request
[#&#8203;173](https://togithub.com/metcalfc/changelog-generator/issues/173)
from metcalfc/dependabot/npm_and_yarn/eslint-8.30.0
-
[10a5fd0](10a5fd04e6)
- Bump actions/stale from 6 to 7
([#&#8203;174](https://togithub.com/metcalfc/changelog-generator/issues/174))
-
[3083199](3083199359)
- Bump eslint from 8.29.0 to 8.30.0
-
[3a5b89e](3a5b89e488)
- Remove set-output in favor of GITHUB_OUTPUT
([#&#8203;172](https://togithub.com/metcalfc/changelog-generator/issues/172))
-
[1776f11](1776f11a43)
- Merge pull request
[#&#8203;171](https://togithub.com/metcalfc/changelog-generator/issues/171)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.1
-
[0877839](0877839bb8)
- Merge pull request
[#&#8203;169](https://togithub.com/metcalfc/changelog-generator/issues/169)
from metcalfc/dependabot/npm_and_yarn/eslint-8.29.0
-
[ac3ac34](ac3ac348dd)
- Bump prettier from 2.8.0 to 2.8.1
-
[f6eef02](f6eef02196)
- Bump eslint from 8.28.0 to 8.29.0
-
[db4799e](db4799e0d1)
- Merge pull request
[#&#8203;170](https://togithub.com/metcalfc/changelog-generator/issues/170)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.36.0
-
[5d4ff88](5d4ff88fc2)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.34.0
to 0.36.0
-
[03ce106](03ce106ed0)
- Merge pull request
[#&#8203;167](https://togithub.com/metcalfc/changelog-generator/issues/167)
from metcalfc/dependabot/npm_and_yarn/eslint-8.28.0
-
[43ceb1d](43ceb1d18f)
- Merge pull request
[#&#8203;168](https://togithub.com/metcalfc/changelog-generator/issues/168)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.0
-
[f2773af](f2773af55c)
- Bump prettier from 2.7.1 to 2.8.0
-
[1c00ff3](1c00ff33ba)
- Bump eslint from 8.26.0 to 8.28.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:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 12:03:26 +00:00
renovate[bot]
1632cd1ef9
chore(deps): update dpage/pgadmin4 docker tag to v6.21 (#3693)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| dpage/pgadmin4 | minor | `6.20` -> `6.21` |

---

### 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-06 08:11:45 +00:00
renovate[bot]
115a689c07
chore(deps): update lycheeverse/lychee-action action to v1.7.0 (#3701)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[lycheeverse/lychee-action](https://togithub.com/lycheeverse/lychee-action)
| action | minor | `v1.6.1` -> `v1.7.0` |

---

### Release Notes

<details>
<summary>lycheeverse/lychee-action</summary>

###
[`v1.7.0`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.7.0):
Version 1.7.0

[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.6.1...v1.7.0)

##### What's Changed

- Fix three typos in README by
[@&#8203;phieri](https://togithub.com/phieri) in
[https://github.com/lycheeverse/lychee-action/pull/184](https://togithub.com/lycheeverse/lychee-action/pull/184)
- CI: Automatic vX tag update workflow by
[@&#8203;tooomm](https://togithub.com/tooomm) in
[https://github.com/lycheeverse/lychee-action/pull/185](https://togithub.com/lycheeverse/lychee-action/pull/185)
- Format arguments in CI pipeline by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/186](https://togithub.com/lycheeverse/lychee-action/pull/186)
- Test lychee cache by [@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/187](https://togithub.com/lycheeverse/lychee-action/pull/187)
- Cleanup tar archive; make installation more robst by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/189](https://togithub.com/lycheeverse/lychee-action/pull/189)
- Readme: Add info about split up cache steps by
[@&#8203;tooomm](https://togithub.com/tooomm) in
[https://github.com/lycheeverse/lychee-action/pull/190](https://togithub.com/lycheeverse/lychee-action/pull/190)
- bump lychee version by [@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/192](https://togithub.com/lycheeverse/lychee-action/pull/192)

##### New Contributors

- [@&#8203;phieri](https://togithub.com/phieri) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/184](https://togithub.com/lycheeverse/lychee-action/pull/184)

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1.6.1...v1.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:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 05:45:31 +00:00
renovate[bot]
7cdf62e301
chore(deps): update dependency @babel/core to v7.21.5 (#3700)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core)
([source](https://togithub.com/babel/babel)) | [`7.21.4` ->
`7.21.5`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.21.4/7.21.5)
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.5/compatibility-slim/7.21.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.5/confidence-slim/7.21.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>babel/babel</summary>

###
[`v7.21.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7215-2023-04-28)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.21.4...v7.21.5)

##### 👓 Spec Compliance

-   `babel-generator`, `babel-parser`, `babel-types`
- [#&#8203;15539](https://togithub.com/babel/babel/pull/15539) fix:
Remove `mixins` and `implements` for `DeclareInterface` and
`InterfaceDeclaration`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 🐛 Bug Fix

- `babel-core`, `babel-generator`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-react-jsx`
- [#&#8203;15515](https://togithub.com/babel/babel/pull/15515) fix: `)`
position with `createParenthesizedExpressions`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-preset-env`
- [#&#8203;15580](https://togithub.com/babel/babel/pull/15580) Add
syntax import meta to preset env
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 💅 Polish

-   `babel-types`
- [#&#8203;15546](https://togithub.com/babel/babel/pull/15546) Improve
the layout of generated validators
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-core`
- [#&#8203;15535](https://togithub.com/babel/babel/pull/15535) Use `lt`
instead of `lte` to check TS version for .cts config
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏠 Internal

-   `babel-core`
- [#&#8203;15575](https://togithub.com/babel/babel/pull/15575) Use
synchronous `import.meta.resolve`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-helper-fixtures`, `babel-preset-typescript`
- [#&#8203;15568](https://togithub.com/babel/babel/pull/15568) Handle
`.overrides` and `.env` when resolving plugins/presets from fixture
options ([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helper-create-class-features-plugin`,
`babel-helper-create-regexp-features-plugin`
- [#&#8203;15548](https://togithub.com/babel/babel/pull/15548) Use
`semver` package to compare versions
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 02:57:23 +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]
242288d527
chore(deps): update dependency tsc-watch to v6.0.1 (#3698)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>gilamran/tsc-watch</summary>

###
[`v6.0.1`](https://togithub.com/gilamran/tsc-watch/blob/HEAD/CHANGELOG.md#v601---28042023)

[Compare
Source](9d1bd0b24f...v6.0.1)

-   Upgraded to the latest versions of dev dependencies
-   fixed failing test on node 18

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 18:24:24 +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
GitHub Actions Bot
f7550b6f26 5.1.0-beta.24 2023-05-05 11:33:04 +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
GitHub Actions Bot
7c77bc133d 5.1.0-beta.23 2023-05-05 08:11:29 +00:00
Jaanus Sellin
50fe3ebcaf
feat: metrics for variants (#3685) 2023-05-05 11:10:54 +03:00
GitHub Actions Bot
e768a41c66 5.1.0-beta.22 2023-05-05 07:18:29 +00:00
Gastón Fournier
149bc8aab2
chore: remove optimal 304 flag (#3665)
## About the changes
This PR removes the optimal304 flag after being tested in production.
We're keeping the existing configuration that allows users to disable
cache mainly because it's useful for testing.
2023-05-05 09:18:04 +02:00
Gastón Fournier
8023fef711
docs: update to node 18 (#3689)
## About the changes
Update documentation to the minimum version of node. This was already
updated in other parts of the documentation

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-05-05 09:17:34 +02: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
GitHub Actions Bot
ca6b90fdcb 5.1.0-beta.21 2023-05-04 20:21:24 +00:00
Mateusz Kwasniewski
108e15940e
fix: don't create duplicate tags on import (#3688) 2023-05-04 22:19:00 +02:00
renovate[bot]
c21fafc8aa
chore(deps): update dependency nock to v13.3.1 (#3690)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>nock/nock</summary>

### [`v13.3.1`](https://togithub.com/nock/nock/releases/tag/v13.3.1)

[Compare
Source](https://togithub.com/nock/nock/compare/v13.3.0...v13.3.1)

##### Bug Fixes

- update Socket for Node 18 compat
([#&#8203;2467](https://togithub.com/nock/nock/issues/2467))
([f904406](f904406430))

</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 20:16:05 +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]
7f24c51c0e
chore(deps): update dependency trim-newlines to v4.1.1 (#3678)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>sindresorhus/trim-newlines</summary>

###
[`v4.1.1`](96ffac489d...abb78c1e07)

[Compare
Source](96ffac489d...abb78c1e07)

###
[`v4.1.0`](https://togithub.com/sindresorhus/trim-newlines/compare/v4.0.2...96ffac489de8e5946a31ca324ccfee96800a3603)

[Compare
Source](https://togithub.com/sindresorhus/trim-newlines/compare/v4.0.2...96ffac489de8e5946a31ca324ccfee96800a3603)

</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 11:34:04 +00:00
GitHub Actions Bot
ff0fe8679d 5.1.0-beta.20 2023-05-04 07:56:21 +00:00
David Leek
f35d9390c1
chore: deprecate username on api-tokens (#3616)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

This deprecates the `username` properties on api-token schemas, and adds
a `tokenName` property.
DB field `username` has been renamed to `token_name`, migration added
for the rename.
Both `username` and `tokenName` can be used when consuming the service,
but only one of them.

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

There's a couple of things I'd like to get opinions on and discuss:
- Frontend still uses the deprecated `username` property
- ApiTokenSchema is used both for input and output of `Create`
controller endpoints and should be split out into separate schemas. I'll
set up a task for this

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-04 09:56:00 +02: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