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

11788 Commits

Author SHA1 Message Date
Thomas Heartman
87fa5a2414
chore: allow you to lower constraint values even when they're above limit (#7624)
This PR allows you to gradually lower constraint values, even if they're
above the limits.

It does, however, come with a few caveats because of how Unleash deals
with constraints:
Constraints are just json blobs. They have no IDs or other
distinguishing features. Because of this, we can't compare the current
and previous state of a specific constraint.

What we can do instead, is to allow you to lower the amount of
constraint values if and only if the number of constraints hasn't
changed. In this case, we assume that you also haven't reordered the
constraints (not possible from the UI today). That way, we can compare
constraint values between updated and existing constraints based on
their index in the constraint list.

It's not foolproof, but it's a workaround that you can use. There's a
few edge cases that pop up, but that I don't think it's worth trying to
cover:

Case: If you **both** have too many constraints **and** too many
constraint values
Result: You won't be allowed to lower the amount of constraints as long
as the amount of strategy values is still above the limit.
Workaround: First, lower the amount of constraint values until you're
under the limit and then lower constraints. OR, set the constraint you
want to delete to a constraint that is trivially true (e.g. `currentTime
> yesterday` ). That will essentially take that constraint out of the
equation, achieving the same end result.

Case: You re-order constraints and at least one of them has too many
values
Result: You won't be allowed to (except for in the edge case where the
one with too many values doesn't move or switches places with another
one with the exact same amount of values).
Workaround: We don't need one. The order of constraints has no effect on
the evaluation.
2024-07-19 10:14:42 +00:00
Mateusz Kwasniewski
c3a00c07e1
feat: feature collaborators read model (#7625) 2024-07-19 12:10:21 +02:00
Nuno Góis
0869e39603
chore: register integration events in webhooks (#7621)
https://linear.app/unleash/issue/2-2450/register-integration-events-webhook

Registers integration events in the **Webhook** integration.

Even though this touches a lot of files, most of it is preparation for
the next steps. The only actual implementation of registering
integration events is in the **Webhook** integration. The rest will
follow on separate PRs.

Here's an example of how this looks like in the database table:

```json
{
  "id": 7,
  "integration_id": 2,
  "created_at": "2024-07-18T18:11:11.376348+01:00",
  "state": "failed",
  "state_details": "Webhook request failed with status code: ECONNREFUSED",
  "event": {
    "id": 130,
    "data": null,
    "tags": [],
    "type": "feature-environment-enabled",
    "preData": null,
    "project": "default",
    "createdAt": "2024-07-18T17:11:10.821Z",
    "createdBy": "admin",
    "environment": "development",
    "featureName": "test",
    "createdByUserId": 1
  },
  "details": {
    "url": "http://localhost:1337",
    "body": "{ \"id\": 130, \"type\": \"feature-environment-enabled\", \"createdBy\": \"admin\", \"createdAt\": \"2024-07-18T17: 11: 10.821Z\", \"createdByUserId\": 1, \"data\": null, \"preData\": null, \"tags\": [], \"featureName\": \"test\", \"project\": \"default\", \"environment\": \"development\" }"
  }
}
```
2024-07-19 10:07:52 +01:00
Thomas Heartman
3db1159304
feat: allow you to gradually scale back constraint usage (#7622)
This PR updates the limit validation for constraint numbers on a single
strategy. In cases where you're already above the limit, it allows you
to still update the strategy as long as you don't add any **new**
constraints (that is: the number of constraints doesn't increase).

A discussion point: I've only tested this with unit tests of the method
directly. I haven't tested that the right parameters are passed in from
calling functions. The main reason being that that would involve
updating the fake strategy and feature stores to sync their flag lists
(or just checking that the thrown error isn't a limit exceeded error),
because right now the fake strategy store throws an error when it
doesn't find the flag I want to update.
2024-07-19 08:40:45 +00:00
Mateusz Kwasniewski
a0ba44d9f4
chore: feature collaborators flag (#7623) 2024-07-19 10:11:39 +02:00
Nuno Góis
5a2b48687e
chore: integration events service (#7614)
https://linear.app/unleash/issue/2-2438/create-new-integration-event-service

https://linear.app/unleash/issue/2-2442/automatically-clean-up-old-integration-events

Adds a new `IntegrationEventsService`.
2024-07-18 16:54:31 +01:00
Nuno Góis
0ae6af13e9
chore: integration events store (#7613)
https://linear.app/unleash/issue/2-2437/create-new-integration-event-store

Adds a new `IntegrationEventsStore`.
2024-07-18 15:20:35 +01:00
Tymoteusz Czech
242f59ba4e
New health stats component (#7620)
New style for widget
2024-07-18 15:48:47 +02:00
Mateusz Kwasniewski
d1959dd0e2
feat: filter project flags by state (#7618) 2024-07-18 14:52:27 +02:00
Thomas Heartman
41203340fd
fix: use a fullscreen loader for the initial redirect load (#7619)
This PR fixes a minor visual glitch where the initial Unleash load might
display a jumping loading icon. The reason was that the initial
redirect's loader wasn't marked as a fullscreen loader.
2024-07-18 14:50:59 +02:00
Nuno Góis
0d3dee0e96
fix: validate patched data with schema (#7616)
https://linear.app/unleash/issue/2-2453/validate-patched-data-against-schema

This adds schema validation to patched data, fixing potential issues of
patching data to an invalid state.

This can be easily reproduced by patching a strategy constraints to be
an object (invalid), instead of an array (valid):

```sh
curl -X 'PATCH' \
  'http://localhost:4242/api/admin/projects/default/features/test/environments/development/strategies/8cb3fec6-c40a-45f7-8be0-138c5aaa5263' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '[
  {
    "path": "/constraints",
    "op": "replace",
    "from": "/constraints",
    "value": {}
  }
]'
```

Unleash will accept this because there's no validation that the patched
data actually looks like a proper strategy, and we'll start seeing
Unleash errors due to the invalid state.

This PR adapts some of our existing logic in the way we handle
validation errors to support any dynamic object. This way we can perform
schema validation with any object and still get the benefits of our
existing validation error handling.

This PR also takes the liberty to expose the full instancePath as
propertyName, instead of only the path's last section. We believe this
has more upsides than downsides, especially now that we support the
validation of any type of object.


![image](https://github.com/user-attachments/assets/f6503261-f6b5-4e1d-9ec3-66547d0d061f)
2024-07-18 13:26:50 +01:00
Thomas Heartman
f15bcdc2a6
chore: send prometheus metrics when someone tries to exceed resource limits (#7617)
This PR adds prometheus metrics for when users attempt to exceed the
limits for a given resource.

The implementation sets up a second function exported from the
ExceedsLimitError file that records metrics and then throws the error.
This could also be a static method on the class, but I'm not sure that'd
be better.
2024-07-18 13:35:45 +02:00
Tymoteusz Czech
19121f234e
Insights layout (#7610)
Refactored insights page - stats and charts relevant to the same metric
are now combined into a single widget.
2024-07-18 12:43:52 +02:00
Thomas Heartman
906edec1b6
feat: show info on healthy flags in health tooltip (#7611)
This PR updates the tooltips for the health chart to also include
information on how healthy flags there are. The user could make this
calculation themselves before, but it'd require them to subtract the sum
of stale and potentially stale flags from the total. This makes it so
that they don't have to do the calculation.

I've also included a bar for the healthy flags in the overview, so that
it's easier to see how large a portion it is compared to the others.

Also: clean up some uses of the now-deprecated VFC.


![image](https://github.com/user-attachments/assets/fa33b5ec-b5aa-472d-8ee3-329c5ed0d0c6)
2024-07-18 10:24:58 +02:00
Mateusz Kwasniewski
06f5073fce
test: insights filtering (#7612) 2024-07-17 15:03:02 +02:00
Christopher Kolstad
d397819fd3
feat: Make SAML dialog aware that it might be configured via env (#7606)
Same as the OIDC changes we merged yesterday, this makes the frontend
ready for disabling SAML configuration page, if the SAML_ environment
variables are set.

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2024-07-17 10:57:34 +00:00
Thomas Heartman
949a5f0109
fix: Update OpenAPI error converter to handle query param errors too (#7609)
This PR updates the OpenAPI error converter to also work for errors with
query parameters.
We previously only sent the body of the request along with the error,
which meant that query parameter errors would show up incorrectly.

For instance given a query param with the date format and the invalid
value `01-2020-01`, you'd previously get the message:
> The `from` value must match format "date". You sent undefined

With this change, you'll get this instead:
> The `from` value must match format "date". You sent "01-2020-01". 

The important changes here are two things:
- passing both request body and query params
- the 3 lines in `fromOpenApiValidationError` that check where we should
get the value you sent from.

The rest of it is primarily updating tests to send the right arguments
and some slight rewording to more accurately reflect that this can be
either request body or query params.
2024-07-17 12:47:32 +02:00
Tymoteusz Czech
6e4e58aee8
fix: insights sticky header (#7607)
Insights header should show below banners in insights v2
2024-07-17 10:02:55 +00:00
Mateusz Kwasniewski
39f6cbd66c
feat: insights filters (#7608) 2024-07-17 11:30:58 +02:00
Nuno Góis
13d02685d8
chore: db migration for integration events (#7604)
https://linear.app/unleash/issue/2-2435/create-migration-for-a-new-integration-events-table

Adds a DB migration that creates the `integration_events` table:
 - `id`: Auto-incrementing primary key;
- `integration_id`: The id of the respective integration (i.e.
integration configuration);
 - `created_at`: Date of insertion;
- `state`: Integration event state, as text. Can be anything we'd like,
but I'm thinking this will be something like:
   - Success 
   - Failed 
   - SuccessWithErrors ⚠️
- `state_details`: Expands on the previous column with more details, as
text. Examples:
   - OK. Status code: 200
   - Status code: 429 - Rate limit reached
   - No access token provided
 - `event`: The whole event object, stored as a JSON blob;
- `details`: JSON blob with details about the integration execution.
Will depend on the integration itself, but for example:
   - Webhook: Request body
- Slack App: Message text and an array with all the channels we're
posting to

I think this gives us enough flexibility to cover all present and
(possibly) future integrations, but I'd like to hear your thoughts.

I'm also really torn on what to call this table:
- `integration_events`: Consistent with the feature name. Addons are now
called integrations, so this would be consistent with the new thing;
 - `addon_events`: Consistent with the existing `addons` table.
2024-07-17 10:02:04 +01:00
Nuno Góis
4fb5469cb5
chore: add integrationEvents feature flag (#7602)
https://linear.app/unleash/issue/2-2434/add-a-new-integrationevents-feature-flag

Adds a new `integrationEvents` feature flag.
2024-07-17 08:25:47 +01:00
Nnenna Ndukwe
92a9b403e8
Fixing rust rebase (#7605)
<!-- 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? -->

---------

Co-authored-by: Alvin Bryan <hello@alvin.codes>
2024-07-16 13:23:24 -04:00
Mateusz Kwasniewski
d2ef9e27ed
refactor: insights actions container relaxed width (#7603) 2024-07-16 17:27:11 +02:00
Nnenna Ndukwe
7909f563d6
iOS examples (#7599)
<!-- 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? -->
2024-07-16 09:18:37 -04:00
Thomas Heartman
cfd20703b2
fix: toast error doesn't tell you what the error is (#7601)
This change improves the toast error message for auth settings by
preferring the message from the error's details list if it exists. If
it doesn't it'll still fall back to the original error message.

Before:

![image](https://github.com/user-attachments/assets/6ecb425c-7d6d-4cb9-844e-c7c2ff7088b2)

After:

![image](https://github.com/user-attachments/assets/87d827a8-7f52-40c1-a2c6-ca2d1d3abfb4)
2024-07-16 15:10:44 +02:00
Mateusz Kwasniewski
248f879553
chore: remove share insights button (#7600) 2024-07-16 15:10:34 +02:00
Alvin Bryan
e33e538263
Rust tutorial (#7564)
I'm no Rustacean, so feel free to change things 😄

---------

Co-authored-by: Simon Hornby <simon@getunleash.io>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-07-16 09:03:43 -04:00
Tymoteusz Czech
7b2532ea4f
New insights layout - feature flag (#7598)
Preparing insights component for refactoring and enhancements.
2024-07-16 12:24:30 +00:00
Christopher Kolstad
7ed1d770a8
feat: make frontend aware that OIDC can be configured through env (#7597)
Co-authored-by: Nuno Góis <github@nunogois.com>
2024-07-16 13:53:30 +02:00
Thomas Heartman
e43109a2cb
fix: prevent long names from breaking form layouts (#7591)
This PR fixes a couple instances where long resource names would break
form and input layouts.

I've added comments to the various files to explain what they're doing
and why.

## Discussion point:

I've now set the width of project selector to be as narrow as it can
with wrapped text. In the main interfaces, it's much better, but on the
page where you can move a flag, it is quite narrow. However, I still
think it's better (no chance of it being wider than the whole screen).
We might want to find another way, but regardless, it'll only show up
with real edge cases.

## Fixes (screenies)

### API token creation form

**Files**:
- `frontend/src/component/common/FormTemplate/FormTemplate.styles.ts`
- `frontend/src/component/common/FormTemplate/FormTemplate.tsx`

Before:

![image](https://github.com/user-attachments/assets/cef31208-2cce-479e-902e-ed7d3c3c9571)

After:

![image](https://github.com/user-attachments/assets/b0832193-11f5-427d-9df1-d9baca0a91e7)


### New feature flag form

**Files**:
- `frontend/src/component/common/GeneralSelect/GeneralSelect.tsx`

Before:

![image](https://github.com/user-attachments/assets/2ac6f791-af19-4f7e-a8ea-2fc356f18fb2)

After:

![image](https://github.com/user-attachments/assets/13b91812-c00a-49e8-9409-67fab4eaaf01)

### Project select popover

**Files**

- `frontend/src/component/common/GeneralSelect/GeneralSelect.tsx`
-
`frontend/src/component/feature/FeatureView/FeatureSettings/FeatureSettingsProject/FeatureProjectSelect/FeatureProjectSelect.tsx`

Before:

![image](https://github.com/user-attachments/assets/e81a4cef-1402-4b9c-b1a8-c22493c794bd)

After:

![image](https://github.com/user-attachments/assets/604dada9-6555-48e3-a81d-dda72bd9ccf0)

But also:

![image](https://github.com/user-attachments/assets/7e935fe5-b7f0-4674-8d94-a8c8a6176a3c)
2024-07-16 10:47:46 +02:00
Jaanus Sellin
7d88b901a3
feat: remove first item selection (#7596) 2024-07-16 11:27:37 +03:00
Jaanus Sellin
0a4ef3b49f
feat: select first item after query (#7592)
Now after search is done, the first item will be selected
2024-07-16 09:28:34 +03:00
renovate[bot]
7ed717379c
chore(deps): update dependency orval to v6.31.0 (#7594)
[![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.30.2` ->
`6.31.0`](https://renovatebot.com/diffs/npm/orval/6.30.2/6.31.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/orval/6.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/orval/6.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/orval/6.30.2/6.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/orval/6.30.2/6.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>anymaniax/orval (orval)</summary>

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

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

##### Bug Fixes

- applies fileExtension to schemas generated files
([#&#8203;1473](https://togithub.com/anymaniax/orval/issues/1473))
([68fd4fb](68fd4fbbb7))
- format for `orval` package options
([#&#8203;1450](https://togithub.com/anymaniax/orval/issues/1450))
([759ef48](759ef48399))
- generate each http status is now zod specific
([#&#8203;1445](https://togithub.com/anymaniax/orval/issues/1445))
([f350fad](f350fadf9c))
- **msw:** correctly add imports for enum references
([#&#8203;1456](https://togithub.com/anymaniax/orval/issues/1456))
([f580f5d](f580f5db7f)),
closes [#&#8203;1455](https://togithub.com/anymaniax/orval/issues/1455)
- **msw:** correctly generate ref'd examples
([#&#8203;1459](https://togithub.com/anymaniax/orval/issues/1459))
([f296491](f296491112))
- use unknown instead of any for additional properties
([#&#8203;1466](https://togithub.com/anymaniax/orval/issues/1466))
([950b547](950b5477c2))
- **zod:** properly handling top level rules for array
([#&#8203;1475](https://togithub.com/anymaniax/orval/issues/1475))
([e1711e5](e1711e56cf))
- **zod:** treat `additionalProperties` keyword
([#&#8203;1443](https://togithub.com/anymaniax/orval/issues/1443))
([257a21f](257a21fde0))

##### Features

- **fetch:** include status code in `fetch` client response
([#&#8203;1470](https://togithub.com/anymaniax/orval/issues/1470))
([9404af4](9404af441f))
- **fetch:** support custom mutator
([#&#8203;1457](https://togithub.com/anymaniax/orval/issues/1457))
([95a2932](95a2932270))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 19:10:43 +00:00
renovate[bot]
fd74884433
chore(deps): update dependency node to v20.15.1 (#7593)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change | Pending | Age | Adoption | Passing
| Confidence |
|---|---|---|---|---|---|---|---|---|
| [node](https://nodejs.org)
([source](https://togithub.com/nodejs/node)) | | patch | `20.15.0` ->
`20.15.1` | |
[![age](https://developer.mend.io/api/mc/badges/age/node-version/node/v20.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/node-version/node/v20.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/node-version/node/v20.15.0/v20.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/node-version/node/v20.15.0/v20.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [node](https://togithub.com/nodejs/node) | final | minor |
`20.14.0-alpine` -> `20.15.0-alpine` | `20.15.1` |
[![age](https://developer.mend.io/api/mc/badges/age/docker/node/20.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/docker/node/20.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/docker/node/20.14.0/20.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/node/20.14.0/20.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [node](https://togithub.com/nodejs/node) | stage | minor |
`20.14.0-alpine` -> `20.15.0-alpine` | `20.15.1` |
[![age](https://developer.mend.io/api/mc/badges/age/docker/node/20.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/docker/node/20.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/docker/node/20.14.0/20.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/node/20.14.0/20.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| devDependencies | patch | [`20.14.8` ->
`20.14.10`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.8/20.14.10)
| |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.14.8/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.14.8/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v20.15.1`](https://togithub.com/nodejs/node/compare/v20.15.0...v20.15.1)

[Compare
Source](https://togithub.com/nodejs/node/compare/v20.15.0...v20.15.1)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 17:10:13 +00:00
Jaanus Sellin
aaf66022af
feat: show all results in the same time (#7590)
Previously, when the result box was loading, it returned projects and
menu items first. After the feature search response came back, it also
showed the features, but this made the component jump around too much.
Now, everything is shown when the feature result comes back, reducing
the jumping around.
2024-07-15 16:37:11 +03:00
Thomas Heartman
d32990ec4c
fix: make loader not exlpode to 100vh in unnecessary locations (#7589)
This change fixes an issue with the loader where it would explode its
parent component to 100vh even when that was not called for.

To do so, I've added the a new `type` prop to the component, to
distinguish between `fullscreen` and `inline` usage. The `fullscreen`
type sets the height to 100vh, while the `inline` type sets it to
100%.

Now, this doesn't directly make the loader fullscreen (it just makes
sure it's at least as tall as the screen), so maybe the prop name is
misleading. I'd be happy to change it (or to even extract this into
two separate components) if that's preferable. Other potential prop
names could be `height`, which is very direct, or `usage`, which I
think better describes what we do. Like with `type`, I'd like to
communicate the intended behavior more that the actual implementation,
so I'm leaning towards either `type` or `usage`.

## Screenies

I've gone through all the usages of the loader, and checked how each one
works. Here they are:

### Loader in environment variants

I wasn't able to trigger this manually, but it's apparently there

Old (ignore the banner placement; that's firefox's screenshot tool
acting up)

![image](https://github.com/user-attachments/assets/f5d0a709-6815-4838-9ad4-c8f79a54ad0e)

New:

![image](https://github.com/user-attachments/assets/c7538146-b8af-4253-89ed-55d1eb37d6a5)

### Project setting forms

Old:

![image](https://github.com/user-attachments/assets/f8b55899-4483-470a-8d3a-3d11761ec8c7)

New:

![image](https://github.com/user-attachments/assets/29157004-6662-494b-9939-2f34977a9c63)

### Rollout strategy

Old:

![image](https://github.com/user-attachments/assets/5c699a06-37bd-4b3b-a3e3-f613ca7c88d5)

New (no discernible change):

![image](https://github.com/user-attachments/assets/f52178fe-9d26-4ebb-bd48-8a1c4a7e2f04)

### Advanced playground

Old:

![image](https://github.com/user-attachments/assets/43f7183b-cefc-4e29-961e-5d7e18d29be9)

New:

![image](https://github.com/user-attachments/assets/082d94dc-36e0-483c-b7a9-bd75e727c0d5)

### Loading screen / initial redirect

Old:

![image](https://github.com/user-attachments/assets/dbb8b1af-d585-4d48-8431-5379afd4f653)

New (no new component props):

![image](https://github.com/user-attachments/assets/842e766f-0ea7-4396-9696-b88509e24d77)

New (with new props):

![image](https://github.com/user-attachments/assets/e6ffd303-f24e-478d-88d9-b4fa57f307e4)
2024-07-15 14:41:45 +02:00
Thomas Heartman
d5cfacd6ba
docs: add a footnote about how archived flags don't count towards the flag limit (#7587)
This change adds a footnote to the resource limits doc, explaining
that archived flags don't count towards the flag limit.
2024-07-15 11:03:30 +02:00
renovate[bot]
5459c8da77
chore(deps): update dependency @swc/core to v1.6.13 (#7586)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v1.6.13`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1613---2024-07-06)

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

##### Bug Fixes

- **(es/parser)** Revert
[#&#8203;9141](https://togithub.com/swc-project/swc/issues/9141)
([#&#8203;9171](https://togithub.com/swc-project/swc/issues/9171))
([8b66d5e](8b66d5e89b))

- **(es/testing)** Fix `PluginCommentProxy`
([#&#8203;9170](https://togithub.com/swc-project/swc/issues/9170))
([d86ca2d](d86ca2d49e))

##### Features

- **(es/typescript)** Improve fast TS strip
([#&#8203;9166](https://togithub.com/swc-project/swc/issues/9166))
([ee8dc28](ee8dc28d4d))

- **(es/typescript)** Improve fast TS strip
([#&#8203;9167](https://togithub.com/swc-project/swc/issues/9167))
([98af589](98af5890da))

##### Testing

- **(es/minfiier)** Improve comment testing
([#&#8203;9164](https://togithub.com/swc-project/swc/issues/9164))
([f90574d](f90574d045))

###
[`v1.6.12`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1612---2024-07-06)

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

##### Bug Fixes

- **(ci)** Restore disabled CI checks
([#&#8203;9002](https://togithub.com/swc-project/swc/issues/9002))
([cdfd4c8](cdfd4c85e4))

- **(es/decorators)** Fix bugs of `2022-03` implementation
([#&#8203;9145](https://togithub.com/swc-project/swc/issues/9145))
([8a3ae44](8a3ae44370))

- **(es/loader)** Exclude `.json` from default extension list
([#&#8203;9134](https://togithub.com/swc-project/swc/issues/9134))
([e94e5e7](e94e5e70c3))

- **(es/minifier)** Fix `undefined` judgement
([#&#8203;9146](https://togithub.com/swc-project/swc/issues/9146))
([1a739b7](1a739b7928))

- **(es/renamer)** Fix renaming of default-exported declarations
([#&#8203;9135](https://togithub.com/swc-project/swc/issues/9135))
([45f671d](45f671d8d8))

- **(es/renamer)** Remove `FastJsWord`
([#&#8203;9136](https://togithub.com/swc-project/swc/issues/9136))
([42b4caf](42b4caf573))

- **(es/typescript)** Fix tricky cases in TS fast strip
([#&#8203;9159](https://togithub.com/swc-project/swc/issues/9159))
([2bc51b8](2bc51b8ab2))

- **(es/typescript)** Fix replacement logic of fast TS strip
([#&#8203;9163](https://togithub.com/swc-project/swc/issues/9163))
([c5acafe](c5acafe386))

##### Features

- **(bindings/ts)** Add transform/strip-only mode
([#&#8203;9138](https://togithub.com/swc-project/swc/issues/9138))
([a08bb46](a08bb46ebd))

- **(es/testing)** Improve comment testing story
([#&#8203;9150](https://togithub.com/swc-project/swc/issues/9150))
([3638e97](3638e97c80))

- **(es/typescript)** Add `swc_fast_ts_strip`
([#&#8203;9143](https://togithub.com/swc-project/swc/issues/9143))
([b129343](b129343c94))

- **(es/typescript)** Improve fast TS stripper
([#&#8203;9152](https://togithub.com/swc-project/swc/issues/9152))
([9fca4ab](9fca4ab555))

- **(es/typescript)** Improve fast TS stripper
([#&#8203;9153](https://togithub.com/swc-project/swc/issues/9153))
([732d748](732d748d4e))

- **(es/typescript)** Improve fast TS strip
([#&#8203;9154](https://togithub.com/swc-project/swc/issues/9154))
([05c7210](05c721030a))

##### Performance

- **(es)** Reduce allocations for dynamic stacks
([#&#8203;9133](https://togithub.com/swc-project/swc/issues/9133))
([648830a](648830a9a9))

##### Refactor

- **(bindings/ts)** Inline Wasm file into `wasm.js`
([#&#8203;9139](https://togithub.com/swc-project/swc/issues/9139))
([307b6f2](307b6f27a6))

- **(es/parser)** Improve readability
([#&#8203;9141](https://togithub.com/swc-project/swc/issues/9141))
([9d9fe66](9d9fe6625b))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-15 00:30:32 +00:00
renovate[bot]
463ec4a41a
chore(deps): update dependency @types/node to v20.14.10 (#7585)
[![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))
| [`20.14.9` ->
`20.14.10`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.9/20.14.10)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.14.9/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.14.9/20.14.10?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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 21:25:42 +00:00
renovate[bot]
eb052f42eb
chore(deps): update dependency cypress to v13.13.0 (#7584)
[![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.12.0` ->
`13.13.0`](https://renovatebot.com/diffs/npm/cypress/13.12.0/13.13.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/13.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/13.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/13.12.0/13.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/13.12.0/13.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 18:11:06 +00:00
Mateusz Kwasniewski
3ade609956
feat: user seats component (#7583) 2024-07-12 15:39:37 +02:00
Thomas Heartman
9d7eec5951
fix: update cache, even when the total is 0 (#7582)
This PR fixes a bug where we wouldn't update the `useFeatureSearch`
hook's cached `total` value if the new total was `0`. The reason this
failed is that we would only update it if `data?.total`. Because `0` is
a falsy value, the check would fail.
2024-07-12 14:47:50 +02:00
Tymoteusz Czech
e7627becec
feat: API Tokens limit - UI (#7561)
When approaching limit or limit reached for the number of API tokens, we
show a corresponding message.
2024-07-12 14:44:46 +02:00
renovate[bot]
f1b375876f
chore(deps): update dependency @uiw/react-codemirror to v4.23.0 (#7579)
[![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.22.2` ->
`4.23.0`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.22.2/4.23.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.22.2/4.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.22.2/4.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

[![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.23.0/file/README.md)

Documentation v4.23.0:
https://raw.githack.com/uiwjs/react-codemirror/05626c6/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.22.2...v4.23.0

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

- 💢 ci: Update FUNDING.yml
[`e94e34c`](https://togithub.com/uiwjs/react-codemirror/commit/e94e34c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: add tea.yaml
[`9e32101`](https://togithub.com/uiwjs/react-codemirror/commit/9e32101)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: fix theme editor issue.
[#&#8203;669](https://togithub.com/uiwjs/react-codemirror/issues/669)
[`ad0d999`](https://togithub.com/uiwjs/react-codemirror/commit/ad0d999)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat: exports themes style.
[#&#8203;670](https://togithub.com/uiwjs/react-codemirror/issues/670)
[`f09f7be`](https://togithub.com/uiwjs/react-codemirror/commit/f09f7be)
[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 01:35:02 +00:00
renovate[bot]
0fa873d666
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.23.0 (#7578)
[![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.22.2` ->
`4.23.0`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.22.2/4.23.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2fcodemirror-theme-duotone/4.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2fcodemirror-theme-duotone/4.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2fcodemirror-theme-duotone/4.22.2/4.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2fcodemirror-theme-duotone/4.22.2/4.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

[![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.23.0/file/README.md)

Documentation v4.23.0:
https://raw.githack.com/uiwjs/react-codemirror/05626c6/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.22.2...v4.23.0

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

- 💢 ci: Update FUNDING.yml
[`e94e34c`](https://togithub.com/uiwjs/react-codemirror/commit/e94e34c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: add tea.yaml
[`9e32101`](https://togithub.com/uiwjs/react-codemirror/commit/9e32101)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: fix theme editor issue.
[#&#8203;669](https://togithub.com/uiwjs/react-codemirror/issues/669)
[`ad0d999`](https://togithub.com/uiwjs/react-codemirror/commit/ad0d999)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat: exports themes style.
[#&#8203;670](https://togithub.com/uiwjs/react-codemirror/issues/670)
[`f09f7be`](https://togithub.com/uiwjs/react-codemirror/commit/f09f7be)
[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 21:45:10 +00:00
renovate[bot]
a8e8f89b4f
chore(deps): update dependency @tanstack/react-table to v8.19.2 (#7577)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tanstack/react-table](https://tanstack.com/table)
([source](https://togithub.com/TanStack/table/tree/HEAD/packages/react-table))
| [`8.17.3` ->
`8.19.2`](https://renovatebot.com/diffs/npm/@tanstack%2freact-table/8.17.3/8.19.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tanstack%2freact-table/8.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tanstack%2freact-table/8.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tanstack%2freact-table/8.17.3/8.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tanstack%2freact-table/8.17.3/8.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>TanStack/table (@&#8203;tanstack/react-table)</summary>

###
[`v8.19.2`](https://togithub.com/TanStack/table/releases/tag/v8.19.2)

[Compare
Source](https://togithub.com/TanStack/table/compare/v8.19.1...v8.19.2)

Version 8.19.2 - 6/30/24, 3:27 PM

#### Changes

##### Fix

- table-core: getTopRows and getBottomRows ref stability - fixes
[#&#8203;5624](https://togithub.com/TanStack/table/issues/5624)
([#&#8203;5637](https://togithub.com/TanStack/table/issues/5637))
([`ace8a46`](https://togithub.com/TanStack/table/commit/ace8a46)) by
Kevin Van Cott

##### Chore

- upgrade packages except for angular and typescript
([#&#8203;5635](https://togithub.com/TanStack/table/issues/5635))
([`e585a2e`](https://togithub.com/TanStack/table/commit/e585a2e)) by
Kevin Van Cott

##### Ci

- Optimise Nx workflow
([#&#8203;5636](https://togithub.com/TanStack/table/issues/5636))
([`18d581e`](https://togithub.com/TanStack/table/commit/18d581e)) by
Lachlan Collins

##### Docs

- lit: Add example for virtualized rows
([#&#8203;5599](https://togithub.com/TanStack/table/issues/5599))
([`8e1baac`](https://togithub.com/TanStack/table/commit/8e1baac)) by
[@&#8203;kadoshms](https://togithub.com/kadoshms)

#### Packages

-
[@&#8203;tanstack/table-core](https://togithub.com/tanstack/table-core)[@&#8203;8](https://togithub.com/8).19.2
-
[@&#8203;tanstack/lit-table](https://togithub.com/tanstack/lit-table)[@&#8203;8](https://togithub.com/8).19.2
-
[@&#8203;tanstack/react-table](https://togithub.com/tanstack/react-table)[@&#8203;8](https://togithub.com/8).19.2
-
[@&#8203;tanstack/solid-table](https://togithub.com/tanstack/solid-table)[@&#8203;8](https://togithub.com/8).19.2
-
[@&#8203;tanstack/vue-table](https://togithub.com/tanstack/vue-table)[@&#8203;8](https://togithub.com/8).19.2
-
[@&#8203;tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools)[@&#8203;8](https://togithub.com/8).19.2
-
[@&#8203;tanstack/angular-table](https://togithub.com/tanstack/angular-table)[@&#8203;8](https://togithub.com/8).19.2
-
[@&#8203;tanstack/qwik-table](https://togithub.com/tanstack/qwik-table)[@&#8203;8](https://togithub.com/8).19.2
-
[@&#8203;tanstack/svelte-table](https://togithub.com/tanstack/svelte-table)[@&#8203;8](https://togithub.com/8).19.2

###
[`v8.19.1`](https://togithub.com/TanStack/table/releases/tag/v8.19.1)

[Compare
Source](https://togithub.com/TanStack/table/compare/v8.17.3...v8.19.1)

Version 8.19.1 - 6/29/24, 11:34 PM

#### Changes

##### Fix

- angular-table: View is not updated anymore when flexRenderDirective is
instantiated the first time with an empty value
([#&#8203;5626](https://togithub.com/TanStack/table/issues/5626))
([`bfa96d8`](https://togithub.com/TanStack/table/commit/bfa96d8)) by
[@&#8203;riccardoperra](https://togithub.com/riccardoperra)

##### Ci

- Update TanStack Config to v0.8
([#&#8203;5627](https://togithub.com/TanStack/table/issues/5627))
([`c09d214`](https://togithub.com/TanStack/table/commit/c09d214)) by
Lachlan Collins
- Update Nx
([#&#8203;5606](https://togithub.com/TanStack/table/issues/5606))
([`41f3e4e`](https://togithub.com/TanStack/table/commit/41f3e4e)) by
Lachlan Collins

##### Docs

- vue: vue subcomponents example
([#&#8203;5631](https://togithub.com/TanStack/table/issues/5631))
([`78b9012`](https://togithub.com/TanStack/table/commit/78b9012)) by
Radu Suciu
- examples: Fix Qwik examples
([#&#8203;5633](https://togithub.com/TanStack/table/issues/5633))
([`6a4f224`](https://togithub.com/TanStack/table/commit/6a4f224)) by
Lachlan Collins
- examples: Add example using TanStack Query and Router
([#&#8203;5625](https://togithub.com/TanStack/table/issues/5625))
([`80e45cc`](https://togithub.com/TanStack/table/commit/80e45cc)) by
Leonardo Montini
- table fix editable example link
([#&#8203;5628](https://togithub.com/TanStack/table/issues/5628))
([`bbe4ba3`](https://togithub.com/TanStack/table/commit/bbe4ba3)) by
[@&#8203;fxamauri](https://togithub.com/fxamauri)
- Remove duplicate words
([#&#8203;5629](https://togithub.com/TanStack/table/issues/5629))
([`c0e6122`](https://togithub.com/TanStack/table/commit/c0e6122)) by
Samuel Candela
- fix Header link in Header Group API
([#&#8203;5608](https://togithub.com/TanStack/table/issues/5608))
([`5edd993`](https://togithub.com/TanStack/table/commit/5edd993)) by
Lucas Vargas
- pagination: rephrase autoResetPageIndex behaviour
([#&#8203;5601](https://togithub.com/TanStack/table/issues/5601))
([`22e1ac4`](https://togithub.com/TanStack/table/commit/22e1ac4)) by
Leonardo Montini
- react-table: add dependency because columnSizeVars does not change
([#&#8203;5597](https://togithub.com/TanStack/table/issues/5597))
([`f7e69bc`](https://togithub.com/TanStack/table/commit/f7e69bc)) by
YoonMinSang
- angular-table: Adding documentation for custom component support.
([#&#8203;5590](https://togithub.com/TanStack/table/issues/5590))
([`d6839d6`](https://togithub.com/TanStack/table/commit/d6839d6)) by
mamerto-g

##### Tests

- Move tests folders
([#&#8203;5634](https://togithub.com/TanStack/table/issues/5634))
([`f159b04`](https://togithub.com/TanStack/table/commit/f159b04)) by
Lachlan Collins

#### Packages

-
[@&#8203;tanstack/table-core](https://togithub.com/tanstack/table-core)[@&#8203;8](https://togithub.com/8).19.1
-
[@&#8203;tanstack/angular-table](https://togithub.com/tanstack/angular-table)[@&#8203;8](https://togithub.com/8).19.1
-
[@&#8203;tanstack/qwik-table](https://togithub.com/tanstack/qwik-table)[@&#8203;8](https://togithub.com/8).19.1
-
[@&#8203;tanstack/lit-table](https://togithub.com/tanstack/lit-table)[@&#8203;8](https://togithub.com/8).19.1
-
[@&#8203;tanstack/react-table](https://togithub.com/tanstack/react-table)[@&#8203;8](https://togithub.com/8).19.1
-
[@&#8203;tanstack/solid-table](https://togithub.com/tanstack/solid-table)[@&#8203;8](https://togithub.com/8).19.1
-
[@&#8203;tanstack/svelte-table](https://togithub.com/tanstack/svelte-table)[@&#8203;8](https://togithub.com/8).19.1
-
[@&#8203;tanstack/vue-table](https://togithub.com/tanstack/vue-table)[@&#8203;8](https://togithub.com/8).19.1
-
[@&#8203;tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools)[@&#8203;8](https://togithub.com/8).19.1

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 19:24:10 +00:00
renovate[bot]
d9794d5554
chore(deps): update dependency vite to v5.3.3 (#7576)
[![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.3.1` -> `5.3.3`](https://renovatebot.com/diffs/npm/vite/5.3.1/5.3.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.3.1/5.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.3.1/5.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v5.3.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small533-2024-07-03-small)

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

- fix: lazily evaluate \__vite\_\_mapDeps files
([#&#8203;17602](https://togithub.com/vitejs/vite/issues/17602))
([dafff4a](https://togithub.com/vitejs/vite/commit/dafff4a)), closes
[#&#8203;17602](https://togithub.com/vitejs/vite/issues/17602)
- fix(deps): update all non-major dependencies
([#&#8203;17590](https://togithub.com/vitejs/vite/issues/17590))
([012490c](https://togithub.com/vitejs/vite/commit/012490c)), closes
[#&#8203;17590](https://togithub.com/vitejs/vite/issues/17590)
- fix(lib): remove pure CSS dynamic import
([#&#8203;17601](https://togithub.com/vitejs/vite/issues/17601))
([055f1c1](https://togithub.com/vitejs/vite/commit/055f1c1)), closes
[#&#8203;17601](https://togithub.com/vitejs/vite/issues/17601)
- fix(proxy): replace changeOrigin changes in 5.3.0 with new
rewriteWsOrigin option
([#&#8203;17563](https://togithub.com/vitejs/vite/issues/17563))
([14c3d49](https://togithub.com/vitejs/vite/commit/14c3d49)), closes
[#&#8203;17563](https://togithub.com/vitejs/vite/issues/17563)

###
[`v5.3.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small532-2024-06-27-small)

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

- fix(client): uniform variable `location`
([#&#8203;17528](https://togithub.com/vitejs/vite/issues/17528))
([a8e2f6f](https://togithub.com/vitejs/vite/commit/a8e2f6f)), closes
[#&#8203;17528](https://togithub.com/vitejs/vite/issues/17528)
- fix(deps): update all non-major dependencies
([#&#8203;17494](https://togithub.com/vitejs/vite/issues/17494))
([bf123f2](https://togithub.com/vitejs/vite/commit/bf123f2)), closes
[#&#8203;17494](https://togithub.com/vitejs/vite/issues/17494)
- fix(typescript): correctly expand ${configDir} in tsconfig.json
([#&#8203;17576](https://togithub.com/vitejs/vite/issues/17576))
([24c799b](https://togithub.com/vitejs/vite/commit/24c799b)), closes
[#&#8203;17576](https://togithub.com/vitejs/vite/issues/17576)
- chore: fix some comments
([#&#8203;17495](https://togithub.com/vitejs/vite/issues/17495))
([ec16a5e](https://togithub.com/vitejs/vite/commit/ec16a5e)), closes
[#&#8203;17495](https://togithub.com/vitejs/vite/issues/17495)
- chore(deps): update all non-major dependencies
([#&#8203;17553](https://togithub.com/vitejs/vite/issues/17553))
([a33a97f](https://togithub.com/vitejs/vite/commit/a33a97f)), closes
[#&#8203;17553](https://togithub.com/vitejs/vite/issues/17553)
- chore(deps): update dependency eslint to v9
([#&#8203;16661](https://togithub.com/vitejs/vite/issues/16661))
([6c10662](https://togithub.com/vitejs/vite/commit/6c10662)), closes
[#&#8203;16661](https://togithub.com/vitejs/vite/issues/16661)
- chore(deps): update es-module-lexer to 1.5.4
([#&#8203;17555](https://togithub.com/vitejs/vite/issues/17555))
([2d6672f](https://togithub.com/vitejs/vite/commit/2d6672f)), closes
[#&#8203;17555](https://togithub.com/vitejs/vite/issues/17555)
- refactor(optimizer): use early continues
([#&#8203;17551](https://togithub.com/vitejs/vite/issues/17551))
([7c06ef0](https://togithub.com/vitejs/vite/commit/7c06ef0)), closes
[#&#8203;17551](https://togithub.com/vitejs/vite/issues/17551)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 17:13:05 +00:00
Thomas Heartman
f0b49db06a
docs: document resource limits (#7567)
This PR adds the first version of the resource limit documentation. It
also corrects the link in the `Limit` component.

In addition to the new limits from the soft limits project, I've also
added the limits from the signals project.

## Discussion points

I've set the Pro resource limits to projects and envs to the same value
as on the [plans & pricing](https://www.getunleash.io/pricing) page
instead of the actual hard soft limit. I think that makes messaging
easier and more consistent.

However, this does present us with a bit of a problem. Because we've
been pretty consistent at saying "no, you can't have more projects" for
Pro. But we're saying it's easy to change (when in actuality the limit
isn't enforced 💁🏼 )

## Screenie

It looks a little bit like this (but check the files or preview for the
actual text content)

![image](https://github.com/Unleash/unleash/assets/17786332/56cadc00-5a8e-4820-8b11-d059112934da)
2024-07-11 14:10:49 +02:00
Tymoteusz Czech
d440d3230a
feat: show orphaned API tokens (#7569)
Add a visual indication that a token was scoped to projects that have
been deleted.
2024-07-11 14:06:22 +02:00
Tymoteusz Czech
b9c3d101ba
feat: statistics for orphaned tokens (#7568)
Added metrics for orphaned tokens and modified `createTokenRowReducer` to exclude tokens in v1 format.
2024-07-11 11:39:38 +02:00