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

9822 Commits

Author SHA1 Message Date
Mateusz Kwasniewski
87ebbb0fa2
feat: segments filter (#5558)
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2023-12-06 14:50:18 +02:00
Jaanus Sellin
eda4186a6c
fix: state now persist to filters (#5559)
When navigating to features list, now it will respect the query params.
2023-12-06 14:17:49 +02:00
Jaanus Sellin
d9648de08d
chore: rename is not any of to is none of (#5544) 2023-12-06 12:53:51 +02:00
Jaanus Sellin
eb43d37379
feat: segment cell and orval types (#5543) 2023-12-06 12:51:00 +02:00
Jaanus Sellin
b8fabbd726
feat: add new filter button with state (#5556)
[Screencast from 2023-12-05
16-59-28.webm](https://github.com/Unleash/unleash/assets/964450/793c771b-6246-4e28-8c13-920696a48bd5)

---------

Co-authored-by: kwasniew <kwasniewski.mateusz@gmail.com>
2023-12-06 12:50:33 +02:00
andreas-unleash
12f79f90bb
feat: Scheduled change conflict email templates and function (#5547)
Creates a new email template for scheduled change conflicts and a
function to send it.

Relates to:
#[1-1686](https://linear.app/unleash/issue/1-1686/send-an-email-when-the-conflicts-are-detected)


![Screenshot 2023-12-05 at 16 55
51](https://github.com/Unleash/unleash/assets/104830839/4d37527e-bb83-4ac5-9437-09b6ab08c979)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-12-06 11:57:19 +02:00
Mateusz Kwasniewski
da1a9d4036
test: Filter item test (#5557) 2023-12-06 09:10:15 +01:00
renovate[bot]
55e8073e3c
chore(deps): update dependency vite to v4.5.1 [security] (#5554)
[![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)) |
[`4.5.0` -> `4.5.1`](https://renovatebot.com/diffs/npm/vite/4.5.0/4.5.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.5.0/4.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.5.0/4.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

### GitHub Vulnerability Alerts

####
[CVE-2023-49293](https://togithub.com/vitejs/vite/security/advisories/GHSA-92r3-m2mg-pj97)

### Summary
When Vite's HTML transformation is invoked manually via
`server.transformIndexHtml`, the original request URL is passed in
unmodified, and the `html` being transformed contains inline module
scripts (`<script type="module">...</script>`), it is possible to inject
arbitrary HTML into the transformed output by supplying a malicious URL
query string to `server.transformIndexHtml`.

### Impact
Only apps using `appType: 'custom'` and using the default Vite HTML
middleware are affected. The HTML entry must also contain an inline
script. The attack requires a user to click on a malicious URL while
running the dev server. Restricted files aren't exposed to the attacker.

### Patches
Fixed in vite@5.0.5, vite@4.5.1, vite@4.4.12

### Details
Suppose `index.html` contains an inline module script:

```html
<script type="module">
  // Inline script
</script>
```

This script is transformed into a proxy script like

```html
<script type="module" src="/index.html?html-proxy&index=0.js"></script>
```

due to Vite's HTML plugin:


7fd7c6cebf/packages/vite/src/node/plugins/html.ts (L429-L465)

When `appType: 'spa' | 'mpa'`, Vite serves HTML itself, and
`htmlFallbackMiddleware` rewrites `req.url` to the canonical path of
`index.html`,


73ef074b80/packages/vite/src/node/server/middlewares/htmlFallback.ts (L44-L47)

so the `url` passed to `server.transformIndexHtml` is `/index.html`.

However, if `appType: 'custom'`, HTML is served manually, and if
`server.transformIndexHtml` is called with the unmodified request URL
(as the SSR docs suggest), then the path of the transformed `html-proxy`
script varies with the request URL. For example, a request with path `/`
produces

```html
<script type="module" src="/@&#8203;id/__x00__/index.html?html-proxy&index=0.js"></script>
```

It is possible to abuse this behavior by crafting a request URL to
contain a malicious payload like

```
"></script><script>alert('boom')</script>
```

so a request to
http://localhost:5173/?%22%3E%3C/script%3E%3Cscript%3Ealert(%27boom%27)%3C/script%3E
produces HTML output like

```html
<script type="module" src="/@&#8203;id/__x00__/?"></script><script>alert("boom")</script>?html-proxy&index=0.js"></script>
```

which demonstrates XSS.

### PoC

- Example 1. Serving HTML from `vite dev` middleware with `appType:
'custom'`
- Go to
https://stackblitz.com/edit/vitejs-vite-9xhma4?file=main.js&terminal=dev-html
    - "Open in New Tab"
- Edit URL to set query string to
`?%22%3E%3C/script%3E%3Cscript%3Ealert(%27boom%27)%3C/script%3E` and
navigate
    - Witness XSS:
-
![image](https://user-images.githubusercontent.com/2456381/287434281-13757894-7a63-4a73-b1e9-d2b024c19d14.png)
- Example 2. Serving HTML from SSR-style Express server (Vite dev server
runs in middleware mode):
- Go to
https://stackblitz.com/edit/vitejs-vite-9xhma4?file=main.js&terminal=server
    - (Same steps as above)
- Example 3. Plain `vite dev` (this shows that vanilla `vite dev` is
_not_ vulnerable, provided `htmlFallbackMiddleware` is used)
- Go to
https://stackblitz.com/edit/vitejs-vite-9xhma4?file=main.js&terminal=dev
    - (Same steps as above)
    - You should _not_ see the alert box in this case

### Detailed Impact

This will probably predominantly affect [development-mode
SSR](https://vitejs.dev/guide/ssr#setting-up-the-dev-server), where
`vite.transformHtml` is called using the original `req.url`, per the
docs:


7fd7c6cebf/docs/guide/ssr.md (L114-L126)

However, since this vulnerability affects `server.transformIndexHtml`,
the scope of impact may be higher to also include other ad-hoc calls to
`server.transformIndexHtml` from outside of Vite's own codebase.

My best guess at bisecting which versions are vulnerable involves the
following test script

```js
import fs from 'node:fs/promises';
import * as vite from 'vite';

const html = `
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
  </head>
  <body>
    <script type="module">
      // Inline script
    </script>
  </body>
</html>
`;
const server = await vite.createServer({ appType: 'custom' });
const transformed = await server.transformIndexHtml('/?%22%3E%3C/script%3E%3Cscript%3Ealert(%27boom%27)%3C/script%3E', html);
console.log(transformed);
await server.close();
```

and using it I was able to narrow down to #&#8203;13581. If this is
correct, then vulnerable Vite versions are 4.4.0-beta.2 and higher
(which includes 4.4.0).

---

### Release Notes

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

### [`v4.5.1`](https://togithub.com/vitejs/vite/releases/tag/v4.5.1)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.5.0...v4.5.1)

Please refer to
[CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v4.5.1/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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-06 00:30:39 +00:00
Mateusz Kwasniewski
2dcf4af7b1
feat: filter persisted in url (#5549) 2023-12-05 17:31:23 +01:00
Nuno Góis
f348acb3b9
feat: improve role form validation (#5548)
https://linear.app/unleash/issue/2-1717/improve-the-ux-when-all-the-required-fields-are-not-filled-in

Improves role form validation behavior.
We may want to look into a form validation library, like
[react-hook-form](https://react-hook-form.com/), for future
implementations.
2023-12-05 12:39:30 +00:00
Saeed Akasteh
fa9d38fc22
fix(removeapitokenbutton.tsx): add environment name in delete token modal (#5469)
add environment name in delete token modal
2023-12-05 13:17:31 +01:00
Tymoteusz Czech
b5122a74e7
refactor: table state management in withTableState (#5531) 2023-12-05 12:16:58 +01:00
Gastón Fournier
607e01b6d3
fix: docker deploy failing (#5546)
#5537 updated package.json but not yarn.lock
2023-12-05 10:41:23 +00:00
Gastón Fournier
2164ff6a87
chore: require both build and test before merge (#5545)
## About the changes
Some of our PRs such as #5538 merged without passing the tests. This is
because we were running tests in a different workflow that's not
mandatory to pass before we merge.

With this, we remove duplicated work (we were executing build:backend in
two different workflows) and we enforce our PRs to pass tests before
merging
2023-12-05 11:21:03 +01:00
Jaanus Sellin
6f497e6708
feat: add openapi validation for search (#5541) 2023-12-05 11:25:56 +02:00
Mateusz Kwasniewski
e341a58364
fix: roll back client to 5.0 (#5542) 2023-12-05 09:29:58 +01:00
Mateusz Kwasniewski
2c5130d57e
chore: Update package.json (#5540) 2023-12-05 09:16:57 +01:00
Tymoteusz Czech
795c67306c
fix: features sidebar scroll (#5524)
Feature toggle overview screen - the sidebar getting sticky was making it hard to see many environments
2023-12-05 09:08:02 +01:00
renovate[bot]
20ebe8f7d3
fix(deps): update dependency unleash-client to v5.3.0 (#5538)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/Unleash/unleash-client-node/compare/v5.2.0...v5.3.0)

#### What's Changed

- fix: backward compatibility by
[@&#8203;gastonfournier](https://togithub.com/gastonfournier) in
[https://github.com/Unleash/unleash-client-node/pull/540](https://togithub.com/Unleash/unleash-client-node/pull/540)

**Full Changelog**:
https://github.com/Unleash/unleash-client-node/compare/v5.2.0...v5.3.0

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

[Compare
Source](https://togithub.com/Unleash/unleash-client-node/compare/v5.1.0...v5.2.0)

#### What's Changed

- chore(deps): update dependency
[@&#8203;types/semver](https://togithub.com/types/semver) to v7.5.5 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/Unleash/unleash-client-node/pull/527](https://togithub.com/Unleash/unleash-client-node/pull/527)
- feat: Backoff based on HTTP statuses by
[@&#8203;chriswk](https://togithub.com/chriswk) in
[https://github.com/Unleash/unleash-client-node/pull/537](https://togithub.com/Unleash/unleash-client-node/pull/537)

**Full Changelog**:
https://github.com/Unleash/unleash-client-node/compare/v5.1.0...v5.2.0

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

[Compare
Source](https://togithub.com/Unleash/unleash-client-node/compare/v5.0.0...v5.1.0)

#### What's Changed

- feat: variant feature status - client specification update by
[@&#8203;Tymek](https://togithub.com/Tymek) in
[https://github.com/Unleash/unleash-client-node/pull/536](https://togithub.com/Unleash/unleash-client-node/pull/536)

**Full Changelog**:
https://github.com/Unleash/unleash-client-node/compare/v5.0.0...v5.1.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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-05 03:35:46 +00:00
renovate[bot]
d21a276b4f
fix(deps): update dependency passport to ^0.7.0 (#5537)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [passport](https://www.passportjs.org/)
([source](https://togithub.com/jaredhanson/passport)) | [`^0.6.0` ->
`^0.7.0`](https://renovatebot.com/diffs/npm/passport/0.6.0/0.7.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/passport/0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/passport/0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/passport/0.6.0/0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/passport/0.6.0/0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>jaredhanson/passport (passport)</summary>

###
[`v0.7.0`](https://togithub.com/jaredhanson/passport/blob/HEAD/CHANGELOG.md#070---2023-11-27)

[Compare
Source](https://togithub.com/jaredhanson/passport/compare/v0.6.0...v0.7.0)

##### Changed

- Set `req.authInfo` by default when using the `assignProperty` option
to
`authenticate()` middleware. This makes the behavior the same as when
not using
the option, and can be disabled by setting `authInfo` option to `false`.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-05 02:18:20 +00:00
renovate[bot]
2f92ea3d75
chore(deps): update dependency @uiw/react-codemirror to v4.21.21 (#5534)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror)
([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.21.20` ->
`4.21.21`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.21.20/4.21.21)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.21.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.21.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.21.20/4.21.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.21.20/4.21.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

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

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

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

- 🌍 website: Remove margin from Example.tsx causing it do be cut off
([#&#8203;599](https://togithub.com/uiwjs/react-codemirror/issues/599))
[`31bacb8`](https://togithub.com/uiwjs/react-codemirror/commit/31bacb8)
[@&#8203;JohnnyDeuss](https://togithub.com/JohnnyDeuss)
- 🌟 feat(langs): add `liquid` extensions.
[`c68d27d`](https://togithub.com/uiwjs/react-codemirror/commit/c68d27d)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify xcode selection color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`62d9763`](https://togithub.com/uiwjs/react-codemirror/commit/62d9763)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: add sponsor badge.
[`14fb085`](https://togithub.com/uiwjs/react-codemirror/commit/14fb085)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: fix failed to parse source map & update dependency.
[`12448d8`](https://togithub.com/uiwjs/react-codemirror/commit/12448d8)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: fix markdown type error.
[`33e1b98`](https://togithub.com/uiwjs/react-codemirror/commit/33e1b98)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify white/tokyo/tomorrow selection color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`04f21fc`](https://togithub.com/uiwjs/react-codemirror/commit/04f21fc)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify okaidia/quietlight/solarized selection color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`fd8b344`](https://togithub.com/uiwjs/react-codemirror/commit/fd8b344)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify kimbie/material/monokai/nord/noctis selection
color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`4dcc32b`](https://togithub.com/uiwjs/react-codemirror/commit/4dcc32b)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify duotone/eclipse/gruvbox selection color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`399d127`](https://togithub.com/uiwjs/react-codemirror/commit/399d127)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify basic/copilot/bespin selection color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`eb3af94`](https://togithub.com/uiwjs/react-codemirror/commit/eb3af94)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify
abcdef/abyss/androidstudio/andromeda/atomone/aura/basic selection color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`d233183`](https://togithub.com/uiwjs/react-codemirror/commit/d233183)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💢 ci: update workflows config.
[`f4b11c5`](https://togithub.com/uiwjs/react-codemirror/commit/f4b11c5)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat: add .github/FUNDING.yml
[`5d7a372`](https://togithub.com/uiwjs/react-codemirror/commit/5d7a372)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 22:43:58 +00:00
renovate[bot]
c4e784ff56
chore(deps): update dependency nock to v13.4.0 (#5535)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/nock/nock/compare/v13.3.8...v13.4.0)

##### Features

- add `context.query()` to nock back
([#&#8203;2553](https://togithub.com/nock/nock/issues/2553))
([617511f](617511ffb4))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 22:41:10 +00:00
Jaanus Sellin
6b2b7a3388
chore: generate new models from openapi (#5528) 2023-12-04 21:49:49 +02:00
renovate[bot]
0481661a6f
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.21.21 (#5533)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@uiw/codemirror-theme-duotone](https://uiwjs.github.io/react-codemirror/#/theme/data/duotone/light)
([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.21.20` ->
`4.21.21`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.21.20/4.21.21)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2fcodemirror-theme-duotone/4.21.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2fcodemirror-theme-duotone/4.21.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2fcodemirror-theme-duotone/4.21.20/4.21.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2fcodemirror-theme-duotone/4.21.20/4.21.21?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

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

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

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

- 🌍 website: Remove margin from Example.tsx causing it do be cut off
([#&#8203;599](https://togithub.com/uiwjs/react-codemirror/issues/599))
[`31bacb8`](https://togithub.com/uiwjs/react-codemirror/commit/31bacb8)
[@&#8203;JohnnyDeuss](https://togithub.com/JohnnyDeuss)
- 🌟 feat(langs): add `liquid` extensions.
[`c68d27d`](https://togithub.com/uiwjs/react-codemirror/commit/c68d27d)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify xcode selection color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`62d9763`](https://togithub.com/uiwjs/react-codemirror/commit/62d9763)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: add sponsor badge.
[`14fb085`](https://togithub.com/uiwjs/react-codemirror/commit/14fb085)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: fix failed to parse source map & update dependency.
[`12448d8`](https://togithub.com/uiwjs/react-codemirror/commit/12448d8)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: fix markdown type error.
[`33e1b98`](https://togithub.com/uiwjs/react-codemirror/commit/33e1b98)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify white/tokyo/tomorrow selection color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`04f21fc`](https://togithub.com/uiwjs/react-codemirror/commit/04f21fc)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify okaidia/quietlight/solarized selection color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`fd8b344`](https://togithub.com/uiwjs/react-codemirror/commit/fd8b344)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify kimbie/material/monokai/nord/noctis selection
color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`4dcc32b`](https://togithub.com/uiwjs/react-codemirror/commit/4dcc32b)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify duotone/eclipse/gruvbox selection color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`399d127`](https://togithub.com/uiwjs/react-codemirror/commit/399d127)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify basic/copilot/bespin selection color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`eb3af94`](https://togithub.com/uiwjs/react-codemirror/commit/eb3af94)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🎨 style(theme): modify
abcdef/abyss/androidstudio/andromeda/atomone/aura/basic selection color.
([#&#8203;609](https://togithub.com/uiwjs/react-codemirror/issues/609))
[`d233183`](https://togithub.com/uiwjs/react-codemirror/commit/d233183)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💢 ci: update workflows config.
[`f4b11c5`](https://togithub.com/uiwjs/react-codemirror/commit/f4b11c5)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat: add .github/FUNDING.yml
[`5d7a372`](https://togithub.com/uiwjs/react-codemirror/commit/5d7a372)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 19:36:21 +00:00
renovate[bot]
5ad8e077a6
chore(deps): update dependency @codemirror/state to v6.3.2 (#5532)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@codemirror/state](https://togithub.com/codemirror/state) | [`6.3.1`
->
`6.3.2`](https://renovatebot.com/diffs/npm/@codemirror%2fstate/6.3.1/6.3.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@codemirror%2fstate/6.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@codemirror%2fstate/6.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@codemirror%2fstate/6.3.1/6.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@codemirror%2fstate/6.3.1/6.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>codemirror/state (@&#8203;codemirror/state)</summary>

###
[`v6.3.2`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#632-2023-11-27)

[Compare
Source](https://togithub.com/codemirror/state/compare/6.3.1...6.3.2)

##### Bug fixes

Make sure transactions cannot add multiple selections when
`allowMultipleSelections` is false.

Fix a bug that caused `Text.iterLines` to not return empty lines at the
end of the iterated ranges.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 19:36:03 +00:00
Tymoteusz Czech
ddca82213a
refactor: project overview table state (#5530)
Use new table state management on project overview and on
project/features
2023-12-04 17:04:28 +01:00
Mateusz Kwasniewski
5c889df9be
test: persistent table state (#5529) 2023-12-04 15:47:53 +01:00
Jaanus Sellin
d1984b2447
feat: validate date filter and add more tests (#5525) 2023-12-04 15:41:05 +02:00
Tymoteusz Czech
a506b92544
feat: Refactor Table State Persistence in Feature Toggle List (#5527)
new custom hook, `usePersistentTableState`

Co-authored-by: Mateusz Kwasniewski <kwasniewski.mateusz@gmail.com>
2023-12-04 13:21:03 +00:00
Thomas Heartman
a0a15416c4
feat: display potential conflicts in existing change requests (#5521)
This update displays schedule conflicts in active change requests (any
CR that isn't applied, canceled, or rejected).


![image](https://github.com/Unleash/unleash/assets/17786332/181c6c0a-f5de-4eed-9093-ac0109e1e8f3)
2023-12-04 13:33:28 +01:00
Mateusz Kwasniewski
a9363efec1
fix: prevent search being stacked on top of the form dropdown (#5523) 2023-12-04 12:27:25 +01:00
andreas-unleash
3056456770
fix: scheduled cr failed email (#5522)
Relates to #
[1-1687](https://linear.app/unleash/issue/1-1687/send-an-email-when-the-scheduling-fails)

Removed `name` - not in template
Added missed `changeRequestTitle` for the html template context

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-12-04 11:51:06 +02:00
Gastón Fournier
08204e57d4
chore: schedule renovate to run early in the morning (#5477)
## About the changes
Schedule renovate to run and merge PRs before working hours to reduce
noise.
https://docs.renovatebot.com/presets-schedule/#schedulenonofficehours

From the documentation:

![image](https://github.com/Unleash/unleash/assets/455064/fc38f19f-09c3-4daa-a740-826d68cdbd06)
2023-12-01 22:33:02 +01:00
Jaanus Sellin
a299885e22
feat: update project overview endpoint (#5518)
1. Created new hook for endpoint
2. Start removing useProject hook, when features not needed.
2023-12-01 20:00:35 +02:00
Drew Gorton
87f03ea088
Docs: add redirect to docusaurus.config.js (#5516)
Docs: Add redirect from '/advanced/groups' to
'/reference/rbac'
2023-12-01 11:18:17 -06:00
Tymoteusz Czech
755c22f3b9
feat: features list pagination (#5496)
New paginated table - tested on /features-new behind a flag
2023-12-01 14:53:05 +00:00
andreas-unleash
be17b7f575
feat: new email template for scheduled-execution-failed email (#5519)
What it says on the box.

Relates to #
[1-1687](https://linear.app/unleash/issue/1-1687/send-an-email-when-the-scheduling-fails)


<img width="782" alt="Screenshot 2023-12-01 at 15 33 08"
src="https://github.com/Unleash/unleash/assets/104830839/513a0a71-5ca5-4ea7-8482-7903c8485737">

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-12-01 15:48:13 +02:00
Tymoteusz Czech
fba80222de
Frontend OpenAPI types update (#5520) 2023-12-01 13:30:30 +00:00
Mateusz Kwasniewski
26f9cf98d5
refactor: feature oriented architecture for project-environment (#5510) 2023-12-01 12:41:46 +01:00
Jaanus Sellin
63f6af06da
feat: new project overview backend (#5344)
Adding new project overview endpoint and deprecating the old one.
The new one has extra info about feature types, but does not have
features anymore, because features are coming from search endpoint.
2023-12-01 11:20:24 +02:00
Gastón Fournier
9f3648dc81
chore: test migration backward compatibility (#5492)
## About the changes
This PR will validate that our current migrations are backward
compatible with the latest stable release of Unleash.
It will do so by starting a database, applying the latest migrations,
and then starting a docker container with the last stable unleash
release and running UI tests against it.

There's a risk that the current version of UI tests will not work with
the previous version of our UI. Because of that we copied the previous
version of cypress tests
(https://github.com/Unleash/unleash/tree/5.6/frontend/cypress) into oss
folder and removed the ones that are enterprise only. We can discuss a
better way of doing this to avoid having to maintain this folder always
in sync with the previous version of Unleash

This action will only run when there are changes in migrations or to
cypress tests.
2023-11-30 18:20:13 +01:00
andreas-unleash
02451baaf2
feat: hide change actions when change request is scheduled (#5514)
Added 'Scheduled' state to the check for non-pending change requests

Closes #
[1-1680](https://linear.app/unleash/issue/1-1680/remove-edit-change-ui-when-cr-is-scheduled)
<img width="868" alt="Screenshot 2023-11-30 at 11 54 44"
src="https://github.com/Unleash/unleash/assets/104830839/8e6afec5-1353-4030-b49b-4a8f3eaee5f6">

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-11-30 12:52:29 +02:00
Jaanus Sellin
feae69643c
feat: created date operators for search (#5513)
1. Added operators for created date
2. Added better descriptions for searchable fields
2023-11-30 12:00:39 +02:00
Nuno Góis
44d85c0dcd
fix: UI navigation (reverts #5506) (#5512)
Latest version had a UI navigation bug where we wouldn't correctly
navigate to the tab and instead it would add infinitely to the
breadcrumbs / URL:


https://github.com/Unleash/unleash/assets/14320932/509fa528-7f9e-4476-a945-f74393e99dd5

This fixes the UI navigation by reverting
https://github.com/Unleash/unleash/pull/5506
2023-11-30 09:13:16 +00:00
Mateusz Kwasniewski
2b66ba41dc
fix: groups link (#5511) 2023-11-30 09:42:27 +01:00
Nuno Góis
2b5efd3883
docs: ADR: Specificity in database column references (#5499)
https://linear.app/unleash/issue/2-1680/adr-specify-tables-when-querying-columns

This PR includes my suggestion of a "Specificity in database column
references" ADR.

The ADR proposes a standard for explicitly specifying the full table
name or alias for each column in our SQL queries, especially for queries
with joins between multiple tables. This decision is a direct response
to recent ambiguity errors encountered due to a database migration,
emphasizing the need for clearer SQL query standards in complex joins
and schema changes.

---------

Co-authored-by: Mateusz Kwasniewski <kwasniewski.mateusz@gmail.com>
2023-11-30 08:36:44 +00:00
Fredrik Strand Oseberg
e5760b5690
Feat: remove last seen refactor flag (#5423)
What it says on the box

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: andreas-unleash <andreas@getunleash.ai>
2023-11-30 10:17:50 +02:00
renovate[bot]
ef8edf9c44
fix(deps): update dependency joi to v17.11.0 (#5507)
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 22:19:09 +00:00
renovate[bot]
108a00a98c
chore(deps): update react-router monorepo to v6.20.0 (#5506)
[![Mend Renovate logo
banner](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) |
[`6.16.0` ->
`6.20.0`](https://renovatebot.com/diffs/npm/react-router/6.16.0/6.20.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.16.0/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.16.0/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [react-router-dom](https://togithub.com/remix-run/react-router) |
[`6.16.0` ->
`6.20.0`](https://renovatebot.com/diffs/npm/react-router-dom/6.16.0/6.20.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.16.0/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.16.0/6.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v6.20.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6200)

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

##### Minor Changes

- Export the `PathParam` type from the public API
([#&#8203;10719](https://togithub.com/remix-run/react-router/pull/10719))

##### Patch Changes

- Fix bug with `resolveTo` in splat routes
([#&#8203;11045](https://togithub.com/remix-run/react-router/pull/11045))
- This is a follow up to
[#&#8203;10983](https://togithub.com/remix-run/react-router/pull/10983)
to handle the few other code paths using `getPathContributingMatches`
- This removes the `UNSAFE_getPathContributingMatches` export from
`@remix-run/router` since we no longer need this in the
`react-router`/`react-router-dom` layers
-   Updated dependencies:
    -   `@remix-run/router@1.13.0`

###
[`v6.19.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6190)

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

##### Minor Changes

- Add `unstable_flushSync` option to
`useNavigate`/`useSumbit`/`fetcher.load`/`fetcher.submit` to opt-out of
`React.startTransition` and into `ReactDOM.flushSync` for state updates
([#&#8203;11005](https://togithub.com/remix-run/react-router/pull/11005))
- Remove the `unstable_` prefix from the
[`useBlocker`](https://reactrouter.com/en/main/hooks/use-blocker) hook
as it's been in use for enough time that we are confident in the API. We
do not plan to remove the prefix from `unstable_usePrompt` due to
differences in how browsers handle `window.confirm` that prevent React
Router from guaranteeing consistent/correct behavior.
([#&#8203;10991](https://togithub.com/remix-run/react-router/pull/10991))

##### Patch Changes

- Fix `useActionData` so it returns proper contextual action data and
not *any* action data in the tree
([#&#8203;11023](https://togithub.com/remix-run/react-router/pull/11023))

- Fix bug in `useResolvedPath` that would cause `useResolvedPath(".")`
in a splat route to lose the splat portion of the URL path.
([#&#8203;10983](https://togithub.com/remix-run/react-router/pull/10983))

- ⚠️ This fixes a quite long-standing bug specifically for `"."` paths
inside a splat route which incorrectly dropped the splat portion of the
URL. If you are relative routing via `"."` inside a splat route in your
application you should double check that your logic is not relying on
this buggy behavior and update accordingly.

-   Updated dependencies:
    -   `@remix-run/router@1.12.0`

###
[`v6.18.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6180)

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

##### Patch Changes

- Fix the `future` prop on `BrowserRouter`, `HashRouter` and
`MemoryRouter` so that it accepts a `Partial<FutureConfig>` instead of
requiring all flags to be included.
([#&#8203;10962](https://togithub.com/remix-run/react-router/pull/10962))
-   Updated dependencies:
    -   `@remix-run/router@1.11.0`

###
[`v6.17.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6170)

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

##### Patch Changes

- Fix `RouterProvider` `future` prop type to be a
`Partial<FutureConfig>` so that not all flags must be specified
([#&#8203;10900](https://togithub.com/remix-run/react-router/pull/10900))
-   Updated dependencies:
    -   `@remix-run/router@1.10.0`

</details>

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

###
[`v6.20.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6200)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.19.0...react-router-dom@6.20.0)

##### Minor Changes

- Export the `PathParam` type from the public API
([#&#8203;10719](https://togithub.com/remix-run/react-router/pull/10719))

##### Patch Changes

-   Updated dependencies:
    -   `react-router@6.20.0`
    -   `@remix-run/router@1.13.0`

###
[`v6.19.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6190)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.18.0...react-router-dom@6.19.0)

##### Minor Changes

- Add `unstable_flushSync` option to
`useNavigate`/`useSumbit`/`fetcher.load`/`fetcher.submit` to opt-out of
`React.startTransition` and into `ReactDOM.flushSync` for state updates
([#&#8203;11005](https://togithub.com/remix-run/react-router/pull/11005))
- Allow `unstable_usePrompt` to accept a `BlockerFunction` in addition
to a `boolean`
([#&#8203;10991](https://togithub.com/remix-run/react-router/pull/10991))

##### Patch Changes

- Fix issue where a changing fetcher `key` in a `useFetcher` that
remains mounted wasn't getting picked up
([#&#8203;11009](https://togithub.com/remix-run/react-router/pull/11009))
- Fix `useFormAction` which was incorrectly inheriting the `?index`
query param from child route `action` submissions
([#&#8203;11025](https://togithub.com/remix-run/react-router/pull/11025))
- Fix `NavLink` `active` logic when `to` location has a trailing slash
([#&#8203;10734](https://togithub.com/remix-run/react-router/pull/10734))
-   Updated dependencies:
    -   `react-router@6.19.0`
    -   `@remix-run/router@1.12.0`

###
[`v6.18.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6180)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.17.0...react-router-dom@6.18.0)

##### Minor Changes

- Add support for manual fetcher key specification via `useFetcher({
key: string })` so you can access the same fetcher instance from
different components in your application without prop-drilling
([RFC](https://togithub.com/remix-run/remix/discussions/7698))
([#&#8203;10960](https://togithub.com/remix-run/react-router/pull/10960))

- Fetcher keys are now also exposed on the fetchers returned from
`useFetchers` so that they can be looked up by `key`

- Add `navigate`/`fetcherKey` params/props to `useSumbit`/`Form` to
support kicking off a fetcher submission under the hood with an
optionally user-specified `key`
([#&#8203;10960](https://togithub.com/remix-run/react-router/pull/10960))

    -   Invoking a fetcher in this way is ephemeral and stateless
- If you need to access the state of one of these fetchers, you will
need to leverage `useFetcher({ key })` to look it up elsewhere

##### Patch Changes

- Adds a fetcher context to `RouterProvider` that holds completed
fetcher data, in preparation for the upcoming future flag that will
change the fetcher persistence/cleanup behavior
([#&#8203;10961](https://togithub.com/remix-run/react-router/pull/10961))
- Fix the `future` prop on `BrowserRouter`, `HashRouter` and
`MemoryRouter` so that it accepts a `Partial<FutureConfig>` instead of
requiring all flags to be included.
([#&#8203;10962](https://togithub.com/remix-run/react-router/pull/10962))
-   Updated dependencies:
    -   `@remix-run/router@1.11.0`
    -   `react-router@6.18.0`

###
[`v6.17.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6170)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.16.0...react-router-dom@6.17.0)

##### Minor Changes

- Add experimental support for the [View Transitions
API](https://developer.mozilla.org/en-US/docs/Web/API/ViewTransition)
via `document.startViewTransition` to enable CSS animated transitions on
SPA navigations in your application.
([#&#8203;10916](https://togithub.com/remix-run/react-router/pull/10916))

The simplest approach to enabling a View Transition in your React Router
app is via the new `<Link unstable_viewTransition>` prop. This will
cause the navigation DOM update to be wrapped in
`document.startViewTransition` which will enable transitions for the DOM
update. Without any additional CSS styles, you'll get a basic cross-fade
animation for your page.

If you need to apply more fine-grained styles for your animations, you
can leverage the `unstable_useViewTransitionState` hook which will tell
you when a transition is in progress and you can use that to apply
classes or styles:

    ```jsx
    function ImageLink(to, src, alt) {
      let isTransitioning = unstable_useViewTransitionState(to);
      return (
        <Link to={to} unstable_viewTransition>
          <img
            src={src}
            alt={alt}
            style={{
              viewTransitionName: isTransitioning ? "image-expand" : "",
            }}
          />
        </Link>
      );
    }
    ```

You can also use the `<NavLink unstable_viewTransition>` shorthand which
will manage the hook usage for you and automatically add a
`transitioning` class to the `<a>` during the transition:

    ```css
    a.transitioning img {
      view-transition-name: "image-expand";
    }
    ```

    ```jsx
    <NavLink to={to} unstable_viewTransition>
      <img src={src} alt={alt} />
    </NavLink>
    ```

For an example usage of View Transitions with React Router, check out
[our fork](https://togithub.com/brophdawg11/react-router-records) of the
[Astro Records](https://togithub.com/Charca/astro-records) demo.

For more information on using the View Transitions API, please refer to
the [Smooth and simple transitions with the View Transitions
API](https://developer.chrome.com/docs/web-platform/view-transitions/)
guide from the Google Chrome team.

Please note, that because the `ViewTransition` API is a DOM API, we now
export a specific `RouterProvider` from `react-router-dom` with this
functionality. If you are importing `RouterProvider` from
`react-router`, then it will not support view transitions.
([#&#8203;10928](https://togithub.com/remix-run/react-router/pull/10928)

##### Patch Changes

- Log a warning and fail gracefully in `ScrollRestoration` when
`sessionStorage` is unavailable
([#&#8203;10848](https://togithub.com/remix-run/react-router/pull/10848))
-   Updated dependencies:
    -   `@remix-run/router@1.10.0`
    -   `react-router@6.17.0`

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 21:35:51 +00:00
renovate[bot]
d6b56a24b9
chore(deps): update metcalfc/changelog-generator action to v4.2.0 (#5505)
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[metcalfc/changelog-generator](https://togithub.com/metcalfc/changelog-generator)
| action | minor | `v4.1.0` -> `v4.2.0` |

---

### Release Notes

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

###
[`v4.2.0`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.2.0)

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

-
[1de9b68](1de9b68cc5)
- Many small updates to dependencies.
-
[08047f0](08047f08c0)
- Migrating create release action.
-
[59d0205](59d0205b73)
- Merge pull request
[#&#8203;220](https://togithub.com/metcalfc/changelog-generator/issues/220)
from metcalfc/dependabot/npm_and_yarn/actions/github-6.0.0
-
[99034cd](99034cda79)
- Merge pull request
[#&#8203;223](https://togithub.com/metcalfc/changelog-generator/issues/223)
from metcalfc/dependabot/npm_and_yarn/eslint-8.53.0
-
[dc7612b](dc7612b8cf)
- Bump eslint from 8.50.0 to 8.53.0
-
[e79ecba](e79ecba5a6)
- Merge pull request
[#&#8203;224](https://togithub.com/metcalfc/changelog-generator/issues/224)
from metcalfc/dependabot/npm_and_yarn/prettier-3.1.0
-
[7c85144](7c85144db9)
- Bump prettier from 3.0.3 to 3.1.0
-
[d96af51](d96af51e25)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.1.1 to 6.0.0
-
[2c24ec2](2c24ec281a)
- Merge pull request
[#&#8203;221](https://togithub.com/metcalfc/changelog-generator/issues/221)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.38.1
-
[315f67f](315f67f843)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.38.0
to 0.38.1
-
[f1400ae](f1400aefb4)
- Merge pull request
[#&#8203;217](https://togithub.com/metcalfc/changelog-generator/issues/217)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.10.1
-
[965b057](965b057220)
- Merge pull request
[#&#8203;218](https://togithub.com/metcalfc/changelog-generator/issues/218)
from metcalfc/dependabot/npm_and_yarn/eslint-8.50.0
-
[51f72ca](51f72ca8b3)
- Bump eslint from 8.48.0 to 8.50.0
-
[cba9af5](cba9af52b4)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.10.0 to 1.10.1
-
[907c16b](907c16bb14)
- Merge pull request
[#&#8203;215](https://togithub.com/metcalfc/changelog-generator/issues/215)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.38.0
-
[2aa5a82](2aa5a82301)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.36.1
to 0.38.0
-
[367b65d](367b65d916)
- Merge pull request
[#&#8203;214](https://togithub.com/metcalfc/changelog-generator/issues/214)
from metcalfc/dependabot/github_actions/actions/checkout-4
-
[01a8fe5](01a8fe58c7)
- Bump actions/checkout from 3 to 4
-
[3dd9220](3dd9220597)
- Merge pull request
[#&#8203;212](https://togithub.com/metcalfc/changelog-generator/issues/212)
from metcalfc/dependabot/npm_and_yarn/eslint-8.48.0
-
[e63a7ac](e63a7ac740)
- Bump eslint from 8.42.0 to 8.48.0
-
[2a808b0](2a808b0ea9)
- Merge pull request
[#&#8203;213](https://togithub.com/metcalfc/changelog-generator/issues/213)
from metcalfc/dependabot/npm_and_yarn/prettier-3.0.3
-
[785ba19](785ba196e2)
- Bump prettier from 2.8.8 to 3.0.3
-
[476bf47](476bf471e2)
- Merge pull request
[#&#8203;208](https://togithub.com/metcalfc/changelog-generator/issues/208)
from metcalfc/dependabot/npm_and_yarn/isexe-3.1.1
-
[238e1fe](238e1fe243)
- Bump isexe from 2.0.0 to 3.1.1
-
[4ba8190](4ba8190927)
- Merge pull request
[#&#8203;205](https://togithub.com/metcalfc/changelog-generator/issues/205)
from metcalfc/dependabot/npm_and_yarn/word-wrap-1.2.4
-
[560623c](560623c867)
- Bump word-wrap from 1.2.3 to 1.2.4
-
[723453a](723453a1b9)
- Cleaning up.
-
[d3de36e](d3de36eca3)
- Merge pull request
[#&#8203;200](https://togithub.com/metcalfc/changelog-generator/issues/200)
from metcalfc/dependabot/npm_and_yarn/eslint-8.42.0
-
[afef6ae](afef6ae020)
- Bump eslint from 8.40.0 to 8.42.0
-
[aa6844c](aa6844cb20)
- Merge pull request
[#&#8203;198](https://togithub.com/metcalfc/changelog-generator/issues/198)
from metcalfc/dependabot/npm_and_yarn/eslint-8.40.0
-
[ef41d8f](ef41d8fe80)
- Merge pull request
[#&#8203;196](https://togithub.com/metcalfc/changelog-generator/issues/196)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.8
-
[aaeafc9](aaeafc9df5)
- Bump eslint from 8.38.0 to 8.40.0
-
[693e70b](693e70b27b)
- Bump prettier from 2.8.7 to 2.8.8
-
[1addadf](1addadf28f)
- Merge pull request
[#&#8203;195](https://togithub.com/metcalfc/changelog-generator/issues/195)
from metcalfc/dependabot/npm_and_yarn/eslint-8.38.0
-
[3bd86ca](3bd86ca10b)
- Bump eslint from 8.37.0 to 8.38.0
-
[201b155](201b155325)
- Update README.md
-
[e2d3b6f](e2d3b6f0f8)
- Merge pull request
[#&#8203;194](https://togithub.com/metcalfc/changelog-generator/issues/194)
from metcalfc/dependabot/npm_and_yarn/eslint-8.37.0
-
[89fa40d](89fa40de50)
- Bump eslint from 8.36.0 to 8.37.0
-
[b0109a8](b0109a8089)
- Merge pull request
[#&#8203;193](https://togithub.com/metcalfc/changelog-generator/issues/193)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.7
-
[c0c9e16](c0c9e16243)
- Bump prettier from 2.8.6 to 2.8.7
-
[3ca2591](3ca2591b55)
- Merge pull request
[#&#8203;192](https://togithub.com/metcalfc/changelog-generator/issues/192)
from metcalfc/dependabot/github_actions/actions/stale-8
-
[de98aa9](de98aa975a)
- Bump actions/stale from 7 to 8
-
[606f1c0](606f1c0cf4)
- Update issue templates
-
[edc622f](edc622f7e9)
- Create CONTRIBUTING.md
-
[38d635e](38d635ecb8)
- Merge pull request
[#&#8203;191](https://togithub.com/metcalfc/changelog-generator/issues/191)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.6
-
[89cd0f6](89cd0f696c)
- Bump prettier from 2.8.4 to 2.8.6
-
[6300779](6300779ee9)
- Merge pull request
[#&#8203;189](https://togithub.com/metcalfc/changelog-generator/issues/189)
from metcalfc/update_release
-
[9c0a661](9c0a661be8)
- Updating the create-release action.

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 19:37:48 +00:00