mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
d37bb6a790
8227 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
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> |
||
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 (@​typescript-eslint/eslint-plugin)</summary> ### [`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​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 [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​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 [@​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> |
||
GitHub Actions Bot
|
31693f1543 | 5.1.0-beta.40 | ||
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 |
||
GitHub Actions Bot
|
1272a110b0 | 5.1.0-beta.39 | ||
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. |
||
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`]( |
||
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` - [#​15602](https://togithub.com/babel/babel/pull/15602) Remove `using await` restriction in explicitResourceManagement ([@​JLHwung](https://togithub.com/JLHwung)) ##### 🐛 Bug Fix - `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin` - [#​15605](https://togithub.com/babel/babel/pull/15605) Fix backward compat for semver checks in class\®exp feat plugins ([@​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> |
||
GitHub Actions Bot
|
fe6410957b | 5.1.0-beta.38 | ||
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 |
||
GitHub Actions Bot
|
be11c08f41 | 5.1.0-beta.37 | ||
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 |
||
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#​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> |
||
GitHub Actions Bot
|
dd79795dcc | 5.1.0-beta.36 | ||
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 |
||
GitHub Actions Bot
|
72f7b66bf0 | 5.1.0-beta.35 | ||
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) |
||
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 |
||
GitHub Actions Bot
|
b4d91f793e | 5.1.0-beta.34 | ||
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) |
||
GitHub Actions Bot
|
6506fcc5a7 | 5.1.0-beta.33 | ||
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> |
||
GitHub Actions Bot
|
4bb7ce7761 | 5.1.0-beta.32 | ||
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 |
||
GitHub Actions Bot
|
a6aa34ece5 | 5.1.0-beta.31 | ||
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> |
||
GitHub Actions Bot
|
97f22d496f | 5.1.0-beta.30 | ||
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) |
||
GitHub Actions Bot
|
871c9da83c | 5.1.0-beta.29 | ||
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 |
||
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) ([#​2190](https://togithub.com/ajv-validator/ajv/issues/2190), [@​piliugin-anton](https://togithub.com/piliugin-anton)) - empty JTD "values" schema ([#​2191](https://togithub.com/ajv-validator/ajv/issues/2191)) - empty object to work with JTD utility type ([#​2158](https://togithub.com/ajv-validator/ajv/issues/2158), [@​erikbrinkman](https://togithub.com/erikbrinkman)) - fix JTD "discriminator" schema for objects with more than 8 properties ([#​2194](https://togithub.com/ajv-validator/ajv/issues/2194)) - correctly narrow "number" type to "integer" ([#​2192](https://togithub.com/ajv-validator/ajv/issues/2192), [@​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> |
||
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#​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 ([#​7335](https://togithub.com/swc-project/swc/issues/7335)) ([7e99e5f]( |
||
GitHub Actions Bot
|
f23df62667 | 5.1.0-beta.28 | ||
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 |
||
GitHub Actions Bot
|
fab0f97404 | 5.1.0-beta.27 | ||
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> |
||
GitHub Actions Bot
|
68741bb67e | 5.1.0-beta.26 | ||
Jaanus Sellin
|
bacb73667a
|
feat: add UI to variant metrics (#3697) | ||
GitHub Actions Bot
|
6053963750 | 5.1.0-beta.25 | ||
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> |
||
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). |
||
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 (@​typescript-eslint/eslint-plugin)</summary> ### [`v5.59.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​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 ([#​6935](https://togithub.com/typescript-eslint/typescript-eslint/issues/6935)) ([05ed60e]( |
||
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> |
||
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#​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 ([#​10286](https://togithub.com/remix-run/react-router/pull/10286)) - Fix bug preventing rendering of descendant `<Routes>` when `RouterProvider` errors existed ([#​10374](https://togithub.com/remix-run/react-router/pull/10374)) - Fix inadvertent re-renders when using `Component` instead of `element` on a route definition ([#​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. ([#​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. ([#​10377](https://togithub.com/remix-run/react-router/pull/10377), [#​10409](https://togithub.com/remix-run/react-router/pull/10409)) - Allow `useRevalidator()` to resolve a loader-driven error boundary scenario ([#​10369](https://togithub.com/remix-run/react-router/pull/10369)) - Avoid unnecessary unsubscribe/resubscribes on router state changes ([#​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()`. ([#​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#​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. ([#​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` ([#​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#​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". ([#​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!** ([#​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 [@​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 ([#​10078](https://togithub.com/remix-run/react-router/pull/10078)) - Improve memoization for context providers to avoid unnecessary re-renders ([#​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#​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#​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` ([#​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 ([#​10287](https://togithub.com/remix-run/react-router/pull/10287)) - Fail gracefully on `<Link to="//">` and other invalid URL values ([#​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. ([#​10377](https://togithub.com/remix-run/react-router/pull/10377), [#​10409](https://togithub.com/remix-run/react-router/pull/10409)) - Add static prop to `StaticRouterProvider`'s internal `Router` component ([#​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()`. ([#​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#​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. ([#​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` ([#​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#​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". ([#​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!** ([#​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 [@​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#​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` ([#​10135](https://togithub.com/remix-run/react-router/pull/10135)) - Fix `useBlocker` to return `IDLE_BLOCKER` during SSR ([#​10046](https://togithub.com/remix-run/react-router/pull/10046)) - Fix SSR of absolute `<Link to>` urls ([#​10112](https://togithub.com/remix-run/react-router/pull/10112)) - Properly escape HTML characters in `StaticRouterProvider` serialized hydration data ([#​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> |
||
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]( |
||
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> |
||
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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/192](https://togithub.com/lycheeverse/lychee-action/pull/192) ##### New Contributors - [@​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> |
||
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` - [#​15539](https://togithub.com/babel/babel/pull/15539) fix: Remove `mixins` and `implements` for `DeclareInterface` and `InterfaceDeclaration` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### 🐛 Bug Fix - `babel-core`, `babel-generator`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-react-jsx` - [#​15515](https://togithub.com/babel/babel/pull/15515) fix: `)` position with `createParenthesizedExpressions` ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-preset-env` - [#​15580](https://togithub.com/babel/babel/pull/15580) Add syntax import meta to preset env ([@​JLHwung](https://togithub.com/JLHwung)) ##### 💅 Polish - `babel-types` - [#​15546](https://togithub.com/babel/babel/pull/15546) Improve the layout of generated validators ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-core` - [#​15535](https://togithub.com/babel/babel/pull/15535) Use `lt` instead of `lte` to check TS version for .cts config ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### 🏠 Internal - `babel-core` - [#​15575](https://togithub.com/babel/babel/pull/15575) Use synchronous `import.meta.resolve` ([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-fixtures`, `babel-preset-typescript` - [#​15568](https://togithub.com/babel/babel/pull/15568) Handle `.overrides` and `.env` when resolving plugins/presets from fixture options ([@​JLHwung](https://togithub.com/JLHwung)) - `babel-helper-create-class-features-plugin`, `babel-helper-create-regexp-features-plugin` - [#​15548](https://togithub.com/babel/babel/pull/15548) Use `semver` package to compare versions ([@​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> |
||
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 - [#​3025](https://togithub.com/emotion-js/emotion/pull/3025) [`6bd13425`]( |
||
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](
|