Gastón Fournier
9989688d36
chore: missing export ( #5911 )
...
## About the changes
Overlooked on https://github.com/Unleash/unleash/pull/5910
2024-01-16 13:35:57 +01:00
Gastón Fournier
2ddc56927e
chore: centralize events service creation ( #5910 )
...
## About the changes
EventsService is a dependency in most of our services. This creates
helper methods to create them easily and replace a few places where
we're creating them manually
2024-01-16 13:11:28 +01:00
renovate[bot]
f22efdfddb
chore(deps): update actions/upload-artifact action to v4 ( #5892 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/upload-artifact](https://togithub.com/actions/upload-artifact )
| action | major | `v3` -> `v4` |
---
### Release Notes
<details>
<summary>actions/upload-artifact (actions/upload-artifact)</summary>
### [`v4`](https://togithub.com/actions/upload-artifact/compare/v3...v4 )
[Compare
Source](https://togithub.com/actions/upload-artifact/compare/v3...v4 )
</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>
2024-01-16 12:05:34 +01:00
Gastón Fournier
317e0e7ecd
feat: event types for actions ( #5907 )
...
Define event types for actions
2024-01-16 11:59:09 +01:00
Nuno Góis
aeb9c85f11
chore: delete unnecessary column permission_id ( #5413 )
...
Follows up on https://github.com/Unleash/unleash/pull/5409 and drops
this column, since it's no longer used.
See: https://github.com/Unleash/unleash/pull/5409#discussion_r1404112310
Should only be merged after ~~`5.7`~~ `5.8` has been released.
2024-01-16 10:56:22 +00: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
Thomas Heartman
6e234727ee
chore: align with system user in db ( #5893 )
...
This change removes the system user's email from the definition, instead
setting it to `null`. It also changes the name to "Unleash System".
The IUser interface doesn't allow `null` email addresses, so we change
the type definition of the system user to get around it. However, using
`null` (instead of just removing the property entirely) is useful
because when you get the system user from the DB, it's email value will
be null (after it has been nulled out).
As of today, there is nowhere in the Unleash system (OSS or Enterprise)
where we use the system user as an IUser (we only use username and ID).
So this change shouldn't break anything.
This should follow https://github.com/Unleash/unleash/pull/5849 .
2024-01-16 05:49:54 +00:00
Thomas Heartman
4564c97927
chore: remove system user's email in db. ( #5849 )
...
Updates it from 'system@getunleash.io' to `null`. We don't have that
address registered (and probably don't want it), so we'll leave it
empty.
This is a companion PR to
https://github.com/Unleash/unleash/pull/5893 . With both of those
merged, the system user in the DB should match the one defined in
`core.ts`
2024-01-16 11:15:29 +05:30
Mateusz Kwasniewski
65eb8956e1
feat: Prometheus last day metrics ( #5878 )
2024-01-15 15:31:38 +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
Mateusz Kwasniewski
3e186f1986
chore: remove schedulers ( #5895 )
2024-01-15 15:10:15 +01:00
Nuno Góis
1c84a81178
fix: include custom root roles in user access overview ( #5898 )
...
https://linear.app/unleash/issue/2-1844/fix-add-custom-root-roles-to-user-access-overview
I noticed our user access overview method did not take into account
custom root roles, which meant only users with default root roles were
being returned.
This changes the query to check for `IN ('root', 'root-custom')`
instead, including both "root" and "custom root" roles.
![image](https://github.com/Unleash/unleash/assets/14320932/aa808e8f-edc0-4a94-b59f-a8b619ae54ca )
2024-01-15 13:38:31 +00: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
Christopher Kolstad
9d839299e2
fix: differentiated interval and initial schedule call ( #5896 )
...
Differentiate log lines so we can see if it happens on every call, or
just on the initial call.
2024-01-15 11:50:32 +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]
0ab42ab45c
fix(deps): update dependency json-schema-to-ts to v2.12.0 ( #5890 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[json-schema-to-ts](https://togithub.com/ThomasAribart/json-schema-to-ts )
| [`2.9.2` ->
`2.12.0`](https://renovatebot.com/diffs/npm/json-schema-to-ts/2.9.2/2.12.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/json-schema-to-ts/2.12.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/json-schema-to-ts/2.12.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/json-schema-to-ts/2.9.2/2.12.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/json-schema-to-ts/2.9.2/2.12.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>ThomasAribart/json-schema-to-ts (json-schema-to-ts)</summary>
###
[`v2.12.0`](https://togithub.com/ThomasAribart/json-schema-to-ts/releases/tag/v2.12.0 ):
🌈
[Compare
Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.9.2...v2.12.0 )
#### Changes
- use tsc alias instead of ttsc
[@​ThomasAribart](https://togithub.com/ThomasAribart )
([#​179](https://togithub.com/ThomasAribart/json-schema-to-ts/issues/179 ))
- add FAQ on applying FromSchema to generics
[@​ThomasAribart](https://togithub.com/ThomasAribart )
([#​178](https://togithub.com/ThomasAribart/json-schema-to-ts/issues/178 ))
</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-15 03:35:46 +00: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]
c6ff931516
chore(deps): update lycheeverse/lychee-action action to v1.9.0 ( #5885 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
|
[lycheeverse/lychee-action](https://togithub.com/lycheeverse/lychee-action )
| action | minor | `v1.8.0` -> `v1.9.0` | `v1.9.1` |
---
### Release Notes
<details>
<summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary>
###
[`v1.9.0`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.9.0 ):
Version 1.9.0
[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.8.0...v1.9.0 )
#### What's Changed
- Document the current directory for the cache argument example by
[@​theredfish](https://togithub.com/theredfish ) in
[https://github.com/lycheeverse/lychee-action/pull/193 ](https://togithub.com/lycheeverse/lychee-action/pull/193 )
- Add `*.rst` glob pattern to defaults by
[@​kdeldycke](https://togithub.com/kdeldycke ) in
[https://github.com/lycheeverse/lychee-action/pull/197 ](https://togithub.com/lycheeverse/lychee-action/pull/197 )
- Automatically pass Github token by
[@​mre](https://togithub.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/196 ](https://togithub.com/lycheeverse/lychee-action/pull/196 )
- Always create output file; not only on error by
[@​mre](https://togithub.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/199 ](https://togithub.com/lycheeverse/lychee-action/pull/199 )
- Bump actions/checkout from 3 to 4 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/lycheeverse/lychee-action/pull/208 ](https://togithub.com/lycheeverse/lychee-action/pull/208 )
- add documentation on using the param when testing local files (as in…
by [@​tgaff](https://togithub.com/tgaff ) in
[https://github.com/lycheeverse/lychee-action/pull/211 ](https://togithub.com/lycheeverse/lychee-action/pull/211 )
- fix: Lychee output to file (fixes
[#​214](https://togithub.com/lycheeverse/lychee-action/issues/214 ))
by [@​LilDrunkenSmurf](https://togithub.com/LilDrunkenSmurf ) in
[https://github.com/lycheeverse/lychee-action/pull/215 ](https://togithub.com/lycheeverse/lychee-action/pull/215 )
- Add integration test for custom output paths
([#​215](https://togithub.com/lycheeverse/lychee-action/issues/215 ))
by [@​mre](https://togithub.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/217 ](https://togithub.com/lycheeverse/lychee-action/pull/217 )
- Add integration tests for absolute output path and `--dump` by
[@​mre](https://togithub.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/218 ](https://togithub.com/lycheeverse/lychee-action/pull/218 )
#### New Contributors
- [@​theredfish](https://togithub.com/theredfish ) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/193 ](https://togithub.com/lycheeverse/lychee-action/pull/193 )
- [@​kdeldycke](https://togithub.com/kdeldycke ) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/197 ](https://togithub.com/lycheeverse/lychee-action/pull/197 )
- [@​tgaff](https://togithub.com/tgaff ) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/211 ](https://togithub.com/lycheeverse/lychee-action/pull/211 )
- [@​LilDrunkenSmurf](https://togithub.com/LilDrunkenSmurf ) made
their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/215 ](https://togithub.com/lycheeverse/lychee-action/pull/215 )
**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.9.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 22:43:22 +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
Mateusz Kwasniewski
8eb5a53ad9
feat: metrics calculation limit ( #5853 )
2024-01-12 12:32:31 +01: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
b1d7c27124
docs: add a note about suspended change request schedules ( #5874 )
...
This PR describes in closer detail what happens when the user who
scheduled a change request is deleted. It mentions the new suspended
state and what the user can do to get out of it.
2024-01-12 13:18:30 +05:30
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]
5dd5808665
chore(deps): update dependency ssh2 to v1.15.0 ( #5868 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ssh2](https://togithub.com/mscdex/ssh2 ) | [`1.11.0` ->
`1.15.0`](https://renovatebot.com/diffs/npm/ssh2/1.11.0/1.15.0 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/ssh2/1.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ssh2/1.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ssh2/1.11.0/1.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ssh2/1.11.0/1.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [ssh2](https://togithub.com/mscdex/ssh2 ) | [`1.14.0` ->
`1.15.0`](https://renovatebot.com/diffs/npm/ssh2/1.14.0/1.15.0 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/ssh2/1.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ssh2/1.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ssh2/1.14.0/1.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ssh2/1.14.0/1.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mscdex/ssh2 (ssh2)</summary>
###
[`v1.15.0`](https://togithub.com/mscdex/ssh2/compare/v1.14.0...v1.15.0 )
[Compare
Source](https://togithub.com/mscdex/ssh2/compare/v1.14.0...v1.15.0 )
###
[`v1.14.0`](https://togithub.com/mscdex/ssh2/compare/v1.13.0...v1.14.0 )
[Compare
Source](https://togithub.com/mscdex/ssh2/compare/v1.13.0...v1.14.0 )
###
[`v1.13.0`](https://togithub.com/mscdex/ssh2/compare/v1.12.0...v1.13.0 )
[Compare
Source](https://togithub.com/mscdex/ssh2/compare/v1.12.0...v1.13.0 )
###
[`v1.12.0`](https://togithub.com/mscdex/ssh2/compare/v1.11.0...v1.12.0 )
[Compare
Source](https://togithub.com/mscdex/ssh2/compare/v1.11.0...v1.12.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 02:26:38 +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]
3c26c785e8
fix(deps): update dependency @slack/web-api to v6.11.1 ( #5865 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@slack/web-api](https://slack.dev/node-slack-sdk/web-api )
([source](https://togithub.com/slackapi/node-slack-sdk )) | [`6.10.0` ->
`6.11.1`](https://renovatebot.com/diffs/npm/@slack%2fweb-api/6.10.0/6.11.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@slack%2fweb-api/6.11.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@slack%2fweb-api/6.11.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@slack%2fweb-api/6.10.0/6.11.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@slack%2fweb-api/6.10.0/6.11.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>slackapi/node-slack-sdk (@​slack/web-api)</summary>
###
[`v6.11.1`](https://togithub.com/slackapi/node-slack-sdk/releases/tag/%40slack/web-api%406.11.1 )
[Compare
Source](https://togithub.com/slackapi/node-slack-sdk/compare/@slack/web-api@6.11.0...@slack/web-api@6.11.1 )
Bumps axios to 1.6.3 to address a security vulnerability.
###
[`v6.11.0`](https://togithub.com/slackapi/node-slack-sdk/releases/tag/%40slack/web-api%406.11.0 )
[Compare
Source](https://togithub.com/slackapi/node-slack-sdk/compare/@slack/web-api@6.10.0...@slack/web-api@6.11.0 )
- Adds support for `style.code` properties on rich text elements. See
original issue
[#​1706](https://togithub.com/slackapi/node-slack-sdk/issues/1706 )
and PR to resolve
[#​1707](https://togithub.com/slackapi/node-slack-sdk/issues/1707 ).
</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:09:54 +00:00
renovate[bot]
0210bbba5d
chore(deps): update dependency replace-in-file to v7.1.0 ( #5864 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [replace-in-file](https://togithub.com/adamreisnz/replace-in-file ) |
[`7.0.2` ->
`7.1.0`](https://renovatebot.com/diffs/npm/replace-in-file/7.0.2/7.1.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/replace-in-file/7.1.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/replace-in-file/7.1.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/replace-in-file/7.0.2/7.1.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/replace-in-file/7.0.2/7.1.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>adamreisnz/replace-in-file (replace-in-file)</summary>
###
[`v7.1.0`](40a3b59894...2bec5b78f8
)
[Compare
Source](40a3b59894...2bec5b78f8
)
</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:09:11 +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
Gastón Fournier
79d438ac46
feat: add automated actions tables ( #5857 )
...
Add tables to support automated actions based on the [design
document](https://docs.google.com/document/d/15xPgn6B8gzMPk9RjMAUGu8XvozQ_45jjrsVl_Bm6Chg/edit?usp=sharinghttps://docs.google.com/document/d/15xPgn6B8gzMPk9RjMAUGu8XvozQ_45jjrsVl_Bm6Chg/edit?usp=sharing )
2024-01-11 14:42:37 +01: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
Ivar Conradi Østhus
98fd3ce062
chore: Delete silly-file ( #5856 )
2024-01-11 12:11:18 +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
andreas-unleash
6ae6193d3f
chore: remove unused event ( #5854 )
...
Removes the SCHEDULED_CHANGE_REQUEST_EXECUTED event - replaced with
CHANGE_REQUEST_SCHEDULED_APPLICATION_FAILURE,
CHANGE_REQUEST_SCHEDULED_APPLICATION_SUCCESS events
Closes #
[1-1900](https://linear.app/unleash/issue/1-1900/remove-old-schedule-executed-event )
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-01-11 13:59:44 +02:00