Jaanus Sellin
2643ac1356
feat: add CR id to plausible events ( #6035 )
...
Added conflict count to CR metrics and CR id.
Something to think about:
There was idea that we can aggregate this data based on CR id, but CR id
is just a number from 0 to x. So it will not be unique across instances.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-01-30 10:38:39 +02:00
Tymoteusz Czech
46fb40ca08
fix: dashboard layout ( #6063 )
...
Align widgets properly on main screen. Responsive view in next PRs
2024-01-30 09:00:06 +01:00
Mateusz Kwasniewski
8a7e65eaa6
refactor: cleanup fix for persistent set ( #6060 )
2024-01-29 12:33:01 +01:00
Nuno Góis
c1046079dd
chore: actions modal form ( #6057 )
...
https://linear.app/unleash/issue/2-1882/ui-add-actions-modal-and-form
Adds actions modal and form, allowing users to create and edit actions.
The main thing that is missing is adding the remaining fields, which
will be included in a later PR.
2024-01-29 11:15:29 +00:00
Nuno Góis
7da9232516
refactor: add temporary ts-expect-error to setGlobalStore in setHiddenEnvironments
2024-01-29 10:26:00 +00:00
Mateusz Kwasniewski
ce219f1b74
fix: hidden envs ( #6050 )
2024-01-26 17:03:10 +01:00
Tymoteusz Czech
61c6583e24
Feat/dashboard chart tooltip ( #6038 )
...
Initial version of new chart tooltip
2024-01-26 14:33:11 +01:00
Fredrik Strand Oseberg
4a025a4b4b
feat: flag widget ( #6047 )
...
This PR adds the flag widget:
<img width="333" alt="Skjermbilde 2024-01-26 kl 14 16 19"
src="https://github.com/Unleash/unleash/assets/16081982/57b8c312-fcd5-4a3f-85f7-76514c671912 ">
2024-01-26 14:22:16 +01:00
Nuno Góis
6ee4d2724e
fix: actions table UI improvements ( #6042 )
...
Includes some small fixes and improvements to the actions table UI:
- Fix webhook icon not properly loading
- Make actions execution param names bold in the tooltip
- Make filters param names bold in the tooltip
2024-01-26 09:52:19 +00:00
Nuno Góis
32484460ef
chore: project actions table ( #6039 )
...
https://linear.app/unleash/issue/2-1877/ui-add-actions-table
Implements the new project actions table.
![image](https://github.com/Unleash/unleash/assets/14320932/2ce96669-4b8f-46cd-9a87-8b14f0682694 )
![image](https://github.com/Unleash/unleash/assets/14320932/d73327f2-1e1a-4d57-8ef8-1f4518c4b5d9 )
![image](https://github.com/Unleash/unleash/assets/14320932/27b9ffab-4fff-4fdf-808f-b778987fa198 )
2024-01-26 08:20:30 +00:00
Tymoteusz Czech
00b3cbaa8b
Dashboard API hook ( #5990 )
...
Data fetching for dashboard
https://linear.app/unleash/issue/1-1969/dashboard-users-chart-api-hook
2024-01-26 09:03:12 +01:00
Fredrik Strand Oseberg
9ac1c88bd4
feat: new user widget ( #6037 )
...
Preliminary code for executive dashboard user widget
2024-01-25 14:43:59 +01:00
Jaanus Sellin
b0ecfd4d34
feat: add plausible change-requests-conflicts ( #6024 )
2024-01-24 21:46:08 +02:00
Christopher Kolstad
17d826ddf4
task: Add banner encouraging edge upgrade ( #6018 )
...
Only triggers if there is any rows in client instances that have
sdk_version: unleash-edge with version < 17.0.0
The function that checks this memoizes the check for 10 minutes to avoid
scanning the client instances table too often.
2024-01-24 14:22:48 +00:00
Jaanus Sellin
e4ca8a3e6c
feat: track search bar events ( #6021 )
...
Adding tracking for 2 views, when users use the new search.
For features view and project view.
2024-01-24 14:23:23 +02:00
Nuno Góis
5d1d428746
chore: project actions tab ( #6009 )
...
https://linear.app/unleash/issue/2-1858/add-new-actions-tab-to-project-settings
Adds the new actions tab to project settings, hidden behind the
`automatedActions` feature flag.
![image](https://github.com/Unleash/unleash/assets/14320932/594ed7e0-6e1a-464e-b649-bee368e14aea )
2024-01-24 10:05:04 +00:00
Thomas Heartman
01318b11ea
fix: show the updated value instead of the snapshot value ( #5989 )
...
This PR fixes a bug in the displayed value of the conflict list so that
it shows the value it would update to instead of the snapshot value.
In doing so, it updates the logic of the algorithm to:
1. if the snapshot value and the current value are the same, it's not a
conflict (it's an intended change)
2. If the snapshot value differs from the current value, it is a
conflict if and only if the value in the change differs from the current
value. Otherwise, it's not a conflict.
The new test cases are:
- it shows a diff for a property if the snapshot and live version differ
for that property and the changed value is different from the live
version
- it does not show a diff for a property if the live version and the
change have the same value, even if the snapshot differs from the live
version
- it does not show a diff for a property if the snapshot and the live
version are the same
2024-01-24 12:39:41 +04:00
Nuno Góis
13a9b1bc13
fix: project settings title ( #6011 )
...
Small fix to the project settings title, correcting it and making it
consistent.
2024-01-24 08:38:13 +00:00
Nuno Góis
7413a1ee1a
chore: add support for project and environment in PermissionGuard ( #6008 )
...
I noticed some manual `hasAccess` usages in permission guards due to the
fact that `PermissionGuard` does not accept `project` and `environment`.
This PR adds this support to `PermissionGuard` so we can adapt these
`hasAccess` checks to use it instead, adding consistency and cleaning
things up.
This PR does not include these adaptations however, it only adds the
optional properties to the component. We can address these at a later
point.
2024-01-24 08:20:38 +00:00
Tymoteusz Czech
68eb3dec07
fix: upgrade unleash-client to v5.3.0 ( #5800 )
2024-01-24 09:12:07 +01:00
Mateusz Kwasniewski
156ba39b42
fix: strategy screen re-rendering table bug ( #6006 )
2024-01-23 15:49:13 +01:00
Mateusz Kwasniewski
48ef88b4fa
test: variant edit corner cases ( #5998 )
2024-01-23 10:38:31 +01:00
Mateusz Kwasniewski
3fd735ac7e
fix: move useEffect before renders ( #5995 )
2024-01-23 09:32:48 +01:00
Mateusz Kwasniewski
5305c868e5
fix: update stickiness between tabs ( #5991 )
...
Fixes a bug where stickiness update to the main strategy would not propagate to strategy variants
2024-01-23 08:58:06 +01:00
Nuno Góis
0847c2e52c
chore: add new action hooks ( #5992 )
...
https://linear.app/unleash/issue/2-1857/create-new-action-hooks-on-the-frontend
Adds action hooks to help us with CRUD operations on the frontend,
similar to https://github.com/Unleash/unleash/pull/5788 and
https://github.com/Unleash/unleash/pull/5790
2024-01-22 17:31:04 +00:00
Christopher Kolstad
8256c2eaf2
task: Use fine-grained project permissions in frontend ( #5974 )
...
Connected to [#5932 ](https://github.com/Unleash/unleash/pull/5932 ) -
This starts using the new permissions in addition to the old
UPDATE_PROJECT permission. That way, if you're happy with
UPDATE_PROJECT, you don't need to change.
However, you can now add more fine grained permissions for both READ and
WRITE operations.
2024-01-22 15:34:10 +01:00
Tymoteusz Czech
b7483e8989
chore: generate frontend openapi types ( #5988 )
...
Update for dashboard types
2024-01-22 14:16:07 +01:00
Thomas Heartman
fd91cd1771
fix: don't use kebab-case for properties ( #5979 )
...
These are apparently unsupported in css objects and using the camelCased (or PascalCased) versions was the suggested fix.
2024-01-22 12:26:25 +00:00
Fredrik Strand Oseberg
60d2176efa
feat: add option to use variants with feedback ( #5986 )
...
This PR will allow us to use a feature flag with variants to control
whether or not we should show the comments field of the feedback form.
This will allow us to see whether we can increase feedback collection if
we reduce the load on the customer.
2024-01-22 13:14:27 +01:00
Mateusz Kwasniewski
055bab8e7c
feat: include number of flags chart ( #5987 )
2024-01-22 12:15:49 +01:00
Mateusz Kwasniewski
c9b99f41cf
feat: number of flags component ( #5984 )
2024-01-22 11:47:15 +01:00
Thomas Heartman
312a40ce1c
refactor: prefer 'span' to 'div' in the badge element ( #5981 )
...
This changes the badge element to prefer spans instead of divs. The
primary difference between spans and divs is that spans are inline and
divs are block. Styling-wise, we override the display property anyway.
Semantically, most all of the badges are used inline instead of on
their own block level, so this change seems sensible. You can still
provide `div` as the `as` prop if you need to.
2024-01-22 14:44:26 +04:00
Tymoteusz Czech
ec1439e171
Feat: dashboard users chart frontend ( #5980 )
...
Users chart with tooltip and legend
2024-01-22 11:07:38 +01:00
Thomas Heartman
edf3cad092
fix: add keys to the features cell component ( #5978 )
...
This PR adds the `key` property to the features cell component where it
renders lists of flags. This fixes a few rendering errors we've been
getting in the console.
2024-01-22 07:57:38 +00:00
Thomas Heartman
f7c8180145
Chore: omit snapshot property from event payload ( #5972 )
...
This PR hides the "snapshot" data from the diff overview we show in the
UI in a change request.
2024-01-22 11:13:49 +04:00
Thomas Heartman
0bb709a718
feat: show changes that would be overwritten in change request overview UI ( #5964 )
...
This PR adds a first, rough iteration of what it could look like to show
changes that would be overwritten by applying a PR.
The changes are listed in a table (semantically; looks more like a list
visually) and show the property, the current live value and the version
that you have in your changes. The changes are hidden by default, but
can be shown by expanding a details element.
@nicolaesocaciu Suggested that we merge this version for now and iterate
on the design later.
Here's what it looks like closed:
![image](https://github.com/Unleash/unleash/assets/17786332/3a641642-0537-4e7a-aeca-b3d3df6b8e31 )
Here's what it looks like with a typical change load:
![image](https://github.com/Unleash/unleash/assets/17786332/b7aa7265-d1c7-4b6b-a9a2-f58cb966f25c )
Here's what it looks like if you change more or less every property
changed:
![image](https://github.com/Unleash/unleash/assets/17786332/4d94ab69-86ed-4c3e-be6a-6890c654e37e )
2024-01-22 11:13:38 +04:00
renovate[bot]
8f4780c52f
chore(deps): update dependency vite to v5.0.12 [security] ( #5977 )
...
[![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.0.11` ->
`5.0.12`](https://renovatebot.com/diffs/npm/vite/5.0.11/5.0.12 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.0.12?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.0.12?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.0.11/5.0.12?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.0.11/5.0.12?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
### GitHub Vulnerability Alerts
####
[CVE-2024-23331](https://togithub.com/vitejs/vite/security/advisories/GHSA-c24v-8rfc-w8vw )
### Summary
[Vite dev server
option](https://vitejs.dev/config/server-options.html#server-fs-deny )
`server.fs.deny` can be bypassed on case-insensitive file systems using
case-augmented versions of filenames. Notably this affects servers
hosted on Windows.
This bypass is similar to
https://nvd.nist.gov/vuln/detail/CVE-2023-34092 -- with surface area
reduced to hosts having case-insensitive filesystems.
### Patches
Fixed in vite@5.0.12, vite@4.5.2, vite@3.2.8, vite@2.9.17
### Details
Since `picomatch` defaults to case-sensitive glob matching, but the file
server doesn't discriminate; a blacklist bypass is possible.
See `picomatch` usage, where `nocase` is defaulted to `false`:
https://github.com/vitejs/vite/blob/v5.1.0-beta.1/packages/vite/src/node/server/index.ts#L632
By requesting raw filesystem paths using augmented casing, the matcher
derived from `config.server.fs.deny` fails to block access to sensitive
files.
### PoC
**Setup**
1. Created vanilla Vite project using `npm create vite@latest` on a
Standard Azure hosted Windows 10 instance.
- `npm run dev -- --host 0.0.0.0`
- Publicly accessible for the time being here: http://20.12.242.81:5173/
2. Created dummy secret files, e.g. `custom.secret` and `production.pem`
3. Populated `vite.config.js` with
```javascript
export default { server: { fs: { deny: ['.env', '.env.*', '*.{crt,pem}', 'custom.secret'] } } }
```
**Reproduction**
1. `curl -s http://20.12.242.81:5173/@​fs// `
- Descriptive error page reveals absolute filesystem path to project
root
2. `curl -s
http://20.12.242.81:5173/@​fs/C:/Users/darbonzo/Desktop/vite-project/vite.config.js `
- Discoverable configuration file reveals locations of secrets
3. `curl -s
http://20.12.242.81:5173/@​fs/C:/Users/darbonzo/Desktop/vite-project/custom.sEcReT `
- Secrets are directly accessible using case-augmented version of
filename
**Proof**
![Screenshot 2024-01-19
022736](https://user-images.githubusercontent.com/907968/298020728-3a8d3c06-fcfd-4009-9182-e842f66a6ea5.png )
### Impact
**Who**
- Users with exposed dev servers on environments with case-insensitive
filesystems
**What**
- Files protected by `server.fs.deny` are both discoverable, and
accessible
---
### Release Notes
<details>
<summary>vitejs/vite (vite)</summary>
### [`v5.0.12`](https://togithub.com/vitejs/vite/releases/tag/v5.0.12 )
[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.0.11...v5.0.12 )
Please refer to
[CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md )
for details.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-20 01:38:23 +00:00
Thomas Heartman
01a38becb3
fix: handle title diffing correctly in strategy change diffs ( #5971 )
...
A strategy title can be either an empty string or undefined on the
type we use in the frontend. In the snapshot it can be an empty
string, null (presumably), and undefined.
This change updates the diffing logic to handle the various title diff
cases correctly. It also updates the type used for the snapshot to
reflect this.
2024-01-19 18:56:46 +04:00
Nuno Góis
77fcc9e840
fix: incoming webhooks form UI adjustments ( #5973 )
...
Small UI improvements in the new incoming webhooks form after aligning
with @nicolaesocaciu.
![image](https://github.com/Unleash/unleash/assets/14320932/6f829863-ab94-4d35-a1d7-d8722e8ec159 )
2024-01-19 14:50:54 +00:00
andreas-unleash
dda0fd3fd4
Fix: losing redirect on provider login ( #5970 )
...
Fixes the initial redirect to take into account the value from session
storage
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-01-19 14:31:42 +02:00
Mateusz Kwasniewski
84e341bbb7
feat: show select all button when more than 1 item ( #5965 )
2024-01-19 11:26:03 +01:00
andreas-unleash
a096b2a485
fix: store redirect to localStorage to avoid loss of redirect ( #5929 )
...
Stores `redirect` param in localStorage in the Authentication component.
Retrieves the `redirect` param from localStorage at the Login screen if
it is not there in the url.
This will solve losing the redirect information all provider logins
Closes #
[1-1890](https://linear.app/unleash/issue/1-1890/capture-path-before-logging-in-and-redirect-to-it-if-there-and-custom )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-01-19 11:32:26 +02:00
Fredrik Strand Oseberg
4ee2acb3aa
fix: add more comprehensive metrics for feedback ( #5967 )
...
Add more comprehensive tracking of feedback
2024-01-19 10:23:40 +01:00
Thomas Heartman
c69137a1ee
feat: add algorithm to detect what strategy changes would be overwritten by applying a CR ( #5963 )
...
This change adds an algorithm with tests for detecting what changes
would be overwritten by applying a CR.
Test cases:
- It compares strategies regardless of order of keys in the objects.
This ensures that two strategies with the same content but different
order of keys are compared correctly.
- It treats `undefined` or missing segments in old config as equal to
`[]` in change
- It treats `undefined` or missing strategy variants in old config and
change as equal to `[]`
- It lists changes in a sorted list with the correct values
- It ignores object order on nested objects. Similar to the first
point, this does order-insensitive comparison for nested objects (such
as params and constraints).
2024-01-19 13:08:08 +04:00
Mateusz Kwasniewski
b00909db3f
test: show array param decoder ( #5955 )
2024-01-19 09:27:47 +01:00
Mateusz Kwasniewski
22037cb0f2
fix: normalize hours back to prevent freezing UI ( #5953 )
2024-01-19 09:27:31 +01:00
renovate[bot]
277e3e0afd
chore(deps): update react-router monorepo to v6.21.2 ( #5961 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router )
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router ))
| [`6.21.1` ->
`6.21.2`](https://renovatebot.com/diffs/npm/react-router/6.21.1/6.21.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.21.1/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.21.1/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router )
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ))
| [`6.21.1` ->
`6.21.2`](https://renovatebot.com/diffs/npm/react-router-dom/6.21.1/6.21.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.21.1/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.21.1/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.21.2`](https://togithub.com/remix-run/react-router/compare/react-router@6.21.1...react-router@6.21.2 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.21.1...react-router@6.21.2 )
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.21.2`](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.21.1...react-router-dom@6.21.2 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.21.1...react-router-dom@6.21.2 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 21:18:26 +00:00
renovate[bot]
bf65861640
chore(deps): update dependency @tanstack/react-table to v8.11.4 ( #5958 )
...
[![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://togithub.com/tanstack/table ) |
[`8.11.3` ->
`8.11.4`](https://renovatebot.com/diffs/npm/@tanstack%2freact-table/8.11.3/8.11.4 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tanstack%2freact-table/8.11.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tanstack%2freact-table/8.11.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tanstack%2freact-table/8.11.3/8.11.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tanstack%2freact-table/8.11.3/8.11.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>tanstack/table (@​tanstack/react-table)</summary>
###
[`v8.11.4`](https://togithub.com/TanStack/table/releases/tag/v8.11.4 )
[Compare
Source](https://togithub.com/tanstack/table/compare/v8.11.3...v8.11.4 )
Version 8.11.4 - 1/11/2024, 5:30 PM
#### Changes
##### Fix
- add optional document context for resize listeners prettier
([`9aba3c0`](https://togithub.com/tanstack/table/commit/9aba3c08 )) by
Kevin Vandy
- add optional document context for resize listeners
([#​5003](https://togithub.com/tanstack/table/issues/5003 ))
([`8e106a9`](https://togithub.com/tanstack/table/commit/8e106a99 )) by
Jareth
- Correctly exit publish script
([#​5262](https://togithub.com/tanstack/table/issues/5262 ))
([`57336fc`](https://togithub.com/tanstack/table/commit/57336fc7 )) by
Lachlan Collins
##### Chore
- Fix incorrect npm tag for previous version release
([#​5265](https://togithub.com/tanstack/table/issues/5265 ))
([`0899c33`](https://togithub.com/tanstack/table/commit/0899c335 )) by
Lachlan Collins
- Stricter tsconfig options
([#​5264](https://togithub.com/tanstack/table/issues/5264 ))
([`86d6447`](https://togithub.com/tanstack/table/commit/86d64470 )) by
Lachlan Collins
- Update to Rollup v4, Vite v5
([#​5260](https://togithub.com/tanstack/table/issues/5260 ))
([`fefe74f`](https://togithub.com/tanstack/table/commit/fefe74f4 )) by
Lachlan Collins
- Update examples to use Vite v4
([#​5259](https://togithub.com/tanstack/table/issues/5259 ))
([`5d615ab`](https://togithub.com/tanstack/table/commit/5d615ab5 )) by
Lachlan Collins
- Update select workspace dependencies
([#​5258](https://togithub.com/tanstack/table/issues/5258 ))
([`a990435`](https://togithub.com/tanstack/table/commit/a990435f )) by
Lachlan Collins
##### Docs
- fix meta data example
([#​5256](https://togithub.com/tanstack/table/issues/5256 ))
([`6561267`](https://togithub.com/tanstack/table/commit/65612676 )) by
Nathan Isaac
- fix feature guide links
([`8a14fa6`](https://togithub.com/tanstack/table/commit/8a14fa66 )) by
Kevin Vandy
- refactor guides section and new table instance guide
([#​5254](https://togithub.com/tanstack/table/issues/5254 ))
([`b327934`](https://togithub.com/tanstack/table/commit/b3279343 )) by
Kevin Van Cott
- add solid filters example
([#​5252](https://togithub.com/tanstack/table/issues/5252 ))
([`80d92d6`](https://togithub.com/tanstack/table/commit/80d92d6f )) by
Hephaestian
##### Ci
- Use publish function from `@tanstack/config`
([#​5257](https://togithub.com/tanstack/table/issues/5257 ))
([`43989f2`](https://togithub.com/tanstack/table/commit/43989f26 )) by
Lachlan Collins
#### Packages
-
[@​tanstack/table-core](https://togithub.com/tanstack/table-core )[@​8](https://togithub.com/8 ).11.4
-
[@​tanstack/react-table](https://togithub.com/tanstack/react-table )[@​8](https://togithub.com/8 ).11.4
-
[@​tanstack/solid-table](https://togithub.com/tanstack/solid-table )[@​8](https://togithub.com/8 ).11.4
-
[@​tanstack/vue-table](https://togithub.com/tanstack/vue-table )[@​8](https://togithub.com/8 ).11.4
-
[@​tanstack/svelte-table](https://togithub.com/tanstack/svelte-table )[@​8](https://togithub.com/8 ).11.4
-
[@​tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools )[@​8](https://togithub.com/8 ).11.4
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 18:14:57 +00:00
Mateusz Kwasniewski
1fd7749ae7
fix: prevent jumping columns in search view ( #5950 )
2024-01-18 14:37:57 +01:00
Mateusz Kwasniewski
105747293e
fix: show pagination when enough items ( #5948 )
2024-01-18 14:36:05 +01:00
Nuno Góis
3dd188e77c
refactor: shared url_safe_basic constant ( #5952 )
...
Uses a new `URL_SAFE_BASIC` regex constant that checks for characters
that are commonly used in URL path sections: alphanumeric lowercase
characters, dashes and underscores.
This will allow us to re-use this constant in our server-side
validation.
2024-01-18 12:33:33 +00:00
Nuno Góis
5b56fac66f
Chore inc webhooks modal form ( #5938 )
...
https://linear.app/unleash/issue/2-1818/ui-create-incoming-webhook-newedit-modal
Adds the incoming webhooks modal form, which allows users to create and
edit incoming webhooks, along with their respective tokens.
Follows a logic similar to service accounts and their tokens, and tries
to use the newest form validation flow that we implemented in the roles
form.
![image](https://github.com/Unleash/unleash/assets/14320932/5d37a72e-2777-4c8b-b71b-3c0610959a52 )
2024-01-18 11:38:05 +00:00
Tymoteusz Czech
4b02d6aa9c
Executive Dashboard page setup ( #5949 )
2024-01-18 12:32:25 +01:00
Mateusz Kwasniewski
d3215335c9
feat: metrics periods expressed in days ( #5928 )
2024-01-18 11:54:20 +01:00
Mateusz Kwasniewski
f5cf118b12
fix: precise selected all chips check ( #5945 )
2024-01-18 11:53:56 +01:00
Mateusz Kwasniewski
567099a15b
fix: table loader ( #5937 )
2024-01-18 11:26:42 +01:00
Jaanus Sellin
242d2e5f27
chore : upgrade jsdom to 23 ( #5934 )
2024-01-17 16:20:27 +02:00
andreas-unleash
60813acb09
fix: make the conflcit email template button conditionally render ( #5931 )
...
Makes the schedule conflict email button conditional to having the link
present.
Closes #
[1-1950](https://linear.app/unleash/issue/1-1950/modify-the-template-to-make-the-new-button-conditional )
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-01-17 13:26:07 +00:00
Fredrik Strand Oseberg
1deee10317
Feat/disabled strategies ( #5930 )
...
This PR makes disabled strategies more prominent in the UI:
<img width="1031" alt="Skjermbilde 2024-01-17 kl 11 26 11"
src="https://github.com/Unleash/unleash/assets/16081982/4a07c0aa-8f86-4854-829e-1088abecfb4e ">
2024-01-17 13:20:39 +01:00
Mateusz Kwasniewski
5fb2ac8054
fix: select default application based on timespan ( #5927 )
2024-01-17 12:15:03 +01:00
Christopher Kolstad
2b1111044f
feat: added killswitch for admin tokens ( #5905 )
...
Since we've now added PAT's we really do recommend switching to those,
or for enterprises, we recommend using service accounts.
Admin tokens have an obvious disadvantage in that they're not connected
to any user, so actions performed by them are harder to audit.
This PR adds a killswitch for turning it off, in preparation for
deprecating them and ultimately removing them in the future.
2024-01-17 10:27:36 +01:00
Mateusz Kwasniewski
6a55964ce8
fix: metrics apps should be selected from the longest time span ( #5923 )
2024-01-17 09:51:59 +01:00
renovate[bot]
f61750a755
chore(deps): update dependency debounce to v2 ( #5901 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [debounce](https://togithub.com/sindresorhus/debounce ) | [`1.2.1` ->
`2.0.0`](https://renovatebot.com/diffs/npm/debounce/1.2.1/2.0.0 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/debounce/2.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/debounce/2.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/debounce/1.2.1/2.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/debounce/1.2.1/2.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>sindresorhus/debounce (debounce)</summary>
###
[`v2.0.0`](https://togithub.com/sindresorhus/debounce/releases/tag/v2.0.0 )
[Compare
Source](https://togithub.com/sindresorhus/debounce/compare/1.2.1...v2.0.0 )
##### Breaking
- Require Node.js 18 and modern browsers
[`2872fb8`](https://togithub.com/sindresorhus/debounce/commit/2872fb8 )
- Removed support for
[component](https://togithub.com/componentjs/component ) (now defunct
project)
##### Improvements
- Add TypeScript types
[`2872fb8`](https://togithub.com/sindresorhus/debounce/commit/2872fb8 )
- Protect against improper use in classes
[`95eef87`](https://togithub.com/sindresorhus/debounce/commit/95eef87 )
##### Fixes
- Fix recursive callback args
([#​32](https://togithub.com/sindresorhus/debounce/issues/32 ))
[`c997759`](https://togithub.com/sindresorhus/debounce/commit/c997759 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2024-01-17 10:29:17 +02:00
Fredrik Strand Oseberg
9d32bf53eb
fix: refactor autosave to use the id to resolve the constraint ( #5917 )
...
Use id to resolve autosave constraints now that we have consistent id
references
2024-01-17 08:51:54 +01:00
renovate[bot]
5f4fe2072f
chore(deps): update dependency @types/node to v18.19.6 ( #5920 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ))
| [`18.19.5` ->
`18.19.6`](https://renovatebot.com/diffs/npm/@types%2fnode/18.19.5/18.19.6 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.19.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.19.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.19.5/18.19.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.19.5/18.19.6?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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 18:34:39 +00:00
Nuno Góis
d2366a8aa1
fix: improve SSO default role resolution ( #5916 )
...
This improves the role resolution in the value of the default root role,
preventing a bug where settings saved
pre-https://github.com/Unleash/unleash/pull/5887 would show an empty
default root role in the dropdown.
Also makes the role update more robust.
2024-01-16 16:08:46 +00:00
Mateusz Kwasniewski
3bebc11fb2
feat: adjust height on applications list in metrics ( #5918 )
2024-01-16 16:21:55 +01:00
Fredrik Strand Oseberg
967ee13e62
fix: add symbols as constraint ids ( #5913 )
...
This PR adds uuids as ids using a symbol in order to make sure we only
use this to keep internal order in the viritual DOM. This makes us able
to have predictable mutable lists on the frontend, and makes it easy to
not pass this property along to the backend.
2024-01-16 13:47:04 +01:00
Mateusz Kwasniewski
dfeaea8ee9
feat: hours back feature metrics tracking ( #5904 )
2024-01-16 10:30:06 +01:00
Nuno Góis
3b5b1ec020
chore: add tokens column to incoming webhooks table ( #5903 )
...
https://linear.app/unleash/issue/2-1827/add-remaining-columns-to-the-incoming-webhooks-table
Adds the "tokens" column to the incoming webhooks table.
Also includes some slight adjustments to the table, including a fix to
center the actions button.
![image](https://github.com/Unleash/unleash/assets/14320932/2ca63b17-c20e-41d0-9065-db8bcad33c24 )
2024-01-16 08:43:14 +00:00
Fredrik Strand Oseberg
9d370ad85d
Fix/autosave on delete ( #5899 )
...
This PR will make FeatureStrategyConstraints use the value coming from
the setState function instead of closing over a stale value.
2024-01-16 09:23:35 +01:00
Mateusz Kwasniewski
6cfb7b4fb8
feat: feature metrics table timezone ( #5880 )
2024-01-15 15:31:10 +01:00
Mateusz Kwasniewski
9ac8a466ab
feat: select all applications ( #5897 )
2024-01-15 15:30:35 +01:00
Nuno Góis
0ba37e8622
feat: list all root roles in SSO config ( #5887 )
...
Lists all root roles in SSO config, including custom root roles.
![image](https://github.com/Unleash/unleash/assets/14320932/30114169-4184-4a22-9671-c7041b750d1c )
2024-01-15 13:13:29 +00:00
Nuno Góis
22acadf4cc
fix: role form sluggishness ( #5888 )
...
This seems to improve the performance in the role form while still
maintaining the same validation logic.
A big factor was the memoization of the categories calculation and
respective elements, which is especially impactful when there are many
environments.
2024-01-15 08:37:53 +00:00
Fredrik Strand Oseberg
ebd673e9fc
fix: use the new method ( #5894 )
...
This PR adds the new setValuesWithRecord method to the deletion of
values. In addition, we'll auto save when using the undo button aswell.
2024-01-15 09:28:19 +01:00
Fredrik Strand Oseberg
f7b285d340
feat: add undo ( #5879 )
...
This PR adds undo functionality so you can restore the state of your
constraint if you make a mistake. We also amend the autosave
functionality to only apply when values are changed and you have a valid
value. See demo:
https://www.loom.com/share/da704da8aee94ac18d4caae697426802
2024-01-15 08:47:59 +01:00
renovate[bot]
f3f3e2780e
chore(deps): update dependency @types/node to v18.19.5 ( #5889 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ))
| [`18.19.4` ->
`18.19.5`](https://renovatebot.com/diffs/npm/@types%2fnode/18.19.4/18.19.5 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.19.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.19.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.19.4/18.19.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.19.4/18.19.5?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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-15 00:40:06 +00:00
renovate[bot]
d1ea959486
chore(deps): update react-router monorepo to v6.21.1 ( #5886 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router )
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router ))
| [`6.20.1` ->
`6.21.1`](https://renovatebot.com/diffs/npm/react-router/6.20.1/6.21.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.20.1/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.20.1/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router )
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ))
| [`6.20.1` ->
`6.21.1`](https://renovatebot.com/diffs/npm/react-router-dom/6.20.1/6.21.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.20.1/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.20.1/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.21.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6211 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.21.0...react-router@6.21.1 )
##### Patch Changes
- Fix bug with `route.lazy` not working correctly on initial SPA load
when `v7_partialHydration` is specified
([#​11121](https://togithub.com/remix-run/react-router/pull/11121 ))
- Updated dependencies:
- `@remix-run/router@1.14.1`
###
[`v6.21.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6210 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.20.1...react-router@6.21.0 )
##### Minor Changes
- Add a new `future.v7_relativeSplatPath` flag to implement a breaking
bug fix to relative routing when inside a splat route.
([#​11087](https://togithub.com/remix-run/react-router/pull/11087 ))
This fix was originally added in
[#​10983](https://togithub.com/remix-run/react-router/issues/10983 )
and was later reverted in
[#​11078](https://togithub.com/remix-run/react-router/pull/11078 )
because it was determined that a large number of existing applications
were relying on the buggy behavior (see
[#​11052](https://togithub.com/remix-run/react-router/issues/11052 ))
**The Bug**
The buggy behavior is that without this flag, the default behavior when
resolving relative paths is to *ignore* any splat (`*`) portion of the
current route path.
**The Background**
This decision was originally made thinking that it would make the
concept of nested different sections of your apps in `<Routes>` easier
if relative routing would *replace* the current splat:
```jsx
<BrowserRouter>
<Routes>
<Route path="/" element={<Home />} />
<Route path="dashboard/*" element={<Dashboard />} />
</Routes>
</BrowserRouter>
```
Any paths like `/dashboard`, `/dashboard/team`, `/dashboard/projects`
will match the `Dashboard` route. The dashboard component itself can
then render nested `<Routes>`:
```jsx
function Dashboard() {
return (
<div>
<h2>Dashboard</h2>
<nav>
<Link to="/">Dashboard Home</Link>
<Link to="team">Team</Link>
<Link to="projects">Projects</Link>
</nav>
<Routes>
<Route path="/" element={<DashboardHome />} />
<Route path="team" element={<DashboardTeam />} />
<Route path="projects" element={<DashboardProjects />} />
</Routes>
</div>
);
}
```
Now, all links and route paths are relative to the router above them.
This makes code splitting and compartmentalizing your app really easy.
You could render the `Dashboard` as its own independent app, or embed it
into your large app without making any changes to it.
**The Problem**
The problem is that this concept of ignoring part of a path breaks a lot
of other assumptions in React Router - namely that `"."` always means
the current location pathname for that route. When we ignore the splat
portion, we start getting invalid paths when using `"."`:
```jsx
// If we are on URL /dashboard/team, and we want to link to
/dashboard/team:
function DashboardTeam() {
// ❌ This is broken and results in <a href="/dashboard">
return <Link to=".">A broken link to the Current URL</Link>;
// ✅ This is fixed but super unintuitive since we're already at
/dashboard/team!
return <Link to="./team">A broken link to the Current URL</Link>;
}
```
We've also introduced an issue that we can no longer move our
`DashboardTeam` component around our route hierarchy easily - since it
behaves differently if we're underneath a non-splat route, such as
`/dashboard/:widget`. Now, our `"."` links will, properly point to
ourself *inclusive of the dynamic param value* so behavior will break
from it's corresponding usage in a `/dashboard/*` route.
Even worse, consider a nested splat route configuration:
```jsx
<BrowserRouter>
<Routes>
<Route path="dashboard">
<Route path="*" element={<Dashboard />} />
</Route>
</Routes>
</BrowserRouter>
```
Now, a `<Link to=".">` and a `<Link to="..">` inside the `Dashboard`
component go to the same place! That is definitely not correct!
Another common issue arose in Data Routers (and Remix) where any
`<Form>` should post to it's own route `action` if you the user doesn't
specify a form action:
```jsx
let router = createBrowserRouter({
path: "/dashboard",
children: [
{
path: "*",
action: dashboardAction,
Component() {
// ❌ This form is broken! It throws a 405 error when it submits because
// it tries to submit to /dashboard (without the splat value) and the
parent
// `/dashboard` route doesn't have an action
return <Form method="post">...</Form>;
},
},
],
});
```
This is just a compounded issue from the above because the default
location for a `Form` to submit to is itself (`"."`) - and if we ignore
the splat portion, that now resolves to the parent route.
**The Solution**
If you are leveraging this behavior, it's recommended to enable the
future flag, move your splat to it's own route, and leverage `../` for
any links to "sibling" pages:
```jsx
<BrowserRouter>
<Routes>
<Route path="dashboard">
<Route index path="*" element={<Dashboard />} />
</Route>
</Routes>
</BrowserRouter>
function Dashboard() {
return (
<div>
<h2>Dashboard</h2>
<nav>
<Link to="..">Dashboard Home</Link>
<Link to="../team">Team</Link>
<Link to="../projects">Projects</Link>
</nav>
<Routes>
<Route path="/" element={<DashboardHome />} />
<Route path="team" element={<DashboardTeam />} />
<Route path="projects" element={<DashboardProjects />} />
</Router>
</div>
);
}
```
This way, `.` means "the full current pathname for my route" in all
cases (including static, dynamic, and splat routes) and `..` always
means "my parents pathname".
##### Patch Changes
- Properly handle falsy error values in ErrorBoundary's
([#​11071](https://togithub.com/remix-run/react-router/pull/11071 ))
- Updated dependencies:
- `@remix-run/router@1.14.0`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.21.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6211 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.21.0...react-router-dom@6.21.1 )
##### Patch Changes
- Updated dependencies:
- `react-router@6.21.1`
- `@remix-run/router@1.14.1`
###
[`v6.21.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6210 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.20.1...react-router-dom@6.21.0 )
##### Minor Changes
- Add a new `future.v7_relativeSplatPath` flag to implement a breaking
bug fix to relative routing when inside a splat route.
([#​11087](https://togithub.com/remix-run/react-router/pull/11087 ))
This fix was originally added in
[#​10983](https://togithub.com/remix-run/react-router/issues/10983 )
and was later reverted in
[#​11078](https://togithub.com/remix-run/react-router/pull/11078 )
because it was determined that a large number of existing applications
were relying on the buggy behavior (see
[#​11052](https://togithub.com/remix-run/react-router/issues/11052 ))
**The Bug**
The buggy behavior is that without this flag, the default behavior when
resolving relative paths is to *ignore* any splat (`*`) portion of the
current route path.
**The Background**
This decision was originally made thinking that it would make the
concept of nested different sections of your apps in `<Routes>` easier
if relative routing would *replace* the current splat:
```jsx
<BrowserRouter>
<Routes>
<Route path="/" element={<Home />} />
<Route path="dashboard/*" element={<Dashboard />} />
</Routes>
</BrowserRouter>
```
Any paths like `/dashboard`, `/dashboard/team`, `/dashboard/projects`
will match the `Dashboard` route. The dashboard component itself can
then render nested `<Routes>`:
```jsx
function Dashboard() {
return (
<div>
<h2>Dashboard</h2>
<nav>
<Link to="/">Dashboard Home</Link>
<Link to="team">Team</Link>
<Link to="projects">Projects</Link>
</nav>
<Routes>
<Route path="/" element={<DashboardHome />} />
<Route path="team" element={<DashboardTeam />} />
<Route path="projects" element={<DashboardProjects />} />
</Routes>
</div>
);
}
```
Now, all links and route paths are relative to the router above them.
This makes code splitting and compartmentalizing your app really easy.
You could render the `Dashboard` as its own independent app, or embed it
into your large app without making any changes to it.
**The Problem**
The problem is that this concept of ignoring part of a path breaks a lot
of other assumptions in React Router - namely that `"."` always means
the current location pathname for that route. When we ignore the splat
portion, we start getting invalid paths when using `"."`:
```jsx
// If we are on URL /dashboard/team, and we want to link to
/dashboard/team:
function DashboardTeam() {
// ❌ This is broken and results in <a href="/dashboard">
return <Link to=".">A broken link to the Current URL</Link>;
// ✅ This is fixed but super unintuitive since we're already at
/dashboard/team!
return <Link to="./team">A broken link to the Current URL</Link>;
}
```
We've also introduced an issue that we can no longer move our
`DashboardTeam` component around our route hierarchy easily - since it
behaves differently if we're underneath a non-splat route, such as
`/dashboard/:widget`. Now, our `"."` links will, properly point to
ourself *inclusive of the dynamic param value* so behavior will break
from it's corresponding usage in a `/dashboard/*` route.
Even worse, consider a nested splat route configuration:
```jsx
<BrowserRouter>
<Routes>
<Route path="dashboard">
<Route path="*" element={<Dashboard />} />
</Route>
</Routes>
</BrowserRouter>
```
Now, a `<Link to=".">` and a `<Link to="..">` inside the `Dashboard`
component go to the same place! That is definitely not correct!
Another common issue arose in Data Routers (and Remix) where any
`<Form>` should post to it's own route `action` if you the user doesn't
specify a form action:
```jsx
let router = createBrowserRouter({
path: "/dashboard",
children: [
{
path: "*",
action: dashboardAction,
Component() {
// ❌ This form is broken! It throws a 405 error when it submits because
// it tries to submit to /dashboard (without the splat value) and the
parent
// `/dashboard` route doesn't have an action
return <Form method="post">...</Form>;
},
},
],
});
```
This is just a compounded issue from the above because the default
location for a `Form` to submit to is itself (`"."`) - and if we ignore
the splat portion, that now resolves to the parent route.
**The Solution**
If you are leveraging this behavior, it's recommended to enable the
future flag, move your splat to it's own route, and leverage `../` for
any links to "sibling" pages:
```jsx
<BrowserRouter>
<Routes>
<Route path="dashboard">
<Route index path="*" element={<Dashboard />} />
</Route>
</Routes>
</BrowserRouter>
function Dashboard() {
return (
<div>
<h2>Dashboard</h2>
<nav>
<Link to="..">Dashboard Home</Link>
<Link to="../team">Team</Link>
<Link to="../projects">Projects</Link>
</nav>
<Routes>
<Route path="/" element={<DashboardHome />} />
<Route path="team" element={<DashboardTeam />} />
<Route path="projects" element={<DashboardProjects />} />
</Router>
</div>
);
}
```
This way, `.` means "the full current pathname for my route" in all
cases (including static, dynamic, and splat routes) and `..` always
means "my parents pathname".
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.14.0`
- `react-router@6.21.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 22:46:33 +00:00
renovate[bot]
03ee506284
chore(deps): update dependency vitest to v1.1.3 ( #5884 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest )
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest ))
| [`1.1.2` ->
`1.1.3`](https://renovatebot.com/diffs/npm/vitest/1.1.2/1.1.3 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.1.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.1.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.2/1.1.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.2/1.1.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>vitest-dev/vitest (vitest)</summary>
###
[`v1.1.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.3 )
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3 )
##### 🐞 Bug Fixes
- **vitest**:
- Vi.mock breaks tests when using imported variables inside the factory
- by [@​sheremet-va](https://togithub.com/sheremet-va ) and
**Dunqing** in
[https://github.com/vitest-dev/vitest/issues/4873 ](https://togithub.com/vitest-dev/vitest/issues/4873 )
[<samp>(7719e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7719e79e )
- Apply `slowTestThreshold` to all reporters - by
[@​hi-ogawa](https://togithub.com/hi-ogawa ) in
[https://github.com/vitest-dev/vitest/issues/4876 ](https://togithub.com/vitest-dev/vitest/issues/4876 )
[<samp>(1769c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1769c796 )
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 20:45:14 +00:00
renovate[bot]
d68563f5de
chore(deps): update dependency vite to v5.0.11 ( #5883 )
...
[![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.0.10` ->
`5.0.11`](https://renovatebot.com/diffs/npm/vite/5.0.10/5.0.11 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.0.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.0.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.0.10/5.0.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.0.10/5.0.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>vitejs/vite (vite)</summary>
###
[`v5.0.11`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small5011-2024-01-05-small )
[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.0.10...v5.0.11 )
- fix: don't pretransform classic script links
([#​15361](https://togithub.com/vitejs/vite/issues/15361 ))
([19e3c9a](https://togithub.com/vitejs/vite/commit/19e3c9a )), closes
[#​15361](https://togithub.com/vitejs/vite/issues/15361 )
- fix: inject `__vite__mapDeps` code before sourcemap file comment
([#​15483](https://togithub.com/vitejs/vite/issues/15483 ))
([d2aa096](https://togithub.com/vitejs/vite/commit/d2aa096 )), closes
[#​15483](https://togithub.com/vitejs/vite/issues/15483 )
- fix(assets): avoid splitting `,` inside base64 value of `srcset`
attribute
([#​15422](https://togithub.com/vitejs/vite/issues/15422 ))
([8de7bd2](https://togithub.com/vitejs/vite/commit/8de7bd2 )), closes
[#​15422](https://togithub.com/vitejs/vite/issues/15422 )
- fix(html): handle offset magic-string slice error
([#​15435](https://togithub.com/vitejs/vite/issues/15435 ))
([5ea9edb](https://togithub.com/vitejs/vite/commit/5ea9edb )), closes
[#​15435](https://togithub.com/vitejs/vite/issues/15435 )
- chore(deps): update dependency strip-literal to v2
([#​15475](https://togithub.com/vitejs/vite/issues/15475 ))
([49d21fe](https://togithub.com/vitejs/vite/commit/49d21fe )), closes
[#​15475](https://togithub.com/vitejs/vite/issues/15475 )
- chore(deps): update tj-actions/changed-files action to v41
([#​15476](https://togithub.com/vitejs/vite/issues/15476 ))
([2a540ee](https://togithub.com/vitejs/vite/commit/2a540ee )), closes
[#​15476](https://togithub.com/vitejs/vite/issues/15476 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 20:44:45 +00:00
Thomas Heartman
a4c1161285
chore: fix lints on main ( #5877 )
...
These were introduced by prs created before the new biome update.
2024-01-12 11:38:08 +00:00
Thomas Heartman
8ae267ea25
feat: show suspended schedules in timeline ( #5873 )
...
This PR updates the timeline to show suspended schedules. It also adds
"schedule failed" when the schedule has failed.
<img width="465" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/aabbee02-b407-4653-959b-92bec8a1fa66 ">
<img width="465" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/7242c34a-1b1e-4efc-a778-a360e3bc4428 ">
2024-01-12 16:50:08 +05:30
Mateusz Kwasniewski
c816ffd49d
feat: aggregate metrics for the same timestamp ( #5876 )
2024-01-12 12:19:30 +01:00
Thomas Heartman
a88763283a
feat: show suspended schedule states in review status ( #5872 )
...
Updates the change request review status box to handle suspended
schedules.
<img width="852" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/2af52b6d-d821-4d30-9166-e8e76ead120d ">
2024-01-12 16:48:58 +05:30
Thomas Heartman
aecc0b54a1
feat: show suspended states in change request badge ( #5871 )
...
This updates the CR badge to show suspended states correctly.
<img width="370" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/f678059b-f72a-46ef-9111-0fc90f228fc8 ">
2024-01-12 16:48:34 +05:30
Christopher Kolstad
5a3bb1ffc3
Biome1.5.1 ( #5867 )
...
Lots of work here, mostly because I didn't want to turn off the
`noImplicitAnyLet` lint. This PR tries its best to type all the untyped
lets biome complained about (Don't ask me how many hours that took or
how many lints that was >200...), which in the future will force test
authors to actually type their global variables setup in `beforeAll`.
---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2024-01-12 09:25:59 +00:00
Mateusz Kwasniewski
e27a578fab
feat: separate UI flag and backend flag for extended metrics ( #5875 )
2024-01-12 10:20:03 +01:00
Thomas Heartman
39145e2617
refactor: use union types for change request types ( #5870 )
...
This changes the two interfaces IChangeRequest and
IChangeRequestSchedule to be union types instead of interfaces. It also
extracts the constituents of those union types into proper types
themselves (so that they can be used in function type signatures etc).
It also updates the type names.
This turned out to be more work than I had imagined, but I think the end
result pays off, giving us more type safety and control.
I wanted to use just `ChangeRequest` for the IChangeRequest type, but
that caused issues due to naming collisions with the `ChangeRequest`
component that we have, causing tests to fail. I've named it
`ChangeRequestType` as a potential solution, but suggestions are
welcome.
The relevant changes are in
`frontend/src/component/changeRequest/changeRequest.types.ts`.
Everything else is updated references and some necessary refactoring to
respect the new types.
2024-01-12 13:15:43 +05:30
Mateusz Kwasniewski
6ba4591c7f
feat: select multiple apps ( #5860 )
2024-01-12 08:33:52 +01:00
renovate[bot]
e3fc4b51fa
chore(deps): update dependency vanilla-jsoneditor to ^0.21.0 ( #5869 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vanilla-jsoneditor](https://togithub.com/josdejong/svelte-jsoneditor )
| [`^0.19.0` ->
`^0.21.0`](https://renovatebot.com/diffs/npm/vanilla-jsoneditor/0.19.0/0.21.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vanilla-jsoneditor/0.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vanilla-jsoneditor/0.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vanilla-jsoneditor/0.19.0/0.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vanilla-jsoneditor/0.19.0/0.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>josdejong/svelte-jsoneditor (vanilla-jsoneditor)</summary>
###
[`v0.21.1`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0211-2023-12-20 )
[Compare
Source](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.21.0...v0.21.1 )
###
[`v0.21.0`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0210-2023-12-20 )
[Compare
Source](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.20.0...v0.21.0 )
##### ⚠ BREAKING CHANGES
- The type `Content` is changed from `{ json: JSONValue} | { text:
string }` into
`{ json: unknown } | { text: string }`, and all other types having
`JSONValue` changed
to `unknown`. The return type of `JSONParser.stringify` changed from
`string` to
`string | undefined`.
##### Features
- change the type of `json` from `JSONValue` to `unknown`
([#​371](https://togithub.com/josdejong/svelte-jsoneditor/issues/371 ))
([dc4671a](dc4671abaa
))
- implement `onRenderContextMenu` (fix
[#​82](https://togithub.com/josdejong/svelte-jsoneditor/issues/82 ))
([e53a620](e53a620b6b
))
- upgrade to upgrade `@sveltejs/kit@2`, `vite-plugin-svelte@3`,
`vite@5`, and `vitest@1`
([#​374](https://togithub.com/josdejong/svelte-jsoneditor/issues/374 ))
([b83e321](b83e3214f8
))
###
[`v0.20.0`](https://togithub.com/josdejong/svelte-jsoneditor/blob/HEAD/CHANGELOG.md#0200-2023-12-06 )
[Compare
Source](https://togithub.com/josdejong/svelte-jsoneditor/compare/v0.19.0...v0.20.0 )
##### ⚠ BREAKING CHANGES
- When using `vanilla-jsoneditor` directly in the browser, you now have
to `import { JSONEditor } from 'vanilla-jsoneditor/standalone.js'`
instead of `import { JSONEditor } from 'vanilla-jsoneditor'`. For
projects with a build setup (React, Vue, Angular) it should be a drop-in
replacement.
- CSS variables are no longer defined globally, and the file
`themes/jse-theme-default.css` is now removed (replaced by an internal
`defaults.scss`). The provided dark theme still works as-is. The CSS
variable `--jse-modal-theme-color` has been renamed to
`--jse-modal-editor-theme-color`, and
`--jse-modal-theme-color-highlight` has been renamed to
`--jse-modal-editor-theme-color-highlight`.
##### Features
- export one bundle with and one without external dependencies in
`vanilla-jsoneditor`
([#​353](https://togithub.com/josdejong/svelte-jsoneditor/issues/353 ))
([9c1ad15](9c1ad157a4
))
- update dependencies `codemirror`, `fontawesome`, `svelte-awesome`, and
dev dependencies
([75596ae](75596ae263
))
- use SCSS variables internally
([#​344](https://togithub.com/josdejong/svelte-jsoneditor/issues/344 ))
([ec4b788](ec4b788e49
))
##### Bug Fixes
- allow `isEditing` property to be true when in `readOnly` mode (see
[#​342](https://togithub.com/josdejong/svelte-jsoneditor/issues/342 ))
([3b0bdb7](3b0bdb7d40
))
- cleanup a console.log
([005f189](005f1896d8
))
- make argument `element` of helper function `onEscape` optional
([6eb9b82](6eb9b823cd
))
- styling issue with a button text color in dark mode
([4ff40f9](4ff40f97d4
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 02:27:37 +00:00
renovate[bot]
6c5ae6662d
chore(deps): update dependency orval to v6.23.0 ( #5863 )
...
[![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.21.0` ->
`6.23.0`](https://renovatebot.com/diffs/npm/orval/6.21.0/6.23.0 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/orval/6.23.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/orval/6.23.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/orval/6.21.0/6.23.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/orval/6.21.0/6.23.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>anymaniax/orval (orval)</summary>
###
[`v6.23.0`](https://togithub.com/anymaniax/orval/releases/tag/v6.23.0 ):
Release 6.23.0
[Compare
Source](https://togithub.com/anymaniax/orval/compare/v6.22.1...v6.23.0 )
##### Bug Fixes
- **core:** readonly array schema value
([#​1103](https://togithub.com/anymaniax/orval/issues/1103 ))
([89368ea](89368eacca
)),
closes [#​1102](https://togithub.com/anymaniax/orval/issues/1102 )
- **core:** use non-barrel schema file imports when using split-tags
mode
([e3eb63e](e3eb63e0de
))
- crash when no response mediaType
([#​1109](https://togithub.com/anymaniax/orval/issues/1109 ))
([793c8cf](793c8cf24c
))
- **zod:** allow blank value for non-required enums
([#​1113](https://togithub.com/anymaniax/orval/issues/1113 ))
([1edc2ab](1edc2ab5dd
))
##### Features
- **schemas:** Add option to configure generated schema item suffix
([#​1104](https://togithub.com/anymaniax/orval/pull/1104 ))
([1423d08](1423d08f39
))
###
[`v6.22.1`](https://togithub.com/anymaniax/orval/releases/tag/v6.22.1 ):
Release 6.22.1
[Compare
Source](https://togithub.com/anymaniax/orval/compare/v6.22.0...v6.22.1 )
##### Bug Fixes
- **query:** mutation dont force to pass a paramater to mutate function
([e03b0ad](e03b0ad795
))
###
[`v6.22.0`](https://togithub.com/anymaniax/orval/releases/tag/v6.22.0 ):
Release 6.22.0
[Compare
Source](https://togithub.com/anymaniax/orval/compare/v6.21.0...v6.22.0 )
##### Bug Fixes
- add tests for types
([da00f2b](da00f2b70e
))
- do not use TVariables
([#​1085](https://togithub.com/anymaniax/orval/issues/1085 ))
([9ea4df5](9ea4df53d7
))
- enum string escape can be nullable
([#​1081](https://togithub.com/anymaniax/orval/issues/1081 ))
([ceb18bf](ceb18bfa0a
))
- freeze problem when $ref is deeply nested
([#​1083](https://togithub.com/anymaniax/orval/issues/1083 ))
([e7f2e5d](e7f2e5d3ed
))
- **generators:** formdata handling oneof and allof
([#​1091](https://togithub.com/anymaniax/orval/issues/1091 ))
([bb240ef](bb240ef62f
))
- path parameters are not encoded
[#​679](https://togithub.com/anymaniax/orval/issues/679 )
([df2d4ba](b361cb90c6
))
- **query:** enabled reactivity fix (new)
([#​1080](https://togithub.com/anymaniax/orval/issues/1080 ))
([e1eff52](e1eff52871
))
- **query:** suspense query generation
([#​1100](https://togithub.com/anymaniax/orval/issues/1100 ))
([36d622b](36d622ba9f
)),
closes [#​1098](https://togithub.com/anymaniax/orval/issues/1098 )
- add
[urlEncodeParameters](https://togithub.com/anymaniax/orval/blob/master/docs/src/pages/reference/configuration/output.md#urlencodeparameters )
options
([ff2b7d3](ff2b7d3ca1
))
- add
[allParamsOptional](https://togithub.com/anymaniax/orval/blob/master/docs/src/pages/reference/configuration/output.md#allparamsoptional )
options
- uppercase verbs
([2077ded](2077dedb75
))
##### Features
- add tests
([58e366a](58e366ad82
))
- allParamsOptional generated tests
([9fc3a9d](9fc3a9d079
))
- comment
([4bfad44](4bfad44869
))
- make all params optional
[#​858](https://togithub.com/anymaniax/orval/issues/858 )
([3eda646](d92c33c7f6
))
- more tests
([58f07ab](58f07ab292
))
- revert import order changes
([2fb0d92](2fb0d926f2
))
- rm unused
([6472eda](6472eda88e
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 21:10:19 +00:00
renovate[bot]
af7b9f5439
chore(deps): update material-ui monorepo ( #5862 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@mui/icons-material](https://mui.com/material-ui/material-icons/ )
([source](https://togithub.com/mui/material-ui/tree/HEAD/packages/mui-icons-material ))
| [`5.15.2` ->
`5.15.3`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.15.2/5.15.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2ficons-material/5.15.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2ficons-material/5.15.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2ficons-material/5.15.2/5.15.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2ficons-material/5.15.2/5.15.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [@mui/lab](https://mui.com/material-ui/about-the-lab/ )
([source](https://togithub.com/mui/material-ui/tree/HEAD/packages/mui-lab ))
| [`5.0.0-alpha.158` ->
`5.0.0-alpha.159`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.158/5.0.0-alpha.159 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2flab/5.0.0-alpha.159?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2flab/5.0.0-alpha.159?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2flab/5.0.0-alpha.158/5.0.0-alpha.159?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2flab/5.0.0-alpha.158/5.0.0-alpha.159?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [@mui/material](https://mui.com/material-ui/ )
([source](https://togithub.com/mui/material-ui/tree/HEAD/packages/mui-material ))
| [`5.15.2` ->
`5.15.3`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.15.2/5.15.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fmaterial/5.15.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fmaterial/5.15.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fmaterial/5.15.2/5.15.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fmaterial/5.15.2/5.15.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mui/material-ui (@​mui/icons-material)</summary>
###
[`v5.15.3`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#5153 )
[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.15.2...v5.15.3 )
<!-- generated comparing v5.15.2..master -->
*Jan 3, 2024*
A big thanks to the 11 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.
##### `@mui/material-nextjs@5.15.3`
- <!-- 06 -->\[material-nextjs] Fix order of emotion server
([#​40409](https://togithub.com/mui/material-ui/issues/40409 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
##### `@mui/base@5.0.0-beta.30`
- <!-- 40 -->\[useSlider] Rearrange passive option in eventlisteners
([#​40235](https://togithub.com/mui/material-ui/issues/40235 ))
[@​Kamino0](https://togithub.com/Kamino0 )
##### `@mui/lab@5.0.0-alpha.159`
- <!-- 14 -->Add use client directive
([#​40358](https://togithub.com/mui/material-ui/issues/40358 ))
[@​DiegoAndai](https://togithub.com/DiegoAndai )
##### `@mui/material-next@6.0.0-alpha.116`
- <!-- 13 -->\[List] Copy all List\* components to material-next
package
([#​40367](https://togithub.com/mui/material-ui/issues/40367 ))
[@​sai6855](https://togithub.com/sai6855 )
- <!-- 12 -->Update CONTRIBUTING guide given v6/v7 rescheduling
([#​40363](https://togithub.com/mui/material-ui/issues/40363 ))
[@​DiegoAndai](https://togithub.com/DiegoAndai )
- <!-- 11 -->\[MenuItem] Fix spec import
([#​40271](https://togithub.com/mui/material-ui/issues/40271 ))
[@​DiegoAndai](https://togithub.com/DiegoAndai )
- <!-- 10 -->\[Option] Add Option component
([#​40270](https://togithub.com/mui/material-ui/issues/40270 ))
[@​DiegoAndai](https://togithub.com/DiegoAndai )
- <!-- 09 -->\[Slider] Replace lodash with internal utils
([#​40261](https://togithub.com/mui/material-ui/issues/40261 ))
[@​DiegoAndai](https://togithub.com/DiegoAndai )
- <!-- 08 -->\[Switch] Change files to TypeScript
([#​39894](https://togithub.com/mui/material-ui/issues/39894 ))
[@​lhilgert9](https://togithub.com/lhilgert9 )
- <!-- 07 -->\[theme] Move ref palette out of color schemes
([#​40341](https://togithub.com/mui/material-ui/issues/40341 ))
[@​DiegoAndai](https://togithub.com/DiegoAndai )
##### Docs
- <!-- 41 -->\[base-ui] Polish the Table Pagination demos
([#​40281](https://togithub.com/mui/material-ui/issues/40281 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- <!-- 22 -->\[joy-ui] Fix dashboard template console errors
([#​40316](https://togithub.com/mui/material-ui/issues/40316 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 21 -->\[joy-ui] Fix image size on the Files template
([#​40315](https://togithub.com/mui/material-ui/issues/40315 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 20 -->\[material-ui] Revise the Divider page
([#​40356](https://togithub.com/mui/material-ui/issues/40356 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- <!-- 19 -->\[material-ui] Polish the Next.js integration page
([#​40317](https://togithub.com/mui/material-ui/issues/40317 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 18 -->\[material-ui] Adding autoFocus on Virtual Popover
([#​40239](https://togithub.com/mui/material-ui/issues/40239 ))
[@​aacevski](https://togithub.com/aacevski )
- <!-- 17 -->\[material-ui] Revise the Roadmap page
([#​40054](https://togithub.com/mui/material-ui/issues/40054 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- <!-- 16 -->\[material-ui] Update the "showing and hiding" section on
the Tooltip page
([#​40283](https://togithub.com/mui/material-ui/issues/40283 ))
[@​anle9650](https://togithub.com/anle9650 )
- <!-- 05 -->\[material-ui] Fix Slider's customized iOS demo to use
updated official colors
([#​39813](https://togithub.com/mui/material-ui/issues/39813 ))
[@​Super-Kenil](https://togithub.com/Super-Kenil )
- <!-- 15 -->\[examples] Simplify Next.js example
([#​40318](https://togithub.com/mui/material-ui/issues/40318 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
##### Core
- <!-- 39 -->\[blog] Update open-graph cards for all posts
([#​40328](https://togithub.com/mui/material-ui/issues/40328 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- <!-- 38 -->\[blog] Correct git diff
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 37 -->\[code-infra] Update lerna and unpin its version
([#​40399](https://togithub.com/mui/material-ui/issues/40399 ))
[@​michaldudak](https://togithub.com/michaldudak )
- <!-- 36 -->\[code-infra] Break package dependency cycle between
[@​mui/material](https://togithub.com/mui/material ) and
[@​mui/icons-material](https://togithub.com/mui/icons-material )
([#​40400](https://togithub.com/mui/material-ui/issues/40400 ))
[@​michaldudak](https://togithub.com/michaldudak )
- <!-- 35 -->\[code-infra] Break package dependency cycles
([#​40398](https://togithub.com/mui/material-ui/issues/40398 ))
[@​michaldudak](https://togithub.com/michaldudak )
- <!-- 34 -->\[code-infra] Sync bug issue template
([#​40305](https://togithub.com/mui/material-ui/issues/40305 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 33 -->\[docs] Fix 301 link to Base UI
([#​40396](https://togithub.com/mui/material-ui/issues/40396 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 32 -->\[docs] Link new MUI X components in sidnav
([#​40345](https://togithub.com/mui/material-ui/issues/40345 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 31 -->\[docs] Fix 301 links to Toolpad
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 30 -->\[docs] Remove old notifications
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 29 -->\[docs] Always mention the npm tag with npx
([#​40335](https://togithub.com/mui/material-ui/issues/40335 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 28 -->\[docs] Reduce network use on the All Components pages
([#​40313](https://togithub.com/mui/material-ui/issues/40313 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 27 -->\[docs-infra] Fix missing button aria-label
([#​40394](https://togithub.com/mui/material-ui/issues/40394 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 26 -->\[docs-infra] Fix a11y violation rule
([#​40393](https://togithub.com/mui/material-ui/issues/40393 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 25 -->\[docs-infra] Prefetch pages on hover
([#​40314](https://togithub.com/mui/material-ui/issues/40314 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 24 -->\[docs-infra] Fix footer links to link to the main domain
([#​40373](https://togithub.com/mui/material-ui/issues/40373 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 23 -->\[docs-infra] Add stray design adjustments
([#​40347](https://togithub.com/mui/material-ui/issues/40347 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- <!-- 04 -->\[website] Fix Base UI page's component section imports &
styles
([#​40231](https://togithub.com/mui/material-ui/issues/40231 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- <!-- 03 -->\[website] Fix outdated Nhost image link
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 02 -->\[website] Shorten Joy UI description, 7 chars too long
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 01 -->\[website] Update some social preview images
([#​40282](https://togithub.com/mui/material-ui/issues/40282 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
All contributors of this release in alphabetical order:
[@​aacevski](https://togithub.com/aacevski ),
[@​anle9650](https://togithub.com/anle9650 ),
[@​danilo-leal](https://togithub.com/danilo-leal ),
[@​DiegoAndai](https://togithub.com/DiegoAndai ),
[@​Kamino0](https://togithub.com/Kamino0 ),
[@​lhilgert9](https://togithub.com/lhilgert9 ),
[@​michaldudak](https://togithub.com/michaldudak ),
[@​oliviertassinari](https://togithub.com/oliviertassinari ),
[@​sai6855](https://togithub.com/sai6855 ),
[@​siriwatknp](https://togithub.com/siriwatknp ),
[@​Super-Kenil](https://togithub.com/Super-Kenil )
</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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 19:50:58 +00:00
renovate[bot]
f93dedef31
chore(deps): update dependency vitest to v1.1.2 ( #5861 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest )
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest ))
| [`1.1.1` ->
`1.1.2`](https://renovatebot.com/diffs/npm/vitest/1.1.1/1.1.2 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.1/1.1.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>vitest-dev/vitest (vitest)</summary>
###
[`v1.1.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.2 )
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2 )
##### 🐞 Bug Fixes
- Remove internal flag from UI option in the config - by
[@​sheremet-va](https://togithub.com/sheremet-va )
[<samp>(7b4a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b4a2fce )
- **browser**:
- Avoid safaridriver collision - by
[@​mbland](https://togithub.com/mbland ) in
[https://github.com/vitest-dev/vitest/issues/4863 ](https://togithub.com/vitest-dev/vitest/issues/4863 )
[<samp>(345a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/345a25d6 )
- Resolved failure to find arbitrarily-named snapshot files when using
`expect(...).toMatchFileSnapshot()` matcher. - by
[@​zmullett](https://togithub.com/zmullett ), **Zac Mullett** and
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/4839 ](https://togithub.com/vitest-dev/vitest/issues/4839 )
[<samp>(b8140)</samp>](https://togithub.com/vitest-dev/vitest/commit/b8140fca )
- Handle config.base - by
[@​mbland](https://togithub.com/mbland ) and
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/4686 ](https://togithub.com/vitest-dev/vitest/issues/4686 )
and
[https://github.com/vitest-dev/vitest/issues/4692 ](https://togithub.com/vitest-dev/vitest/issues/4692 )
[<samp>(9e345)</samp>](https://togithub.com/vitest-dev/vitest/commit/9e34557e )
- **deps**:
- Update dependency acorn-walk to ^8.3.1 - by
[@​renovate](https://togithub.com/renovate )\[bot]
in[https://github.com/vitest-dev/vitest/issues/4837 ](https://togithub.com/vitest-dev/vitest/issues/4837 )7
[<samp>(47bc2)</samp>](https://togithub.com/vitest-dev/vitest/commit/47bc233d )
- Update dependency sirv to ^2.0.4 - by
[@​renovate](https://togithub.com/renovate )\[bot]
in[https://github.com/vitest-dev/vitest/issues/4838 ](https://togithub.com/vitest-dev/vitest/issues/4838 )8
[<samp>(df261)</samp>](https://togithub.com/vitest-dev/vitest/commit/df261ae1 )
- **runner**:
- Fix fixture cleanup for concurrent tests - by
[@​hi-ogawa](https://togithub.com/hi-ogawa ) in
[https://github.com/vitest-dev/vitest/issues/4827 ](https://togithub.com/vitest-dev/vitest/issues/4827 )
[<samp>(1fee6)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fee63f2 )
- **spy**:
- Don't allow Promise in mockImplementation - by
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/4859 ](https://togithub.com/vitest-dev/vitest/issues/4859 )
[<samp>(072e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/072e02bf )
- **vite-node**:
- Correctly return cached result - by
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/4870 ](https://togithub.com/vitest-dev/vitest/issues/4870 )
[<samp>(15bbb)</samp>](https://togithub.com/vitest-dev/vitest/commit/15bbbf81 )
- **vitest**:
- Throw an error if mock was already loaded when vi.mock is called -
by [@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/4862 ](https://togithub.com/vitest-dev/vitest/issues/4862 )
[<samp>(e12a5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e12a5a36 )
- Correctly rerun test files on change if server was restarted - by
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/4871 ](https://togithub.com/vitest-dev/vitest/issues/4871 )
[<samp>(6088b)</samp>](https://togithub.com/vitest-dev/vitest/commit/6088b372 )
- **vm-threads**:
- Don't crash on percentage based `memoryLimit` - by
[@​inottn](https://togithub.com/inottn ) and
[@​AriPerkkio](https://togithub.com/AriPerkkio ) in
[https://github.com/vitest-dev/vitest/issues/4802 ](https://togithub.com/vitest-dev/vitest/issues/4802 )
[<samp>(70e8a)</samp>](https://togithub.com/vitest-dev/vitest/commit/70e8a389 )
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 19:49:53 +00:00
Thomas Heartman
be579ba63b
chore: update orval schemas ( #5858 )
...
This PR updates Orval schemas. The motivation is to get the new schemas
for schedule suspension, but as always, we get everything else too.
2024-01-11 18:18:44 +05:30
Nuno Góis
b496990f79
chore: add no unused imports biome rule ( #5855 )
...
Adds a Biome rule for "no unused imports", which is something we
sometimes have trouble catching.
We're adding this as a warning for now. It is safely and easily fixable
with `yarn lint:fix`.
![image](https://github.com/Unleash/unleash/assets/14320932/fd84dea8-6b20-4ba5-bfd8-047b9dcf2bff )
![image](https://github.com/Unleash/unleash/assets/14320932/990bb0b0-760a-4c5e-8136-d957e902bf0b )
2024-01-11 12:44:05 +00:00
Nuno Góis
7af91c7e9d
chore: incoming webhooks table ( #5837 )
...
https://linear.app/unleash/issue/2-1817/ui-create-an-incoming-webhooks-configuration-page
This adds an incoming webhooks page with the respective table. We plan
on possibly extending the table with a couple more columns in a future
PR.
This allows us:
- View all configured incoming webhooks;
- Copy their URL to the clipboard;
- Remove them;
For "new" and "edit" operations we still need the incoming webhooks
form/dialog, coming in a future PR.
**Note**: Even though we are showing the full URL in the table for now,
we may end up truncating its start in the future (e.g.
`.../api/incoming-webhook/<webhook-name>` - This decision depends on how
it will look like after the rest of the columns are added.
![image](https://github.com/Unleash/unleash/assets/14320932/1cac3286-818f-4967-8686-43f78aa6bd33 )
2024-01-11 12:05:14 +00:00
Gard Rimestad
42bc522582
chore: wait for post to finish instead of waiting a fixed time ( #5851 )
...
This will hopefully make the test faster and more stable
2024-01-11 11:03:01 +01:00
Fredrik Strand Oseberg
2a723ea9e8
fix: remove empty variants when changing tabs ( #5850 )
...
This PR makes a change to how variants work in the new setup. Variants
will now:
* Be removed if you change tab or unmount the component and it has no
name
* Moved StrategyVariants into a separate component to isolate this
change
* Add error handling around onSubmit and only trigger feedback if it's
successful
2024-01-11 10:43:29 +01:00
Mateusz Kwasniewski
3a2d4ae60b
feat: daily metrics display ( #5836 )
2024-01-11 10:39:58 +01:00