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

12084 Commits

Author SHA1 Message Date
GitHub Actions Bot
1cac8fa7f8 chore: bump version to 6.2.1 2024-09-11 16:37:04 +00:00
Fredrik Strand Oseberg
0f8316a6de
fix: invert logic (#8135)
The EEA flag is present in enterprise instances which currently is
blocking enterprise customers from accessing this button. This PR
inverts the logic that was changed in #7796.
2024-09-11 18:12:37 +02:00
Fredrik Strand Oseberg
9c435a9ec6
chore: add stringified logs (#8134) 2024-09-11 09:33:13 +02:00
Fredrik Strand Oseberg
8a92dd0fd7
chore: add logging to new code path (#8133) 2024-09-11 08:31:31 +02:00
Fredrik Strand Oseberg
e1b7cfd8dd
Fix/project role permission grant (#8084)
## Background

In #6380 we fixed a privilege escalation bug that allowed members of a
project that had permission to add users to the project with roles that
had a higher permission set than themselves. The PR linked essentially
constricts you only be able to assign users to roles that you possess
yourself if you are not an Admin or Project owner.

This fix broke expectations for another customer who needed to have a
project owner without the DELETE_PROJECT permission. The fix above made
it so that their custom project owner role only was able to assign users
to the project with the role that they posessed.

## Fix

Instead of looking directly at which role the role granter has, this PR
addresses the issue by making the assessment based on the permission
sets of the user and the roles to be granted. If the granter has all the
permissions of the role being granted, the granter is permitted to
assign the role.

## Other considerations

The endpoint to get roles was changed in this PR. It previously only
retrieved the roles that the user had in the project. This no-longer
makes sense because the user should be able to see other project roles
than the one they themselves hold when assigning users to the project.

The drawback of returning all project roles is that there may be a
project role in the list that the user does not have access to assign,
because they do not hold all the permissions required of the role. This
was discussed internally and we decided that it's an acceptable
trade-off for now because the complexities of returning a role list
based on comparing permissions set is not trivial. We would have to
retrieve each project role with permissions from the database, and run
the same in-memory check against the users permission to determine which
roles to return from this endpoint. Instead we opted for returning all
project roles and display an error if you try to assign a role that you
do not have access to.

## Follow up
When this is merged, there's no longer need for the frontend logic that
filters out roles in the role assignment form. I deliberately left this
out of the scope for this PR because I couldn't wrap my head around
everything that was going on there and I thought it was better to pair
on this with @chriswk or @nunogois in order to make sure we get this
right as the logic for this filtering seemed quite complex and was
touching multiple different components.

---------

Co-authored-by: Fredrik Strand Oseberg <fredrikstrandoseberg@Fredrik-sin-MacBook-Pro.local>
2024-09-10 20:35:45 +02:00
renovate[bot]
1532f481d5
fix(deps): update dependency git-url-parse to v14.1.0 (#8128)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [git-url-parse](https://redirect.github.com/IonicaBizau/git-url-parse)
| [`14.0.0` ->
`14.1.0`](https://renovatebot.com/diffs/npm/git-url-parse/14.0.0/14.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/git-url-parse/14.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/git-url-parse/14.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/git-url-parse/14.0.0/14.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/git-url-parse/14.0.0/14.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>IonicaBizau/git-url-parse (git-url-parse)</summary>

###
[`v14.1.0`](https://redirect.github.com/IonicaBizau/git-url-parse/releases/tag/14.1.0)

[Compare
Source](https://redirect.github.com/IonicaBizau/git-url-parse/compare/14.0.0...14.1.0)

fix parsing with 'blob' in file path /cc
[#&#8203;168](https://redirect.github.com/IonicaBizau/git-url-parse/issues/168)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 17:13:31 +00:00
renovate[bot]
b1b65c5642
fix(deps): update dependency unleash-client to v5.6.1 (#8129)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[unleash-client](https://redirect.github.com/Unleash/unleash-client-node)
| [`5.5.5` ->
`5.6.1`](https://renovatebot.com/diffs/npm/unleash-client/5.5.5/5.6.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/unleash-client/5.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/unleash-client/5.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/unleash-client/5.5.5/5.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/unleash-client/5.5.5/5.6.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>Unleash/unleash-client-node (unleash-client)</summary>

###
[`v5.6.1`](https://redirect.github.com/Unleash/unleash-client-node/releases/tag/v5.6.1)

[Compare
Source](https://redirect.github.com/Unleash/unleash-client-node/compare/v5.6.0...v5.6.1)

#### What's Changed

- Revert "feat: automatically generated instanceId
([#&#8203;637](https://redirect.github.com/Unleash/unleash-client-node/issues/637))"
by [@&#8203;nunogois](https://redirect.github.com/nunogois) in
[https://github.com/Unleash/unleash-client-node/pull/640](https://redirect.github.com/Unleash/unleash-client-node/pull/640)

**Full Changelog**:
https://github.com/Unleash/unleash-client-node/compare/v5.6.0...v5.6.1

###
[`v5.6.0`](https://redirect.github.com/Unleash/unleash-client-node/releases/tag/v5.6.0)

[Compare
Source](https://redirect.github.com/Unleash/unleash-client-node/compare/v5.5.5...v5.6.0)

#### What's Changed

- chore(deps): update dependency typescript to v5.5.2 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/Unleash/unleash-client-node/pull/631](https://redirect.github.com/Unleash/unleash-client-node/pull/631)
- chore(deps): update unleash/.github action to v1.2.0 by
[@&#8203;renovate](https://redirect.github.com/renovate) in
[https://github.com/Unleash/unleash-client-node/pull/632](https://redirect.github.com/Unleash/unleash-client-node/pull/632)
- feat: automatically generated instanceId by
[@&#8203;nunogois](https://redirect.github.com/nunogois) in
[https://github.com/Unleash/unleash-client-node/pull/637](https://redirect.github.com/Unleash/unleash-client-node/pull/637)
- feat: http and https proxy support by
[@&#8203;kwasniew](https://redirect.github.com/kwasniew) in
[https://github.com/Unleash/unleash-client-node/pull/638](https://redirect.github.com/Unleash/unleash-client-node/pull/638)

**Full Changelog**:
https://github.com/Unleash/unleash-client-node/compare/v5.5.5...v5.6.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 17:12:50 +00:00
Melinda Fekete
7051fabecd
Consolide 'What is a feature flag' docs (#8050) 2024-09-09 10:35:56 +02:00
renovate[bot]
b836d117e3
fix(deps): update dependency express-rate-limit to v7.4.0 (#8127)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[express-rate-limit](https://redirect.github.com/express-rate-limit/express-rate-limit)
| [`7.3.1` ->
`7.4.0`](https://renovatebot.com/diffs/npm/express-rate-limit/7.3.1/7.4.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/express-rate-limit/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/express-rate-limit/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/express-rate-limit/7.3.1/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/express-rate-limit/7.3.1/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>express-rate-limit/express-rate-limit
(express-rate-limit)</summary>

###
[`v7.4.0`](https://redirect.github.com/express-rate-limit/express-rate-limit/releases/tag/v7.4.0)

[Compare
Source](https://redirect.github.com/express-rate-limit/express-rate-limit/compare/v7.3.1...v7.4.0)

You can view the changelog
[here](https://express-rate-limit.mintlify.app/reference/changelog).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 02:01:07 +00:00
renovate[bot]
af524e6485
chore(deps): update yarn to v4.4.1 (#8126)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [yarn](https://redirect.github.com/yarnpkg/berry)
([source](https://redirect.github.com/yarnpkg/berry/tree/HEAD/packages/yarnpkg-cli))
| [`4.3.1` ->
`4.4.1`](https://renovatebot.com/diffs/npm/yarn/4.3.1/4.4.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/yarn/4.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/yarn/4.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/yarn/4.3.1/4.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/yarn/4.3.1/4.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>yarnpkg/berry (yarn)</summary>

###
[`v4.4.1`](ab48d624e2...d2afdfcf88)

[Compare
Source](ab48d624e2...d2afdfcf88)

###
[`v4.4.0`](2e73cdb7e2...ab48d624e2)

[Compare
Source](2e73cdb7e2...ab48d624e2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 02:00:25 +00:00
renovate[bot]
0c7bee32e5
chore(deps): update dependency node to v20.17.0 (#8125)
This PR contains the following updates:

| Package | Type | Update | Change | Pending | Age | Adoption | Passing
| Confidence |
|---|---|---|---|---|---|---|---|---|
| [node](https://nodejs.org)
([source](https://redirect.github.com/nodejs/node)) | | minor |
`20.16.0` -> `20.17.0` | |
[![age](https://developer.mend.io/api/mc/badges/age/node-version/node/v20.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/node-version/node/v20.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/node-version/node/v20.16.0/v20.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/node-version/node/v20.16.0/v20.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| devDependencies | minor | [`20.14.15` ->
`20.16.3`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.15/20.16.3)
| `20.16.5` (+1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.16.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.16.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.14.15/20.16.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.14.15/20.16.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>nodejs/node (node)</summary>

###
[`v20.17.0`](https://redirect.github.com/nodejs/node/compare/v20.16.0...v20.17.0)

[Compare
Source](https://redirect.github.com/nodejs/node/compare/v20.16.0...v20.17.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-08 22:28:19 +00:00
renovate[bot]
e2001f3030
chore(deps): update dependency lint-staged to v15.2.10 (#8124)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [lint-staged](https://redirect.github.com/lint-staged/lint-staged) |
[`15.2.9` ->
`15.2.10`](https://renovatebot.com/diffs/npm/lint-staged/15.2.9/15.2.10)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.9/15.2.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.9/15.2.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>lint-staged/lint-staged (lint-staged)</summary>

###
[`v15.2.10`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#15210)

[Compare
Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.9...v15.2.10)

##### Patch Changes

-
[#&#8203;1471](https://redirect.github.com/lint-staged/lint-staged/pull/1471)
[`e3f283b`](e3f283b250)
Thanks [@&#8203;iiroj](https://redirect.github.com/iiroj)! - Update
minor dependencies, including `micromatch@~4.0.8`.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-08 22:28:17 +00:00
renovate[bot]
c956f1be4d
chore(deps): update dependency @types/react to v18.3.5 (#8123)
This PR contains the following updates:

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

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 19:58:28 +00:00
renovate[bot]
cb7fb589bf
chore(deps): update dependency @swc/core to v1.7.22 (#8122)
This PR contains the following updates:

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

---

### Release Notes

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

###
[`v1.7.22`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1722---2024-08-30)

[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.7.21...v1.7.22)

##### Bug Fixes

- **(es/minifier)** Iterate object properties in reverse direction while
inlining property access
([#&#8203;9507](https://redirect.github.com/swc-project/swc/issues/9507))
([f584ef7](f584ef76d7))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 19:57:21 +00:00
Mateusz Kwasniewski
152e074c2d
test: improve onboarding test (#8121) 2024-09-06 13:45:22 +02:00
Mateusz Kwasniewski
0fa3738412
chore: adjust language names (#8117) 2024-09-06 12:45:22 +02:00
Mateusz Kwasniewski
e8fee92838
feat: explain complete feature name (#8120) 2024-09-06 12:45:06 +02:00
Mateusz Kwasniewski
47753b90b2
fix: user projects should exclude archived ones (#8118) 2024-09-06 12:29:05 +02:00
Jaanus Sellin
028cf06f6c
feat: make node example more consistent (#8111) 2024-09-06 13:22:23 +03:00
Jaanus Sellin
b6e22d6178
feat: new onboarding welcome screen logic (#8110)
1. We will not show grid until 2 flags exist
2. Now new feature creation button will be always displayed on top with
different style
3. Moved some text around


![image](https://github.com/user-attachments/assets/6cfc2152-b52d-479c-8a2e-988c9e8b79ad)
2024-09-06 13:15:28 +03:00
Thomas Heartman
f0ba4e5180
fix: allow you to save default strategies with the right permissions (#8114)
Allow you to edit default strategies in the UI if you have the
update_project or project_default_strategy_write permissions. These are
the same permissions that we use in the API.

Previously, we used the update_feature_strategy permission here, but
that one is intended to be used for updating strategies belonging to
actual flags.

One of the trickier bits here is that we use the `StrategyVariants`
component, which previously had baked in the permission required
(update_feature_environment_variants). Because the permissions are
different for the default strategy, I updated the component to make it
configurable, but for the default to be the old permission (so that
other uses aren't affected).
2024-09-06 12:00:46 +02:00
Mateusz Kwasniewski
0b656db80a
test: onboarding test with existing key (#8116) 2024-09-06 11:50:52 +02:00
Thomas Heartman
00e63609d4
fix: allow you to see default strategies if you have write access (#8113)
Previously, you needed read access specifically to see default
strategies. So even if you could write default strategies, you
couldn't access them in the UI without the read permission too.

This changes it so that you can see default strategies if you have
write permission.
2024-09-06 11:49:22 +02:00
Thomas Heartman
c1092bacf9
fix: give project_default_strategy_write the ability to update the default strategy (#8112)
This appears to have been an oversight in the original implementation
of this endpoint. This seems to be the primary point of this
permission. Additionally, the docs mention that this permission should
allow you to do just that.

Note: I've not added any tests for this, because we don't typically add
tests for it. If we have an example to follow, I'd be very happy to add
it, though
2024-09-06 11:49:11 +02:00
Thomas Heartman
7e52da11bc
fix: Also display strategy variant information on default strategies (#8115)
This change copies (and then simplifies) the strategy variant display
logic from

`frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/StrategyItem.tsx`
and inserts it into the `ProjectEnvironmentDefaultStrategy` component.

Before:

![image](https://github.com/user-attachments/assets/c00098c3-3161-4a89-a6cf-8db711b4fb3e)


After:

![image](https://github.com/user-attachments/assets/4fdd46f1-97a4-4344-98e1-16c842947a1c)
2024-09-06 11:47:59 +02:00
renovate[bot]
ae719325cc
chore(deps): update dependency msw to v2.4.1 (#8108)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io)
([source](https://redirect.github.com/mswjs/msw)) | [`2.3.5` ->
`2.4.1`](https://renovatebot.com/diffs/npm/msw/2.3.5/2.4.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/msw/2.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/msw/2.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/msw/2.3.5/2.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/msw/2.3.5/2.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mswjs/msw (msw)</summary>

###
[`v2.4.1`](https://redirect.github.com/mswjs/msw/releases/tag/v2.4.1)

[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.4.0...v2.4.1)

#### v2.4.1 (2024-08-29)

##### Bug Fixes

- import `graphql` lazily
([#&#8203;2250](https://redirect.github.com/mswjs/msw/issues/2250))
([`1799e06`](1799e0638f))
[@&#8203;kettanaito](https://redirect.github.com/kettanaito)
- add `graphql` to "peerDependencies"
([#&#8203;2249](https://redirect.github.com/mswjs/msw/issues/2249))
([`8a9568a`](8a9568ad45))
[@&#8203;THETCR](https://redirect.github.com/THETCR)

###
[`v2.4.0`](https://redirect.github.com/mswjs/msw/releases/tag/v2.4.0)

[Compare
Source](https://redirect.github.com/mswjs/msw/compare/v2.3.5...v2.4.0)

#### v2.4.0 (2024-08-28)

##### Features

- add `HttpResponse.html()` static method
([#&#8203;2140](https://redirect.github.com/mswjs/msw/issues/2140))
([`8c5580a`](8c5580a0e2))
[@&#8203;scruffymongrel](https://redirect.github.com/scruffymongrel)
[@&#8203;kettanaito](https://redirect.github.com/kettanaito)
- list "graphql" as an optional peer dependency
([#&#8203;2187](https://redirect.github.com/mswjs/msw/issues/2187))
([`40b17fd`](40b17fdf65))
[@&#8203;kettanaito](https://redirect.github.com/kettanaito)
- print request body in `onUnhandledRequest` message
([#&#8203;2227](https://redirect.github.com/mswjs/msw/issues/2227))
([`a2153c9`](a2153c93ed))
[@&#8203;bitttttten](https://redirect.github.com/bitttttten)
[@&#8203;kettanaito](https://redirect.github.com/kettanaito)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 01:15:20 +00:00
renovate[bot]
c08fbafbaf
chore(deps): update dependency fast-check to v3.22.0 (#8107)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fast-check](https://fast-check.dev/)
([source](https://redirect.github.com/dubzzz/fast-check/tree/HEAD/packages/fast-check))
| [`3.21.0` ->
`3.22.0`](https://renovatebot.com/diffs/npm/fast-check/3.21.0/3.22.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fast-check/3.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fast-check/3.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fast-check/3.21.0/3.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fast-check/3.21.0/3.22.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v3.22.0`](https://redirect.github.com/dubzzz/fast-check/blob/HEAD/packages/fast-check/CHANGELOG.md#3220)

[Compare
Source](https://redirect.github.com/dubzzz/fast-check/compare/v3.21.0...v3.22.0)

*Graphemes support on `fc.string`*

\[[Code](https://redirect.github.com/dubzzz/fast-check/tree/v3.22.0)]\[[Diff](https://redirect.github.com/dubzzz/fast-check/compare/v3.21.0...v3.22.0)]

#### Features

- ([PR#5222](https://redirect.github.com/dubzzz/fast-check/pull/5222))
Support for grapheme on `fc.string`
- ([PR#5233](https://redirect.github.com/dubzzz/fast-check/pull/5233))
Mark as deprecated most of char and string arbitraries
- ([PR#5238](https://redirect.github.com/dubzzz/fast-check/pull/5238))
Deprecate `bigInt`'s alternatives

#### Fixes

- ([PR#5237](https://redirect.github.com/dubzzz/fast-check/pull/5237))
CI: Drop TypeScript rc release channel
- ([PR#5241](https://redirect.github.com/dubzzz/fast-check/pull/5241))
CI: Move to changeset
- ([PR#5199](https://redirect.github.com/dubzzz/fast-check/pull/5199))
Doc: Publish release note for 3.21.0
- ([PR#5240](https://redirect.github.com/dubzzz/fast-check/pull/5240))
Doc: Better `string`'s deprecation note in documentation
- ([PR#5203](https://redirect.github.com/dubzzz/fast-check/pull/5203))
Refactor: Add missing types on exported

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 01:14:30 +00:00
renovate[bot]
1f7a174946
chore(deps): update dependency cypress to v13.14.1 (#8106)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [cypress](https://cypress.io)
([source](https://redirect.github.com/cypress-io/cypress)) | [`13.13.2`
-> `13.14.1`](https://renovatebot.com/diffs/npm/cypress/13.13.2/13.14.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/13.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/13.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/13.13.2/13.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/13.13.2/13.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>cypress-io/cypress (cypress)</summary>

###
[`v13.14.1`](https://redirect.github.com/cypress-io/cypress/compare/v13.14.0...v13.14.1)

[Compare
Source](https://redirect.github.com/cypress-io/cypress/compare/v13.14.0...v13.14.1)

###
[`v13.14.0`](https://redirect.github.com/cypress-io/cypress/releases/tag/v13.14.0)

[Compare
Source](https://redirect.github.com/cypress-io/cypress/compare/v13.13.3...v13.14.0)

Changelog: https://docs.cypress.io/guides/references/changelog#13-14-0

###
[`v13.13.3`](https://redirect.github.com/cypress-io/cypress/releases/tag/v13.13.3)

[Compare
Source](https://redirect.github.com/cypress-io/cypress/compare/v13.13.2...v13.13.3)

Changelog: https://docs.cypress.io/guides/references/changelog#13-13-3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 22:51:20 +00:00
renovate[bot]
65d3a2d325
chore(deps): update dependency @xmldom/xmldom to ^0.9.0 (#8105)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@xmldom/xmldom](https://redirect.github.com/xmldom/xmldom) |
[`^0.8.4` ->
`^0.9.0`](https://renovatebot.com/diffs/npm/@xmldom%2fxmldom/0.8.10/0.9.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@xmldom%2fxmldom/0.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@xmldom%2fxmldom/0.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@xmldom%2fxmldom/0.8.10/0.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@xmldom%2fxmldom/0.8.10/0.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v0.9.0`](https://redirect.github.com/xmldom/xmldom/blob/HEAD/CHANGELOG.md#090)

[Compare
Source](https://redirect.github.com/xmldom/xmldom/compare/0.8.10...0.9.0)

-
[Discussion](https://redirect.github.com/xmldom/xmldom/discussions/435)
- [Summary on
dev.to](https://dev.to/karfau/release-090-of-xmldomxmldom-4106)

##### Features

- feat: expose all DOM level 2 element prototypes
[`#637`](https://redirect.github.com/xmldom/xmldom/pull/637) /
[`#40`](https://redirect.github.com/xmldom/xmldom/issues/40)
- feat: add iterator function to NodeList and NamedNodeMap
[`#634`](https://redirect.github.com/xmldom/xmldom/pull/634) /
[`#633`](https://redirect.github.com/xmldom/xmldom/issues/633)

##### Fixed

- parse empty/whitspace only doctype internal subset
[`#692`](https://redirect.github.com/xmldom/xmldom/pull/692)
- avoid prototype clash in namespace prefix
[`#554`](https://redirect.github.com/xmldom/xmldom/pull/554)
- report fatalError when doctype is inside elements
[`#550`](https://redirect.github.com/xmldom/xmldom/pull/550)

##### Other

- test: add fuzz target and regression tests
[`#556`](https://redirect.github.com/xmldom/xmldom/pull/556)
- chore: improve .gitignore and provide .envrc.template
[`#697`](https://redirect.github.com/xmldom/xmldom/pull/697)
- chore: Apply security best practices
[`#546`](https://redirect.github.com/xmldom/xmldom/pull/546)
- ci: check test coverage in PRs
[`#524`](https://redirect.github.com/xmldom/xmldom/pull/524)
- docs: add missing commas to readme
[`#566`](https://redirect.github.com/xmldom/xmldom/pull/566)
- docs: click to copy install command in readme
[`#644`](https://redirect.github.com/xmldom/xmldom/pull/644)
- docs: enhance jsdoc comments
[`#511`](https://redirect.github.com/xmldom/xmldom/pull/511)

Thank you, [@&#8203;kboshold](https://redirect.github.com/kboshold),
[@&#8203;edi9999](https://redirect.github.com/edi9999),
[@&#8203;apupier](https://redirect.github.com/apupier),
[@&#8203;shunkica](https://redirect.github.com/shunkica),
[@&#8203;homer0](https://redirect.github.com/homer0),
[@&#8203;jhauga](https://redirect.github.com/jhauga),
[@&#8203;UdayKharatmol](https://redirect.github.com/UdayKharatmol), for
your contributions

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 22:51:07 +00:00
renovate[bot]
582f32e564
chore(deps): update dependency @testing-library/jest-dom to v6.5.0 (#8104)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@testing-library/jest-dom](https://redirect.github.com/testing-library/jest-dom)
| [`6.4.8` ->
`6.5.0`](https://renovatebot.com/diffs/npm/@testing-library%2fjest-dom/6.4.8/6.5.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2fjest-dom/6.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2fjest-dom/6.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2fjest-dom/6.4.8/6.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2fjest-dom/6.4.8/6.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>testing-library/jest-dom
(@&#8203;testing-library/jest-dom)</summary>

###
[`v6.5.0`](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.8...62f0e3a43262b945bbf6bdd9bf231bf3e4ac7778)

[Compare
Source](https://redirect.github.com/testing-library/jest-dom/compare/v6.4.8...v6.5.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 19:35:25 +00:00
renovate[bot]
11188d255c
fix(deps): update dependency @slack/web-api to v6.12.1 (#8103)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@slack/web-api](https://slack.dev/node-slack-sdk/web-api)
([source](https://redirect.github.com/slackapi/node-slack-sdk)) |
[`6.12.0` ->
`6.12.1`](https://renovatebot.com/diffs/npm/@slack%2fweb-api/6.12.0/6.12.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@slack%2fweb-api/6.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@slack%2fweb-api/6.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@slack%2fweb-api/6.12.0/6.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@slack%2fweb-api/6.12.0/6.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>slackapi/node-slack-sdk (@&#8203;slack/web-api)</summary>

###
[`v6.12.1`](https://redirect.github.com/slackapi/node-slack-sdk/releases/tag/%40slack/web-api%406.12.1)

[Compare
Source](https://redirect.github.com/slackapi/node-slack-sdk/compare/@slack/web-api@6.12.0...@slack/web-api@6.12.1)

#### What's Changed

This patch release bumps the minimum version of axios to 1.7.4 to
address a CVE - see [Axios 1.7.4 release
notes](https://redirect.github.com/axios/axios/releases/tag/v1.7.4) for
more information.

##### Changelog

- web-api@6(chore): bump axios to 1.7.4 to address CVE-2024-39338 -
Thanks [@&#8203;zimeg](https://redirect.github.com/zimeg)! in
[https://github.com/slackapi/node-slack-sdk/pull/1880](https://redirect.github.com/slackapi/node-slack-sdk/pull/1880)

**Full Changelog**:
https://github.com/slackapi/node-slack-sdk/compare/[@&#8203;slack/web-api](https://redirect.github.com/slack/web-api)[@&#8203;6](https://redirect.github.com/6).12.0...[@&#8203;slack/webhook](https://redirect.github.com/slack/webhook)[@&#8203;6](https://redirect.github.com/6).12.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 19:34:30 +00:00
Mateusz Kwasniewski
09e55c10c2
feat: onboarding step badges (#8102) 2024-09-05 15:21:27 +02:00
Nuno Góis
355b3eb58a
chore: remove unused SCIM setting - assumeControlOfExisting (#8101)
This property is unused and should be removed.

This fixes a logged schema error:

```
Invalid response: {
    "schema": "#/components/schemas/scimSettingsSchema",
    "errors": [
        {
            "instancePath": "",
            "schemaPath": "#/required",
            "keyword": "required",
            "params": {
                "missingProperty": "assumeControlOfExisting"
            },
            "message": "must have required property 'assumeControlOfExisting'"
        }
    ]
}
```
2024-09-05 13:45:20 +01:00
Mateusz Kwasniewski
2daa0cd8ca
feat: onboarding stepper (#8100) 2024-09-05 14:11:39 +02:00
Jaanus Sellin
01fb748c01
feat: connection status bubble (#8099)
Fully working cycle


![image](https://github.com/user-attachments/assets/cf20788b-29fa-4489-91e7-7db9f592da9b)
2024-09-05 13:56:25 +03:00
GitHub Actions Bot
397b44bfd3 chore: bump version to 6.2.0 2024-09-05 10:50:52 +00:00
Mateusz Kwasniewski
9f591f0cda
feat: change sdk action (#8098) 2024-09-05 11:55:37 +02:00
Mateusz Kwasniewski
62d03d35cd
feat: check flag status snippet (#8097) 2024-09-05 11:17:42 +02:00
Nuno Góis
ec417bf15e
docs: remove mention of admin name and email env vars (#8096)
https://github.com/Unleash/unleash/pull/7795 mistakenly included a
mention that these environment variables can be used:

- `UNLEASH_DEFAULT_ADMIN_NAME`
- `UNLEASH_DEFAULT_ADMIN_EMAIL`

However that's not really the case, since we decided to remove their
respective implementation before merging that PR.
2024-09-05 09:27:54 +01:00
Tymoteusz Czech
c2c865273e
fix: align short owner username on project card (#8093) 2024-09-05 10:16:38 +02:00
Nuno Góis
39538012ac
fix: use the correct env vars for initial admin account (#8095)
https://github.com/Unleash/unleash/pull/7795 mistakenly changed the
initial admin account environment variables to be:

 - `INITIAL_ADMIN_USER_USERNAME`
 - `INITIAL_ADMIN_USER_PASSWORD`

Instead of the previous:

 - `UNLEASH_DEFAULT_ADMIN_USERNAME`
 - `UNLEASH_DEFAULT_ADMIN_PASSWORD`

See:
https://github.com/Unleash/unleash/pull/7795/files?diff=unified&w=0#diff-a38cc7ae9f963264333b6535498970a33e046dba50a6af554f438343a6edd2ddR319-R334

This PR reverts them back to the correct environment variable names and
adds a test to prevent something similar from happening in the future.
2024-09-05 09:10:51 +01:00
Jaanus Sellin
4b1de563f7
feat: add sdk example box (#8092)
![image](https://github.com/user-attachments/assets/472dcbb2-d981-4d7c-8bbf-b97a6ee4c186)
2024-09-05 10:35:43 +03:00
Nuno Góis
7bfc8b23ee
fix: add request body schema in update segment endpoint (#8085)
https://linear.app/unleash/issue/2-2592/updateimprove-a-segment-via-api-call

Related to https://github.com/Unleash/unleash/issues/7987

This does not make the endpoint necessarily better - It's still a PUT
that acts as a PUT in some ways (expects specific required fields to be
present, resets the project to `null` if it's not included in the body)
and a PATCH in others (ignores most fields if they're not included in
the body). We need to have a more in-depth discussion about developing
long-term strategies for our API and respective OpenAPI spec.

However this at least includes the proper schema for the request body,
which is slightly better than before.
2024-09-05 08:17:04 +01:00
Mateusz Kwasniewski
b1ce02369a
feat: copy to clipboard sdk snippet (#8083) 2024-09-05 08:53:52 +02:00
renovate[bot]
bcf7f5682e
chore(deps): update dependency vite to v5.4.2 (#8091)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://vitejs.dev)
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite))
| [`5.4.0` ->
`5.4.2`](https://renovatebot.com/diffs/npm/vite/5.4.0/5.4.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.4.0/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.4.0/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.4.2`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small542-2024-08-20-small)

[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v5.4.1...v5.4.2)

- chore: remove stale TODOs
([#&#8203;17866](https://redirect.github.com/vitejs/vite/issues/17866))
([e012f29](e012f296df)),
closes
[#&#8203;17866](https://redirect.github.com/vitejs/vite/issues/17866)
- refactor: remove redundant prepend/strip base
([#&#8203;17887](https://redirect.github.com/vitejs/vite/issues/17887))
([3b8f03d](3b8f03d789)),
closes
[#&#8203;17887](https://redirect.github.com/vitejs/vite/issues/17887)
- fix: resolve relative URL generated by `renderBuiltUrl` passed to
module preload
([#&#8203;16084](https://redirect.github.com/vitejs/vite/issues/16084))
([fac3a8e](fac3a8ed68)),
closes
[#&#8203;16084](https://redirect.github.com/vitejs/vite/issues/16084)
- feat: support originalFilename
([#&#8203;17867](https://redirect.github.com/vitejs/vite/issues/17867))
([7d8c0e2](7d8c0e2dcb)),
closes
[#&#8203;17867](https://redirect.github.com/vitejs/vite/issues/17867)

###
[`v5.4.1`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small541-2024-08-15-small)

[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v5.4.0...v5.4.1)

- fix: `build.modulePreload.resolveDependencies` is optimizable
([#&#8203;16083](https://redirect.github.com/vitejs/vite/issues/16083))
([e961b31](e961b31493)),
closes
[#&#8203;16083](https://redirect.github.com/vitejs/vite/issues/16083)
- fix: align CorsOptions.origin type with
[@&#8203;types/cors](https://redirect.github.com/types/cors)
([#&#8203;17836](https://redirect.github.com/vitejs/vite/issues/17836))
([1bda847](1bda847329)),
closes
[#&#8203;17836](https://redirect.github.com/vitejs/vite/issues/17836)
- fix: typings for vite:preloadError
([#&#8203;17868](https://redirect.github.com/vitejs/vite/issues/17868))
([6700594](6700594999)),
closes
[#&#8203;17868](https://redirect.github.com/vitejs/vite/issues/17868)
- fix(build): avoid re-define `__vite_import_meta_env__`
([#&#8203;17876](https://redirect.github.com/vitejs/vite/issues/17876))
([e686d74](e686d749d6)),
closes
[#&#8203;17876](https://redirect.github.com/vitejs/vite/issues/17876)
- fix(deps): update all non-major dependencies
([#&#8203;17869](https://redirect.github.com/vitejs/vite/issues/17869))
([d11711c](d11711c7e4)),
closes
[#&#8203;17869](https://redirect.github.com/vitejs/vite/issues/17869)
- fix(lightningcss): search for assets with correct base path
([#&#8203;17856](https://redirect.github.com/vitejs/vite/issues/17856))
([4e5ce3c](4e5ce3c7a9)),
closes
[#&#8203;17856](https://redirect.github.com/vitejs/vite/issues/17856)
- fix(worker): handle self reference url worker in dependency for build
([#&#8203;17846](https://redirect.github.com/vitejs/vite/issues/17846))
([391bb49](391bb4917b)),
closes
[#&#8203;17846](https://redirect.github.com/vitejs/vite/issues/17846)
- chore: fix picocolors import for local dev
([#&#8203;17884](https://redirect.github.com/vitejs/vite/issues/17884))
([9018255](9018255c69)),
closes
[#&#8203;17884](https://redirect.github.com/vitejs/vite/issues/17884)
- refactor: remove `handleHotUpdate` from watch-package-data plugin
([#&#8203;17865](https://redirect.github.com/vitejs/vite/issues/17865))
([e16bf1f](e16bf1fb14)),
closes
[#&#8203;17865](https://redirect.github.com/vitejs/vite/issues/17865)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 00:32:31 +00:00
renovate[bot]
cd3d64739f
chore(deps): update dependency react-router to v6.26.1 (#8090)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://redirect.github.com/remix-run/react-router)
([source](https://redirect.github.com/remix-run/react-router/tree/HEAD/packages/react-router))
| [`6.26.0` ->
`6.26.1`](https://renovatebot.com/diffs/npm/react-router/6.26.0/6.26.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.26.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.26.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.26.0/6.26.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.26.0/6.26.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v6.26.1`](https://redirect.github.com/remix-run/react-router/compare/react-router@6.26.0...react-router@6.26.1)

[Compare
Source](https://redirect.github.com/remix-run/react-router/compare/react-router@6.26.0...react-router@6.26.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 00:31:52 +00:00
renovate[bot]
83d4debfff
chore(deps): update dependency nock to v13.5.5 (#8089)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [nock](https://redirect.github.com/nock/nock) | [`13.5.4` ->
`13.5.5`](https://renovatebot.com/diffs/npm/nock/13.5.4/13.5.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/nock/13.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/nock/13.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/nock/13.5.4/13.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nock/13.5.4/13.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>nock/nock (nock)</summary>

###
[`v13.5.5`](https://redirect.github.com/nock/nock/compare/v13.5.4...66eb7f48a7bdf50ee79face6403326b02d23253b)

[Compare
Source](https://redirect.github.com/nock/nock/compare/v13.5.4...v13.5.5)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 21:43:19 +00:00
renovate[bot]
789105079c
chore(deps): update dependency @types/pg to v8.11.8 (#8088)
This PR contains the following updates:

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

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 21:42:54 +00:00
renovate[bot]
f811d145aa
chore(deps): update dependency @types/pg to v8.11.7 (#8087)
This PR contains the following updates:

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

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 18:56:55 +00:00
renovate[bot]
5e11ded7d9
chore(deps): update dependency @swc/core to v1.7.21 (#8086)
This PR contains the following updates:

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

---

### Release Notes

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

###
[`v1.7.21`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1721---2024-08-28)

[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.7.19...v1.7.21)

##### Bug Fixes

- **(es/typescript)** Preserve more comments
([#&#8203;9509](https://redirect.github.com/swc-project/swc/issues/9509))
([3e253ec](3e253ecc21))

###
[`v1.7.19`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1719---2024-08-28)

[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.7.18...v1.7.19)

##### Bug Fixes

- **(es/minifier)** Track if a var is used with `in`
([#&#8203;9508](https://redirect.github.com/swc-project/swc/issues/9508))
([7d6269e](7d6269e3b8))

##### Features

- **(es/minifier)** Support mangle cache
([#&#8203;9489](https://redirect.github.com/swc-project/swc/issues/9489))
([af922d8](af922d83e5))

- **(plugin/runner)** Improve error message
([#&#8203;9502](https://redirect.github.com/swc-project/swc/issues/9502))
([da52930](da529304fe))

##### Miscellaneous Tasks

- **(es/codegen)** Bump minimum required swc_allocator version to 0.1.8
([#&#8203;9492](https://redirect.github.com/swc-project/swc/issues/9492))
([5258763](5258763cf6))

##### Refactor

- **(es/utils)** Unify `prepend_stmts`
([#&#8203;9493](https://redirect.github.com/swc-project/swc/issues/9493))
([faec8c1](faec8c134d))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 18:56:20 +00:00