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

9400 Commits

Author SHA1 Message Date
Gastón Fournier
c3e8d743bc
chore: Improve UI Config type (#4959)
Fix link types
2023-10-06 16:31:39 +02:00
Mateusz Kwasniewski
8b0cf8b11d
feat: allow to delete dependencies when no orphans (#4952) 2023-10-06 13:39:16 +02:00
Gastón Fournier
52fa872fe6
chore: handle transactions already started at the controller layer (#4953)
## About the changes
This PR adds a method to safeguard us from opening a new transaction
while inside another transaction, resulting in two isolated transactions
that will not be atomic (if one fails, the other might still complete
successfully).


bbbe4d4637/lib/knex-builder/make-knex.js (L143C5-L144C88)

We're currently opening transactions at the controller layer 

2746bd1517/src/lib/features/export-import-toggles/export-import-controller.ts (L206-L208)

but in some other places, we do it at the store level:

2746bd1517/src/lib/db/access-store.ts (L577)


## Alternative
We can remove store-level transactions and move them to the controller
following this approach:


cb034976b9/src/lib/services/index.ts (L282-L284)


cb034976b9/src/lib/features/export-import-toggles/export-import-controller.ts (L206-L208)

This option is more expensive because we have to:
1. Write the factory methods that propagate the transaction to the
stores (therefore creating the store factory methods as well)
2. Identify the methods for creating the transactions at the store level
and backtrack the calls until the controller layer
2023-10-06 13:38:32 +02:00
renovate[bot]
2746bd1517
chore(deps): update dependency @babel/core to v7.23.0 (#4955)
[![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.20` ->
`7.23.0`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.22.20/7.23.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.22.20/7.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.22.20/7.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>babel/babel (@&#8203;babel/core)</summary>

###
[`v7.23.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7230-2023-09-25)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.20...v7.23.0)

##### 🚀 New Feature

- `babel-plugin-proposal-import-wasm-source`,
`babel-plugin-syntax-import-source`,
`babel-plugin-transform-dynamic-import`
- [#&#8203;15870](https://togithub.com/babel/babel/pull/15870) Support
transforming `import source` for wasm
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-module-transforms`, `babel-helpers`,
`babel-plugin-proposal-import-defer`,
`babel-plugin-syntax-import-defer`,
`babel-plugin-transform-modules-commonjs`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`, `babel-runtime`, `babel-standalone`
- [#&#8203;15878](https://togithub.com/babel/babel/pull/15878) Implement
`import defer` proposal transform support
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-generator`, `babel-parser`, `babel-types`
- [#&#8203;15845](https://togithub.com/babel/babel/pull/15845) Implement
`import defer` parsing support
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#&#8203;15829](https://togithub.com/babel/babel/pull/15829) Add
parsing support for the "source phase imports" proposal
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-generator`, `babel-helper-module-transforms`, `babel-parser`,
`babel-plugin-transform-dynamic-import`,
`babel-plugin-transform-modules-amd`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-modules-systemjs`, `babel-traverse`,
`babel-types`
- [#&#8203;15682](https://togithub.com/babel/babel/pull/15682) Add
`createImportExpressions` parser option
([@&#8203;JLHwung](https://togithub.com/JLHwung))
-   `babel-standalone`
- [#&#8203;15671](https://togithub.com/babel/babel/pull/15671) Pass
through nonce to the transformed script element
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helper-function-name`,
`babel-helper-member-expression-to-functions`, `babel-helpers`,
`babel-parser`, `babel-plugin-proposal-destructuring-private`,
`babel-plugin-proposal-optional-chaining-assign`,
`babel-plugin-syntax-optional-chaining-assign`,
`babel-plugin-transform-destructuring`,
`babel-plugin-transform-optional-chaining`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`, `babel-runtime`, `babel-standalone`,
`babel-types`
- [#&#8203;15751](https://togithub.com/babel/babel/pull/15751) Add
support for optional chain in assignments
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-helpers`, `babel-plugin-proposal-decorators`
- [#&#8203;15895](https://togithub.com/babel/babel/pull/15895) Implement
the "decorator metadata" proposal
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-traverse`, `babel-types`
- [#&#8203;15893](https://togithub.com/babel/babel/pull/15893) Add
`t.buildUndefinedNode`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-preset-typescript`
- [#&#8203;15913](https://togithub.com/babel/babel/pull/15913) Add
`rewriteImportExtensions` option to TS preset
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-parser`
- [#&#8203;15896](https://togithub.com/babel/babel/pull/15896) Allow TS
tuples to have both labeled and unlabeled elements
([@&#8203;yukukotani](https://togithub.com/yukukotani))

##### 🐛 Bug Fix

-   `babel-plugin-transform-block-scoping`
- [#&#8203;15962](https://togithub.com/babel/babel/pull/15962) fix:
`transform-block-scoping` captures the variables of the method in the
loop ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 💅 Polish

-   `babel-traverse`
- [#&#8203;15797](https://togithub.com/babel/babel/pull/15797) Expand
evaluation of global built-ins in `@babel/traverse`
([@&#8203;lorenzoferre](https://togithub.com/lorenzoferre))
-   `babel-plugin-proposal-explicit-resource-management`
- [#&#8203;15985](https://togithub.com/babel/babel/pull/15985) Improve
source maps for blocks with `using` declarations
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🔬 Output optimization

- `babel-core`, `babel-helper-module-transforms`,
`babel-plugin-transform-async-to-generator`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-dynamic-import`,
`babel-plugin-transform-function-name`,
`babel-plugin-transform-modules-amd`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-modules-umd`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-react-constant-elements`,
`babel-plugin-transform-react-inline-elements`,
`babel-plugin-transform-runtime`, `babel-plugin-transform-typescript`,
`babel-preset-env`
- [#&#8203;15984](https://togithub.com/babel/babel/pull/15984) Inline
`exports.XXX =` update in simple variable declarations
([@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 08:51:26 +00:00
Gastón Fournier
60a07ca38b
fix: Fail when format or lint is incorrect (#4956)
## About the changes
Format check was not throwing a failure when checking:
https://github.com/Unleash/unleash/actions/runs/6419038883/job/17428046648#step:6:10
2023-10-06 10:46:38 +02:00
Mateusz Kwasniewski
d61ccb1f6b
fix: local linter did not find formatting error (#4954) 2023-10-06 10:45:29 +02:00
andreas-unleash
cb034976b9
fix: change broken link to groups documentation (#4941)
Replaces the broken groups documentation link

CLoses: #
[SR-75](https://linear.app/unleash/issue/SR-75/groups-documentation-link-broken)

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-06 10:29:27 +03:00
renovate[bot]
00742cfb28
chore(deps): update react monorepo (#4951)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`17.0.65` ->
`17.0.66`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.65/17.0.66)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/17.0.66?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/17.0.66?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/17.0.65/17.0.66?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/17.0.65/17.0.66?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/react-dom](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`17.0.20` ->
`17.0.21`](https://renovatebot.com/diffs/npm/@types%2freact-dom/17.0.20/17.0.21)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/17.0.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/17.0.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/17.0.20/17.0.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/17.0.20/17.0.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 07:27:30 +00:00
Mateusz Kwasniewski
80eb6e12c6
refactor: custom render should provide container (#4938) 2023-10-06 09:19:49 +02:00
Mateusz Kwasniewski
bed26a938c
test: playground with dependencies (#4936) 2023-10-06 09:19:25 +02:00
renovate[bot]
b3112b1709
chore(deps): update dependency vanilla-jsoneditor to v0.18.7 (#4949)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vanilla-jsoneditor](https://togithub.com/josdejong/svelte-jsoneditor)
| [`0.18.4` ->
`0.18.7`](https://renovatebot.com/diffs/npm/vanilla-jsoneditor/0.18.4/0.18.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vanilla-jsoneditor/0.18.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vanilla-jsoneditor/0.18.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vanilla-jsoneditor/0.18.4/0.18.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vanilla-jsoneditor/0.18.4/0.18.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>josdejong/svelte-jsoneditor (vanilla-jsoneditor)</summary>

###
[`v0.18.7`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0187-2023-09-28)

[Compare
Source](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.18.6...v0.18.7)

###
[`v0.18.6`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0186-2023-09-27)

[Compare
Source](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.18.5...v0.18.6)

###
[`v0.18.5`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0185-2023-09-27)

[Compare
Source](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.18.4...v0.18.5)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 07:15:48 +00:00
Jonas Strømsodd
80c4a8277c
feat: allow defining initial admin user as env variable (#4927)
Closes #4560
2023-10-06 09:07:06 +02:00
renovate[bot]
36343626ab
chore(deps): update dependency swr to v2.2.4 (#4948)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [swr](https://swr.vercel.app)
([source](https://togithub.com/vercel/swr)) | [`2.2.2` ->
`2.2.4`](https://renovatebot.com/diffs/npm/swr/2.2.2/2.2.4) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/swr/2.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/swr/2.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/swr/2.2.2/2.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/swr/2.2.2/2.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vercel/swr (swr)</summary>

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

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

##### Patches

- Revert "Remove `index.js` suffix of `use-sync-external-store/shim` to
support React Native" by [@&#8203;huozhi](https://togithub.com/huozhi)
in
[https://github.com/vercel/swr/pull/2802](https://togithub.com/vercel/swr/pull/2802)

**Full Changelog**:
https://github.com/vercel/swr/compare/v2.2.3...v2.2.4

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

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

##### Patches

- fix: remove permissive type by
[@&#8203;wcatron](https://togithub.com/wcatron) in
[https://github.com/vercel/swr/pull/2759](https://togithub.com/vercel/swr/pull/2759)
- Remove `index.js` suffix of `use-sync-external-store/shim` to support
React Native by [@&#8203;malash](https://togithub.com/malash) in
[https://github.com/vercel/swr/pull/2767](https://togithub.com/vercel/swr/pull/2767)
- fix: default to fetch type in keyed mutator by
[@&#8203;linkvt](https://togithub.com/linkvt) in
[https://github.com/vercel/swr/pull/2753](https://togithub.com/vercel/swr/pull/2753)
- types: export mutation types by
[@&#8203;promer94](https://togithub.com/promer94) in
[https://github.com/vercel/swr/pull/2780](https://togithub.com/vercel/swr/pull/2780)

##### Misc

- test: update tests, use matched types for mutate api by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[https://github.com/vercel/swr/pull/2781](https://togithub.com/vercel/swr/pull/2781)

##### New Contributors

- [@&#8203;wcatron](https://togithub.com/wcatron) made their first
contribution in
[https://github.com/vercel/swr/pull/2759](https://togithub.com/vercel/swr/pull/2759)
- [@&#8203;malash](https://togithub.com/malash) made their first
contribution in
[https://github.com/vercel/swr/pull/2767](https://togithub.com/vercel/swr/pull/2767)
- [@&#8203;linkvt](https://togithub.com/linkvt) made their first
contribution in
[https://github.com/vercel/swr/pull/2753](https://togithub.com/vercel/swr/pull/2753)

**Full Changelog**:
https://github.com/vercel/swr/compare/v2.2.2...v2.2.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://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 06:59:26 +00:00
renovate[bot]
3c26b62a0b
chore(deps): update dependency fast-check to v3.13.1 (#4947)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fast-check](https://togithub.com/dubzzz/fast-check) | [`3.13.0` ->
`3.13.1`](https://renovatebot.com/diffs/npm/fast-check/3.13.0/3.13.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fast-check/3.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fast-check/3.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fast-check/3.13.0/3.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fast-check/3.13.0/3.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>dubzzz/fast-check (fast-check)</summary>

###
[`v3.13.1`](https://togithub.com/dubzzz/fast-check/blob/HEAD/packages/fast-check/CHANGELOG.md#3131)

[Compare
Source](https://togithub.com/dubzzz/fast-check/compare/v3.13.0...v3.13.1)

*Fix typings for node native esm*

\[[Code](https://togithub.com/dubzzz/fast-check/tree/v3.13.1)]\[[Diff](https://togithub.com/dubzzz/fast-check/compare/v3.13.0...v3.13.1)]

#### Fixes

- ([PR#4261](https://togithub.com/dubzzz/fast-check/pull/4261)) Bug: Fix
typings for node native esm
- ([PR#4230](https://togithub.com/dubzzz/fast-check/pull/4230)) Doc:
Release note for 3.13.0
- ([PR#4240](https://togithub.com/dubzzz/fast-check/pull/4240)) Doc:
Some tips on prototype pollution
- ([PR#4246](https://togithub.com/dubzzz/fast-check/pull/4246)) Doc: Fix
typo in "Detect prototype pollution automatically"

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 04:27:48 +00:00
renovate[bot]
d604aaef67
chore(deps): update dependency @types/supertest to v2.0.13 (#4946)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/supertest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/supertest)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`2.0.12` ->
`2.0.13`](https://renovatebot.com/diffs/npm/@types%2fsupertest/2.0.12/2.0.13)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fsupertest/2.0.13?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fsupertest/2.0.13?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fsupertest/2.0.12/2.0.13?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fsupertest/2.0.12/2.0.13?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 00:28:19 +00:00
renovate[bot]
fb111ed3c3
chore(deps): update dependency @types/semver to v7.5.3 (#4945)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/semver](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`7.5.2` ->
`7.5.3`](https://renovatebot.com/diffs/npm/@types%2fsemver/7.5.2/7.5.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fsemver/7.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fsemver/7.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fsemver/7.5.2/7.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fsemver/7.5.2/7.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 21:37:03 +00:00
renovate[bot]
8d0c33ad13
chore(deps): update dependency @types/react-timeago to v4.1.4 (#4944)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react-timeago](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-timeago)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`4.1.3` ->
`4.1.4`](https://renovatebot.com/diffs/npm/@types%2freact-timeago/4.1.3/4.1.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-timeago/4.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-timeago/4.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-timeago/4.1.3/4.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-timeago/4.1.3/4.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 18:27:38 +00:00
renovate[bot]
f589d7c09f
chore(deps): update dependency @types/react-test-renderer to v17.0.5 (#4943)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react-test-renderer](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-test-renderer)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`17.0.4` ->
`17.0.5`](https://renovatebot.com/diffs/npm/@types%2freact-test-renderer/17.0.4/17.0.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-test-renderer/17.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-test-renderer/17.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-test-renderer/17.0.4/17.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-test-renderer/17.0.4/17.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 15:36:15 +00:00
renovate[bot]
c2ebe57be0
chore(deps): update dependency @types/react-table to v7.7.16 (#4942)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react-table](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-table)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`7.7.15` ->
`7.7.16`](https://renovatebot.com/diffs/npm/@types%2freact-table/7.7.15/7.7.16)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-table/7.7.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-table/7.7.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-table/7.7.15/7.7.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-table/7.7.15/7.7.16?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 14:27:34 +00:00
andreas-unleash
bf527cdbb0
fix: Remove the info from the variants page (#4937)
Remove the info from the variants page

Closes #
[UNL-231](https://linear.app/unleash/issue/UNL-231/remove-the-info-from-the-variants-page)
<img width="1408" alt="Screenshot 2023-10-05 at 15 11 33"
src="https://github.com/Unleash/unleash/assets/104830839/68bac945-af00-4c9b-ae6d-faeed92ec4bb">

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-05 17:18:58 +03:00
renovate[bot]
78ed89ee48
chore(deps): update dependency @types/react-linkify to v1.0.2 (#4940)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react-linkify](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-linkify)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`1.0.1` ->
`1.0.2`](https://renovatebot.com/diffs/npm/@types%2freact-linkify/1.0.1/1.0.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-linkify/1.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-linkify/1.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-linkify/1.0.1/1.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-linkify/1.0.1/1.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 13:12:48 +00:00
andreas-unleash
bd008c821a
fix: remove console from FeatureToggleSwitch (#4928)
Removes missed console log from FeatureToggleSwitch

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-05 16:00:49 +03:00
andreas-unleash
e418e9c46f
fix: make cypress list length checks more relaxed (#4933)
This PR fixes the overview.spec by relaxing the expectation on row
count.
This expectation does not seem relevant enough for some tests

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-05 14:50:46 +03:00
renovate[bot]
d5da20f0d2
chore(deps): update dependency @types/mime to v3.0.2 (#4935)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/mime](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`3.0.1` ->
`3.0.2`](https://renovatebot.com/diffs/npm/@types%2fmime/3.0.1/3.0.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fmime/3.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fmime/3.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fmime/3.0.1/3.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fmime/3.0.1/3.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 11:25:24 +00:00
David Leek
40ebb7ef95
fix: only delete SSO-synced group membership where membership was added by SSO sync (#4929)
Fixes an issue where SSO group sync would delete a syncable group that a
user was manually added to

## Discussion points

Is this the longterm fix for this? Or would we want another column in
the mapping table for future-proofing this?
2023-10-05 13:22:46 +02:00
renovate[bot]
8d0e947f31
chore(deps): update dependency @types/memoizee to v0.4.9 (#4934)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/memoizee](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/memoizee)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`0.4.8` ->
`0.4.9`](https://renovatebot.com/diffs/npm/@types%2fmemoizee/0.4.8/0.4.9)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fmemoizee/0.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fmemoizee/0.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fmemoizee/0.4.8/0.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fmemoizee/0.4.8/0.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 11:07:38 +00:00
Mateusz Kwasniewski
2c7587ba4b
feat: dependent features in playground (#4930) 2023-10-05 13:05:20 +02:00
renovate[bot]
5d11d5b0fd
chore(deps): update dependency @types/make-fetch-happen to v10.0.2 (#4932)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/make-fetch-happen](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/make-fetch-happen)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`10.0.1` ->
`10.0.2`](https://renovatebot.com/diffs/npm/@types%2fmake-fetch-happen/10.0.1/10.0.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fmake-fetch-happen/10.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fmake-fetch-happen/10.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fmake-fetch-happen/10.0.1/10.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fmake-fetch-happen/10.0.1/10.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

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

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://togithub.com/swc-project/swc)) | [`1.3.88` ->
`1.3.90`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.88/1.3.90) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.3.90?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.3.90?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.3.88/1.3.90?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.3.88/1.3.90?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc (@&#8203;swc/core)</summary>

###
[`v1.3.90`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1390---2023-09-27)

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

##### Bug Fixes

- **(es/codegen)** Fix codegen of unicode surrogates
([#&#8203;7985](https://togithub.com/swc-project/swc/issues/7985))
([39c680d](39c680d814))

- **(es/codegen)** Fix codegen of optional chaining expr with a comment
([#&#8203;8005](https://togithub.com/swc-project/swc/issues/8005))
([f07bb48](f07bb482e6))

- **(es/typescript)** Handle `DeclareCollect` correctly
([#&#8203;8008](https://togithub.com/swc-project/swc/issues/8008))
([9d08b8a](9d08b8a614))

- **(es/typescript)** Handle qualified access in assign pat
([#&#8203;8012](https://togithub.com/swc-project/swc/issues/8012))
([2f01aba](2f01aba978))

###
[`v1.3.89`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1389---2023-09-25)

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

##### Bug Fixes

- **(es)** Enable resolver if `jsc.baseUrl` is specified
([#&#8203;7998](https://togithub.com/swc-project/swc/issues/7998))
([f374ad9](f374ad903a))

- **(es/compat)** Skip function scope in `block-scoped-fns` pass
([#&#8203;7975](https://togithub.com/swc-project/swc/issues/7975))
([d91a554](d91a554033))

##### Refactor

- **(es/typescript)** Reimplement TypeScript pass
([#&#8203;7202](https://togithub.com/swc-project/swc/issues/7202))
([9c9a538](9c9a538f23))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 08:22:36 +00:00
renovate[bot]
99e7aec18a
chore(deps): update actions/checkout action to v4 (#4741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 10:19:57 +02:00
Gastón Fournier
0da48cc0d1
chore: revamp transactional impl (#4916)
## About the changes
This transactional implementation decorates a service with a
transactional method that removes the need to start transactions in the
method using the service.

This is a gradual rollout with a feature toggle, just because
transactions are not easy.
2023-10-04 15:16:37 +02:00
andreas-unleash
630028acba
fix: linting (#4925)
Biome linting fix

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-04 15:59:39 +03:00
andreas-unleash
784d38c230
fix: ReportTable status column not updating (#4924)
Fixes a bug where the status and expiredAt columns where not updating
dynamically

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-04 12:27:11 +00:00
Mateusz Kwasniewski
bc650ffe3f
feat: flag for clone dependencies (#4922) 2023-10-04 13:29:36 +02:00
Mateusz Kwasniewski
257414424d
feat: copy feature with parent (#4918) 2023-10-04 12:20:27 +02:00
Mateusz Kwasniewski
5141d9db67
feat: change project with feature dependencies (#4915) 2023-10-04 12:16:52 +02:00
dependabot[bot]
1c4897da4d
chore(deps): bump get-func-name from 2.0.0 to 2.0.2 in /frontend (#4857)
Bumps [get-func-name](https://github.com/chaijs/get-func-name) from
2.0.0 to 2.0.2.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 12:08:18 +02:00
Gastón Fournier
8adc711949
chore: automate changelog generation on release branch (#4914)
## About the changes
This generates the changelog in the branch taking into account latest
release (it's conditional to wether the release ends with .0 or not)
2023-10-04 11:52:46 +02:00
andreas-unleash
b07c032d56
fix: update potentially-stale status dynamically (#4905)
Fixes 2 bugs:

- project-health-service keeping the feature types as an instance
variable and only updating it once was preventing real calculation to
happen if the lifetime value changed for a feature toggle type
- the ui was reading from a predefined map for the lifetime values so
they would never reflect the BE change

Closes #
[SR-66](https://linear.app/unleash/issue/SR-66/slack-question-around-potentially-stale-and-its-uses)

<img width="1680" alt="Screenshot 2023-10-02 at 14 37 17"
src="https://github.com/Unleash/unleash/assets/104830839/7bee8d4a-9054-4214-a1a2-11ad8169c3d5">
<img width="1660" alt="Screenshot 2023-10-02 at 14 37 06"
src="https://github.com/Unleash/unleash/assets/104830839/23bf55c7-a380-4423-a732-205ad81d5c3c">

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-10-04 12:47:16 +03:00
Gastón Fournier
bd8b54b5bd
fix: yarn lint:fix (#4917)
## About the changes
Running yarn lint:fix solves errors in frontend
2023-10-04 11:28:05 +02:00
andreas-unleash
c1f8929ddf
fix: separate project and project enterprise settings forms (#4911)
Separates ProjectForm and ProjectEnterpriseSettings forms

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2023-10-04 10:42:02 +03:00
Mateusz Kwasniewski
88305a6388
feat: prevent delete and archive on parent feature (#4913) 2023-10-04 09:27:53 +02:00
Mateusz Kwasniewski
296cc9a9f2
feat: update dependency permission (#4910) 2023-10-04 09:27:14 +02:00
Christopher Kolstad
b319cec5f0
task: use https://git-cliff.org for changelog (#4907)
### What
Initial effort at automating the task of updating CHANGELOG when doing
releases.

This initial PR sets up the tool https://git-cliff.org/ and adds our
missing updates since 4.2.0

The tool should be explored further, we could have the CHANGELOG linking
linear issues, not just github issues, as well as ideally each commit
displayed with it's short sha. However, rather than not having anything
like this for the last 20+ releases, this will at least have our
conventional commits be included in the CHANGELOG file.
2023-10-03 09:40:36 +02:00
Drew Gorton
ab51a495aa
Update more instances of "toggle" with "flag" (#4821)
Landing page + sidebar nav + main 'How to create flags' page

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-10-02 12:37:53 -05:00
Nuno Góis
328a0e4839
chore: adds Biome as a recommended extension for vscode (#4909)
Adds
[Biome](https://marketplace.visualstudio.com/items?itemName=biomejs.biome)
as a recommended VSCode extension for our workspace.
2023-10-02 14:13:28 +01:00
Nuno Góis
280e21f073
refactor: bubble promise instead of return await (#4906)
Tiny refactor that bubbles promises instead of using `return await`.
Should be more consistent with the rest of the changes in
https://github.com/Unleash/unleash/pull/4903
2023-10-02 13:59:53 +01:00
Nuno Góis
4167a60588
feat: biome lint frontend (#4903)
Follows up on https://github.com/Unleash/unleash/pull/4853 to add Biome
to the frontend as well.


![image](https://github.com/Unleash/unleash/assets/14320932/1906faf1-fc29-4172-a4d4-b2716d72cd65)

Added a few `biome-ignore` to speed up the process but we may want to
check and fix them in the future.
2023-10-02 13:25:46 +01:00
Mateusz Kwasniewski
751bc465d6
feat: generate orval types with dependent features (#4902) 2023-10-02 12:35:20 +02:00
Mateusz Kwasniewski
40dfb927e9
feat: parent and child info in feature overview header (#4901) 2023-10-02 11:47:48 +02:00