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

8681 Commits

Author SHA1 Message Date
David Leek
78ba72d861
feat: remove experimental flag for telemetry (#4123)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

This removes the experimental feature flag that defaulted to turn off
telemetry collection
2023-06-30 11:27:54 +02:00
Thomas Heartman
4a4f14f69b
ux: return better error message if a segment doesn't exist (#4122)
Catch cases where the segment doesn't exist and populate that error
message with more info: it now says that a segment
with <id> doesn't exist instead of just 'No row'.
2023-06-30 09:02:24 +00:00
David Leek
3a14b97fdd
feat/telemetry opt out (#4035)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

Adds a UI that shows current status of version and feature usage
collection configuration, and a presence in the configuration menu +
menu bar.

Configuring these features is done by setting environment variables. The
version info collection is an existing feature that we're making more
visible, the feature usage collection feature is a new feature that has
it's own environment configuration but also depends on version info
collection being active to work.

When version collection is turned off and the experimental feature flag
for feature usage collection is turned off:
<img width="1269" alt="image"
src="https://github.com/Unleash/unleash/assets/707867/435a07da-d238-4b5b-a150-07e3bd6b816f">


When version collection is turned on and the experimental feature flag
is off:
<img width="1249" alt="image"
src="https://github.com/Unleash/unleash/assets/707867/8d1a76c5-99c9-4551-9a4f-86d477bbbf6f">


When the experimental feature flag is enabled, and version+telemetry is
turned off:
<img width="1239" alt="image"
src="https://github.com/Unleash/unleash/assets/707867/e0bc532b-be94-4076-bee1-faef9bc48a5b">


When version collection is turned on, the experimental feature flag is
enabled, and telemetry collection is turned off:
<img width="1234" alt="image"
src="https://github.com/Unleash/unleash/assets/707867/1bd190c1-08fe-4402-bde3-56f863a33289">


When version collection is turned on, the experimental feature flag is
enabled, and telemetry collection is turned on:
<img width="1229" alt="image"
src="https://github.com/Unleash/unleash/assets/707867/848912cd-30bd-43cf-9b81-c58a4cbad1e4">


When version collection is turned off, the experimental feature flag is
enabled, and telemetry collection is turned on:
<img width="1241" alt="image"
src="https://github.com/Unleash/unleash/assets/707867/d2b981f2-033f-4fae-a115-f93e0653729b">

---------

Co-authored-by: sighphyre <liquidwicked64@gmail.com>
Co-authored-by: Nuno Góis <github@nunogois.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-06-30 08:43:58 +02:00
Nuno Góis
73b4ae18c1
feat: responsive strategy icons (#4121)
https://linear.app/unleash/issue/2-1167/multiple-strategies-breaking-the-environment-card

https://linear.app/unleash/issue/2-1179/buttons-have-an-extra-space-if-the-icon-its-not-visible

This fixes the broken UI when we have too many strategies.

Before:
<img width="1500" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/ddf2f636-965c-4527-b879-dba5c16d9630">

After:
<img width="1303" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/852c20c9-c5f4-4aa5-b8c0-e5bc5286c572">

We also added the new strategy type to the tooltips:
<img width="519" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/117ee00f-f2a7-4ecb-8596-44486a2870a2">

<img width="422" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/4281a48c-4b6e-4100-86e2-29dfe9ce4cec">

This also fixes an extra margin we caught on our `PermissionButton` when
it had no endIcon set.

Co-authored by: @daveleek

---------

Co-authored-by: David Leek <david@getunleash.io>
2023-06-29 18:01:27 +01:00
Jaanus Sellin
b6f405d1af
fix: default strategy groupId failure (#4120) 2023-06-29 16:40:14 +03:00
Christopher Kolstad
b99eafc9cc
docs: Context api tag (#4117)
### What
Added documentation for context fields and endpoints tagged with the
"Context" tag.

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-06-29 14:04:48 +02:00
Tymoteusz Czech
a073792d8c
fix: project 404 (#4114)
## About the changes
If project doesn't exist, show 404 information.

![image](https://github.com/Unleash/unleash/assets/2625371/6d7e1dfa-52f0-495b-a559-9733ec0b9340)

<!-- Does it close an issue? Multiple? -->
Closes
[issue/1-1069](https://linear.app/unleash/issue/1-1069/project-doesnt-show-404-if-it-doesnt-exist)
2023-06-29 12:48:32 +02:00
Jaanus Sellin
19770fc33c
fix: metrics performance patch (#4108) 2023-06-29 13:14:37 +03:00
John Farrar
65995b238a
Update index.md, 2 grammar updates (#4086)
Included a library from the ColdBox Open Source team.

More detail here if needed.
https://forgebox.io/view/unleashsdk

I cheated on the grammar. Grammarly helps me out there.
2023-06-29 10:02:27 +00:00
Thomas Heartman
be4c0f2578
chore: remove unused imports from yarn lint (#4082) 2023-06-29 09:08:00 +00:00
Thomas Heartman
be0e94105d
bug(#3545): include strategy titles on playground evaluation results (#4084)
This PR adds strategy titles as an optional bit of data added to client
features. It's only added when prompted.


![image](https://github.com/Unleash/unleash/assets/17786332/99509679-2aab-4c2a-abff-c6e6f27d8074)

## Discussion points:

### getPlaygroundFeatures

The optional `includeStrategyId` parameter has been replaced by a
`getPlaygroundFeatures` in the service (and in the underlying store).
The playground was the only place that used this specific include, so
instead of adding more and making the interface for that method more
complex, I created a new method that deals specifically with the
playground.

The underlying store still uses an `optionalIncludes` parameter,
however. I have a plan to make that interface more fluid, but I'd like
to propose that in a follow-up PR.
2023-06-29 10:38:51 +02:00
Christopher Kolstad
c2cf24ae1d
fix: Default email sender to getunleash.io domain (#3739)
As part of the move to a unified domain this PR updates the default
EMAIL_SENDER to noreply@getunleash.io . Should not be merged/deployed
until we've verified DMARC, DKIM for the new domain.
2023-06-29 06:44:27 +00:00
Nuno Góis
0b3ed79ecc
refactor: roles - make better plan assumptions (#4113)
https://linear.app/unleash/issue/2-1171/refactor-custom-root-roles-with-correct-plan-assumptions

This cleans up the hotfix `RoleSelect2` component and makes `RoleSelect`
take in a `roles` prop from the parent component.

This also simplifies the role hooks again to assume Enterprise plan by
default. This means, however, that we must ensure that we only call
these hooks in Enterprise features or, if we do call them in other
plans, that we provide a graceful fallback for non-Enterprise.
Non-Enterprise instances do not have this endpoint, and so they are
currently grabbing role information from e.g. `useUsers` and
`useServiceAccounts`.

I'm not sure how I feel about this. Roles are an overarching concept of
Unleash. To me, having to be extremely conscious about the exact
scenario in which you're using such a hook feels like a trap, instead of
"I need roles, so I'll grab the `useRoles` hook and not think much about
it". I also don't like the way `roles` are currently tied to the users,
service accounts, project access, (...) instead of being its own thing.

This could be solved by a `RoleController` exposing the GET endpoints in
OSS, since all of the logic we need for this use-case lives there
anyways. This would then be overridden with the Enterprise-specific
controller when wrapped. This way we could assume the endpoint is always
there, no matter the plan.
This is just an idea and not something I explored in the PR. For now I'm
just focusing on leaving this feature in a sane state.

Tested this manually on `Pro` and `Enterprise` and I believe everything
is acting the way we intend, but would love some extra eyes.
2023-06-28 16:00:14 +01:00
Gastón Fournier
bc68b5d265
chore: remove sync to enterprise from release branches (#4112)
## About the changes
When we do releases on the release branch we should not sync that back
to master on unleash-enterprise repo. At most we can trigger a different
process to automate the release of unleash-enterprise, but that'd be a
different story.
2023-06-28 14:13:18 +02:00
renovate[bot]
5754d3064c
chore(deps): update dependency sass to v1.63.5 (#4105)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>sass/dart-sass (sass)</summary>

###
[`v1.63.5`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1635)

[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.63.4...1.63.5)

##### JavaScript API

- Fix a bug where loading the package through both CJS `require()` and
ESM
    `import` could crash on Node.js.

##### Embedded Sass

-   Fix a deadlock when running at high concurrency on 32-bit systems.

- Fix a race condition where the embedded compiler could deadlock or
crash if a
compilation ID was reused immediately after the compilation completed.

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 11:01:53 +00:00
andreas-unleash
d10ddcb12c
Fix/default strategy group (#4110) 2023-06-28 13:18:44 +03:00
andreas-unleash
5cbbd6f798
chore: remove strategyImprovements flag (#4043)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
Remove strategy improvements flag 
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #
[1-1048](https://linear.app/unleash/issue/1-1048/remove-strategyimprovements-flag)

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

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


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

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-28 11:38:21 +03:00
renovate[bot]
b13f7f8519
chore(deps): update typescript-eslint monorepo to v5.60.0 (#4106)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint)
| [`5.59.11` ->
`5.60.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.59.11/5.60.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.60.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.60.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.60.0/compatibility-slim/5.59.11)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.60.0/confidence-slim/5.59.11)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint)
| [`5.59.11` ->
`5.60.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.59.11/5.60.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.60.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.60.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.60.0/compatibility-slim/5.59.11)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.60.0/confidence-slim/5.59.11)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v5.60.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5600-httpsgithubcomtypescript-eslinttypescript-eslintcomparev55911v5600-2023-06-19)

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

##### Features

- **eslint-plugin:** \[restrict-plus-operands] add allow\* options
([#&#8203;6161](https://togithub.com/typescript-eslint/typescript-eslint/issues/6161))
([def09f8](def09f88cd))

####
[5.59.11](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.10...v5.59.11)
(2023-06-12)

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

####
[5.59.10](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.9...v5.59.10)
(2023-06-12)

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

####
[5.59.9](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.8...v5.59.9)
(2023-06-05)

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

####
[5.59.8](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.7...v5.59.8)
(2023-05-29)

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

####
[5.59.7](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.6...v5.59.7)
(2023-05-22)

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

####
[5.59.6](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.5...v5.59.6)
(2023-05-15)

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

####
[5.59.5](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.4...v5.59.5)
(2023-05-08)

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

####
[5.59.4](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.3...v5.59.4)
(2023-05-08)

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

####
[5.59.3](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.2...v5.59.3)
(2023-05-08)

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

####
[5.59.2](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2)
(2023-05-01)

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

####
[5.59.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1)
(2023-04-24)

##### Bug Fixes

- **eslint-plugin:** \[prefer-regexp-exec] skip malformed regexes
([#&#8203;6935](https://togithub.com/typescript-eslint/typescript-eslint/issues/6935))
([05ed60e](05ed60e25f))
- **eslint-plugin:** \[unified-signatures] no parameters function
([#&#8203;6940](https://togithub.com/typescript-eslint/typescript-eslint/issues/6940))
([2970861](297086154a))

</details>

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

###
[`v5.60.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5600-httpsgithubcomtypescript-eslinttypescript-eslintcomparev55911v5600-2023-06-19)

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

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

####
[5.59.11](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.10...v5.59.11)
(2023-06-12)

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

####
[5.59.10](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.9...v5.59.10)
(2023-06-12)

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

####
[5.59.9](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.8...v5.59.9)
(2023-06-05)

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

####
[5.59.8](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.7...v5.59.8)
(2023-05-29)

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

####
[5.59.7](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.6...v5.59.7)
(2023-05-22)

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

####
[5.59.6](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.5...v5.59.6)
(2023-05-15)

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

####
[5.59.5](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.4...v5.59.5)
(2023-05-08)

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

####
[5.59.4](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.3...v5.59.4)
(2023-05-08)

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

####
[5.59.3](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.2...v5.59.3)
(2023-05-08)

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

####
[5.59.2](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2)
(2023-05-01)

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

####
[5.59.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.0...v5.59.1)
(2023-04-24)

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 07:31:17 +00:00
renovate[bot]
a0b34c1ae9
chore(deps): update dependency cypress to v12.15.0 (#4100)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v12.15.0`](https://togithub.com/cypress-io/cypress/releases/tag/v12.15.0)

[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v12.14.0...v12.15.0)

Changelog:
https://docs.cypress.io/guides/references/changelog#&#8203;12-15-0

###
[`v12.14.0`](https://togithub.com/cypress-io/cypress/releases/tag/v12.14.0)

[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v12.13.0...v12.14.0)

Changelog:
https://docs.cypress.io/guides/references/changelog#&#8203;12-14-0

###
[`v12.13.0`](https://togithub.com/cypress-io/cypress/releases/tag/v12.13.0)

[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v12.12.0...v12.13.0)

Changelog:
https://docs.cypress.io/guides/references/changelog#&#8203;12-13-0

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 06:24:10 +00:00
renovate[bot]
40588c9c26
chore(deps): update dependency @types/node to v17.0.45 (#4099)
[![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/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`17.0.18` ->
`17.0.45`](https://renovatebot.com/diffs/npm/@types%2fnode/17.0.18/17.0.45)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/17.0.45/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/17.0.45/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/17.0.45/compatibility-slim/17.0.18)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/17.0.45/confidence-slim/17.0.18)](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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 04:35:22 +00:00
renovate[bot]
9c3c40b801
chore(deps): update dependency @storybook/testing-library to v0.2.0 (#4103)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>storybookjs/testing-library
(@&#8203;storybook/testing-library)</summary>

###
[`v0.2.0`](https://togithub.com/storybookjs/testing-library/releases/tag/v0.2.0)

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

🎉 This release contains work from a new contributor! 🎉

Thank you, Vanessa Yuen
([@&#8203;vanessayuenn](https://togithub.com/vanessayuenn)), for all
your work!

##### Release Notes

##### Upgrade user-event to v14 and testing-library to v9
([#&#8203;43](https://togithub.com/storybookjs/testing-library/pull/43))

`@storybook/testing-library` now uses `@testing-library/dom` **version
9** and `@testing-library/user-event` **version 14**! 🎉

To refer to new features and bugfixes and you can check them in the
[user-event release
page](https://togithub.com/testing-library/user-event/releases/tag/v14.0.0)
and [testing-library dom release
page](https://togithub.com/testing-library/dom-testing-library/releases/tag/v9.0.0).

***

##### 🚀 Enhancement

- Release 0.2.0
[#&#8203;46](https://togithub.com/storybookjs/testing-library/pull/46)
([@&#8203;yannbf](https://togithub.com/yannbf)
[@&#8203;ndelangen](https://togithub.com/ndelangen)
[@&#8203;vanessayuenn](https://togithub.com/vanessayuenn))
- Upgrade user-event to v14 and testing-library to v9
[#&#8203;43](https://togithub.com/storybookjs/testing-library/pull/43)
([@&#8203;yannbf](https://togithub.com/yannbf))
- migrate to tsup (again)
[#&#8203;38](https://togithub.com/storybookjs/testing-library/pull/38)
([@&#8203;ndelangen](https://togithub.com/ndelangen))

##### 🐛 Bug Fix

- Lower testing library dependency range
[#&#8203;47](https://togithub.com/storybookjs/testing-library/pull/47)
([@&#8203;yannbf](https://togithub.com/yannbf))
- Change Storybook dependencies from `future` npm tag to `next`
[#&#8203;44](https://togithub.com/storybookjs/testing-library/pull/44)
([@&#8203;yannbf](https://togithub.com/yannbf))
- Revert "migrate to tsup"
[#&#8203;37](https://togithub.com/storybookjs/testing-library/pull/37)
([@&#8203;ndelangen](https://togithub.com/ndelangen))
- migrate to tsup
[#&#8203;36](https://togithub.com/storybookjs/testing-library/pull/36)
([@&#8203;ndelangen](https://togithub.com/ndelangen))

##### Authors: 3

- Norbert de Langen
([@&#8203;ndelangen](https://togithub.com/ndelangen))
- Vanessa Yuen
([@&#8203;vanessayuenn](https://togithub.com/vanessayuenn))
-   Yann Braga ([@&#8203;yannbf](https://togithub.com/yannbf))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 00:30:22 +00:00
renovate[bot]
c69e5d03af
chore(deps): update react-router monorepo to v6.13.0 (#4066)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

##### Minor Changes

- Move
[`React.startTransition`](https://react.dev/reference/react/startTransition)
usage behind a [future
flag](https://reactrouter.com/en/main/guides/api-development-strategy)
to avoid issues with existing incompatible `Suspense` usages. We
recommend folks adopting this flag to be better compatible with React
concurrent mode, but if you run into issues you can continue without the
use of `startTransition` until v7. Issues usually boils down to creating
net-new promises during the render cycle, so if you run into issues you
should either lift your promise creation out of the render cycle or put
it behind a `useMemo`.
([#&#8203;10596](https://togithub.com/remix-run/react-router/pull/10596))

    Existing behavior will no longer include `React.startTransition`:

    ```jsx
    <BrowserRouter>
      <Routes>{/*...*/}</Routes>
    </BrowserRouter>

    <RouterProvider router={router} />
    ```

If you wish to enable `React.startTransition`, pass the future flag to
your component:

    ```jsx
    <BrowserRouter future={{ v7_startTransition: true }}>
      <Routes>{/*...*/}</Routes>
    </BrowserRouter>

<RouterProvider router={router} future={{ v7_startTransition: true }}/>
    ```

##### Patch Changes

- Work around webpack/terser `React.startTransition` minification bug in
production mode
([#&#8203;10588](https://togithub.com/remix-run/react-router/pull/10588))

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

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

> **Warning**
> Please use version `6.13.0` or later instead of `6.12.1`. This version
suffers from a `webpack`/`terser` minification issue resulting in
invalid minified code in your resulting production bundles which can
cause issues in your application. See
[#&#8203;10579](https://togithub.com/remix-run/react-router/issues/10579)
for more details.

##### Patch Changes

- Adjust feature detection of `React.startTransition` to fix webpack +
react 17 compilation error
([#&#8203;10569](https://togithub.com/remix-run/react-router/pull/10569))

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

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

##### Minor Changes

- Wrap internal router state updates with `React.startTransition` if it
exists
([#&#8203;10438](https://togithub.com/remix-run/react-router/pull/10438))

##### Patch Changes

-   Updated dependencies:
    -   `@remix-run/router@1.6.3`

</details>

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

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

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

##### Minor Changes

- Move
[`React.startTransition`](https://react.dev/reference/react/startTransition)
usage behind a [future
flag](https://reactrouter.com/en/main/guides/api-development-strategy)
to avoid issues with existing incompatible `Suspense` usages. We
recommend folks adopting this flag to be better compatible with React
concurrent mode, but if you run into issues you can continue without the
use of `startTransition` until v7. Issues usually boils down to creating
net-new promises during the render cycle, so if you run into issues you
should either lift your promise creation out of the render cycle or put
it behind a `useMemo`.
([#&#8203;10596](https://togithub.com/remix-run/react-router/pull/10596))

    Existing behavior will no longer include `React.startTransition`:

    ```jsx
    <BrowserRouter>
      <Routes>{/*...*/}</Routes>
    </BrowserRouter>

    <RouterProvider router={router} />
    ```

If you wish to enable `React.startTransition`, pass the future flag to
your component:

    ```jsx
    <BrowserRouter future={{ v7_startTransition: true }}>
      <Routes>{/*...*/}</Routes>
    </BrowserRouter>

<RouterProvider router={router} future={{ v7_startTransition: true }}/>
    ```

##### Patch Changes

- Work around webpack/terser `React.startTransition` minification bug in
production mode
([#&#8203;10588](https://togithub.com/remix-run/react-router/pull/10588))
-   Updated dependencies:
    -   `react-router@6.13.0`

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

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

> **Warning**
> Please use version `6.13.0` or later instead of `6.12.1`. This version
suffers from a `webpack`/`terser` minification issue resulting in
invalid minified code in your resulting production bundles which can
cause issues in your application. See
[#&#8203;10579](https://togithub.com/remix-run/react-router/issues/10579)
for more details.

##### Patch Changes

- Adjust feature detection of `React.startTransition` to fix webpack +
react 17 compilation error
([#&#8203;10569](https://togithub.com/remix-run/react-router/pull/10569))
-   Updated dependencies:
    -   `react-router@6.12.1`

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

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

##### Minor Changes

- Wrap internal router state updates with `React.startTransition` if it
exists
([#&#8203;10438](https://togithub.com/remix-run/react-router/pull/10438))

##### Patch Changes

- Re-throw `DOMException` (`DataCloneError`) when attempting to perform
a `PUSH` navigation with non-serializable state.
([#&#8203;10427](https://togithub.com/remix-run/react-router/pull/10427))
-   Updated dependencies:
    -   `@remix-run/router@1.6.3`
    -   `react-router@6.12.0`

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 21:44:19 +00:00
Ivar Conradi Østhus
d4390c8759
fix: allow roles to be selected when adding user to project (#4102) 2023-06-27 22:18:30 +02:00
renovate[bot]
b973184c53
chore(deps): update dependency @uiw/react-codemirror to v4.21.3 (#4048)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror)
([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.21.1` ->
`4.21.3`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.21.1/4.21.3)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.3/compatibility-slim/4.21.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.3/confidence-slim/4.21.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror (@&#8203;uiw/react-codemirror)</summary>

###
[`v4.21.3`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.3)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.2...v4.21.3)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.3/file/README.md)

Documentation v4.21.3:
https://raw.githack.com/uiwjs/react-codemirror/04175a5/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.2...v4.21.3

```shell
npm i @&#8203;uiw/react-codemirror@4.21.3
```

- 💄 chore: update workflows config.
[`a1d6627`](https://togithub.com/uiwjs/react-codemirror/commit/a1d6627)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore(deps): update dependency lerna to v7
[#&#8203;48](https://togithub.com/uiwjs/react-codemirror/issues/48)
[`38e78b8`](https://togithub.com/uiwjs/react-codemirror/commit/38e78b8)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: update lerna config.
[`043a23c`](https://togithub.com/uiwjs/react-codemirror/commit/043a23c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style: fix scroller height style.
([#&#8203;519](https://togithub.com/uiwjs/react-codemirror/issues/519))
[`fa8b6f9`](https://togithub.com/uiwjs/react-codemirror/commit/fa8b6f9)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

###
[`v4.21.2`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.2)

[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.1...v4.21.2)


[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.2/file/README.md)

Documentation v4.21.2:
https://raw.githack.com/uiwjs/react-codemirror/a04cba4/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.1...v4.21.2

```shell
npm i @&#8203;uiw/react-codemirror@4.21.2
```

- 🌍 website: update CodeMirror height style.
[`ec18778`](https://togithub.com/uiwjs/react-codemirror/commit/ec18778)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix view update bug.
([#&#8203;520](https://togithub.com/uiwjs/react-codemirror/issues/520))
[`a48c6b6`](https://togithub.com/uiwjs/react-codemirror/commit/a48c6b6)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 19:22:44 +00:00
renovate[bot]
0f6822be1d
chore(deps): update dependency @swc/core to v1.3.66 (#4097)
[![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.64` ->
`1.3.66`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.64/1.3.66) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.66/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.66/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.66/compatibility-slim/1.3.64)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.66/confidence-slim/1.3.64)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v1.3.66`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#&#8203;1366---2023-06-20)

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

##### Bug Fixes

- **(es)** Accept `parse` option for `minify()`
([#&#8203;7543](https://togithub.com/swc-project/swc/issues/7543))
([1d84e95](1d84e952fe))

- **(es/compat)** Visit arrow body from optional chaining pass
([#&#8203;7549](https://togithub.com/swc-project/swc/issues/7549))
([bc6e950](bc6e95052e))

- **(es/preset-env)** Don't log `Yield` to the console
([#&#8203;7548](https://togithub.com/swc-project/swc/issues/7548))
([8cfc4f9](8cfc4f9e9a))

- **(es/resolver)** Resolve the super class before registering a class
name ([#&#8203;7550](https://togithub.com/swc-project/swc/issues/7550))
([1d9f972](1d9f972fb4))

##### Features

- **(es/codegen)** Support `preamble`
([#&#8203;7551](https://togithub.com/swc-project/swc/issues/7551))
([6e5d8b3](6e5d8b3cf1))

##### Testing

- **(es)** Add a test for a wrong issue
([#&#8203;7542](https://togithub.com/swc-project/swc/issues/7542))
([70bc605](70bc605c67))

- **(es)** Add one more test for a wrong issue
([#&#8203;7545](https://togithub.com/swc-project/swc/issues/7545))
([862f095](862f095e65))

- **(plugin/runner)** Share `target` directory
([#&#8203;7544](https://togithub.com/swc-project/swc/issues/7544))
([aa82e5f](aa82e5fff3))

###
[`v1.3.65`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#&#8203;1365---2023-06-19)

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

##### Bug Fixes

- **(es/compat)** Fix optional chaining
([#&#8203;7530](https://togithub.com/swc-project/swc/issues/7530))
([990e48e](990e48e0e8))

- **(es/module)** Add `"use strict"` while preserving directives
([#&#8203;7537](https://togithub.com/swc-project/swc/issues/7537))
([f42fdd2](f42fdd21af))

- **(es/typescript)** Don't panic of `@jsxFrag null`
([#&#8203;7540](https://togithub.com/swc-project/swc/issues/7540))
([76aa91f](76aa91f83c))

##### Features

- **(es/module)** Preserve custom `use` directives
([#&#8203;7528](https://togithub.com/swc-project/swc/issues/7528))
([3e9dd88](3e9dd88e37))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 16:34:34 +00:00
renovate[bot]
c979cf8dce
chore(deps): update dependency vitest to v0.32.2 (#4059)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>vitest-dev/vitest</summary>

###
[`v0.32.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.2)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2)

#####    🐞 Bug Fixes

- **browser**: Don't fail on importing diff-sequences  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(00b0e)</samp>](https://togithub.com/vitest-dev/vitest/commit/00b0e6a3)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2)

###
[`v0.32.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.1)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1)

#####    🚀 Features

- Export `registerConsoleShortcuts` from `vitest/node`  -  by
[@&#8203;deot](https://togithub.com/deot) in
[https://github.com/vitest-dev/vitest/issues/3563](https://togithub.com/vitest-dev/vitest/issues/3563)
[<samp>(bc49b)</samp>](https://togithub.com/vitest-dev/vitest/commit/bc49bac7)
- **expect**: Support `expect.unreachable`  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3556](https://togithub.com/vitest-dev/vitest/issues/3556)
[<samp>(8e385)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e385bb0)
- **runner**: `describe`/`test` name support anonymous function  -  by
[@&#8203;btea](https://togithub.com/btea) in
[https://github.com/vitest-dev/vitest/issues/3562](https://togithub.com/vitest-dev/vitest/issues/3562)
[<samp>(3d436)</samp>](https://togithub.com/vitest-dev/vitest/commit/3d43638c)

#####    🐞 Bug Fixes

- Avoid call stack recursion with large error (fix:
[#&#8203;3060](https://togithub.com/vitest-dev/vitest/issues/3060))  - 
by [@&#8203;nathanmmiller](https://togithub.com/nathanmmiller) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3078](https://togithub.com/vitest-dev/vitest/issues/3078)
and
[https://github.com/vitest-dev/vitest/issues/3060](https://togithub.com/vitest-dev/vitest/issues/3060)
[<samp>(02196)</samp>](https://togithub.com/vitest-dev/vitest/commit/02196f9d)
- Automatically remove define related configuration  -  by
[@&#8203;btea](https://togithub.com/btea) in
[https://github.com/vitest-dev/vitest/issues/3552](https://togithub.com/vitest-dev/vitest/issues/3552)
[<samp>(368b8)</samp>](https://togithub.com/vitest-dev/vitest/commit/368b8259)
- Import `performance` from `perf_hooks`  -  by
[@&#8203;Max10240](https://togithub.com/Max10240) and
**wangbaolong.wbl** in
[https://github.com/vitest-dev/vitest/issues/3578](https://togithub.com/vitest-dev/vitest/issues/3578)
and
[https://github.com/vitest-dev/vitest/issues/3579](https://togithub.com/vitest-dev/vitest/issues/3579)
[<samp>(24ec8)</samp>](https://togithub.com/vitest-dev/vitest/commit/24ec85a8)
- Revert concordance diff, use jest's diff output  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3582](https://togithub.com/vitest-dev/vitest/issues/3582)
[<samp>(9c7ea)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c7ea382)
- Typo in config suggestion  -  by
[@&#8203;Krisell](https://togithub.com/Krisell) in
[https://github.com/vitest-dev/vitest/issues/3583](https://togithub.com/vitest-dev/vitest/issues/3583)
[<samp>(68985)</samp>](https://togithub.com/vitest-dev/vitest/commit/689855bb)
-   **browser**:
- Change optimized deps to use `vitest`  -  by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/3580](https://togithub.com/vitest-dev/vitest/issues/3580)
[<samp>(b4ac8)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4ac88e9)
- Access **vi_inject** only if it was injected  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3587](https://togithub.com/vitest-dev/vitest/issues/3587)
[<samp>(d9e14)</samp>](https://togithub.com/vitest-dev/vitest/commit/d9e1419a)
-   **mocker**:
- Respect namespace import when hoisting vi.mock  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3547](https://togithub.com/vitest-dev/vitest/issues/3547)
[<samp>(158c4)</samp>](https://togithub.com/vitest-dev/vitest/commit/158c4bb0)
-   **ui**:
- Navigate to dashboard when re-running tests from coverage page  -  by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/3529](https://togithub.com/vitest-dev/vitest/issues/3529)
[<samp>(bc283)</samp>](https://togithub.com/vitest-dev/vitest/commit/bc283ae3)
-   **vite-node**:
- Correctly resolve virtual modules  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3544](https://togithub.com/vitest-dev/vitest/issues/3544)
[<samp>(0cbb0)</samp>](https://togithub.com/vitest-dev/vitest/commit/0cbb07b4)
- Fix errors caused by commonjs export circular references  -  by
[@&#8203;rxliuli](https://togithub.com/rxliuli) in
[https://github.com/vitest-dev/vitest/issues/3570](https://togithub.com/vitest-dev/vitest/issues/3570)
[<samp>(b097c)</samp>](https://togithub.com/vitest-dev/vitest/commit/b097cef8)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1)

###
[`v0.32.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0)

#####    🚨 Breaking Changes

- Throw an error, if the module cannot be resolved  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3307](https://togithub.com/vitest-dev/vitest/issues/3307)
[<samp>(1ad63)</samp>](https://togithub.com/vitest-dev/vitest/commit/1ad63b0c)
- Vitest used to fall back to the original import when it could not
resolve it to the file path or the virtual module. This leads to
hard-to-find module graph mismatches if you had incorrect alias or
relied on relative imports to be resolved to the project root (which is
usual behavior in TypeScript) because the code accidentally "worked".
With this release, Vitest will now throw an error if it cannot resolve
the module - there are possible edge cases that are not covered yet, so
if you have any problems with this, please open a separate issue with
reproduction.
- Improve globs  -  by
[@&#8203;nickmccurdy](https://togithub.com/nickmccurdy) in
[https://github.com/vitest-dev/vitest/issues/3392](https://togithub.com/vitest-dev/vitest/issues/3392)
[<samp>(19ecc)</samp>](https://togithub.com/vitest-dev/vitest/commit/19ecc6c7)
- Vitest now has glob patterns similar to Jest for better compatibility.
It's possible that some files will be considered test files when
previously they were not. For example, Vitest now considers `test.js` to
be a test file. Also any file in `__tests__` is now considered to be a
test, not just files with `test` or `spec` suffix.
- Add `@vitest/coverage-v8` package  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3339](https://togithub.com/vitest-dev/vitest/issues/3339)
[<samp>(82112)</samp>](https://togithub.com/vitest-dev/vitest/commit/821126f1)
- Vitest now uses v8 code coverage directly for better performance.
`@vitest/coverage-c8` is deprecated as Vitest no longer uses c8 package
for coverage output. It will not be updated anymore, and Vitest will
fail in the next version if the user has `c8` as their coverage
provider. Please, install the new `@vitest/coverage-v8` package if you
previously used `@vitest/coverage-c8`.
- **mocker**: Don't restore mock to the original if the module is
automocked  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3518](https://togithub.com/vitest-dev/vitest/issues/3518)
[<samp>(c1004)</samp>](https://togithub.com/vitest-dev/vitest/commit/c1004e14)
- `spy.mockRestore` on auto-mocked named exports will no longer restore
their implementation to the actual function. This behavior better
matches what Jest does.

#####    🚀 Features

- Support ssr optimizer  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3490](https://togithub.com/vitest-dev/vitest/issues/3490)
[<samp>(89842)</samp>](https://togithub.com/vitest-dev/vitest/commit/898422b0)
- Image type add apng  -  by [@&#8203;btea](https://togithub.com/btea)
in
[https://github.com/vitest-dev/vitest/issues/3498](https://togithub.com/vitest-dev/vitest/issues/3498)
[<samp>(a53c2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a53c2151)
- **expect**: Support `expect.soft`  -  by
[@&#8203;Dunqing](https://togithub.com/Dunqing) in
[https://github.com/vitest-dev/vitest/issues/3507](https://togithub.com/vitest-dev/vitest/issues/3507)
[<samp>(7c687)</samp>](https://togithub.com/vitest-dev/vitest/commit/7c687ada)
- **runner**: Support using function/class as `describe`/`test` name  - 
by [@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/3497](https://togithub.com/vitest-dev/vitest/issues/3497)
[<samp>(15253)</samp>](https://togithub.com/vitest-dev/vitest/commit/15253890)

#####    🐞 Bug Fixes

- The cli option is passed to coverage.exclude  -  by
[@&#8203;btea](https://togithub.com/btea) in
[https://github.com/vitest-dev/vitest/issues/3506](https://togithub.com/vitest-dev/vitest/issues/3506)
[<samp>(c37cd)</samp>](https://togithub.com/vitest-dev/vitest/commit/c37cdebe)
- **optimizer**: Always respect optimizeDeps even if include/exclude is
overridden  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3488](https://togithub.com/vitest-dev/vitest/issues/3488)
[<samp>(eb285)</samp>](https://togithub.com/vitest-dev/vitest/commit/eb285ea0)
- **runner**: Ensure Vitest is deduped  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3489](https://togithub.com/vitest-dev/vitest/issues/3489)
[<samp>(2deb7)</samp>](https://togithub.com/vitest-dev/vitest/commit/2deb70ab)
- **ui**: Don't cache coverage assets  -  by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/3508](https://togithub.com/vitest-dev/vitest/issues/3508)
[<samp>(952b5)</samp>](https://togithub.com/vitest-dev/vitest/commit/952b5be6)
- **vite-node**: Circular import stuck  -  by
[@&#8203;Dunqing](https://togithub.com/Dunqing) in
[https://github.com/vitest-dev/vitest/issues/3480](https://togithub.com/vitest-dev/vitest/issues/3480)
[<samp>(50f07)</samp>](https://togithub.com/vitest-dev/vitest/commit/50f0700d)
- **watch**: Junit reporter fails to re-generate report  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3496](https://togithub.com/vitest-dev/vitest/issues/3496)
[<samp>(5b73c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b73cbf8)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 14:09:08 +00:00
Jaanus Sellin
803610ab82
fix: max revision query order (#4096) 2023-06-27 12:07:23 +03:00
Ivar Conradi Østhus
464ef5b326
fix: break toggle description niceley (#4093)
fixes: #3096
2023-06-27 09:15:16 +02:00
Ivar Conradi Østhus
b36ab58f87
fix: add timestamp to feature toggle metrics (#4094)
fixes: #2873


![image](https://github.com/Unleash/unleash/assets/158948/7d5bb8ee-6b88-49ad-8c51-474e19dc833d)
2023-06-27 09:14:45 +02:00
Even Brenden
be1e63508a
docs: Add reference to Haskell SDK (#3752)
Hi! Adding a link to a some-batteries-included Haskell Unleash SDK. It
uses a "core" library underneath that adheres to your [Client
Specifications](https://github.com/Unleash/client-specification). Could
add a link to that too, but from what I can tell, it's overlapped by
your Yggdrasil project. We have been using the SDK for a handful of
months now and we're happy with how it works. Hope you'll have it :)

Co-authored-by: Even Brenden <evenbrenden@users.noreply.github.com>
2023-06-27 08:08:04 +01:00
renovate[bot]
9fa280c59e
chore(deps): update dependency eslint to v8.43.0 (#4091)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>eslint/eslint</summary>

### [`v8.43.0`](https://togithub.com/eslint/eslint/releases/tag/v8.43.0)

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.42.0...v8.43.0)

#### Features

-
[`14581ff`](14581ff15a)
feat: directive prologue detection and autofix condition in `quotes`
([#&#8203;17284](https://togithub.com/eslint/eslint/issues/17284))
(Francesco Trotta)
-
[`e50fac3`](e50fac3f8f)
feat: add declaration loc to message in block-scoped-var
([#&#8203;17252](https://togithub.com/eslint/eslint/issues/17252))
(Milos Djermanovic)
-
[`1b7faf0`](1b7faf0702)
feat: add `skipJSXText` option to `no-irregular-whitespace` rule
([#&#8203;17182](https://togithub.com/eslint/eslint/issues/17182)) (Azat
S)

#### Bug Fixes

-
[`5338b56`](5338b56fda)
fix: normalize `cwd` passed to `ESLint`/`FlatESLint` constructor
([#&#8203;17277](https://togithub.com/eslint/eslint/issues/17277))
(Milos Djermanovic)
-
[`54383e6`](54383e69b0)
fix: Remove `no-extra-parens` autofix for potential directives
([#&#8203;17022](https://togithub.com/eslint/eslint/issues/17022))
(Francesco Trotta)

#### Documentation

-
[`8b855ea`](8b855ea058)
docs: resubmit pr17061 doc changes
([#&#8203;17292](https://togithub.com/eslint/eslint/issues/17292)) (唯然)
-
[`372722e`](372722eac3)
docs: resubmit pr17012 doc changes
([#&#8203;17293](https://togithub.com/eslint/eslint/issues/17293)) (唯然)
-
[`67e7af3`](67e7af3fdb)
docs: resubmit custom-rules doc changes
([#&#8203;17294](https://togithub.com/eslint/eslint/issues/17294)) (唯然)
-
[`9e3d77c`](9e3d77cba6)
docs: Resubmit Fix formatting in Custom Rules docs
([#&#8203;17281](https://togithub.com/eslint/eslint/issues/17281))
(Milos Djermanovic)
-
[`503647a`](503647a0b9)
docs: Resubmit markVariableAsUsed docs
([#&#8203;17280](https://togithub.com/eslint/eslint/issues/17280))
(Nicholas C. Zakas)
-
[`e0cf0d8`](e0cf0d86d9)
docs: Custom rule & plugin tutorial
([#&#8203;17024](https://togithub.com/eslint/eslint/issues/17024)) (Ben
Perlmutter)
-
[`8e51ea9`](8e51ea943c)
docs: resubmit `no-new` rule documentation
([#&#8203;17264](https://togithub.com/eslint/eslint/issues/17264))
(Nitin Kumar)
-
[`1b217f8`](1b217f8de1)
docs: resubmit `Custom Processors` documentation
([#&#8203;17265](https://togithub.com/eslint/eslint/issues/17265))
(Nitin Kumar)
-
[`428fc76`](428fc76806)
docs: resubmit `Create Plugins` documentation
([#&#8203;17268](https://togithub.com/eslint/eslint/issues/17268))
(Nitin Kumar)
-
[`bdca88c`](bdca88cf4f)
docs: resubmit `Configuration Files` documentation
([#&#8203;17267](https://togithub.com/eslint/eslint/issues/17267))
(Nitin Kumar)
-
[`f5c01f2`](f5c01f281a)
docs: resubmit `Manage Issues` documentation
([#&#8203;17266](https://togithub.com/eslint/eslint/issues/17266))
(Nitin Kumar)
-
[`b199295`](b199295459)
docs: Resubmit custom rules update docs
([#&#8203;17273](https://togithub.com/eslint/eslint/issues/17273)) (Ben
Perlmutter)
-
[`0e9980c`](0e9980c3a8)
docs: add new `omitLastInOneLineClassBody` option to the `semi` rule
([#&#8203;17263](https://togithub.com/eslint/eslint/issues/17263))
(Nitin Kumar)
-
[`cb2560f`](cb2560f7a3)
docs: Resubmit getScope/getDeclaredVariables docs
([#&#8203;17262](https://togithub.com/eslint/eslint/issues/17262))
(Nicholas C. Zakas)
-
[`85d2b30`](85d2b30bc3)
docs: explain how to include predefined globals
([#&#8203;17261](https://togithub.com/eslint/eslint/issues/17261))
(Marcus Wyatt)
-
[`de4d3c1`](de4d3c14c3)
docs: update flat config default ignore patterns
([#&#8203;17258](https://togithub.com/eslint/eslint/issues/17258))
(Milos Djermanovic)
-
[`3912f3a`](3912f3a225)
docs: Improve `ignores` documentation
([#&#8203;17239](https://togithub.com/eslint/eslint/issues/17239))
(Francesco Trotta)
-
[`35e11d3`](35e11d3248)
docs: fix typos and missing info
([#&#8203;17257](https://togithub.com/eslint/eslint/issues/17257)) (Ed
Lucas)
-
[`0bc257c`](0bc257c290)
docs: Clarify `no-div-regex` rule docs
([#&#8203;17051](https://togithub.com/eslint/eslint/issues/17051))
([#&#8203;17255](https://togithub.com/eslint/eslint/issues/17255))
(Francesco Trotta)
-
[`788d836`](788d83629a)
docs: add references to MIT License
([#&#8203;17248](https://togithub.com/eslint/eslint/issues/17248))
(Milos Djermanovic)
-
[`58aab6b`](58aab6b6c0)
docs: Update README (GitHub Actions Bot)
-
[`3ef5814`](3ef5814055)
docs: Revert all changes after the license change
([#&#8203;17227](https://togithub.com/eslint/eslint/issues/17227))
(Milos Djermanovic)
-
[`03fc4aa`](03fc4aa847)
docs: Update README (GitHub Actions Bot)

#### Chores

-
[`78350f6`](78350f6304)
chore: upgrade
[@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).43.0
([#&#8203;17295](https://togithub.com/eslint/eslint/issues/17295))
(Milos Djermanovic)
-
[`62bf759`](62bf759124)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint
Jenkins)
-
[`e0a2448`](e0a2448e0c)
chore: docs package.license ISC => MIT
([#&#8203;17254](https://togithub.com/eslint/eslint/issues/17254)) (唯然)
-
[`6a0196c`](6a0196c513)
chore: use eslint-plugin-eslint-plugin flat configs
([#&#8203;17204](https://togithub.com/eslint/eslint/issues/17204))
(Milos Djermanovic)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-24 07:06:25 +00:00
renovate[bot]
cc4636e8bc
chore(deps): update dependency @testing-library/dom to v8.20.1 (#4090)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v8.20.1`](https://togithub.com/testing-library/dom-testing-library/releases/tag/v8.20.1)

[Compare
Source](https://togithub.com/testing-library/dom-testing-library/compare/v8.20.0...v8.20.1)

##### Bug Fixes

- opera mobile version removed
([c5bd543](c5bd543f73))
- pin aria-query version and upgrade lz-string
([4a13f4b](4a13f4b3f4))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-24 04:24:24 +00:00
renovate[bot]
1b7210fdf3
fix(deps): update dependency semver to v7.5.2 (#4087)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>npm/node-semver</summary>

###
[`v7.5.2`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#&#8203;752-httpsgithubcomnpmnode-semvercomparev751v752-2023-06-15)

[Compare
Source](https://togithub.com/npm/node-semver/compare/v7.5.1...v7.5.2)

##### Bug Fixes

-
[`58c791f`](58c791f40b)
[#&#8203;566](https://togithub.com/npm/node-semver/pull/566) diff when
detecting major change from prerelease
([#&#8203;566](https://togithub.com/npm/node-semver/issues/566))
([@&#8203;lukekarrys](https://togithub.com/lukekarrys))
-
[`5c8efbc`](5c8efbcb3c)
[#&#8203;565](https://togithub.com/npm/node-semver/pull/565) preserve
build in raw after inc
([#&#8203;565](https://togithub.com/npm/node-semver/issues/565))
([@&#8203;lukekarrys](https://togithub.com/lukekarrys))
-
[`717534e`](717534ee35)
[#&#8203;564](https://togithub.com/npm/node-semver/pull/564) better
handling of whitespace
([#&#8203;564](https://togithub.com/npm/node-semver/issues/564))
([@&#8203;lukekarrys](https://togithub.com/lukekarrys))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-23 22:20:45 +00:00
renovate[bot]
aeb65d3cd4
chore(deps): update dependency sass to v1.63.4 (#4056)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>sass/dart-sass</summary>

###
[`v1.63.4`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1634)

[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.63.3...1.63.4)

##### JavaScript API

- Re-enable support for `import sass from 'sass'` when loading the
package from
an ESM module in Node.js. However, this syntax is now deprecated; ESM
users
    should use `import * as sass from 'sass'` instead.

On the browser and other ESM-only platforms, only `import * as sass from
    'sass'` is supported.

- Properly export the legacy API values `TRUE`, `FALSE`, `NULL`, and
`types` from
    the ECMAScript module API.

##### Embedded Sass

- Fix a race condition where closing standard input while requests are
in-flight
    could sometimes cause the process to hang rather than shutting down
    gracefully.

- Properly include the root stylesheet's URL in the set of loaded URLs
when it
    fails to parse.

###
[`v1.63.3`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1633)

[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.63.2...1.63.3)

##### JavaScript API

-   Fix loading Sass as an ECMAScript module on Node.js.

###
[`v1.63.2`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1632)

[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.63.1...1.63.2)

-   No user-visible changes.

###
[`v1.63.1`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1631)

[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.63.0...1.63.1)

-   No user-visible changes.

###
[`v1.63.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1630)

[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.62.1...1.63.0)

##### JavaScript API

- Dart Sass's JS API now supports running in the browser. Further
details and
instructions for use are in [the
README](README.md#dart-sass-in-the-browser).

##### Embedded Sass

- The Dart Sass embedded compiler is now included as part of the primary
Dart
Sass distribution, rather than a separate executable. To use the
embedded
compiler, just run `sass --embedded` from any Sass executable (other
than the
    pure JS executable).

The Node.js embedded host will still be distributed as the
`sass-embedded`
package on npm. The only change is that it will now provide direct
access to a
    `sass` executable with the same CLI as the `sass` package.

- The Dart Sass embedded compiler now uses version 2.0.0 of the Sass
embedded
protocol. See [the spec][embedded-protocol-spec] for a full description
of the
protocol, and [the changelog][embedded-protocol-changelog] for a summary
of
    changes since version 1.2.0.

[embedded-protocol-spec]:
https://togithub.com/sass/sass/blob/main/spec/embedded-protocol.md

[embedded-protocol-changelog]:
https://togithub.com/sass/sass/blob/main/EMBEDDED_PROTOCOL_CHANGELOG.md

- The Dart Sass embedded compiler now runs multiple simultaneous
compilations in
    parallel, rather than serially.

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-23 18:29:02 +00:00
renovate[bot]
b769272743
chore(deps): update dependency semver to v7.5.2 [security] (#4081)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

### GitHub Vulnerability Alerts

#### [CVE-2022-25883](https://nvd.nist.gov/vuln/detail/CVE-2022-25883)

Versions of the package semver before 7.5.2 are vulnerable to Regular
Expression Denial of Service (ReDoS) via the function new Range, when
untrusted user data is provided as a range.

---

### Release Notes

<details>
<summary>npm/node-semver</summary>

###
[`v7.5.2`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#&#8203;752-httpsgithubcomnpmnode-semvercomparev751v752-2023-06-15)

[Compare
Source](https://togithub.com/npm/node-semver/compare/v7.5.1...v7.5.2)

##### Bug Fixes

-
[`58c791f`](58c791f40b)
[#&#8203;566](https://togithub.com/npm/node-semver/pull/566) diff when
detecting major change from prerelease
([#&#8203;566](https://togithub.com/npm/node-semver/issues/566))
([@&#8203;lukekarrys](https://togithub.com/lukekarrys))
-
[`5c8efbc`](5c8efbcb3c)
[#&#8203;565](https://togithub.com/npm/node-semver/pull/565) preserve
build in raw after inc
([#&#8203;565](https://togithub.com/npm/node-semver/issues/565))
([@&#8203;lukekarrys](https://togithub.com/lukekarrys))
-
[`717534e`](717534ee35)
[#&#8203;564](https://togithub.com/npm/node-semver/pull/564) better
handling of whitespace
([#&#8203;564](https://togithub.com/npm/node-semver/issues/564))
([@&#8203;lukekarrys](https://togithub.com/lukekarrys))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-23 17:00:32 +00:00
Nuno Góis
95a0c7748f
feat: upgrade AdminAlert to PermissionGuard (#4074)
https://linear.app/unleash/issue/2-1165/improve-adminalert-usage-to-be-more-generic-accept-non-admin

Upgrades our `AdminAlert` to a new `PermissionGuard`.

**Question**: We don't **need** to, but **should** we be specific about
the `ADMIN` permission every time?
Technically `PermissionGuard` could have `permissions` as optional and
assume `[]` by default, which will add `ADMIN` anyways. However, I feel
like we may gain some readability if we're specific about it. WDYT?

Single permission:

![image](https://github.com/Unleash/unleash/assets/14320932/eab414ae-e798-4ab6-ba96-cde2977dc98b)

Multiple permissions:

![image](https://github.com/Unleash/unleash/assets/14320932/25302442-8fcc-4aa1-9525-d54f5f9350af)
2023-06-23 13:25:35 +01:00
andreas-unleash
d2a98d0338
fix: set max height for add/replace button (#4085)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
Sets a maxHeight property for add/replace button in playground 
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

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

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

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


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

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-23 15:22:07 +03:00
Ivar Conradi Østhus
72657a60a0
feat: expose kapi as part of docs (#3996)
Small poc to add ask kapi.ai to our docs. UI not great yet. 


![image](https://github.com/Unleash/unleash/assets/158948/68a5b60f-0262-4fe3-89d8-3fcf30d23029)

And this is the widget in action:

![image](https://github.com/Unleash/unleash/assets/158948/63b0bcdd-b164-46dc-89ea-7f7f80aa364a)

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-06-23 13:55:59 +02:00
renovate[bot]
4a0d5fcede
chore(deps): update dependency @types/uuid to v9.0.2 (#4039)
[![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/uuid](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`9.0.1` ->
`9.0.2`](https://renovatebot.com/diffs/npm/@types%2fuuid/9.0.1/9.0.2) |
[![age](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.2/compatibility-slim/9.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.2/confidence-slim/9.0.1)](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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-23 11:16:49 +00:00
Gastón Fournier
ee8c9a62da
chore: filter out deprecated permissions (#4083)
## About the changes
This makes these permissions not available for selection. In particular
`UPDATE_ROLE`, `CREATE_API_TOKEN`, `UPDATE_API_TOKEN`,
`DELETE_API_TOKEN`, `READ_API_TOKEN` are long-lived and should be taken
out with special care which is why we have
https://linear.app/unleash/issue/2-1158/add-delete-migration-to-clean-up-no-longer-used-permissions

## Discussion points
If a role has this permission assigned, it will be displayed but will
not be able to remove it. Because the application code does not rely on
these permissions, this shouldn't be a problem. Later when we remove
them from the DB, the permission will be removed as well from the role
by the migration
2023-06-23 12:26:35 +02:00
Thomas Heartman
97875f3f59
chore: remove unused values to stop linter complaining (#4078) 2023-06-23 09:32:09 +00:00
Thomas Heartman
12c00733d9
feat: count number of combinations from playground (#4077)
This PR adds plausible tracking of the number of feature combinations
that we get from the advanced playground API.

The event type has been added to plausible

 Relates to #3545
2023-06-23 09:29:13 +00:00
Gastón Fournier
89cf16f915
Feat/more granular permissions check in create apitoken (#4072)
## About the changes
This PR enables or disables create API token button based on the
permissions.

**Note:** the button is only displayed if you have READ permissions on
some API token. This is a minor limitation as having CREATE permissions
should also grant READ permissions, but right now this is up to the user
to set up the custom role with the correct permissions

**Note 2:** Project-specific API tokens are also ruled by the
project-specific permission to create API tokens in a project (just
having the root permissions to create a client token or frontend token
does not grant access to create a project-specific API token). The
permissions to access the creation of a project-specific API token then
rely on the root permissions to allow the user to create either a client
token or a frontend token.

---------

Co-authored-by: David Leek <david@getunleash.io>
2023-06-23 10:57:08 +02:00
andreas-unleash
c81de4a5bc
fix: add strategy bug when strategySplittedButton flag is on (#4071)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

Fixes 2 bugs after the recent strategy improvements v2 changes:
- When creating a strategy the `groupId` param of the Gradual Rollout
strategy now populates the groupId (when using default strategy, the
groupId will only be overwritten when it is an empty string ) with the
feature name (as it was before)

- When editing/setting a default strategy for an environment the
`groupId` param should be an empty string, but editable.

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

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

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

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


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

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-23 07:31:29 +00:00
Mateusz Kwasniewski
175b103b12
fix: remove playground results flip (#4076) 2023-06-23 09:28:49 +02:00
andreas-unleash
7a5c77376a
chore: Document default strategy (#4010)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
Documenting Default Strategy 
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #
[1-1023](https://linear.app/unleash/issue/1-1023/document-strategy-improvements)

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

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


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

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-06-22 15:42:07 +00:00
renovate[bot]
f01b94c846
chore(deps): update dependency enhanced-resolve to v5.15.0 (#4054)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

#### New Features

- Ignore `false`/`null`/`undefined` plugins by
[@&#8203;alexander-akait](https://togithub.com/alexander-akait) in
[https://github.com/webpack/enhanced-resolve/pull/389](https://togithub.com/webpack/enhanced-resolve/pull/389)

#### Dependencies & Maintenance

- GitHub Workflows security hardening by
[@&#8203;sashashura](https://togithub.com/sashashura) in
[https://github.com/webpack/enhanced-resolve/pull/370](https://togithub.com/webpack/enhanced-resolve/pull/370)
- Add cSpell commit hook by
[@&#8203;nschonni](https://togithub.com/nschonni) in
[https://github.com/webpack/enhanced-resolve/pull/327](https://togithub.com/webpack/enhanced-resolve/pull/327)

#### New Contributors

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

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 15:27:09 +00:00
Nuno Góis
4163788bba
fix: update roles permission guard (#4070)
https://linear.app/unleash/issue/2-1162/read-roles-permissions-should-give-you-access-to-read-roles

This updates the roles page permission guard to be the `READ_ROLES`
permission instead of `ADMIN`, which better reflects on the UI the real
permissions of the user.

Our current `AdminAlert` component is pretty limited however, and I plan
to improve it in
https://linear.app/unleash/issue/2-1165/improve-adminalert-usage-to-be-more-generic-accept-non-admin
to better reflect the permission we're missing (instead of alerting that
you need to be an admin).
2023-06-22 14:43:26 +00:00
Gastón Fournier
4cedb00e04
fix: fetching user root roles include custom ones (#4068)
## About the changes
`getUserRootRoles` should also consider custom root roles

This introduces test cases that unveiled a dependency between stores
(this happens actually at the DB layer having access-service access
tables from two different stores but skipping the store layer).


https://linear.app/unleash/issue/2-1161/a-user-with-custom-root-role-and-permission-to-create-client-api

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-06-22 14:42:01 +00:00
Nuno Góis
40a4451818
fix: add admin guard to groups (#4069)
Adds an admin guard to groups: It is an admin feature and should be
guarded on the UI the same way other admin features are.
2023-06-22 15:37:02 +01:00