1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

1029 Commits

Author SHA1 Message Date
renovate[bot]
211d445c4d
chore(deps): update dependency @babel/core to v7.22.5 (#4013)
[![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.22.1` ->
`7.22.5`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.22.1/7.22.5)
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.5/compatibility-slim/7.22.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.5/confidence-slim/7.22.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v7.22.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7225-2023-06-08)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.1...v7.22.5)

##### 🐛 Bug Fix

-   `babel-preset-env`, `babel-standalone`
- [#&#8203;15675](https://togithub.com/babel/babel/pull/15675) Fix using
`syntax-unicode-sets-regex` in standalone
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 💅 Polish

-   `babel-core`
- [#&#8203;15683](https://togithub.com/babel/babel/pull/15683) Suggest
`-transform-` when resolving missing 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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 22:30:36 +00:00
Mateusz Kwasniewski
2356b5774b
docs: encourage feedback for sync (#4003) 2023-06-19 14:32:57 +02:00
yuri-karelics
331f0f27fa
docs: angular unleash proxy client (#3897)
List of community unleash proxy clients extended with new Angular
library

## About the changes
Relates to
[discussion](https://github.com/orgs/Unleash/discussions/3621)
2023-06-16 17:54:37 +00:00
Mateusz Kwasniewski
dec32810c1
docs: how to synchronize unleash instances (#3977) 2023-06-14 10:05:54 +02:00
Jaanus Sellin
41370be591
feat: update predefined strategies tooltip (#3964) 2023-06-14 08:46:15 +03:00
andreas-unleash
8daab71219
Docs: update stickiness docs (#3928)
<!-- 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>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-06-13 11:26:12 +03:00
renovate[bot]
6cb4f60e47
chore(deps): update dependency @babel/core to v7.22.1 (#3935)
[![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.8` ->
`7.22.1`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.21.8/7.22.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.1/compatibility-slim/7.21.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.1/confidence-slim/7.21.8)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v7.22.1`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7221-2023-05-26)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.0...v7.22.1)

##### 🐛 Bug Fix

-   `babel-preset-env`
- [#&#8203;15658](https://togithub.com/babel/babel/pull/15658)
Workaround for broken babel-preset-react-app
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

###
[`v7.22.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7220-2023-05-26)

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

##### 🚀 New Feature

-   `babel-parser`, `babel-plugin-transform-typescript`
- [#&#8203;15497](https://togithub.com/babel/babel/pull/15497) \[ts]
Support `import ... =` and `export =` in scripts
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-compat-data`, `babel-core`,
`babel-plugin-proposal-unicode-sets-regex`,
`babel-plugin-transform-unicode-sets-regex`, `babel-preset-env`,
`babel-standalone`
- [#&#8203;15636](https://togithub.com/babel/babel/pull/15636) Add
`unicode-sets-regex` transform to `preset-env`
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`,
`babel-plugin-transform-runtime`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`, `babel-runtime`, `babel-standalone`
- [#&#8203;15633](https://togithub.com/babel/babel/pull/15633) Implement
transform support for `using` declarations
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-proposal-import-attributes-to-assertions`
- [#&#8203;15620](https://togithub.com/babel/babel/pull/15620) Create
`@babel/plugin-proposal-import-attributes-to-assertions`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-core`, `babel-generator`, `babel-parser`,
`babel-plugin-syntax-import-attributes`, `babel-preset-env`,
`babel-standalone`, `babel-types`
- [#&#8203;15536](https://togithub.com/babel/babel/pull/15536) Add
support for the updated import attributes proposal
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-generator`, `babel-parser`, `babel-traverse`, `babel-types`
- [#&#8203;15520](https://togithub.com/babel/babel/pull/15520) Parse
`await using` declarations
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-core`, `babel-helper-create-regexp-features-plugin`,
`babel-parser`
- [#&#8203;15638](https://togithub.com/babel/babel/pull/15638) Enable
regexp unicode sets parsing by default
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helpers`, `babel-plugin-proposal-decorators`,
`babel-plugin-syntax-decorators`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`, `babel-runtime`
- [#&#8203;15570](https://togithub.com/babel/babel/pull/15570) Add
decorators version `2023-05`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 💅 Polish

- `babel-plugin-transform-react-constant-elements`,
`babel-plugin-transform-react-jsx`, `babel-traverse`, `babel-types`
- [#&#8203;15549](https://togithub.com/babel/babel/pull/15549) Improve
type definitions for validators
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 🏠 Internal

-   `babel-parser`
- [#&#8203;15630](https://togithub.com/babel/babel/pull/15630) Unify
parsing of import/export modifiers (type/typeof/module)
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-compat-data`, `babel-helper-transform-fixture-test-runner`,
`babel-node`, `babel-plugin-proposal-decorators`,
`babel-plugin-proposal-duplicate-named-capturing-groups-regex`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-named-capturing-groups-regex`,
`babel-plugin-transform-runtime`, `babel-preset-env`,
`babel-runtime-corejs3`
- [#&#8203;15531](https://togithub.com/babel/babel/pull/15531) Allow
polyfill providers to specify custom `@babel/runtime` pkg
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-core`, `babel-plugin-proposal-async-generator-functions`,
`babel-plugin-proposal-class-properties`,
`babel-plugin-proposal-class-static-block`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-dynamic-import`,
`babel-plugin-proposal-export-namespace-from`,
`babel-plugin-proposal-function-sent`,
`babel-plugin-proposal-json-strings`,
`babel-plugin-proposal-logical-assignment-operators`,
`babel-plugin-proposal-nullish-coalescing-operator`,
`babel-plugin-proposal-numeric-separator`,
`babel-plugin-proposal-object-rest-spread`,
`babel-plugin-proposal-optional-catch-binding`,
`babel-plugin-proposal-optional-chaining`,
`babel-plugin-proposal-pipeline-operator`,
`babel-plugin-proposal-private-methods`,
`babel-plugin-proposal-private-property-in-object`,
`babel-plugin-proposal-unicode-property-regex`, `babel-preset-env`,
`babel-standalone`
- [#&#8203;15614](https://togithub.com/babel/babel/pull/15614) Rename
`-proposal-`s that became standard to `-transform-`
([@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 09:18:24 +00:00
renovate[bot]
1209103e53
chore(deps): update dependency enhanced-resolve to v5.14.1 (#3930)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

#### Bugfixes

- TypeScript `strict` mode is now enabled for `enhanced-resolve` by
[@&#8203;alexander-akait](https://togithub.com/alexander-akait) in
[https://github.com/webpack/enhanced-resolve/pull/381](https://togithub.com/webpack/enhanced-resolve/pull/381)

#### Dependencies & Maintenance

- Migrate to Jest by [@&#8203;snitin315](https://togithub.com/snitin315)
in
[https://github.com/webpack/enhanced-resolve/pull/379](https://togithub.com/webpack/enhanced-resolve/pull/379)
- Bump minimatch from 3.0.4 to 3.1.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/webpack/enhanced-resolve/pull/383](https://togithub.com/webpack/enhanced-resolve/pull/383)
- Add Badges in README by
[@&#8203;snitin315](https://togithub.com/snitin315) in
[https://github.com/webpack/enhanced-resolve/pull/386](https://togithub.com/webpack/enhanced-resolve/pull/386)

**Full Changelog**:
https://github.com/webpack/enhanced-resolve/compare/v5.14.0...v5.14.1

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 23:05:27 +00:00
renovate[bot]
ccdd7469fb
chore(deps): update dependency browserslist to v4.21.7 (#3927)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>browserslist/browserslist</summary>

###
[`v4.21.7`](https://togithub.com/browserslist/browserslist/blob/HEAD/CHANGELOG.md#&#8203;4217)

[Compare
Source](https://togithub.com/browserslist/browserslist/compare/4.21.6...4.21.7)

-   Fixed last queries for Android (by Steve Repsher).

###
[`v4.21.6`](https://togithub.com/browserslist/browserslist/blob/HEAD/CHANGELOG.md#&#8203;4216)

[Compare
Source](https://togithub.com/browserslist/browserslist/compare/4.21.5...4.21.6)

-   Fixed time queries with `mobileToDesktop` (by Steve Repsher).
- Fixed docs (by Tatsunori Uchino, Will Stone, and Dominik
Pschenitschni).

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 18:19:04 +00:00
Nuno Góis
6b4efb9a9d
docs: ADR: Separation of Request and Response schemas (#3869)
https://linear.app/unleash/issue/2-943/adr-separate-request-and-response-types-in-apis

During the updating of our OpenAPI documentation, we've seen several
times that our schemas are either way too wide for a response or way to
strict for a request. This is usually due to us reusing the same schema
for both request and response. We should write an ADR where we reason
about the usefulness of code duplication and keeping separate response
and request schemas.

Based on our needs, this PR adds my suggested ADR.

---------

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2023-06-05 11:41:34 +01:00
renovate[bot]
5878f9dda5
fix(deps): update dependency unleash-proxy-client to v2.5.0 (#3889)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[unleash-proxy-client](https://togithub.com/unleash/unleash-proxy-client-js)
| [`2.4.3` ->
`2.5.0`](https://renovatebot.com/diffs/npm/unleash-proxy-client/2.4.3/2.5.0)
|
[![age](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.5.0/compatibility-slim/2.4.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.5.0/confidence-slim/2.4.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>unleash/unleash-proxy-client-js</summary>

###
[`v2.5.0`](https://togithub.com/Unleash/unleash-proxy-client-js/releases/tag/v2.5.0)

[Compare
Source](https://togithub.com/unleash/unleash-proxy-client-js/compare/v2.4.3...v2.5.0)

-
[`857363a`](857363abbc)
- docs: clarify `environment`
([#&#8203;144](https://togithub.com/unleash/unleash-proxy-client-js/issues/144))
-
[`f86d918`](f86d91878f)
- fix: Update tests
([#&#8203;147](https://togithub.com/unleash/unleash-proxy-client-js/issues/147))
-
[`e0fd9f3`](e0fd9f3b22)
- chore(deps): bump json5 from 2.2.0 to 2.2.3
([#&#8203;132](https://togithub.com/unleash/unleash-proxy-client-js/issues/132))
-
[`d697ae7`](d697ae7796)
- fix: use custom headers for metrics requests too
([#&#8203;148](https://togithub.com/unleash/unleash-proxy-client-js/issues/148))
-
[`5a75ec4`](5a75ec4fd1)
- Bump version to 2.4.4-beta.0
([#&#8203;149](https://togithub.com/unleash/unleash-proxy-client-js/issues/149))
-
[`1c34d61`](1c34d61bc2)
- feat: report metrics for variants
([#&#8203;150](https://togithub.com/unleash/unleash-proxy-client-js/issues/150))
-
[`fe58003`](fe58003fea)
- 2.4.4-beta.1
([#&#8203;151](https://togithub.com/unleash/unleash-proxy-client-js/issues/151))
-
[`3dc15e3`](3dc15e31ea)
- 2.5.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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 22:16:31 +00:00
renovate[bot]
16209dabf4
chore(deps): update react-router monorepo to v6.11.2 (#3862)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

##### Patch Changes

- Fix `basename` duplication in descendant `<Routes>` inside a
`<RouterProvider>`
([#&#8203;10492](https://togithub.com/remix-run/react-router/pull/10492))
-   Updated dependencies:
    -   `@remix-run/router@1.6.2`

</details>

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

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

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

##### Patch Changes

- Export `SetURLSearchParams` type
([#&#8203;10444](https://togithub.com/remix-run/react-router/pull/10444))
-   Updated dependencies:
    -   `react-router@6.11.2`
    -   `@remix-run/router@1.6.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:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC40IiwidXBkYXRlZEluVmVyIjoiMzUuOTguNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-25 15:25:49 +02:00
Thomas Heartman
6951f6b877
docs: remove "docs under restructuring note" (#3864)
They've been thoroughly restructured now. It's time to let this
admonition go 🕊️
2023-05-25 10:12:38 +02:00
Sebastian Bury
282de2477f
docs: azure sso guide (#3431)
## About the changes
Added Azure SSO SAML 2.0 instructions based off of testing/user
feedback.

<!-- Does it close an issue? Multiple? -->
Not on GH, internally yes

### Important files
website>docs>how-to>how-to-add-sso-azure-saml.md
website>docs>static>img (added images for docs)

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2023-05-25 08:37:39 +02:00
Mateusz Kwasniewski
78715e3374
docs: maintanance mode impact (#3858) 2023-05-25 08:28:05 +02:00
renovate[bot]
3423b35219
chore(deps): update dependency qs to v6.11.2 (#3832)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>ljharb/qs</summary>

###
[`v6.11.2`](https://togithub.com/ljharb/qs/blob/HEAD/CHANGELOG.md#&#8203;6112)

[Compare
Source](https://togithub.com/ljharb/qs/compare/v6.11.1...v6.11.2)

- \[Fix] `parse`: Fix parsing when the global Object prototype is frozen
([#&#8203;473](https://togithub.com/ljharb/qs/issues/473))
- \[Tests] add passing test cases with empty keys
([#&#8203;473](https://togithub.com/ljharb/qs/issues/473))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-23 03:33:54 +00:00
renovate[bot]
4345585288
chore(deps): update dependency enhanced-resolve to v5.14.0 (#3819)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

#### Features

- Replace deprecated String.prototype.substr() by
[@&#8203;CommanderRoot](https://togithub.com/CommanderRoot) in
[https://github.com/webpack/enhanced-resolve/pull/336](https://togithub.com/webpack/enhanced-resolve/pull/336)

#### Bugfixes

- Significantly improve type coverage & definitions for `resolve` by
[@&#8203;43081j](https://togithub.com/43081j) in
[https://github.com/webpack/enhanced-resolve/pull/357](https://togithub.com/webpack/enhanced-resolve/pull/357)
- Fix bug where `aliasFields` was not being applied to package `exports`
field by [@&#8203;alexander-akait](https://togithub.com/alexander-akait)
in
[https://github.com/webpack/enhanced-resolve/pull/380](https://togithub.com/webpack/enhanced-resolve/pull/380)

#### Dependencies & Maintenance

- Update `checkout`, `setup-node`, and `codecov` github actions by
[@&#8203;snitin315](https://togithub.com/snitin315) in
[https://github.com/webpack/enhanced-resolve/pull/378](https://togithub.com/webpack/enhanced-resolve/pull/378)

#### New Contributors

- [@&#8203;CommanderRoot](https://togithub.com/CommanderRoot) made their
first contribution in
[https://github.com/webpack/enhanced-resolve/pull/336](https://togithub.com/webpack/enhanced-resolve/pull/336)

**Full Changelog**:
https://github.com/webpack/enhanced-resolve/compare/v5.13.0...v5.14.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:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ni4zIiwidXBkYXRlZEluVmVyIjoiMzUuOTYuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 17:26:30 +00:00
Simon Hornby
6067888534
docs: extend group documentation to include information on setting root roles (#3696)
This adds documentation to the RBAC section on how to use root roles on
groups and updates a few screenshots for the group pages.

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-05-17 08:59:35 +02:00
renovate[bot]
fda010e940
fix(deps): update dependency docusaurus-plugin-openapi-docs to v2.0.0-beta.3 (#3765)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-plugin-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs)
| [`2.0.0-beta.2` ->
`2.0.0-beta.3`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.2/2.0.0-beta.3)
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.3/compatibility-slim/2.0.0-beta.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.3/confidence-slim/2.0.0-beta.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>

###
[`v2.0.0-beta.3`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/releases/tag/v2.0.0-beta.3)

[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.2...v2.0.0-beta.3)

#### What's Changed

- \[Bug] Narrow SASS loader rules to avoid conflicts with
docusaurus-plugin-sass by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/519](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/519)
- \[Bug] Patch webpack sass loader by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/521](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/521)
- \[Cleanup] Optimize theme typescript build by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/524](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/524)
- Update bash/curl logo and refactor how logo width/height are defined
by [@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/525](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/525)
- \[UI Enhancement] Move authorization card to ApiItem by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/531](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/531)
- \[UI Enhancement] Move CodeTabs above Request by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/533](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/533)
- \[UI Enhancement] Restyle schema property labels by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/534](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/534)
- \[UI Enhancement] Add expand button to CodeBlock by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/537](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/537)
- \[UI Enhancement] Restyle details markers with caret by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/540](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/540)
- \[UI Enhancement] Response Examples: Updated styling and support for
multiple language variants by
[@&#8203;blindaa121](https://togithub.com/blindaa121) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/542](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/542)
- \[UI Enhancement] Request form validation and updated styling by
[@&#8203;blindaa121](https://togithub.com/blindaa121) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/530](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/530)
- \[UI Enhancement] Enable Expand button for Response by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/553](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/553)
- Upgrade demo to 2.4.0 and update supported range in plugin and theme
by [@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/554](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/554)
- \[Bug] Improve support for additional properties, cleanup nested
`<li>`, support SchemaItem children by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/563](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/563)
- \[UI Enhancement] Updated left doc panel styling by
[@&#8203;blindaa121](https://togithub.com/blindaa121) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/557](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/557)
- \[UI Enhancement] ApiDemoPanel: Expand modal cleanup by
[@&#8203;blindaa121](https://togithub.com/blindaa121) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/566](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/566)
- Prepare release v2.0.0-beta.3 by
[@&#8203;blindaa121](https://togithub.com/blindaa121) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/570](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/570)

**Full Changelog**:
https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.2...v2.0.0-beta.3

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 13:57:42 +00:00
Nuno Góis
a9c24e4262
chore: simplify package scripts (#3736)
# Simplify package scripts

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

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

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

## Before PR (current behavior)

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

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


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

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

## After PR

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

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


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

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

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


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

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

## Discussion points

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

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

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

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

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

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

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

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 11:23:22 +01:00
renovate[bot]
f333c59d6a
chore(deps): update react-router monorepo to v6.11.1 (#3743)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

##### Patch Changes

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

</details>

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

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

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

##### Patch Changes

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 20:59:34 +00:00
Christopher Kolstad
191e40c95e
docs: update segment limits (#3733)
### What
Since 3ed4aeba5c, we've updated the
segment limits and added separate limits for pro and enterprise. This PR
updates the docs with the new limits.

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-05-11 08:24:14 +00:00
James King
47fcc59850
docs: Fix typo in ADR (#3691) 2023-05-10 13:58:51 +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]
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
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]
7cdf62e301
chore(deps): update dependency @babel/core to v7.21.5 (#3700)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

##### 👓 Spec Compliance

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

##### 🐛 Bug Fix

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

##### 💅 Polish

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

##### 🏠 Internal

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 02:57:23 +00:00
Gastón Fournier
8023fef711
docs: update to node 18 (#3689)
## About the changes
Update documentation to the minimum version of node. This was already
updated in other parts of the documentation

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-05-05 09:17:34 +02:00
renovate[bot]
7f24c51c0e
chore(deps): update dependency trim-newlines to v4.1.1 (#3678)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

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

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 11:34:04 +00:00
Simon Hornby
f172c8851f
docs: update docs to reflect that google SSO is removed (#3626)
Updates docs to point out that Google SSO is removed and how to
temporarily bring it back
2023-05-02 11:53:11 +02:00
renovate[bot]
e901303808
chore(deps): update dependency enhanced-resolve to v5.13.0 (#3660)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

#### Features

- Add `withFileTypes` options from FileSystem API by
[@&#8203;fu1996](https://togithub.com/fu1996) in
[https://github.com/webpack/enhanced-resolve/pull/374](https://togithub.com/webpack/enhanced-resolve/pull/374)

#### Bugfixes

- Support wildcards pattern with common suffix in imports/exports field
by [@&#8203;bvanjoi](https://togithub.com/bvanjoi) in
[https://github.com/webpack/enhanced-resolve/pull/353](https://togithub.com/webpack/enhanced-resolve/pull/353)

#### Dependencies

- Bump minimist from 1.2.5 to 1.2.8 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/webpack/enhanced-resolve/pull/373](https://togithub.com/webpack/enhanced-resolve/pull/373)
- Bump json5 from 2.1.3 to 2.2.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/webpack/enhanced-resolve/pull/371](https://togithub.com/webpack/enhanced-resolve/pull/371)

#### Developer Experience

- Clean up README example by
[@&#8203;wtlin1228](https://togithub.com/wtlin1228) in
[https://github.com/webpack/enhanced-resolve/pull/366](https://togithub.com/webpack/enhanced-resolve/pull/366)
- Update README to reflect `conditionNames` default by
[@&#8203;43081j](https://togithub.com/43081j) in
[https://github.com/webpack/enhanced-resolve/pull/359](https://togithub.com/webpack/enhanced-resolve/pull/359)

#### New Contributors

- [@&#8203;fu1996](https://togithub.com/fu1996) made their first
contribution in
[https://github.com/webpack/enhanced-resolve/pull/374](https://togithub.com/webpack/enhanced-resolve/pull/374)
- [@&#8203;wtlin1228](https://togithub.com/wtlin1228) made their first
contribution in
[https://github.com/webpack/enhanced-resolve/pull/366](https://togithub.com/webpack/enhanced-resolve/pull/366)
- [@&#8203;43081j](https://togithub.com/43081j) made their first
contribution in
[https://github.com/webpack/enhanced-resolve/pull/359](https://togithub.com/webpack/enhanced-resolve/pull/359)
- [@&#8203;bvanjoi](https://togithub.com/bvanjoi) made their first
contribution in
[https://github.com/webpack/enhanced-resolve/pull/353](https://togithub.com/webpack/enhanced-resolve/pull/353)

**Full Changelog**:
https://github.com/webpack/enhanced-resolve/compare/v5.12.0...v5.13.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:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-29 03:37:09 +00:00
Mateusz Kwasniewski
10fee99467
Update how-to-synchronize-unleash-instances.md 2023-04-28 13:28:19 +02:00
Mateusz Kwasniewski
96e3e43188
docs: unleash instance synchronization (#3652) 2023-04-28 13:23:50 +02:00
Thomas Heartman
b815fa1a9d
docs: add migration guide entry for v4 -> v5 (#3650)
This lists the breaking changes between the versions to make it easier
(and safer) for users to upgrade
2023-04-28 13:10:30 +02:00
Christopher Kolstad
1fdf68eeec
task: removes deprecated feature api (#3609)
### What
We've had this marked as deprecated through our v4, this PR removes it.

### Worth noting
This updates the deprecation notices with removal notices in the
documentation as well.

### Considerations
The tags API is still located under
/api/admin/features/{featureName}/tags. It should be moved to
/api/admin/projects/{project}/features/{featureName}/tags. I vote we do
that in a separate PR, we'd probably also need to deprecate the existing
tags endpoints for v5 and remove in v6. We could use 308s to signify
that they are moved.

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-26 10:45:00 +02:00
Mateusz Kwasniewski
7eda493e8e
docs: skip CR also works in the UI (#3518) 2023-04-26 08:49:34 +02:00
Jaanus Sellin
28f61e05ff
feat: fix csp headers for feedback form (#3617)
Fix feedback form failing due to missing csp headers
2023-04-25 13:40:55 +03:00
Thomas Heartman
eb07599612
docs: add sidebar entry for project API tokens guide (#3602)
It seems that we forgot to add this doc to the sidebar. This PR fixes
that
2023-04-24 09:11:39 +02:00
renovate[bot]
a1a3512164
chore(deps): update dependency @storybook/testing-library to v0.1.0 (#3595)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@storybook/testing-library](https://togithub.com/storybookjs/testing-library)
| [`0.0.13` ->
`0.1.0`](https://renovatebot.com/diffs/npm/@storybook%2ftesting-library/0.0.13/0.1.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2ftesting-library/0.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2ftesting-library/0.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2ftesting-library/0.1.0/compatibility-slim/0.0.13)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2ftesting-library/0.1.0/confidence-slim/0.0.13)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>storybookjs/testing-library</summary>

###
[`v0.1.0`](https://togithub.com/storybookjs/testing-library/blob/HEAD/CHANGELOG.md#v010-Mon-Apr-03-2023)

[Compare
Source](https://togithub.com/storybookjs/testing-library/compare/v0.0.13...v0.1.0)

🎉 This release contains work from a new contributor! 🎉

Thank you, Kasper Peulen
([@&#8203;kasperpeulen](https://togithub.com/kasperpeulen)), for all
your work!

##### 🚀 Enhancement

##### 🐛 Bug Fix

- Support Storybook 7.0.0
[#&#8203;34](https://togithub.com/storybookjs/testing-library/pull/34)
([@&#8203;yannbf](https://togithub.com/yannbf))
- Make `waitFor` interceptable and don't override interval/timeout
[#&#8203;23](https://togithub.com/storybookjs/testing-library/pull/23)
([@&#8203;ghengeveld](https://togithub.com/ghengeveld)
[@&#8203;yannbf](https://togithub.com/yannbf))
- support storybook 7.0
[#&#8203;30](https://togithub.com/storybookjs/testing-library/pull/30)
([@&#8203;yannbf](https://togithub.com/yannbf))

##### Authors: 3

- Gert Hengeveld ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))
- Kasper Peulen
([@&#8203;kasperpeulen](https://togithub.com/kasperpeulen))
-   Yann Braga ([@&#8203;yannbf](https://togithub.com/yannbf))

***

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTcuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-23 06:08:27 +00:00
renovate[bot]
63b3b5b2b2
fix(deps): update dependency docusaurus-theme-openapi-docs to v2.0.0-beta.2 (#3594)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-theme-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs)
| [`2.0.0-beta.1` ->
`2.0.0-beta.2`](https://renovatebot.com/diffs/npm/docusaurus-theme-openapi-docs/2.0.0-beta.1/2.0.0-beta.2)
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/2.0.0-beta.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/2.0.0-beta.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/2.0.0-beta.2/compatibility-slim/2.0.0-beta.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/2.0.0-beta.2/confidence-slim/2.0.0-beta.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>

###
[`v2.0.0-beta.2`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/releases/tag/v2.0.0-beta.2)

[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.1...v2.0.0-beta.2)

##### What's Changed

- \[UI Enhancement] Restyle tree lines by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/489](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/489)
- \[UI Enhancement] Hide details marker by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/497](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/497)
- Breaking: Default categoryLinkSource to none, add `auto` option by
[@&#8203;IanVS](https://togithub.com/IanVS) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/495](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/495)
- \[Bug] Add missing status/headers tabs and apply max-height to code by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/517](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/517)
- Prepare release v2.0.0-beta.2 by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/515](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/515)

**Full Changelog**:
https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.1...v2.0.0-beta.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTcuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-23 03:38:22 +00:00
renovate[bot]
191f969e50
fix(deps): update dependency docusaurus-plugin-openapi-docs to v2.0.0-beta.2 (#3593)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-plugin-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs)
| [`2.0.0-beta.1` ->
`2.0.0-beta.2`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.1/2.0.0-beta.2)
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.2/compatibility-slim/2.0.0-beta.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.2/confidence-slim/2.0.0-beta.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>

###
[`v2.0.0-beta.2`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/releases/tag/v2.0.0-beta.2)

[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.1...v2.0.0-beta.2)

#### What's Changed

- \[UI Enhancement] Restyle tree lines by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/489](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/489)
- \[UI Enhancement] Hide details marker by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/497](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/497)
- Breaking: Default categoryLinkSource to none, add `auto` option by
[@&#8203;IanVS](https://togithub.com/IanVS) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/495](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/495)
- \[Bug] Add missing status/headers tabs and apply max-height to code by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/517](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/517)
- Prepare release v2.0.0-beta.2 by
[@&#8203;sserrata](https://togithub.com/sserrata) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/515](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/515)

**Full Changelog**:
https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.1...v2.0.0-beta.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTcuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-22 22:49:13 +00:00
Gastón Fournier
a53457f6d0
docs: removal of event hook in v5 (#3586)
## About the changes
Make it explicit that eventHook is no longer an option in v5, the
migration should be to
https://docs.getunleash.io/reference/addons/webhook which is already
linked in the docs since v4
2023-04-21 14:33:09 +02:00
renovate[bot]
67a69b7d82
chore(deps): update dependency qs to v6.11.1 (#3581)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>ljharb/qs</summary>

###
[`v6.11.1`](https://togithub.com/ljharb/qs/blob/HEAD/CHANGELOG.md#&#8203;6111)

[Compare
Source](https://togithub.com/ljharb/qs/compare/v6.11.0...v6.11.1)

- \[Fix] `stringify`: encode comma values more consistently
([#&#8203;463](https://togithub.com/ljharb/qs/issues/463))
- \[readme] add usage of `filter` option for injecting custom
serialization, i.e. of custom types
([#&#8203;447](https://togithub.com/ljharb/qs/issues/447))
- \[meta] remove extraneous code backticks
([#&#8203;457](https://togithub.com/ljharb/qs/issues/457))
-   \[meta] fix changelog markdown
-   \[actions] update checkout action
-   \[actions] restrict action permissions
- \[Dev Deps] update `@ljharb/eslint-config`, `aud`, `object-inspect`,
`tape`

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-21 11:11:15 +00:00
Gastón Fournier
29907d8d9f
doc: update link to new import/export (#3584)
## About the changes
Add correct link to new import/export
2023-04-21 08:49:05 +00:00
andreas-unleash
b38a0c911d
chore: add mode and defaultStickiness to project docs (#3487)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
Adds `mode` and `defaultStickiness` to the project form.
Adds a new img

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

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

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

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


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

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-21 07:32:42 +00:00
Gastón Fournier
b593bdd404
docs: deprecation notice on state api (#3561)
## About the changes
Update documentation about the deprecation of state API.

Related to https://github.com/Unleash/unleash/issues/1265
2023-04-21 09:19:22 +02:00
Gastón Fournier
0e80484068
docs: update documentation and dev server use of passord (#3564)
## About the changes
Update `passord` documentation with `password`. Note this was not a typo
but just Norwegian:
https://dictionary.cambridge.org/dictionary/english-norwegian/password
```shell
grep passord * -R -l | grep -v .git | grep -v dist | grep -v v3 | xargs sed -i 's/passord/password/g'
```
The script above avoids updating v3 because of legacy reasons

Related to #1265
2023-04-19 13:29:18 +02:00
David Leek
bbfb88122b
docs: jira cloud documentation (#3494)
<!-- 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! ❤️ -->

New PR using correct prefixes

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

Adds documentation to the docs website for the new Jira Cloud plugin.
Couple of pieces on install page are missing due to the nature of having
to have the docs before we can start the review process after which
we'll get the final details on how/where to install/from etc.

Also a couple of pending fixes that might impact screenshots/warrant new
ones made

![Skjermbilde 2023-04-06 kl 12 34
40](https://user-images.githubusercontent.com/707867/230353148-98c5915f-0d97-4cba-bec5-33d46503448d.png)
![Skjermbilde 2023-04-06 kl 12 34
49](https://user-images.githubusercontent.com/707867/230353157-e9dd3f57-e6a3-4e9b-a966-ebdfcdaf2581.png)

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

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

- website/docs/reference/integrations/jira-cloud-plugin-installation.md
- website/docs/reference/integrations/jira-cloud-plugin-usage.md

## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
Very open to improvements on wording and tips on standards used in
screenshots

---------

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-17 15:16:01 +02:00
Thomas Heartman
0a9df052a6
docs: fix broken links (#3533)
Fixes broken links that were mistakenly committed to main.
2023-04-17 14:10:31 +02:00
Thomas Heartman
222f34f43d
docs: add large segments explainer (#3441)
This PR adds an explainer document about using large/complex
constraints, inspired by the Unleash and Redis repo.

The intent is to create a comprehensive and understandable explanation
as to why we don't recommend you do this, and also to offer alternative
solutions for the same problem.

---------

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2023-04-14 12:59:07 +00:00