1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
Commit Graph

11987 Commits

Author SHA1 Message Date
renovate[bot]
7b7c78fe5d
chore(deps): update dependency react-router to v6.24.1 (#7574)
[![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)
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router))
| [`6.24.0` ->
`6.24.1`](https://renovatebot.com/diffs/npm/react-router/6.24.0/6.24.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.24.0/6.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.24.0/6.24.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v6.24.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6241)

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

##### Patch Changes

- When using `future.v7_relativeSplatPath`, properly resolve relative
paths in splat routes that are children of pathless routes
([#&#8203;11633](https://togithub.com/remix-run/react-router/pull/11633))
-   Updated dependencies:
    -   `@remix-run/router@1.17.1`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 01:58:53 +00:00
renovate[bot]
58a9d3d84a
chore(deps): update dependency qs to v6.12.2 (#7573)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>ljharb/qs (qs)</summary>

###
[`v6.12.2`](https://togithub.com/ljharb/qs/blob/HEAD/CHANGELOG.md#6122)

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

- \[Fix] `parse`: parse encoded square brackets
([#&#8203;506](https://togithub.com/ljharb/qs/issues/506))
-   \[readme] add CII best practices badge

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 21:24:20 +00:00
renovate[bot]
0138acdbf8
chore(deps): update dependency @swc/core to v1.6.7 (#7571)
[![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.6.6` ->
`1.6.7`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.6.6/1.6.7) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.6.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.6.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.6.6/1.6.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.6.6/1.6.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v1.6.7`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#167---2024-07-03)

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

##### Bug Fixes

- **(es/compat)** Do not reuse span
([#&#8203;9117](https://togithub.com/swc-project/swc/issues/9117))
([6520052](6520052432))

##### Documentation

- Use `@swc/counter` for 3rd-party download count
([026ff7e](026ff7ef0c))

##### Features

- **(binding)** Create Wasm package for stripping only TypeScript
([#&#8203;9124](https://togithub.com/swc-project/swc/issues/9124))
([6b3c0da](6b3c0da755))

- **(es/minifier)** Handle more indexing expression
([#&#8203;8750](https://togithub.com/swc-project/swc/issues/8750))
([570c47a](570c47a9ac))

- **(preset-env)** Upgrade `browserslist-rs`
([#&#8203;9023](https://togithub.com/swc-project/swc/issues/9023))
([18d6277](18d6277e4c))

##### Performance

- **(es/lexer)** Do not use `memchr::memmem` in parser
([#&#8203;9118](https://togithub.com/swc-project/swc/issues/9118))
([72021de](72021def15))

##### Refactor

- **(es/typescript)** Extract type annotation proposal out
([#&#8203;9127](https://togithub.com/swc-project/swc/issues/9127))
([dfee5f8](dfee5f838b))

##### Testing

- **(bindings/ts)** Test Wasm binding
([#&#8203;9128](https://togithub.com/swc-project/swc/issues/9128))
([c6d6db3](c6d6db3661))

- **(es/decorators)** Split `decorator-tests`
([#&#8203;9119](https://togithub.com/swc-project/swc/issues/9119))
([07c3054](07c3054847))

##### Build

- **(bindings)** Fix build of typescript binding
([#&#8203;9125](https://togithub.com/swc-project/swc/issues/9125))
([f409bc0](f409bc09d5))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 18:12:26 +00:00
Christopher Kolstad
8bee33fa48
task: added flag to remove unsafe inline style src header (#7566)
Our CSP reports that unsafe-inline is not recommended for styleSrc. This
PR adds a flag for making it possible to remove this element of our CSP
headers. It should allow us to see what (if anything) breaks hard.
2024-07-10 14:36:28 +02:00
Mateusz Kwasniewski
3fe110f155
feat: exclude archived features in max reporting (#7559) 2024-07-10 09:11:22 +02:00
renovate[bot]
d9ae0f3f59
chore(deps): update dependency @swc/core to v1.6.6 (#7565)
[![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.6.5` ->
`1.6.6`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.6.5/1.6.6) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.6.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.6.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.6.5/1.6.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.6.5/1.6.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v1.6.6`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#166---2024-06-29)

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

##### Bug Fixes

- **(es/lexer)** Fix lexing of `\r\n` in JSX
([#&#8203;9112](https://togithub.com/swc-project/swc/issues/9112))
([2a0ebec](2a0ebec0f5))

##### Performance

- **(es/parser)** Optimize macros
([#&#8203;9100](https://togithub.com/swc-project/swc/issues/9100))
([719b7c5](719b7c54f6))

- **(es/parser)** Remove unnecessary check
([#&#8203;9102](https://togithub.com/swc-project/swc/issues/9102))
([2a490ad](2a490ad0b2))

- **(es/parser)** Add a check before numeric operations
([#&#8203;9105](https://togithub.com/swc-project/swc/issues/9105))
([c0602c8](c0602c81db))

- **(es/parser)** Increase token context size
([#&#8203;9104](https://togithub.com/swc-project/swc/issues/9104))
([8ef30cc](8ef30cc08c))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 00:27:46 +00:00
renovate[bot]
321f3cdfb5
chore(deps): update dependency @cyclonedx/yarn-plugin-cyclonedx to v1.0.1 (#7563)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@cyclonedx/yarn-plugin-cyclonedx](https://togithub.com/CycloneDX/cyclonedx-node-yarn)
| [`1.0.0` ->
`1.0.1`](https://renovatebot.com/diffs/npm/@cyclonedx%2fyarn-plugin-cyclonedx/1.0.0/1.0.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@cyclonedx%2fyarn-plugin-cyclonedx/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@cyclonedx%2fyarn-plugin-cyclonedx/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@cyclonedx%2fyarn-plugin-cyclonedx/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@cyclonedx%2fyarn-plugin-cyclonedx/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>CycloneDX/cyclonedx-node-yarn
(@&#8203;cyclonedx/yarn-plugin-cyclonedx)</summary>

###
[`v1.0.1`](https://togithub.com/CycloneDX/cyclonedx-node-yarn/blob/HEAD/HISTORY.md#101----2024-06-27)

[Compare
Source](https://togithub.com/CycloneDX/cyclonedx-node-yarn/compare/v1.0.0...v1.0.1)

-   Fixed
- Writing output-files on Windows systems ([#&#8203;145] via
[#&#8203;146])

[#&#8203;145]:
https://togithub.com/CycloneDX/cyclonedx-node-yarn/issues/145

[#&#8203;146]:
https://togithub.com/CycloneDX/cyclonedx-node-yarn/pull/146

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 22:13:53 +00:00
renovate[bot]
063d9e81d1
chore(deps): update dependency @biomejs/biome to v1.8.3 (#7562)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@biomejs/biome](https://biomejs.dev)
([source](https://togithub.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome))
| [`1.8.2` ->
`1.8.3`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/1.8.2/1.8.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@biomejs%2fbiome/1.8.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@biomejs%2fbiome/1.8.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@biomejs%2fbiome/1.8.2/1.8.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@biomejs%2fbiome/1.8.2/1.8.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v1.8.3`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#v183-2022-06-27)

[Compare
Source](54b4c9a390...c28d5978c1)

##### CLI

##### Bug fixes

- Fix [#&#8203;3104](https://togithub.com/biomejs/biome/issues/3104) by
suppressing node warnings when using `biome migrate`. Contributed by
[@&#8203;SuperchupuDev](https://togithub.com/SuperchupuDev)

- Force colors to be off when using the GitHub reporter to properly
create annotations in GitHub actions
([#&#8203;3148](https://togithub.com/biomejs/biome/issues/3148)).
Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant)

##### Parser

##### Bug fixes

- Implement [CSS unicode
range](https://togithub.com/biomejs/biome/pull/3251). Contributed by
[@&#8203;denbezrukov](https://togithub.com/denbezrukov)

##### Formatter

##### Bug fixes

- Fix [#&#8203;3184](https://togithub.com/biomejs/biome/issues/3184) CSS
formatter converts custom identifiers to lowercase. Contributed by
[@&#8203;denbezrukov](https://togithub.com/denbezrukov)
- Fix [#&#8203;3256](https://togithub.com/biomejs/biome/issues/3256)
constant crashes when editing css files
[#&#8203;3256](https://togithub.com/biomejs/biome/issues/3256).
Contributed by [@&#8203;denbezrukov](https://togithub.com/denbezrukov)

##### Linter

##### New features

- Add `nursery/useDeprecatedReason` rule. Contributed by
[@&#8203;vohoanglong0107](https://togithub.com/vohoanglong0107).
- Add
[nursery/noExportedImports](https://biomejs.dev/linter/rules/no-exported-imports/).
Contributed by [@&#8203;Conaclos](https://togithub.com/Conaclos)

##### Bug fixes

- `useConsistentArrayType` and `useShorthandArrayType` now ignore
`Array` in the `extends` and `implements` clauses. Fix
[#&#8203;3247](https://togithub.com/biomejs/biome/issues/3247).
Contributed by [@&#8203;Conaclos](https://togithub.com/Conaclos)
- Fixes [#&#8203;3066](https://togithub.com/biomejs/biome/issues/3066)
by taking into account the dependencies declared in the `package.json`.
Contributed by [@&#8203;ematipico](https://togithub.com/ematipico)
- The code action of the `useArrowFunction` rule now preserves a
trailing comma when there is only a single type parameter in the arrow
function and JSX is enabled. Fixes
[#&#8203;3292](https://togithub.com/biomejs/biome/issues/3292).
Contributed by [@&#8203;Sec-ant](https://togithub.com/Sec-ant)

##### Enhancements

- Enhance tailwind sorting lint rule
[#&#8203;1274](https://togithub.com/biomejs/biome/issues/1274) with
variant support.

Every preconfigured variant is assigned a `weight` that concurs on
establishing the output sorting order.
Since nesting variants on the same utility class is possible, the
resulting `weight` is the Bitwise XOR of all the variants weight for
that class.
Dynamic variants (e.g. `has-[.custom-class]`, `group-[:checked]`) are
also supported and they take the `weight` of their base variant name the
custom value attached (e.g. `has-[.custom-class]` takes `has` weight).
Arbitrary variants (e.g. `[&nth-child(2)]`) don't have a weight assigned
and they are placed after every known variant.
Classes with the same amount of arbitrary variants follow
lexicographical order. The class that has the highest number of nested
arbitrary variants is placed last.
Screen variants (e.g. `sm:`, `max-md:`, `min-lg:`) are not supported
yet.

    Contributed by [@&#8203;lutaok](https://togithub.com/lutaok)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 18:25:17 +00:00
Christopher Kolstad
f65afff6c1
feat: Disallow repeating last 5 passwords. (#7552)
We'll store hashes for the last 5 passwords, fetch them all for the user
wanting to change their password, and make sure the password does not
verify against any of the 5 stored hashes.

Includes some password-related UI/UX improvements and refactors. Also
some fixes related to reset password rate limiting (instead of an
unhandled exception), and token expiration on error.

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2024-07-09 16:18:35 +02:00
Christopher Kolstad
ef3ef877b3
chore: bump biome to 1.8.3 (#7540)
Small bump here, no extra changes needed
2024-07-09 16:01:22 +02:00
renovate[bot]
407de36c1b
chore(deps): update docker/build-push-action action to v6 (#7508)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[docker/build-push-action](https://togithub.com/docker/build-push-action)
| action | major | `v5` -> `v6` |

---

### Release Notes

<details>
<summary>docker/build-push-action (docker/build-push-action)</summary>

###
[`v6`](https://togithub.com/docker/build-push-action/compare/v5...v6)

[Compare
Source](https://togithub.com/docker/build-push-action/compare/v5...v6)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 16:01:05 +02:00
Thomas Heartman
e2c6d468e4
Chore: use createApiTokenService instead of newing it up (#7560)
PR #7519 introduced the pattern of using `createApiTokenService` instead
of newing it up. This usage was introduced in a concurrent PR (#7503),
so we're just cleaning up and making the usage consistent.
2024-07-09 14:11:56 +02:00
David Leek
2e5d81cb89
chore: delete project api tokens when last mapped project is removed (#7503)
Deletes API tokens bound to specific projects when the last project they're mapped to is deleted.

---------

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-07-09 13:49:26 +02:00
Tymoteusz Czech
f6c05eb877
API tokens - virtualized table (#7531)
API tokens table in both main list and project API tokens list can now
support more items - it doesn't slow the browser down if there is >500
items.
2024-07-09 13:22:55 +02:00
Mateusz Kwasniewski
2aea6e688c
feat: project limits ui (#7558) 2024-07-09 11:04:23 +02:00
Mateusz Kwasniewski
46b1eedcc7
feat: constraints values limit in a strategy UI (#7557) 2024-07-08 15:08:16 +02:00
Thomas Heartman
8f8ff13cc5
feat: add limit warning for feature flags (#7556)
This PR adds the Limit component to the feature flag creation form.

At the limit: 

![image](https://github.com/Unleash/unleash/assets/17786332/86f17565-5c75-4265-8e3b-5200222345ec)

Approaching the limit:

![image](https://github.com/Unleash/unleash/assets/17786332/af041d78-fcd3-4aa6-b415-9738cbfbae1b)

Below the limit threshold (no change):

![image](https://github.com/Unleash/unleash/assets/17786332/79ddc3ee-6e52-44d3-8d0b-0ebae90707a7)
2024-07-08 15:06:21 +02:00
Mateusz Kwasniewski
5ed4ccc981
feat: constraints limit in a strategy UI (#7555) 2024-07-08 13:10:00 +02:00
Mateusz Kwasniewski
7ca2ace0bc
feat: constraints limit in a strategy (#7554) 2024-07-08 11:02:22 +02:00
Thomas Heartman
ef80d7f81e
ui limits for flags (#7541)
This PR disables the "create feature flag" button when you've reached
the limits.

This one is a little more complex than the other UI limits, because we
also have to take into account the project feature limit. I've tried to
touch as little as possible, but I _have_ extracted the calculation of
both limits into a single hook.
2024-07-08 10:27:01 +02:00
Tymoteusz Czech
225d8a91f1
API tokens scoped to deleted projects shouldn't give wildcard access (#7499)
If you have SDK tokens scoped to projects that are deleted, you should
not get access to any flags with those.

---------

Co-authored-by: David Leek <david@getunleash.io>
2024-07-08 09:52:10 +02:00
Mateusz Kwasniewski
e7d07486a1
feat: limit segments component (#7553) 2024-07-08 09:03:08 +02:00
Christopher Kolstad
d8bb9f18de
fix: update addon counter to include new relic addon 2024-07-05 15:17:45 +02:00
Alexandru Savin
9fae7801ed
feat: New Relic integration (#7492)
## About the changes
Add New Relic integration based on issue #878.


![image](https://github.com/Unleash/unleash/assets/1612455/05523b73-398b-413d-b760-26bf2feec2db)


![image](https://github.com/Unleash/unleash/assets/1612455/1ec01f52-0c1a-46a7-aa5b-5ca80004dcf8)


<!-- 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 #878
2024-07-05 15:16:00 +02:00
David Leek
9ad7266aa1
chore: use a command bar shadow thats visible in darkmode as well (#7551) 2024-07-05 14:54:11 +02:00
Thomas Heartman
94926b7802
chore: don't prevent users from entering the env form when they're at the limit (#7549)
This change reverts the changes related to the button in particular
that were introduced in #7500. The button is now always enabled, and
the actual resource warning and creation blocking happens in the form,
courtesy of #7548.
2024-07-05 13:11:00 +02:00
Tymoteusz Czech
1d7cd2e274
feat: update description on project deletion (#7539)
Improving the project deletion experience by adding information about
API keys and refining the messaging, making it easier to comprehend.
2024-07-05 11:07:47 +00:00
Mateusz Kwasniewski
963d051632
feat: Limit environments component (#7548) 2024-07-05 13:03:51 +02:00
Jaanus Sellin
c802442846
feat: add solid border for contrast (#7550)
Now it is better to see the command bar.


![image](https://github.com/Unleash/unleash/assets/964450/a59bdabd-5a14-45a5-b8ca-594b62853c59)
2024-07-05 14:01:10 +03:00
David Leek
2f9483441f
feat: command bar up down navigation (#7546) 2024-07-05 12:57:43 +02:00
Simon Hornby
2e205fc14e
chore: make sdk metrics snake case (#7547) 2024-07-05 12:29:00 +02:00
Jaanus Sellin
165f02a3a4
fix: sidebar update active when navigated via command menu. (#7545)
Currently, if the location changes, it does not update the active item.
I added useEffect to update the active item.

This is required when the user navigates via the command menu.
2024-07-05 13:28:00 +03:00
David Leek
51a2b3aa0e
feat: hide command bar when losing focus (#7544) 2024-07-05 11:22:46 +02:00
Mateusz Kwasniewski
cad8a3c2df
feat: limit component used in strategies (#7542) 2024-07-05 09:09:28 +02:00
David Leek
233bf0757e
chore: fix command bar key prop usage (#7534) 2024-07-05 08:24:51 +02:00
David Leek
96a1996b41
chore: command bar remove strategy types as page suggestion (#7543) 2024-07-04 15:51:37 +02:00
Thomas Heartman
59d6014853
Chore: add limits to feature flags (#7536)
This PR adds a feature flag limit to Unleash. It's set up to be
overridden in Enterprise, where we turn the limit up.

I've also fixed a couple bugs in the fake feature flag store.
2024-07-04 11:00:11 +02:00
Mateusz Kwasniewski
c93bfafb7f
feat: limit component (#7538) 2024-07-04 09:49:31 +02:00
Simon Hornby
30073d527a
feat: extended SDK metrics (#7527)
This adds an extended metrics format to the metrics ingested by Unleash
and sent by running SDKs in the wild. Notably, we don't store this
information anywhere new in this PR, this is just streamed out to
Victoria metrics - the point of this project is insight, not analysis.

Two things to look out for in this PR:

- I've chosen to take extend the registration event and also send that
when we receive metrics. This means that the new data is received on
startup and on heartbeat. This takes us in the direction of collapsing
these two calls into one at a later point
- I've wrapped the existing metrics events in some "type safety", it
ain't much because we have 0 type safety on the event emitter so this
also has some if checks that look funny in TS that actually check if the
data shape is correct. Existing tests that check this are more or less
preserved
2024-07-04 08:51:27 +02:00
Jaanus Sellin
8dd77f3bbd
fix: remove focus on ESC (#7535)
Now when pressing ESC, command bar will lose focus.


![image](https://github.com/Unleash/unleash/assets/964450/9aea3b2b-bf06-4910-96be-0a67472945af)
2024-07-03 22:15:59 +03:00
Gastón Fournier
bf2df49bd6
feat: change billing plan get in touch to support email (#7523) 2024-07-03 16:58:04 +02:00
Thomas Heartman
c5fdaeabd9
feat: UI limit for API tokens (#7532)
This PR activates the limit for API token creation in both the global
API token window and in the project-level API token tab.

Because the same button is used in two places, I encapsulated the
fetching of flags and resource limits within the button. I can be
convinced to pass the current API token count and the limit as
arguments, but I think this is the right solution for this case.
2024-07-03 12:36:48 +00:00
Jaanus Sellin
08533d7224
chore: remove unused clone code (#7529)
Removing this code, because variants per env are GA and I did not find
any usage of it.
2024-07-03 15:08:19 +03:00
Jaanus Sellin
990ea1ffb2
feat: quick suggestions click close (#7533)
Now recently visited projects, features, pages will also close the
command bar.
2024-07-03 14:41:23 +03:00
Jaanus Sellin
fc95d459d0
feat: use different cache key for command bar (#7530)
Now command bar and search do not share same cache, so they wont
conflict anymore.
2024-07-03 14:28:47 +03:00
Mateusz Kwasniewski
d924519abb
feat: segments limit ui (#7528) 2024-07-03 12:34:16 +02:00
Thomas Heartman
6d913809ca
chore: extract api token service composition root; place it in /features (#7519)
This is a refactoring task, creating an ApiTokenService composition root
in /features.
2024-07-03 11:49:11 +02:00
Jaanus Sellin
57c1a6edd5
feat: track interaction with search (#7526)
Now we will start tracking how users interact with search box. Whether
they open it manually or use CTRL K
2024-07-03 12:27:20 +03:00
Mateusz Kwasniewski
72615cc6d5
feat: segments limit (#7524) 2024-07-03 10:41:56 +02:00
Gastón Fournier
5832fc7d81
feat: what's new in Unleash (#7497)
https://linear.app/unleash/issue/2-2354/new-in-unleash-section-in-sidebar

Add a "New in Unleash" section in the side bar and use it to announce
signals and actions.


![image](https://github.com/Unleash/unleash/assets/14320932/b2b5b65a-1812-4fc9-addf-c47c3cc90af3)

Inside signals page we're also including a feedback button to try to
collect some insights.


![image](https://github.com/Unleash/unleash/assets/14320932/a2edb355-55e8-4939-b29d-2ba4e1f68001)

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2024-07-03 09:54:38 +02:00