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

10755 Commits

Author SHA1 Message Date
Nuno Góis
68729333e0
chore: rename incoming webhooks to signals (#6415)
https://linear.app/unleash/issue/2-1994/ui-feature-rename-adapt-the-signals-ui
https://linear.app/unleash/issue/2-1996/rename-feature-in-the-code-base

Implements the feature rename to Signals by adapting the code base and
UI.
2024-03-04 12:08:05 +00:00
Tymoteusz Czech
4fc0a806f1
Insights dashboard refactor (#6404)
- reorganized dashboard components
- added share link
- health chart aggregated data
- refactored chart placeholders
2024-03-04 12:56:17 +01:00
Jaanus Sellin
493f8e8a5b
feat: application overview feedback (#6416)
![image](https://github.com/Unleash/unleash/assets/964450/e8b85b7f-2c8b-42d2-9c6e-3f6ae9e27413)
2024-03-04 13:45:57 +02:00
andreas-unleash
0c9838b26a
Feat: metrics chart tooltip refactoring (#6414)
Refactoring after moving aggregation to BE
<img width="1357" alt="Screenshot 2024-03-04 at 12 14 28"
src="https://github.com/Unleash/unleash/assets/104830839/9881ba13-69a3-49d9-bb3f-3316a9287a06">

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-04 12:37:03 +01:00
Nuno Góis
b3e31c09a1
chore: rename incoming webhooks to signals (DB) (#6413)
https://linear.app/unleash/issue/2-1997/rename-feature-in-the-db

Renames the **incoming webhooks** feature to **signals** in the DB.

Also adds a `description` column to `action_sets`, so we can match the
new designs.
2024-03-04 10:28:19 +00:00
andreas-unleash
6c710f68a7
Feat: metrics chart tooltip (#6409)
Creates the Metrics chart tooltip

Data are summarised per week and grouped per project

<img width="1454" alt="Screenshot 2024-03-01 at 18 14 11"
src="https://github.com/Unleash/unleash/assets/104830839/0707f764-b067-4171-86bb-0592b846fcda">

Post refactoring image (matches)

<img width="1357" alt="Screenshot 2024-03-04 at 12 14 28"
src="https://github.com/Unleash/unleash/assets/104830839/324981e3-ace2-4198-9620-23d7182a9702">

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-03-04 12:17:48 +02:00
renovate[bot]
a4a2e7792b
chore(deps): update dependency @types/pg to v8.11.1 (#6412)
[![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/pg](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pg))
| [`8.11.0` ->
`8.11.1`](https://renovatebot.com/diffs/npm/@types%2fpg/8.11.0/8.11.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fpg/8.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fpg/8.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fpg/8.11.0/8.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fpg/8.11.0/8.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 01:31:13 +00:00
renovate[bot]
ee17f0569f
fix(deps): update dependency nodemailer to v6.9.10 (#6411)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>nodemailer/nodemailer (nodemailer)</summary>

###
[`v6.9.10`](https://togithub.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#6910-2024-02-22)

[Compare
Source](https://togithub.com/nodemailer/nodemailer/compare/v6.9.9...v6.9.10)

##### Bug Fixes

- **data-uri:** Do not use regular expressions for parsing data URI
schemes
([12e65e9](12e65e975d))
- **data-uri:** Moved all data-uri regexes to use the non-regex
parseDataUri method
([edd5dfe](edd5dfe5ce))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 22:43:22 +00:00
renovate[bot]
0b58f780fd
fix(deps): update dependency joi to v17.12.2 (#6410)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>hapijs/joi (joi)</summary>

###
[`v17.12.2`](https://togithub.com/hapijs/joi/compare/v17.12.1...v17.12.2)

[Compare
Source](https://togithub.com/hapijs/joi/compare/v17.12.1...v17.12.2)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 19:38:22 +00:00
andreas-unleash
7b67f218eb
fix: Project select bug with duplicate values (#6405)
Project select fix for Executive Dashboard and Playground

Extract the select to it's own component and move to `common`
Re-use for both Dashboard and Playground
Adds the id in parenthesis when there are duplicate names

<img width="1406" alt="Screenshot 2024-03-01 at 12 04 22"
src="https://github.com/Unleash/unleash/assets/104830839/379ea11f-d627-493e-8088-a739d58fba61">
<img width="1434" alt="Screenshot 2024-03-01 at 12 36 46"
src="https://github.com/Unleash/unleash/assets/104830839/9c5cf863-002c-4630-ac3a-4a869303a308">

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-01 14:28:57 +02:00
Jaanus Sellin
a4a604aebb
feat: application environment level warnings (#6407)
![image](https://github.com/Unleash/unleash/assets/964450/5e93dfd6-e1c0-48dd-a3c6-587889096510)
2024-03-01 14:09:55 +02:00
Tymoteusz Czech
ae077558c0
feat: insights project filtering hooks with tests (#6403)
Hooks to filter and aggregate insights data on frontend
2024-03-01 10:15:16 +00:00
Tymoteusz Czech
446b2b2a2d
refactor: improve link field customizability (#6402)
Add ability to reuse "copy link" dialogue in other places
2024-03-01 11:01:58 +01:00
Tymoteusz Czech
d057703b2f
update openapi: add users to insights (#6401)
frontend types update
2024-03-01 10:45:04 +01:00
renovate[bot]
d74bee472f
chore(deps): update metcalfc/changelog-generator action to v4.3.1 (#6397)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[metcalfc/changelog-generator](https://togithub.com/metcalfc/changelog-generator)
| action | patch | `v4.3.0` -> `v4.3.1` |

---

### Release Notes

<details>
<summary>metcalfc/changelog-generator
(metcalfc/changelog-generator)</summary>

###
[`v4.3.1`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.3.1):
Minor security release 4.3.1

[Compare
Source](https://togithub.com/metcalfc/changelog-generator/compare/v4.3.0...v4.3.1)

-
[d552ecf](d552ecf336)
- Minor ecurity release 4.3.1
-
[ee3f2a2](ee3f2a27cf)
- Merge pull request
[#&#8203;234](https://togithub.com/metcalfc/changelog-generator/issues/234)
from metcalfc/dependabot/npm_and_yarn/prettier-3.2.5
-
[ee77638](ee776384fd)
- Merge pull request
[#&#8203;235](https://togithub.com/metcalfc/changelog-generator/issues/235)
from metcalfc/dependabot/npm_and_yarn/undici-5.28.3
-
[37c250d](37c250dc0c)
- Bump undici from 5.26.4 to 5.28.3
-
[393755e](393755e108)
- Bump prettier from 3.2.4 to 3.2.5

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 03:13:20 +00:00
renovate[bot]
b6851e469d
chore(deps): update dependency cypress to v13.6.6 (#6396)
[![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://cypress.io)
([source](https://togithub.com/cypress-io/cypress)) | [`13.6.5` ->
`13.6.6`](https://renovatebot.com/diffs/npm/cypress/13.6.5/13.6.6) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/13.6.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/13.6.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/13.6.5/13.6.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/13.6.5/13.6.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v13.6.5...v13.6.6)

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 02:53:42 +00:00
renovate[bot]
16b0985918
chore(deps): update dependency @uiw/react-codemirror to v4.21.23 (#6395)
[![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.22` ->
`4.21.23`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.21.22/4.21.23)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.21.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.21.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.21.22/4.21.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.21.22/4.21.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

[![Buy me a
coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.23/file/README.md)

Documentation v4.21.23:
https://raw.githack.com/uiwjs/react-codemirror/3510177/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.22...v4.21.23

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

- 🌍 website(deps): fix console theme dependency issue.
[`923c164`](https://togithub.com/uiwjs/react-codemirror/commit/923c164)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(events): `events` extension export `element`.
[#&#8203;633](https://togithub.com/uiwjs/react-codemirror/issues/633)
[`92c5c57`](https://togithub.com/uiwjs/react-codemirror/commit/92c5c57)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 00:08:46 +00:00
renovate[bot]
03d3c99e16
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.21.23 (#6394)
[![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/codemirror-theme-duotone](https://uiwjs.github.io/react-codemirror/#/theme/data/duotone/light)
([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.21.22` ->
`4.21.23`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.21.22/4.21.23)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2fcodemirror-theme-duotone/4.21.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2fcodemirror-theme-duotone/4.21.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2fcodemirror-theme-duotone/4.21.22/4.21.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2fcodemirror-theme-duotone/4.21.22/4.21.23?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

[![Buy me a
coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.23/file/README.md)

Documentation v4.21.23:
https://raw.githack.com/uiwjs/react-codemirror/3510177/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.22...v4.21.23

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

- 🌍 website(deps): fix console theme dependency issue.
[`923c164`](https://togithub.com/uiwjs/react-codemirror/commit/923c164)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(events): `events` extension export `element`.
[#&#8203;633](https://togithub.com/uiwjs/react-codemirror/issues/633)
[`92c5c57`](https://togithub.com/uiwjs/react-codemirror/commit/92c5c57)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-29 22:21:39 +00:00
renovate[bot]
7f5215b035
chore(deps): update dependency @types/node to v18.19.18 (#6393)
[![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/tree/HEAD/types/node))
| [`18.19.17` ->
`18.19.18`](https://renovatebot.com/diffs/npm/@types%2fnode/18.19.17/18.19.18)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.19.18?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.19.18?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.19.17/18.19.18?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.19.17/18.19.18?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-29 20:56:23 +00:00
Mateusz Kwasniewski
677beb190a
feat: outdated SDKs UI (#6391) 2024-02-29 15:48:44 +01:00
Nuno Góis
bddc508582
chore: actions filter constraints (#6389)
https://linear.app/unleash/issue/2-1952/adapt-actions-form-ui-to-unleash-constraint-operators

Implements the new action filters UI, now powered by constraint
operators.

This PR goes through some effort to not touch existing components too
much, especially since they are critical for activation strategies.
Instead, the new feature tries to adapt to the existing components and
styling them appropriately, while still re-using them. We can refactor
this at a later stage if needed.

This UI will face some more drastic changes in the near future due to
the feature rename, so I wanted to keep this PR mostly scoped to the
constraint operators before proceeding with more changes.


![image](https://github.com/Unleash/unleash/assets/14320932/f4bef4e0-33bd-463c-a252-e1cc0c22e843)


![image](https://github.com/Unleash/unleash/assets/14320932/192a3bd4-f11d-4619-b826-bbf5df80050c)


![image](https://github.com/Unleash/unleash/assets/14320932/fcfc0239-a28f-446d-a901-2e73f0add1a2)


As always, did some manual tests and it seems to be working great!
2024-02-29 12:56:48 +00:00
Gastón Fournier
4f638a1c8d
fix: bad segment edit link (#6390)
## About the changes
Fixes a bad link which leads to editing a global segment from project
settings mimicking
67928209ef/frontend/src/component/segments/EditSegmentButton/EditSegmentButton.tsx (L22-L28)
2024-02-29 13:54:31 +01:00
Jaanus Sellin
b4a8b0f780
feat: application environment ordered and timeago min time (#6374) 2024-02-29 14:11:56 +02:00
Jaanus Sellin
2bf11b2ea9
fix: appliction was rendered too early (#6388) 2024-02-29 14:03:36 +02:00
Mateusz Kwasniewski
1acb4bbb36
feat: outdated sdk detection (#6381) 2024-02-29 11:30:56 +01:00
Jaanus Sellin
a958797a8a
feat: add creation buttons to application features and strategies (#6387)
![image](https://github.com/Unleash/unleash/assets/964450/2c8215af-3ab3-43e6-bdeb-1ae36aad3aa3)
2024-02-29 12:25:42 +02:00
Mateusz Kwasniewski
68095916e8
fix: relax trends tables constraints (#6386) 2024-02-29 10:56:14 +01:00
Mateusz Kwasniewski
5a80d5e026
fix: project client metrics trends remove invalid insert (#6385) 2024-02-29 09:52:58 +01:00
Jaanus Sellin
8f30904905
feat: new application header design (#6379)
- remove application icon
- Update font for created text
- change "Delete" button into a trash can button


![image](https://github.com/Unleash/unleash/assets/964450/c956ea23-8ac0-4c0b-9ef4-287f895ecc2f)
2024-02-29 10:38:43 +02:00
Christopher Kolstad
0887999dd0
fix: setRolesForUser and setRolesForGroup role check (#6380)
In order to stop privilege escalation via
`/api/admin/projects/:project/users/:userId/roles` and
`/api/admin/projects/:project/groups/:groupId/roles` this PR adds the
same check we added to setAccess methods to the methods updating access
for these two methods.

Also adds tests that verify that we throw an exception if you try to
assign roles you do not have.

Thank you @nunogois for spotting this during testing.
2024-02-29 09:38:32 +01:00
renovate[bot]
80d89ab260
chore(deps): update dependency vite to v5.1.4 (#6384)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v5.1.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small514-2024-02-21-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.1.3...v5.1.4)

- perf: remove unnecessary regex s modifier
([#&#8203;15766](https://togithub.com/vitejs/vite/issues/15766))
([8dc1b73](https://togithub.com/vitejs/vite/commit/8dc1b73)), closes
[#&#8203;15766](https://togithub.com/vitejs/vite/issues/15766)
- fix: fs cached checks disabled by default for yarn pnp
([#&#8203;15920](https://togithub.com/vitejs/vite/issues/15920))
([8b11fea](https://togithub.com/vitejs/vite/commit/8b11fea)), closes
[#&#8203;15920](https://togithub.com/vitejs/vite/issues/15920)
- fix: resolve directory correctly when `fs.cachedChecks: true`
([#&#8203;15983](https://togithub.com/vitejs/vite/issues/15983))
([4fe971f](https://togithub.com/vitejs/vite/commit/4fe971f)), closes
[#&#8203;15983](https://togithub.com/vitejs/vite/issues/15983)
- fix: srcSet with optional descriptor
([#&#8203;15905](https://togithub.com/vitejs/vite/issues/15905))
([81b3bd0](https://togithub.com/vitejs/vite/commit/81b3bd0)), closes
[#&#8203;15905](https://togithub.com/vitejs/vite/issues/15905)
- fix(deps): update all non-major dependencies
([#&#8203;15959](https://togithub.com/vitejs/vite/issues/15959))
([571a3fd](https://togithub.com/vitejs/vite/commit/571a3fd)), closes
[#&#8203;15959](https://togithub.com/vitejs/vite/issues/15959)
- fix(watch): build watch fails when outDir is empty string
([#&#8203;15979](https://togithub.com/vitejs/vite/issues/15979))
([1d263d3](https://togithub.com/vitejs/vite/commit/1d263d3)), closes
[#&#8203;15979](https://togithub.com/vitejs/vite/issues/15979)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-29 00:24:57 +00:00
renovate[bot]
94dbd1fa8a
chore(deps): update dependency vanilla-jsoneditor to v0.21.6 (#6383)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v0.21.6`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0216-2024-02-15)

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 22:08:02 +00:00
renovate[bot]
73fe3ba3dc
chore(deps): update dependency swr to v2.2.5 (#6382)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

##### Patches

- types: isLoading typed as boolean when using fallbackData
([#&#8203;2866](https://togithub.com/vercel/swr/issues/2866)) by
[@&#8203;yjrhgvbn](https://togithub.com/yjrhgvbn) in
[https://github.com/vercel/swr/pull/2875](https://togithub.com/vercel/swr/pull/2875)
- fix: allow onErrorRetry on inactive tab without focus/reconnect
revalidation by [@&#8203;qkdreyer](https://togithub.com/qkdreyer) in
[https://github.com/vercel/swr/pull/2848](https://togithub.com/vercel/swr/pull/2848)
- feat: pass a function to the revalidate option in mutate by
[@&#8203;koba04](https://togithub.com/koba04) in
[https://github.com/vercel/swr/pull/2862](https://togithub.com/vercel/swr/pull/2862)
- fix: SWRConfiguration type by
[@&#8203;hulla-dev](https://togithub.com/hulla-dev) in
[https://github.com/vercel/swr/pull/2882](https://togithub.com/vercel/swr/pull/2882)

##### Misc

- build: use new bundle convention by
[@&#8203;huozhi](https://togithub.com/huozhi) in
[https://github.com/vercel/swr/pull/2865](https://togithub.com/vercel/swr/pull/2865)
- chore: update pnpm-lock.yaml by
[@&#8203;koba04](https://togithub.com/koba04) in
[https://github.com/vercel/swr/pull/2874](https://togithub.com/vercel/swr/pull/2874)
- chore: remove useless comment by
[@&#8203;kongmoumou](https://togithub.com/kongmoumou) in
[https://github.com/vercel/swr/pull/2868](https://togithub.com/vercel/swr/pull/2868)
- test: run pnpm test on CI by
[@&#8203;koba04](https://togithub.com/koba04) in
[https://github.com/vercel/swr/pull/2872](https://togithub.com/vercel/swr/pull/2872)
- fix: all act warnings by [@&#8203;koba04](https://togithub.com/koba04)
in
[https://github.com/vercel/swr/pull/2861](https://togithub.com/vercel/swr/pull/2861)
- Update bundler by [@&#8203;huozhi](https://togithub.com/huozhi) in
[https://github.com/vercel/swr/pull/2830](https://togithub.com/vercel/swr/pull/2830)

##### New Contributors

- [@&#8203;kongmoumou](https://togithub.com/kongmoumou) made their first
contribution in
[https://github.com/vercel/swr/pull/2868](https://togithub.com/vercel/swr/pull/2868)
- [@&#8203;yjrhgvbn](https://togithub.com/yjrhgvbn) made their first
contribution in
[https://github.com/vercel/swr/pull/2875](https://togithub.com/vercel/swr/pull/2875)
- [@&#8203;qkdreyer](https://togithub.com/qkdreyer) made their first
contribution in
[https://github.com/vercel/swr/pull/2848](https://togithub.com/vercel/swr/pull/2848)
- [@&#8203;hulla-dev](https://togithub.com/hulla-dev) made their first
contribution in
[https://github.com/vercel/swr/pull/2882](https://togithub.com/vercel/swr/pull/2882)

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 20:15:14 +00:00
Mateusz Kwasniewski
84400323d6
feat: sdk reporting tracker (#6378) 2024-02-28 15:52:03 +01:00
Jaanus Sellin
df93827002
feat: remove applications from project list that do not exist (#6377) 2024-02-28 16:26:53 +02:00
Mateusz Kwasniewski
4392fa5890
fix: break on words not on all (#6370) 2024-02-28 14:18:21 +01:00
Christopher Kolstad
c9e7bec690
task: upgrade edge banner now toggleable by flag (#6363)
So, since our assumption about client instances ended up being wrong (or, less than stable).
This PR moves the EdgeUpgradeBanner to be displayed if the featureflag
displayEdgeBanner is enabled. That way, if customers comes back and says
they have upgraded but still get the banner, we can remove them from the
segment.
2024-02-28 14:06:46 +01:00
Mateusz Kwasniewski
3aff5d80a0
fix: last seen instance with timezone (#6376) 2024-02-28 13:00:07 +01:00
Mateusz Kwasniewski
2bf46d9369
refactor: Information tooltip instances (#6375) 2024-02-28 12:26:15 +01:00
Jaanus Sellin
7af7b32bd5
feat: application overview ux improvements (#6371)
1. Added navigation from environments to instances
2. Last seen is now shown as TimeAgo
3. Added icons for total environments and features
4. Fixed schema


![image](https://github.com/Unleash/unleash/assets/964450/4d0a51a9-7141-4854-ada9-72676e42239c)
2024-02-28 12:39:33 +02:00
Mateusz Kwasniewski
9a12257568
feat: info icon instances for 2 days (#6373) 2024-02-28 11:22:31 +01:00
Tymoteusz Czech
ba2b90af42
Dashboard charts - always show past 3 months (#6372) 2024-02-28 10:33:49 +01:00
andreas-unleash
74c760bf4c
chore: remove changeRequestConflictHandling flag (#6364)
What it says on the tin

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-02-28 10:16:35 +02:00
Tymoteusz Czech
96c86b221b
feat: improved health chart tooltip (#6359) 2024-02-28 08:58:27 +01:00
Mateusz Kwasniewski
b82a650dab
feat: connected instances support query param for env (#6362) 2024-02-28 08:57:34 +01:00
renovate[bot]
38658ae653
chore(deps): update dependency react-router to v6.22.1 (#6369)
[![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.22.0` ->
`6.22.1`](https://renovatebot.com/diffs/npm/react-router/6.22.0/6.22.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.22.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.22.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.22.0/6.22.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.22.0/6.22.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v6.22.1`](https://togithub.com/remix-run/react-router/releases/tag/react-router%406.22.1):
v6.22.1

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

See the changelog for release notes:
https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6221

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 03:38:06 +00:00
renovate[bot]
53ee3a29e4
chore(deps): update dependency nock to v13.5.3 (#6368)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

### [`v13.5.3`](https://togithub.com/nock/nock/releases/tag/v13.5.3)

[Compare
Source](https://togithub.com/nock/nock/compare/v13.5.2...v13.5.3)

##### Bug Fixes

- support literal query string
([#&#8203;2590](https://togithub.com/nock/nock/issues/2590))
([4162fa8](4162fa8b2d))

### [`v13.5.2`](https://togithub.com/nock/nock/releases/tag/v13.5.2)

[Compare
Source](https://togithub.com/nock/nock/compare/v13.5.1...v13.5.2)

##### Bug Fixes

- remove duplicates from `activeMocks()` and `pendingMocks()`
([#&#8203;2356](https://togithub.com/nock/nock/issues/2356))
([7e957b3](7e957b38fb))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 01:41:30 +00:00
renovate[bot]
e74afa587a
chore(deps): update dependency cypress to v13.6.5 (#6367)
[![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://cypress.io)
([source](https://togithub.com/cypress-io/cypress)) | [`13.6.4` ->
`13.6.5`](https://renovatebot.com/diffs/npm/cypress/13.6.4/13.6.5) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/13.6.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/13.6.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/13.6.4/13.6.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/13.6.4/13.6.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/cypress-io/cypress/compare/v13.6.4...v13.6.5)

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-27 22:52:04 +00:00
renovate[bot]
e55839aff3
chore(deps): update dependency @uiw/react-codemirror to v4.21.22 (#6366)
[![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.21` ->
`4.21.22`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.21.21/4.21.22)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.21.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.21.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.21.21/4.21.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.21.21/4.21.22?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

[![Buy me a
coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@&#8203;uiw/react-codemirror@4.21.22/file/README.md)

Documentation v4.21.22:
https://raw.githack.com/uiwjs/react-codemirror/df31507/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.21...v4.21.22

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

- 🌍 website: update website.
([#&#8203;614](https://togithub.com/uiwjs/react-codemirror/issues/614))
[`bf3b862`](https://togithub.com/uiwjs/react-codemirror/commit/bf3b862)
[@&#8203;mosaleh52](https://togithub.com/mosaleh52)
- 📖 doc: Update README.md
([#&#8203;626](https://togithub.com/uiwjs/react-codemirror/issues/626))
[`042b6c9`](https://togithub.com/uiwjs/react-codemirror/commit/042b6c9)
[@&#8203;orichcasperkevin](https://togithub.com/orichcasperkevin)
- 🌟 feat(theme): add `console` theme
([#&#8203;632](https://togithub.com/uiwjs/react-codemirror/issues/632))
[`d2a17b0`](https://togithub.com/uiwjs/react-codemirror/commit/d2a17b0)
[@&#8203;dalejo96](https://togithub.com/dalejo96)
- 🐞 fix(website): fix theme example display issue.
([#&#8203;632](https://togithub.com/uiwjs/react-codemirror/issues/632))
[`5c7a699`](https://togithub.com/uiwjs/react-codemirror/commit/5c7a699)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: update workflows config
([#&#8203;632](https://togithub.com/uiwjs/react-codemirror/issues/632))
[`d5dd1ec`](https://togithub.com/uiwjs/react-codemirror/commit/d5dd1ec)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(themes-all): theme console added to themes-all
([#&#8203;632](https://togithub.com/uiwjs/react-codemirror/issues/632)).
[`a779719`](https://togithub.com/uiwjs/react-codemirror/commit/a779719)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme-console): modify the theme selection style.
([#&#8203;632](https://togithub.com/uiwjs/react-codemirror/issues/632))
[`233347d`](https://togithub.com/uiwjs/react-codemirror/commit/233347d)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-27 20:02:58 +00:00
Gastón Fournier
70499dc1d4
feat: allow api token middleware to fetch from db (#6344)
## About the changes
When edge is configured to automatically generate tokens, it requires
the token to be present in all unleash instances.
It's behind a flag which enables us to turn it on on a case by case
scenario.

The risk of this implementation is that we'd be adding load to the
database in the middleware that evaluates tokens (which are present in
mostly all our API calls. We only query when the token is missing but
because the /client and /frontend endpoints which will be the affected
ones are high throughput, we want to be extra careful to avoid DDoSing
ourselves

## Alternatives:
One alternative would be that we merge the two endpoints into one.
Currently, Edge does the following:
If the token is not valid, it tries to create a token using a service
account token and /api/admin/create-token endpoint. Then it uses the
token generated (which is returned from the prior endpoint) to query
/api/frontend. What if we could call /api/frontend with the same service
account we use to create the token? It may sound risky but if the same
application holding the service account token with permission to create
a token, can call /api/frontend via the generated token, shouldn't it be
able to call the endpoint directly?

The purpose of the token is authentication and authorization. With the
two tokens we are authenticating the same app with 2 different
authorization scopes, but because it's the same app we are
authenticating, can't we just use one token and assume that the app has
both scopes?

If the service account already has permissions to create a token and
then use that token for further actions, allowing it to directly call
/api/frontend does not necessarily introduce new security risks. The
only risk is allowing the app to generate new tokens. Which leads to the
third alternative: should we just remove this option from edge?
2024-02-27 16:08:44 +01:00