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

9020 Commits

Author SHA1 Message Date
Mateusz Kwasniewski
c7ff3b472e
feat: Virtualized table with parent ref (#3993) 2023-06-15 14:11:04 +02:00
Tymoteusz Czech
221e3218df
fix: column initial state for project features (#3983) 2023-06-15 14:39:58 +03:00
Tymoteusz Czech
06f9e71f39
fix: show environment reorder handle (#3990)
## About the changes
Handle icon for reordering environments was not showing up.

**Before:**

![image](https://github.com/Unleash/unleash/assets/2625371/977cdda4-6cf2-4acf-affc-f812907bb543)

**After**

![image](https://github.com/Unleash/unleash/assets/2625371/ce495682-5366-4d31-8f5d-1601949d5089)
2023-06-15 13:39:22 +02:00
Jaanus Sellin
6e374be790
feat: strategy tooltip grouping and default (#3986) 2023-06-15 14:29:37 +03:00
Tymoteusz Czech
e0ed2fb830
fix: table imports (#3982)
## About the changes
Quick fix for build warnings on frontend - prevent circular
dependencies.
2023-06-15 13:02:14 +02:00
Jaanus Sellin
6986534ed8
fix: fix sort order for environments (#3992) 2023-06-15 13:27:15 +03:00
andreas-unleash
650f6cc857
feat: Advanced playground table (#3978)
<!-- 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! ❤️ -->
Implements the Advanced Playground Table

## 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-1007](https://linear.app/unleash/issue/1-1007/env-aware-results-table)

<!-- (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? -->


![Screenshot 2023-06-14 at 15 04
08](https://github.com/Unleash/unleash/assets/104830839/2f76d6f5-f92b-4586-bb4b-265f26eeb836)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-06-15 09:29:31 +00:00
Jaanus Sellin
a066d7888d
feat: add max order to environments (#3988)
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2023-06-15 12:21:35 +03:00
Mateusz Kwasniewski
9853aa0217
feat:playground environment table (#3985) 2023-06-15 09:56:13 +02:00
Thomas Heartman
2be143a64e
docs: mark 'yes' and no as required, add more details to variants (#3984)
This change adds a little more detail to the client metrics schema. The
description for variants felt a
little unclear.

---------

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2023-06-15 07:14:17 +00:00
Nuno Góis
bb026c0ba1
feat: custom root roles (#3975)
## About the changes
Implements custom root roles, encompassing a lot of different areas of
the project, and slightly refactoring the current roles logic. It
includes quite a clean up.

This feature itself is behind a flag: `customRootRoles`

This feature covers root roles in:
 - Users;
 - Service Accounts;
 - Groups;

Apologies in advance. I may have gotten a bit carried away 🙈 

### Roles

We now have a new admin tab called "Roles" where we can see all root
roles and manage custom ones. We are not allowed to edit or remove
*predefined* roles.

![image](https://github.com/Unleash/unleash/assets/14320932/1ad8695c-8c3f-440d-ac32-39746720d588)
This meant slightly pushing away the existing roles to `project-roles`
instead. One idea we want to explore in the future is to unify both
types of roles in the UI instead of having 2 separate tabs. This
includes modernizing project roles to fit more into our current design
and decisions.

Hovering the permissions cell expands detailed information about the
role:

![image](https://github.com/Unleash/unleash/assets/14320932/81c4aae7-8b4d-4cb4-92d1-8f1bc3ef1f2a)

### Create and edit role

Here's how the role form looks like (create / edit):

![image](https://github.com/Unleash/unleash/assets/14320932/85baec29-bb10-48c5-a207-b3e9a8de838a)
Here I categorized permissions so it's easier to visualize and manage
from a UX perspective.

I'm using the same endpoint as before. I tried to unify the logic and
get rid of the `projectRole` specific hooks. What distinguishes custom
root roles from custom project roles is the extra `root-custom` type we
see on the payload. By default we assume `custom` (custom project role)
instead, which should help in terms of backwards compatibility.

### Delete role

When we delete a custom role we try to help the end user make an
informed decision by listing all the entities which currently use this
custom root role:

![image](https://github.com/Unleash/unleash/assets/14320932/352ed529-76be-47a8-88da-5e924fb191d4)
~~As mentioned in the screenshot, when deleting a custom role, we demote
all entities associated with it to the predefined `Viewer` role.~~
**EDIT**: Apparently we currently block this from the API
(access-service deleteRole) with a message:

![image](https://github.com/Unleash/unleash/assets/14320932/82a8e50f-8dc5-4c18-a2ba-54e2ae91b91c)
What should the correct behavior be?

### Role selector

I added a new easy-to-use role selector component that is present in:
 - Users 

![image](https://github.com/Unleash/unleash/assets/14320932/76953139-7fb6-437e-b3fa-ace1d9187674)
 - Service Accounts

![image](https://github.com/Unleash/unleash/assets/14320932/2b80bd55-9abb-4883-b715-15650ae752ea)
- Groups

![image](https://github.com/Unleash/unleash/assets/14320932/ab438f7c-2245-4779-b157-2da1689fe402)

### Role description

I also added a new role description component that you can see below the
dropdown in the selector component, but it's also used to better
describe each role in the respective tables:

![image](https://github.com/Unleash/unleash/assets/14320932/a3eecac1-2a34-4500-a68c-e3f62ebfa782)

I'm not listing all the permissions of predefined roles. Those simply
show the description in the tooltip:

![image](https://github.com/Unleash/unleash/assets/14320932/7e5b2948-45f0-4472-8311-bf533409ba6c)

### Role badge

Groups is a bit different, since it uses a list of cards, so I added yet
another component - Role badge:

![image](https://github.com/Unleash/unleash/assets/14320932/1d62c3db-072a-4c97-b86f-1d8ebdd3523e)

I'm using this same component on the profile tab:

![image](https://github.com/Unleash/unleash/assets/14320932/214272db-a828-444e-8846-4f39b9456bc6)

## Discussion points
- Are we being defensive enough with the use of the flag? Should we
cover more?
 - Are we breaking backwards compatibility in any way?
 - What should we do when removing a role? Block or demote?
- Maybe some existing permission-related issues will surface with this
change: Are we being specific enough with our permissions? A lot of
places are simply checking for `ADMIN`;
- We may want to get rid of the API roles coupling we have with the
users and SAs and instead use the new hooks (e.g. `useRoles`)
explicitly;
 - We should update the docs;
- Maybe we could allow the user to add a custom role directly from the
role selector component;

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-06-14 14:40:40 +01:00
Mateusz Kwasniewski
1bd182d02a
chore: upgrade orval types (#3981) 2023-06-14 14:40:24 +02:00
Christopher Kolstad
b8da1ce2a9
docs: OpenAPI Client tag (#3979)
### What
Adds documentation for open api endpoints tagged with `Client`.

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-06-14 12:19:00 +00:00
Mateusz Kwasniewski
6ae4fe2085
test: meta schema rules should not check description on ref (#3980) 2023-06-14 12:29:09 +02:00
Mateusz Kwasniewski
8bddbd80f6
feat: advanced playground openapi (#3972) 2023-06-14 11:05:08 +02:00
Mateusz Kwasniewski
dec32810c1
docs: how to synchronize unleash instances (#3977) 2023-06-14 10:05:54 +02:00
Mateusz Kwasniewski
edd67f7046
test: advanced playground (#3968) 2023-06-14 08:23:36 +02:00
Jaanus Sellin
b91b7276c5
feat: split strategies table into two with new design (#3969) 2023-06-14 09:10:04 +03:00
Jaanus Sellin
41370be591
feat: update predefined strategies tooltip (#3964) 2023-06-14 08:46:15 +03:00
renovate[bot]
f5d944b9aa
chore(deps): update dependency @types/pg to v8.10.2 (#3973)
[![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)) |
[`8.10.1` ->
`8.10.2`](https://renovatebot.com/diffs/npm/@types%2fpg/8.10.1/8.10.2) |
[![age](https://badges.renovateapi.com/packages/npm/@types%2fpg/8.10.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fpg/8.10.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fpg/8.10.2/compatibility-slim/8.10.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fpg/8.10.2/confidence-slim/8.10.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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTUuMiIsInVwZGF0ZWRJblZlciI6IjM1LjExNS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 20:25:55 +00:00
Gastón Fournier
30b16bef84
chore: set unleash version to be either the enterprise version or OSS (#3974)
## About the changes
Unleash version should be the one best representing its runtime. In this
regard, enterpriseVersion trumps unleash-server version.

This version is the one that's sent as part of our metrics.
2023-06-13 19:39:49 +02:00
renovate[bot]
ec8a03bcf4
chore(deps): update dependency @uiw/react-codemirror to v4.21.1 (#3963)
[![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.20.2` ->
`4.21.1`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.20.2/4.21.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.1/compatibility-slim/4.20.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.21.1/confidence-slim/4.20.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror</summary>

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

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


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

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

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

- 🌍 website(deps): update devDependencies.
[`8a5c149`](https://togithub.com/uiwjs/react-codemirror/commit/8a5c149)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix Original/Modified props issue.
([#&#8203;515](https://togithub.com/uiwjs/react-codemirror/issues/515))
[`2a3efaf`](https://togithub.com/uiwjs/react-codemirror/commit/2a3efaf)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.21.0:
https://raw.githack.com/uiwjs/react-codemirror/cdfb457/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.4...v4.21.0

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

- 📖 doc(codemirror-themes-all): update document.
[`f01d52b`](https://togithub.com/uiwjs/react-codemirror/commit/f01d52b)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(codemirror-merge): add theme/ref props.
([#&#8203;515](https://togithub.com/uiwjs/react-codemirror/issues/515))
[`c608dd3`](https://togithub.com/uiwjs/react-codemirror/commit/c608dd3)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.20.4:
https://raw.githack.com/uiwjs/react-codemirror/294f246/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.3...v4.20.4

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

- 🌍 website: update router link.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`f8f65af`](https://togithub.com/uiwjs/react-codemirror/commit/f8f65af)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: update router link.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`54a6882`](https://togithub.com/uiwjs/react-codemirror/commit/54a6882)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(langs): add more langs support.
[`7a3fdda`](https://togithub.com/uiwjs/react-codemirror/commit/7a3fdda)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.20.3:
https://raw.githack.com/uiwjs/react-codemirror/655a470/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.2...v4.20.3

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

- 🌍 website: update example.
[`7d69894`](https://togithub.com/uiwjs/react-codemirror/commit/7d69894)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: update example.
[`250cf04`](https://togithub.com/uiwjs/react-codemirror/commit/250cf04)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix(merge): fix extensions props issue.
[`edef72d`](https://togithub.com/uiwjs/react-codemirror/commit/edef72d)
[@&#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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-13 15:11:05 +00:00
David Leek
98d315e062
feat: add instance stats to version check (#3835)
<!-- 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 feature usage info and custom strategy counters to the version
check object.

<!-- 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? -->
2023-06-13 15:54:20 +02:00
Christopher Kolstad
5f3e5729b9
docs: Instance admin (#3961)
### What
Adds the documentation for the instance admin endpoints.

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-06-13 12:10:21 +00:00
Mateusz Kwasniewski
555f77463d
feat: draft branch playground evaluation (#3967) 2023-06-13 13:56:26 +02:00
Mateusz Kwasniewski
7d69750f3b
refactor: Extract playground steps (#3966) 2023-06-13 11:26:10 +02:00
andreas-unleash
8daab71219
Docs: update stickiness docs (#3928)
<!-- 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. -->

<!-- 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>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-06-13 11:26:12 +03:00
Mateusz Kwasniewski
32ae15741c
refactor: read project ids in memory (#3965) 2023-06-13 10:12:14 +02:00
renovate[bot]
f8ca7c91df
chore(deps): update typescript-eslint monorepo to v5.59.9 (#3962)
[![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.8` ->
`5.59.9`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.59.8/5.59.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.9/compatibility-slim/5.59.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.59.9/confidence-slim/5.59.8)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint)
| [`5.59.8` ->
`5.59.9`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.59.8/5.59.9)
|
[![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.9/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.9/compatibility-slim/5.59.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.59.9/confidence-slim/5.59.8)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v5.59.9`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5599-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5598v5599-2023-06-05)

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

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

</details>

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

###
[`v5.59.9`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5599-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5598v5599-2023-06-05)

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

**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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 22:05:43 +00:00
renovate[bot]
1122a54e22
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.21.1 (#3960)
[![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.20.2` ->
`4.21.1`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.20.2/4.21.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.1/compatibility-slim/4.20.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.21.1/confidence-slim/4.20.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror</summary>

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

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


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

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

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

- 🌍 website(deps): update devDependencies.
[`8a5c149`](https://togithub.com/uiwjs/react-codemirror/commit/8a5c149)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix Original/Modified props issue.
([#&#8203;515](https://togithub.com/uiwjs/react-codemirror/issues/515))
[`2a3efaf`](https://togithub.com/uiwjs/react-codemirror/commit/2a3efaf)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.21.0:
https://raw.githack.com/uiwjs/react-codemirror/cdfb457/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.4...v4.21.0

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

- 📖 doc(codemirror-themes-all): update document.
[`f01d52b`](https://togithub.com/uiwjs/react-codemirror/commit/f01d52b)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(codemirror-merge): add theme/ref props.
([#&#8203;515](https://togithub.com/uiwjs/react-codemirror/issues/515))
[`c608dd3`](https://togithub.com/uiwjs/react-codemirror/commit/c608dd3)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.20.4:
https://raw.githack.com/uiwjs/react-codemirror/294f246/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.3...v4.20.4

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

- 🌍 website: update router link.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`f8f65af`](https://togithub.com/uiwjs/react-codemirror/commit/f8f65af)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: update router link.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`54a6882`](https://togithub.com/uiwjs/react-codemirror/commit/54a6882)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(langs): add more langs support.
[`7a3fdda`](https://togithub.com/uiwjs/react-codemirror/commit/7a3fdda)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.20.3:
https://raw.githack.com/uiwjs/react-codemirror/655a470/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.20.2...v4.20.3

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

- 🌍 website: update example.
[`7d69894`](https://togithub.com/uiwjs/react-codemirror/commit/7d69894)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: update example.
[`250cf04`](https://togithub.com/uiwjs/react-codemirror/commit/250cf04)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix(merge): fix extensions props issue.
[`edef72d`](https://togithub.com/uiwjs/react-codemirror/commit/edef72d)
[@&#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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 20:09:18 +00:00
Gastón Fournier
9c8e433f25
chore: rename version to reflect next candidate (#3944)
## About the changes
Rationale: we're doing continuous deployment of every commit. We don't
want to bump versions with every deployment because it doesn't add
value.

Having a `-beta.xx` is also not relevant now, as any commit is deployed,
but the repository on itself is not published on npm as a different
version

We discussed some options: `rc` for release candidate, `beta`, but we
thought main reflects better that this version does not change unless
there's a reason for changing it (i.e. we're preparing the next version)
2023-06-12 15:13:35 +02:00
Gastón Fournier
818b8e7813
fix: feature not found in project yields 404 (#3958)
## About the changes
When a feature is not found in a project we should fail with a NotFound
error. If the feature belongs to a different project, it should not be a
permission issue, because the user might not be aware (lack of
permissions/visibility) of that other project, so even in this case the
error should be NotFound (this also works if we ever allow the same
feature name in different projects)

Fixes #3726

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-06-12 15:07:18 +02:00
Christopher Kolstad
7003351b35
docs: Health check endpoint (#3959)
### What
Adds documentation for the health check endpoint.

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-06-12 12:56:45 +00:00
renovate[bot]
d410f4774c
chore(deps): update dependency @swc/core to v1.3.62 (#3957) 2023-06-12 12:53:02 +02:00
Jaanus Sellin
4a2867bd78
feat: context/segment usage plausible (#3956) 2023-06-12 12:41:03 +03:00
Mateusz Kwasniewski
7b8b6bceaf
feat: walking skeleton of the advanced playground (#3949) 2023-06-12 11:01:52 +02:00
renovate[bot]
cf69136789
fix(deps): update dependency json-schema-to-ts to v2.9.1 (#3945)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[json-schema-to-ts](https://togithub.com/ThomasAribart/json-schema-to-ts)
| [`2.8.2` ->
`2.9.1`](https://renovatebot.com/diffs/npm/json-schema-to-ts/2.8.2/2.9.1)
|
[![age](https://badges.renovateapi.com/packages/npm/json-schema-to-ts/2.9.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/json-schema-to-ts/2.9.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/json-schema-to-ts/2.9.1/compatibility-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/json-schema-to-ts/2.9.1/confidence-slim/2.8.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ThomasAribart/json-schema-to-ts</summary>

###
[`v2.9.1`](https://togithub.com/ThomasAribart/json-schema-to-ts/releases/tag/v2.9.1):
🌈

[Compare
Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.9.0...v2.9.1)

#### Changes

- fix: build project with prev version of TS
[@&#8203;ThomasAribart](https://togithub.com/ThomasAribart)
([#&#8203;147](https://togithub.com/ThomasAribart/json-schema-to-ts/issues/147))

###
[`v2.9.0`](https://togithub.com/ThomasAribart/json-schema-to-ts/releases/tag/v2.9.0):
🌈

[Compare
Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.8.2...v2.9.0)

#### Changes

- Finalize release workflow
[@&#8203;ThomasAribart](https://togithub.com/ThomasAribart)
([#&#8203;143](https://togithub.com/ThomasAribart/json-schema-to-ts/issues/143))

</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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-12 08:43:43 +00:00
Gastón Fournier
4e0678dfb1
fix: allow empty appName as it may come in the url (#3953)
## About the changes
Edit application under
https://app.unleash-hosted.com/demo/applications/test-app is currently
not working as the appName is expected to come in the request body, but
it's actually part of the url. We have two options here:
1. We change the UI to adapt to the expectations of the request by
adding appName to the request body (and eventually removing appName from
the URL, which would be a breaking change)
2. We remove the restriction of only sending the appName in the body and
take the one that comes in the URL. We have a validation that verifies
that at least one of the two sets the appName
([here](e376088668/src/lib/services/client-metrics/instance-service.ts (L208))
we validate using [this
schema](e376088668/src/lib/services/client-metrics/schema.ts (L55-L70)))

In terms of REST API, we can assume that the appName will be present in
the resource `/api/admin/metrics/applications` (an endpoint we don't
have), but when we're updating an application we should refer to that
application by its URL: `/api/admin/metrics/applications/<appName>` and
the presence of an appName in the body might indicate that we're trying
to change the name of the application (something we currently not
support)

Based on the above, I believe going with the second option is best, as
it adheres to REST principles and does not require a breaking change.
Despite that, we only support updating applications as the creation is
done from metrics ingestion

Fixes: #3580
2023-06-12 10:15:00 +02:00
Jaanus Sellin
9f0d94287e
feat: context field usage frontend (#3938) 2023-06-12 10:55:58 +03:00
Gastón Fournier
4599e5cc06
chore: Optimize docker build oss (#3951)
## About the changes
Reduce the build time of OSS docker image from
[~30m](https://github.com/Unleash/unleash/actions/workflows/docker_publish.yaml)
to [under
15m](https://github.com/Unleash/unleash/actions/runs/5222180536/jobs/9427342758)

1. Build frontend outside docker multiplatform.
2. Allow `frontend/build` to be copied to the image by removing this
from `.dockerignore`
3. Run with `--ignore-scripts` to avoid building the frontend on the
`prepare` script, but this requires us to run all the prepare scripts
manually (except the frontend build).
 
**Note:** we need to build frontend in the `prepare` script to be able
to have source code dependencies

## Manual Testing
Manually downloaded from
https://hub.docker.com/r/unleashorg/unleash-server/tags?page=1 and
compared both `unleash` folders from main and the version built with the
new process
https://github.com/Unleash/unleash/actions/runs/5223078089/jobs/9429430190#step:5:48

![Screenshot from 2023-06-10
21-11-33](https://github.com/Unleash/unleash/assets/455064/60a41739-904d-480d-8d80-bf17b7a70432)

No major difference was spotted (only expected changes due to
development done in main)

**Command used to extract the contents:** 

```
cd /tmp
mkdir main && cd main
docker pull unleashorg/unleash-server:main-edge-18-alpine
docker export $(docker create unleashorg/unleash-server:main-edge-18-alpine) > container.tar && tar xvf container.tar
mkdir ../new-process && cd ../new-process
docker pull unleashorg/unleash-server:sha-ccac902-18-alpine
docker export $(docker create unleashorg/unleash-server:sha-ccac902-18-alpine) > container.tar && tar xvf container.tar
meld ./unleash ../main/unleash
```
2023-06-12 09:15:09 +02:00
Ivar Conradi Østhus
1bc130b7f0
fix: add createdAt in projects API response (#3929)
This PR adds the "createdAt" field to the /api/projects response, so
that we are compliant with the schema.
2023-06-09 14:18:38 +00:00
renovate[bot]
27093de97e
fix(deps): update dependency unleash-client to v3.21.0 (#3948)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v3.21.0`](https://togithub.com/Unleash/unleash-client-node/releases/tag/v3.21.0)

[Compare
Source](https://togithub.com/Unleash/unleash-client-node/compare/v3.20.0...v3.21.0)

#### What's Changed

- fix: getToggle by name may not find the toggle by
[@&#8203;gastonfournier](https://togithub.com/gastonfournier) in
[https://github.com/Unleash/unleash-client-node/pull/455](https://togithub.com/Unleash/unleash-client-node/pull/455)
- chore: release 3.21.0 by
[@&#8203;gastonfournier](https://togithub.com/gastonfournier) in
[https://github.com/Unleash/unleash-client-node/pull/458](https://togithub.com/Unleash/unleash-client-node/pull/458)

#### New Contributors

- [@&#8203;gastonfournier](https://togithub.com/gastonfournier) made
their first contribution in
[https://github.com/Unleash/unleash-client-node/pull/455](https://togithub.com/Unleash/unleash-client-node/pull/455)

**Full Changelog**:
https://github.com/Unleash/unleash-client-node/compare/v3.20.0...v3.21.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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 13:49:37 +00:00
Jaanus Sellin
ea21c753bd
fix: fix variant metrics (#3947) 2023-06-09 12:48:32 +00:00
renovate[bot]
dbb95ceed4
chore(deps): update dependency orval to v6.16.0 (#3943)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>anymaniax/orval</summary>

###
[`v6.16.0`](https://togithub.com/anymaniax/orval/releases/tag/v6.16.0):
Release 6.16.0

[Compare
Source](https://togithub.com/anymaniax/orval/compare/v6.15.0...v6.16.0)

##### Bug Fixes

- **core:** file parsing handling esnext correctly
([d415077](d415077b4b))

##### Features

- **query:** add useMutation options
([2b2e2b7](2b2e2b72bf))
- **zod:** add nullable & nullish to output
([#&#8203;856](https://togithub.com/anymaniax/orval/issues/856))
([4e73c03](4e73c03a0f))

</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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 12:34:16 +00:00
Mateusz Kwasniewski
0101491a83
refactor: playground in feature oriented architecture (#3942) 2023-06-09 12:55:54 +02:00
renovate[bot]
51ade2f830
chore(deps): update dependency fast-check to v3.10.0 (#3941)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fast-check](https://togithub.com/dubzzz/fast-check) | [`3.9.0` ->
`3.10.0`](https://renovatebot.com/diffs/npm/fast-check/3.9.0/3.10.0) |
[![age](https://badges.renovateapi.com/packages/npm/fast-check/3.10.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/fast-check/3.10.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/fast-check/3.10.0/compatibility-slim/3.9.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/fast-check/3.10.0/confidence-slim/3.9.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v3.10.0`](https://togithub.com/dubzzz/fast-check/blob/HEAD/packages/fast-check/CHANGELOG.md#&#8203;3100)

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

*New arbitrary generating strings matching the provided regex:
`stringMatching`*

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

#### Features

- ([PR#&#8203;3920](https://togithub.com/dubzzz/fast-check/pull/3920))
Prepare tokenizers for `stringMatching`
- ([PR#&#8203;3921](https://togithub.com/dubzzz/fast-check/pull/3921))
Introduce `stringMatching`
- ([PR#&#8203;3924](https://togithub.com/dubzzz/fast-check/pull/3924))
Add support for negate regex
- ([PR#&#8203;3925](https://togithub.com/dubzzz/fast-check/pull/3925))
Explicit ban of unsupported regex flags in `stringMatching`
- ([PR#&#8203;3926](https://togithub.com/dubzzz/fast-check/pull/3926))
Add support for capturing regexes
- ([PR#&#8203;3927](https://togithub.com/dubzzz/fast-check/pull/3927))
Add support for disjunctions in regexes
- ([PR#&#8203;3928](https://togithub.com/dubzzz/fast-check/pull/3928))
Correctly parse ^ and $ in regex
- ([PR#&#8203;3929](https://togithub.com/dubzzz/fast-check/pull/3929))
Correctly parse numeric backreference
- ([PR#&#8203;3930](https://togithub.com/dubzzz/fast-check/pull/3930))
Correctly parse look{ahead,behind} in regexes
- ([PR#&#8203;3932](https://togithub.com/dubzzz/fast-check/pull/3932))
Support empty disjunctions in regexes
- ([PR#&#8203;3933](https://togithub.com/dubzzz/fast-check/pull/3933))
Add parsing support for \p and \k
- ([PR#&#8203;3935](https://togithub.com/dubzzz/fast-check/pull/3935))
Support generation of strings not constrained by ^ or $
- ([PR#&#8203;3938](https://togithub.com/dubzzz/fast-check/pull/3938))
Support regex flags: d, m and s
- ([PR#&#8203;3939](https://togithub.com/dubzzz/fast-check/pull/3939))
Support unicode regexes

#### Fixes

- ([PR#&#8203;3909](https://togithub.com/dubzzz/fast-check/pull/3909))
Clean: Drop bundle centric tests
- ([PR#&#8203;3902](https://togithub.com/dubzzz/fast-check/pull/3902))
Doc: Release note page for 3.9.0
- ([PR#&#8203;3904](https://togithub.com/dubzzz/fast-check/pull/3904))
Doc: Fix typo in What's new 3.9.0
- ([PR#&#8203;3910](https://togithub.com/dubzzz/fast-check/pull/3910))
Doc: Lazy load image of sponsors
- ([PR#&#8203;3911](https://togithub.com/dubzzz/fast-check/pull/3911))
Doc: Add alt labels on feature badges
- ([PR#&#8203;3912](https://togithub.com/dubzzz/fast-check/pull/3912))
Doc: Stop lazy images in critical viewport
- ([PR#&#8203;3913](https://togithub.com/dubzzz/fast-check/pull/3913))
Doc: Better a11y on feature badges
- ([PR#&#8203;3898](https://togithub.com/dubzzz/fast-check/pull/3898))
Script: Run publint in strict mode
- ([PR#&#8203;3903](https://togithub.com/dubzzz/fast-check/pull/3903))
Test: Rework race conditions specs in tutorial
- ([PR#&#8203;3931](https://togithub.com/dubzzz/fast-check/pull/3931))
Test: Add some more checks on `stringMatching`
- ([PR#&#8203;3936](https://togithub.com/dubzzz/fast-check/pull/3936))
Test: Test against more regexes in `stringMatching`
- ([PR#&#8203;3940](https://togithub.com/dubzzz/fast-check/pull/3940))
Test: Add some more known regexes in our test suite

***

</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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 10:44:40 +00:00
renovate[bot]
3b53ef7aed
chore(deps): update dependency concurrently to v8.1.0 (#3937)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [concurrently](https://togithub.com/open-cli-tools/concurrently) |
[`8.0.1` ->
`8.1.0`](https://renovatebot.com/diffs/npm/concurrently/8.0.1/8.1.0) |
[![age](https://badges.renovateapi.com/packages/npm/concurrently/8.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/concurrently/8.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/concurrently/8.1.0/compatibility-slim/8.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/concurrently/8.1.0/confidence-slim/8.0.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>open-cli-tools/concurrently</summary>

###
[`v8.1.0`](https://togithub.com/open-cli-tools/concurrently/releases/tag/v8.1.0)

[Compare
Source](https://togithub.com/open-cli-tools/concurrently/compare/v8.0.1...v8.1.0)

#### What's Changed

- fix: move `types` condition to the front by
[@&#8203;Andarist](https://togithub.com/Andarist) in
[https://github.com/open-cli-tools/concurrently/pull/422](https://togithub.com/open-cli-tools/concurrently/pull/422)
- Allow setting `raw` per command when using the API by
[@&#8203;chbiel](https://togithub.com/chbiel) in
[https://github.com/open-cli-tools/concurrently/pull/411](https://togithub.com/open-cli-tools/concurrently/pull/411)

#### New Contributors

- [@&#8203;Andarist](https://togithub.com/Andarist) made their first
contribution in
[https://github.com/open-cli-tools/concurrently/pull/422](https://togithub.com/open-cli-tools/concurrently/pull/422)
- [@&#8203;chbiel](https://togithub.com/chbiel) made their first
contribution in
[https://github.com/open-cli-tools/concurrently/pull/411](https://togithub.com/open-cli-tools/concurrently/pull/411)

**Full Changelog**:
https://github.com/open-cli-tools/concurrently/compare/v8.0.1...v8.1.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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 10:07:57 +00:00
renovate[bot]
66d88aebb8
chore(deps): update dependency @types/pg to v8.10.1 (#3936)
[![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)) |
[`8.6.6` ->
`8.10.1`](https://renovatebot.com/diffs/npm/@types%2fpg/8.6.6/8.10.1) |
[![age](https://badges.renovateapi.com/packages/npm/@types%2fpg/8.10.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fpg/8.10.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fpg/8.10.1/compatibility-slim/8.6.6)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fpg/8.10.1/confidence-slim/8.6.6)](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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 09:43:10 +00:00
renovate[bot]
6cb4f60e47
chore(deps): update dependency @babel/core to v7.22.1 (#3935)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core)
([source](https://togithub.com/babel/babel)) | [`7.21.8` ->
`7.22.1`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.21.8/7.22.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.1/compatibility-slim/7.21.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.1/confidence-slim/7.21.8)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>babel/babel</summary>

###
[`v7.22.1`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7221-2023-05-26)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.0...v7.22.1)

##### 🐛 Bug Fix

-   `babel-preset-env`
- [#&#8203;15658](https://togithub.com/babel/babel/pull/15658)
Workaround for broken babel-preset-react-app
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

###
[`v7.22.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7220-2023-05-26)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.21.8...v7.22.0)

##### 🚀 New Feature

-   `babel-parser`, `babel-plugin-transform-typescript`
- [#&#8203;15497](https://togithub.com/babel/babel/pull/15497) \[ts]
Support `import ... =` and `export =` in scripts
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-compat-data`, `babel-core`,
`babel-plugin-proposal-unicode-sets-regex`,
`babel-plugin-transform-unicode-sets-regex`, `babel-preset-env`,
`babel-standalone`
- [#&#8203;15636](https://togithub.com/babel/babel/pull/15636) Add
`unicode-sets-regex` transform to `preset-env`
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`,
`babel-plugin-transform-runtime`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`, `babel-runtime`, `babel-standalone`
- [#&#8203;15633](https://togithub.com/babel/babel/pull/15633) Implement
transform support for `using` declarations
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-proposal-import-attributes-to-assertions`
- [#&#8203;15620](https://togithub.com/babel/babel/pull/15620) Create
`@babel/plugin-proposal-import-attributes-to-assertions`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-core`, `babel-generator`, `babel-parser`,
`babel-plugin-syntax-import-attributes`, `babel-preset-env`,
`babel-standalone`, `babel-types`
- [#&#8203;15536](https://togithub.com/babel/babel/pull/15536) Add
support for the updated import attributes proposal
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-generator`, `babel-parser`, `babel-traverse`, `babel-types`
- [#&#8203;15520](https://togithub.com/babel/babel/pull/15520) Parse
`await using` declarations
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-core`, `babel-helper-create-regexp-features-plugin`,
`babel-parser`
- [#&#8203;15638](https://togithub.com/babel/babel/pull/15638) Enable
regexp unicode sets parsing by default
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helpers`, `babel-plugin-proposal-decorators`,
`babel-plugin-syntax-decorators`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`, `babel-runtime`
- [#&#8203;15570](https://togithub.com/babel/babel/pull/15570) Add
decorators version `2023-05`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 💅 Polish

- `babel-plugin-transform-react-constant-elements`,
`babel-plugin-transform-react-jsx`, `babel-traverse`, `babel-types`
- [#&#8203;15549](https://togithub.com/babel/babel/pull/15549) Improve
type definitions for validators
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 🏠 Internal

-   `babel-parser`
- [#&#8203;15630](https://togithub.com/babel/babel/pull/15630) Unify
parsing of import/export modifiers (type/typeof/module)
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-compat-data`, `babel-helper-transform-fixture-test-runner`,
`babel-node`, `babel-plugin-proposal-decorators`,
`babel-plugin-proposal-duplicate-named-capturing-groups-regex`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-named-capturing-groups-regex`,
`babel-plugin-transform-runtime`, `babel-preset-env`,
`babel-runtime-corejs3`
- [#&#8203;15531](https://togithub.com/babel/babel/pull/15531) Allow
polyfill providers to specify custom `@babel/runtime` pkg
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-core`, `babel-plugin-proposal-async-generator-functions`,
`babel-plugin-proposal-class-properties`,
`babel-plugin-proposal-class-static-block`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-dynamic-import`,
`babel-plugin-proposal-export-namespace-from`,
`babel-plugin-proposal-function-sent`,
`babel-plugin-proposal-json-strings`,
`babel-plugin-proposal-logical-assignment-operators`,
`babel-plugin-proposal-nullish-coalescing-operator`,
`babel-plugin-proposal-numeric-separator`,
`babel-plugin-proposal-object-rest-spread`,
`babel-plugin-proposal-optional-catch-binding`,
`babel-plugin-proposal-optional-chaining`,
`babel-plugin-proposal-pipeline-operator`,
`babel-plugin-proposal-private-methods`,
`babel-plugin-proposal-private-property-in-object`,
`babel-plugin-proposal-unicode-property-regex`, `babel-preset-env`,
`babel-standalone`
- [#&#8203;15614](https://togithub.com/babel/babel/pull/15614) Rename
`-proposal-`s that became standard to `-transform-`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 09:18:24 +00:00
Jaanus Sellin
ec6e4d70b5
feat: context field usage backend (#3921) 2023-06-09 12:00:17 +03:00