1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
Commit Graph

8281 Commits

Author SHA1 Message Date
renovate[bot]
36539c8e1c
chore(deps): update dependency vite to v4.3.4 (#3730)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`4.3.3` ->
`4.3.4`](https://renovatebot.com/diffs/npm/vite/4.3.3/4.3.4) |
[![age](https://badges.renovateapi.com/packages/npm/vite/4.3.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/4.3.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/4.3.4/compatibility-slim/4.3.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/4.3.4/confidence-slim/4.3.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 05:00:44 +00:00
James King
47fcc59850
docs: Fix typo in ADR (#3691) 2023-05-10 13:58:51 +00:00
GitHub Actions Bot
6645857c17 5.1.0-beta.41 2023-05-10 13:47:21 +00:00
Christopher Kolstad
eaacb979d6
fix: Removed CR on variants flag (it's GA) (#3738)
This PR removes the usage of crOnVariants flag, but keeps the behaviour,
so CR are now enabled on variants.

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-05-10 13:46:41 +00:00
renovate[bot]
73c9780bec
chore(deps): update dependency minimatch to v5.1.6 (#3430)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>isaacs/minimatch</summary>

###
[`v5.1.6`](https://togithub.com/isaacs/minimatch/compare/v5.1.5...v5.1.6)

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

###
[`v5.1.5`](https://togithub.com/isaacs/minimatch/compare/v5.1.4...v5.1.5)

[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.1.4...v5.1.5)

###
[`v5.1.4`](https://togithub.com/isaacs/minimatch/compare/v5.1.3...v5.1.4)

[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.1.3...v5.1.4)

###
[`v5.1.3`](https://togithub.com/isaacs/minimatch/compare/v5.1.2...v5.1.3)

[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.1.2...v5.1.3)

###
[`v5.1.2`](https://togithub.com/isaacs/minimatch/compare/v5.1.1...v5.1.2)

[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.1.1...v5.1.2)

###
[`v5.1.1`](https://togithub.com/isaacs/minimatch/compare/v5.1.0...v5.1.1)

[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.1.0...v5.1.1)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMy4zIiwidXBkYXRlZEluVmVyIjoiMzUuMjMuMyJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-10 15:30:05 +02:00
renovate[bot]
795e919ea6
chore(deps): update typescript-eslint monorepo to v5.59.2 (#3732)
[![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.59.1` ->
`5.59.2`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.59.1/5.59.2)
|
[![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/compatibility-slim/5.59.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.2/confidence-slim/5.59.1)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint)
| [`5.59.1` ->
`5.59.2`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.59.1/5.59.2)
|
[![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/compatibility-slim/5.59.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.2/confidence-slim/5.59.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01)

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

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

</details>

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

###
[`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01)

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

**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:eyJjcmVhdGVkSW5WZXIiOiIzNS43NS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-10 13:03:54 +00:00
GitHub Actions Bot
31693f1543 5.1.0-beta.40 2023-05-10 11:48:16 +00:00
Nuno Góis
aaf15c96f9
feat: use new demo website (#3737)
https://linear.app/unleash/issue/2-1023/use-new-demo-website-for-testing-purposes

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

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-05-10 11:48:00 +00:00
GitHub Actions Bot
1272a110b0 5.1.0-beta.39 2023-05-10 11:32:06 +00:00
Christopher Kolstad
af3944bd75
fix: log missing user at warn level (#3735)
When using PATs if the user that the PAT is for has been removed, we
currently log the missing user at ERROR level. Since this is not
something our SREs can fix, this PR downgrades the NotFoundError to
WARN, instead of ERROR.
2023-05-10 13:31:42 +02:00
renovate[bot]
9c395596a5
chore(deps): update dependency react-joyride to v2.5.4 (#3715)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-10 07:05:38 +00:00
renovate[bot]
25a937dcfb
chore(deps): update dependency @babel/core to v7.21.8 (#3729)
[![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.5` ->
`7.21.8`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.21.5/7.21.8)
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.8/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.8/compatibility-slim/7.21.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.8/confidence-slim/7.21.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v7.21.8`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7218-2023-05-02)

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

##### 👓 Spec Compliance

-   `babel-parser`
- [#&#8203;15602](https://togithub.com/babel/babel/pull/15602) Remove
`using await` restriction in explicitResourceManagement
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 🐛 Bug Fix

- `babel-helper-create-class-features-plugin`,
`babel-helper-create-regexp-features-plugin`
- [#&#8203;15605](https://togithub.com/babel/babel/pull/15605) Fix
backward compat for semver checks in class\&regexp feat plugins
([@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNS43NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzQuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 22:18:23 +00:00
GitHub Actions Bot
fe6410957b 5.1.0-beta.38 2023-05-09 19:34:37 +00:00
Nuno Góis
9d680a782d
fix: improve steps for demo guide toggle topic (#3728)
https://linear.app/unleash/issue/2-1006/steps-improvement-enabledisable-a-feature-toggle

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

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

Step improvements for the "specific user" topic.

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

This PR contains the following updates:

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

---

### Release Notes

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

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

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

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

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

Step improvements for the "gradual rollout" topic.

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


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


![image](https://github.com/Unleash/unleash/assets/14320932/19650a15-5cde-43c3-9d2b-a7e790bea0ac)
2023-05-09 13:39:28 +00:00
Nuno Góis
72eba37cec
test: add anonymise unit tests (#3722)
Adds unit tests to `anonymise` functions. 

See:
https://github.com/Unleash/unleash/pull/3683#pullrequestreview-1418223563
2023-05-09 14:20:39 +01:00
GitHub Actions Bot
b4d91f793e 5.1.0-beta.34 2023-05-09 13:02:56 +00:00
Nuno Góis
93a7d29003
fix: application name link styling (#3724)
https://linear.app/unleash/issue/2-1021/bug-dark-mode-application-screen-name-of-the-application-not-visible

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


![image](https://github.com/Unleash/unleash/assets/14320932/f3a873c1-e25e-4137-8b74-8020ebde0493)
2023-05-09 13:02:32 +00:00
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