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

7549 Commits

Author SHA1 Message Date
Nuno Góis
e9fa156aec
fix: tags highlight case sensitivity (#2462)
Search is already case insensitive, so it makes sense that the highlight
style is as well.
2022-11-17 13:08:47 +00:00
Gastón Fournier
dc08f1dadd
fix: broken UI after import (#2447)
fix: broken UI when importing features into environments which are not linked to the feature's project

## Related to
- PR: https://github.com/Unleash/unleash/pull/2209
- Issue: https://github.com/Unleash/unleash/issues/2186
- Issue: https://github.com/Unleash/unleash/issues/2193

## Expected behaviour:
After importing we should see:

![image](https://user-images.githubusercontent.com/455064/202149719-fa74b3b7-3936-443b-9d0e-8f1ca2e779f4.png)

## About the changes
**The problem:** when we import we have projects, features and
environments. Each feature belongs to a project (this is by default and
the imported file enforces that). The links between projects and
features, or projects and environments, depend on us creating those
relationships. When we add a feature to an environment we're not
validating that the project and the environment are connected. Because
of that, in some situations (like in this test), we can end up with a
project with features but no environment.

This breaks a weak constraint we had which is that all projects should
have at least one environment.

**This PR makes the following assumption when importing**: _if a feature
is added to an environment, and that environment is still not linked to
the project that feature belongs to, then the project and environments
have to be linked_. The rationale behind this is that the user couldn't
have generated this export file without the project and environment
being linked together.
2022-11-17 14:05:57 +01:00
andreas-unleash
726ede5cbe
Define exports for enterprise (#2435)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
This PR sets up exports so that we can import in enterprise with just
"unleash-server".
This will free us to refactor unleash internals without breaking
enterprise

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
2022-11-17 13:02:40 +02:00
sjaanus
0ba00cc7f8
4.18.0-beta.8 2022-11-17 11:14:47 +02:00
sjaanus
9176ffae1e
Change requests - add multiple reviewers (#2448)
This PR adds implements the frontend and migrations part of multiple
reviewers.

2 UI parts:

1. Configuration to add the count of required approvals
2. Handle multiple approvers in review page.
2022-11-17 11:08:29 +02:00
Mateusz Kwasniewski
f2dde9d63a
stop making enterprise calls in oss (#2449) 2022-11-17 09:40:47 +01:00
renovate[bot]
6cd61466f3
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.14.0 (#2456)
[![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.13.2` ->
`4.14.0`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.13.2/4.14.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.14.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.14.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.14.0/compatibility-slim/4.13.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.14.0/confidence-slim/4.13.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.14.0:
https://raw.githack.com/uiwjs/react-codemirror/73f21ee/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.13.2...v4.14.0

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

- 🌟 feat: add gutterActiveForeground option.
[`4566d71`](https://togithub.com/uiwjs/react-codemirror/commit/4566d71)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat: add `vscode` theme.
[#&#8203;409](https://togithub.com/uiwjs/react-codemirror/issues/409)
[`c1be57a`](https://togithub.com/uiwjs/react-codemirror/commit/c1be57a)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNi4yIiwidXBkYXRlZEluVmVyIjoiMzQuMjYuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-17 06:11:22 +00:00
renovate[bot]
bffea7dcb9
fix(deps): update dependency docusaurus-plugin-openapi-docs to v1.4.5 (#2369)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-plugin-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs)
| [`1.4.4` ->
`1.4.5`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/1.4.4/1.4.5)
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.4.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.4.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.4.5/compatibility-slim/1.4.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.4.5/confidence-slim/1.4.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>

###
[`v1.4.5`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#&#8203;145-Nov-15-2022)

[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.4.4...v1.4.5)

High level enhancements

-   Bug fixes and polish
- Re-introduce missing `--openapi-input-background` variable to
`styles.css`

Other enhancements and bug fixes

- \[Bug] Add condition for handling arrays of discriminators
([#&#8203;344](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/344))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 19:30:08 +00:00
Nuno Góis
538bbe7105
fix: make the tags column have a fixed width (#2451)
By setting a fixed width in the tags column we can save some extra
space.
2022-11-16 16:05:17 +00:00
Mateusz Kwasniewski
e25a108ea8
add comment with current user avatar (#2452) 2022-11-16 17:03:05 +01:00
Fredrik Strand Oseberg
978674e33a
feat: update strategy segments with edit / create strategy (#2420)
* Refactors how we add / edit segments to make it more ergonomic to work with in regards to change requests
2022-11-16 15:35:39 +01:00
Mateusz Kwasniewski
51ad239553
first draft of the comments ui (#2440) 2022-11-16 11:45:27 +01:00
renovate[bot]
8dac08c5aa
chore(deps): update dependency @swc/core to v1.3.18 (#2445)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://togithub.com/swc-project/swc)) | [`1.3.17` ->
`1.3.18`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.17/1.3.18) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.18/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.18/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.18/compatibility-slim/1.3.17)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.18/confidence-slim/1.3.17)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc</summary>

###
[`v1.3.18`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#&#8203;1318---2022-11-16)

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

##### Bug Fixes

- **(es/minifier)** Fix code for dropping unreachable statements
([#&#8203;6429](https://togithub.com/swc-project/swc/issues/6429))
([bb544ba](bb544ba2f5))

- **(es/modules)** Fix `jsc.paths`
([#&#8203;6454](https://togithub.com/swc-project/swc/issues/6454))
([05d185d](05d185d59b))

- **(es/plugins/proxy)** Adjust import with compile time flags
([#&#8203;6451](https://togithub.com/swc-project/swc/issues/6451))
([f14b156](f14b156a60))

- **(html/minifier)** Fix script/style merging
([#&#8203;6443](https://togithub.com/swc-project/swc/issues/6443))
([1dfd8ce](1dfd8cef88))

- **(xml/parser)** Fix parsing of pi
([#&#8203;6450](https://togithub.com/swc-project/swc/issues/6450))
([6388920](638892071a))

##### Features

- **(css/parser)** Add `parse_string_input`
([#&#8203;6441](https://togithub.com/swc-project/swc/issues/6441))
([9600308](9600308108))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNi4wIiwidXBkYXRlZEluVmVyIjoiMzQuMjYuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 10:12:00 +00:00
andreas-unleash
48c340585b
Copy strategy bug fix (#2444)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
This PR fixes a bug where when you copy a strategy, instead of the
strategy being copied to the target environment, it was copied to the
source environment

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
2022-11-16 09:43:23 +02:00
renovate[bot]
5761aabb76
chore(deps): update dependency msw to v0.48.3 (#2443)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io/) ([source](https://togithub.com/mswjs/msw)) |
[`0.48.2` ->
`0.48.3`](https://renovatebot.com/diffs/npm/msw/0.48.2/0.48.3) |
[![age](https://badges.renovateapi.com/packages/npm/msw/0.48.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/msw/0.48.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/msw/0.48.3/compatibility-slim/0.48.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/msw/0.48.3/confidence-slim/0.48.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mswjs/msw</summary>

### [`v0.48.3`](https://togithub.com/mswjs/msw/releases/tag/v0.48.3)

[Compare
Source](https://togithub.com/mswjs/msw/compare/v0.48.2...v0.48.3)

#### v0.48.3 (2022-11-15)

##### Bug Fixes

- **SetupApi:** validate given request handlers
([#&#8203;1460](https://togithub.com/mswjs/msw/issues/1460))
([`a06a944`](a06a9447d0))
[@&#8203;kettanaito](https://togithub.com/kettanaito)
- inline `statuses` dependency during the build
([#&#8203;1458](https://togithub.com/mswjs/msw/issues/1458))
([`99d49f9`](99d49f9b1e))
[@&#8203;mattcosta7](https://togithub.com/mattcosta7)
[@&#8203;kettanaito](https://togithub.com/kettanaito)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 04:56:29 +00:00
renovate[bot]
e29b7d6738
chore(deps): update material-ui monorepo (#2432)
[![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)) | [`5.10.9` ->
`5.10.14`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.10.9/5.10.14)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/compatibility-slim/5.10.9)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/confidence-slim/5.10.9)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/lab](https://mui.com/material-ui/about-the-lab/)
([source](https://togithub.com/mui/material-ui)) | [`5.0.0-alpha.107` ->
`5.0.0-alpha.108`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.107/5.0.0-alpha.108)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/compatibility-slim/5.0.0-alpha.107)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/confidence-slim/5.0.0-alpha.107)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/material](https://mui.com/material-ui/getting-started/overview/)
([source](https://togithub.com/mui/material-ui)) | [`5.10.13` ->
`5.10.14`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.10.13/5.10.14)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/compatibility-slim/5.10.13)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/confidence-slim/5.10.13)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mui/material-ui (@&#8203;mui/icons-material)</summary>

###
[`v5.10.14`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#v51014)

[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.10.9...v5.10.14)

<!-- generated comparing v5.10.13..master -->

*Nov 14, 2022*

A big thanks to the 17 contributors who made this release possible. Here
are some highlights :

- 🚀 [@&#8203;siriwatknp](https://togithub.com/siriwatknp) added the
Autocomplete component to the Joy UI
([#&#8203;34315](https://togithub.com/mui/material-ui/issues/34315))
-  [@&#8203;sfavello](https://togithub.com/sfavello) improved the
accessibility of the Material UI's Autocomplete by adding support for
the Delete key
([#&#8203;33822](https://togithub.com/mui/material-ui/issues/33822))
- Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure
improvements.

##### `@mui/material@5.10.14`

- \[Material UI] Add `palette.background.defaultChannel` token
([#&#8203;35061](https://togithub.com/mui/material-ui/issues/35061))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[Autocomplete] Remove tags with the Delete key
([#&#8203;33822](https://togithub.com/mui/material-ui/issues/33822))
[@&#8203;sfavello](https://togithub.com/sfavello)
- \[IconButton] custom color causes type error
([#&#8203;34521](https://togithub.com/mui/material-ui/issues/34521))
[@&#8203;kushagra010](https://togithub.com/kushagra010)

##### `@mui/system@5.10.14`

- \[Unstable_Gridv2] sorted responsize keys based on breakpoint value
([#&#8203;34987](https://togithub.com/mui/material-ui/issues/34987))
[@&#8203;sai6855](https://togithub.com/sai6855)

##### `@mui/joy@5.0.0-alpha.54`

- \[Joy] Export `FormControl`, `LinearProgress` and `ListSubheader`
components from `@mui/joy`
([#&#8203;35003](https://togithub.com/mui/material-ui/issues/35003))
[@&#8203;Studio384](https://togithub.com/Studio384)
- \[Joy] Miscellaneous fixes
([#&#8203;35044](https://togithub.com/mui/material-ui/issues/35044))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[Joy] Add `Autocomplete` component
([#&#8203;34315](https://togithub.com/mui/material-ui/issues/34315))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[Joy] Saturate a bit the gray palette
([#&#8203;35148](https://togithub.com/mui/material-ui/issues/35148))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- \[Autocomplete]\[joy] Fix types
([#&#8203;35153](https://togithub.com/mui/material-ui/issues/35153))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)

##### Docs

- \[blog] Fix font size of code blocks on iOS
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Accessibility - increase default contrastThreshold for WCAG AA
compliance
([#&#8203;34901](https://togithub.com/mui/material-ui/issues/34901))
[@&#8203;kennethbigler](https://togithub.com/kennethbigler)
- \[docs] Correct the keepMounted section on the Drawer page
([#&#8203;35076](https://togithub.com/mui/material-ui/issues/35076))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[docs] Fix code editor styles mismatches
([#&#8203;35108](https://togithub.com/mui/material-ui/issues/35108))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Allows to access the next MUI-X
([#&#8203;34798](https://togithub.com/mui/material-ui/issues/34798))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[docs] Fix bugs with live edit demos
([#&#8203;35106](https://togithub.com/mui/material-ui/issues/35106))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix `MarkdownElement` regression from adding CSS variables
([#&#8203;35096](https://togithub.com/mui/material-ui/issues/35096))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[docs] Add a new gold sponsor
([#&#8203;35089](https://togithub.com/mui/material-ui/issues/35089))
[@&#8203;hbjORbj](https://togithub.com/hbjORbj)
- \[docs] Fix scroll issue on expanded live demos
([#&#8203;35064](https://togithub.com/mui/material-ui/issues/35064))
[@&#8203;bharatkashyap](https://togithub.com/bharatkashyap)
- \[docs] Improve alignment of the sponsors
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Improve code font family v2
([#&#8203;35053](https://togithub.com/mui/material-ui/issues/35053))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Upgrade to Next.js 13
([#&#8203;35001](https://togithub.com/mui/material-ui/issues/35001))
[@&#8203;mnajdova](https://togithub.com/mnajdova)
- \[docs] Fix typo in changelog
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Update Joy UI templates to use latest components
([#&#8203;35058](https://togithub.com/mui/material-ui/issues/35058))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[website] Fix design kits showcase throwing an error
([#&#8203;35093](https://togithub.com/mui/material-ui/issues/35093))
[@&#8203;cherniavskii](https://togithub.com/cherniavskii)
- \[website] Fix margin bug on CTA
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] Link respective repositories in product pages
([#&#8203;35046](https://togithub.com/mui/material-ui/issues/35046))
[@&#8203;sidtohan](https://togithub.com/sidtohan)
- \[website] Migrate blog pages to use CSS theme variables
([#&#8203;34976](https://togithub.com/mui/material-ui/issues/34976))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[website] Update DoiT International logo and links with new brand
([#&#8203;35030](https://togithub.com/mui/material-ui/issues/35030))
[@&#8203;ofir5300](https://togithub.com/ofir5300)
- \[website] Improve visual design app bar
([#&#8203;35111](https://togithub.com/mui/material-ui/issues/35111))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)

##### Core

- \[core] Convert scripts to ES modules
([#&#8203;35036](https://togithub.com/mui/material-ui/issues/35036))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[core] Show the whole version to make blame easier
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Polish GitHub Action version
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Ignore icons to speed up CodeQL
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Feedback on branch protection
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Revert CI
([#&#8203;35098](https://togithub.com/mui/material-ui/issues/35098))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[core] Fix job name to match the CI
([#&#8203;35097](https://togithub.com/mui/material-ui/issues/35097))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[core] ESLint fixes for tests
([#&#8203;34924](https://togithub.com/mui/material-ui/issues/34924))
[@&#8203;Janpot](https://togithub.com/Janpot)
- \[core] Ignore unrelated folders from github actions
([#&#8203;35028](https://togithub.com/mui/material-ui/issues/35028))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[core] Use pretty-quick instead of custom script
([#&#8203;34062](https://togithub.com/mui/material-ui/issues/34062))
[@&#8203;Janpot](https://togithub.com/Janpot)

All contributors of this release in alphabetical order:
[@&#8203;alexfauquette](https://togithub.com/alexfauquette),
[@&#8203;bharatkashyap](https://togithub.com/bharatkashyap),
[@&#8203;cherniavskii](https://togithub.com/cherniavskii),
[@&#8203;danilo-leal](https://togithub.com/danilo-leal),
[@&#8203;hbjORbj](https://togithub.com/hbjORbj),
[@&#8203;Janpot](https://togithub.com/Janpot),
[@&#8203;kennethbigler](https://togithub.com/kennethbigler),
[@&#8203;kushagra010](https://togithub.com/kushagra010),
[@&#8203;michaldudak](https://togithub.com/michaldudak),
[@&#8203;mnajdova](https://togithub.com/mnajdova),
[@&#8203;ofir5300](https://togithub.com/ofir5300),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;sai6855](https://togithub.com/sai6855),
[@&#8203;sfavello](https://togithub.com/sfavello),
[@&#8203;sidtohan](https://togithub.com/sidtohan),
[@&#8203;siriwatknp](https://togithub.com/siriwatknp),
[@&#8203;Studio384](https://togithub.com/Studio384)

</details>

<details>
<summary>mui/material-ui (@&#8203;mui/lab)</summary>

###
[`v5.0.0-alpha.108`](2f4c2190d1...c2da6de1c5)

[Compare
Source](2f4c2190d1...c2da6de1c5)

</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.

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 02:07:58 +00:00
renovate[bot]
3638f0d09a
chore(deps): update dependency @codemirror/state to v6.1.4 (#2441)
[![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.1.3`
->
`6.1.4`](https://renovatebot.com/diffs/npm/@codemirror%2fstate/6.1.3/6.1.4)
|
[![age](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.4/compatibility-slim/6.1.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.4/confidence-slim/6.1.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>codemirror/state</summary>

###
[`v6.1.4`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#&#8203;614-2022-11-15)

[Compare
Source](https://togithub.com/codemirror/state/compare/6.1.3...6.1.4)

##### Bug fixes

Fix a bug that caused the `openStart` value passed to span iterators to
be incorrect around widgets in some circumstances.

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 22:27:26 +00:00
renovate[bot]
c1abac2a18
chore(deps): update dependency vite to v3.2.4 (#2437)
[![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://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`3.2.3` ->
`3.2.4`](https://renovatebot.com/diffs/npm/vite/3.2.3/3.2.4) |
[![age](https://badges.renovateapi.com/packages/npm/vite/3.2.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/3.2.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/3.2.4/compatibility-slim/3.2.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/3.2.4/confidence-slim/3.2.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite</summary>

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

[Compare
Source](https://togithub.com/vitejs/vite/compare/v3.2.3...v3.2.4)

Please refer to
[CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v3.2.4/packages/vite/CHANGELOG.md)
for details.

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 18:37:33 +00:00
renovate[bot]
3628258dbf
chore(deps): update dependency @swc/core to v1.3.17 (#2431)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://togithub.com/swc-project/swc)) | [`1.3.16` ->
`1.3.17`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.16/1.3.17) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.17/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.17/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.17/compatibility-slim/1.3.16)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.17/confidence-slim/1.3.16)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc</summary>

###
[`v1.3.17`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#&#8203;1317---2022-11-15)

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

##### Bug Fixes

- **(bindings)** Revert
[#&#8203;6436](https://togithub.com/swc-project/swc/issues/6436)
([#&#8203;6444](https://togithub.com/swc-project/swc/issues/6444))
([948e35b](948e35bcd6))

- **(css/parser)** Fix a bug with scope in block
([#&#8203;6402](https://togithub.com/swc-project/swc/issues/6402))
([3d7545d](3d7545d89b))

- **(es/compat)** Improve `destructuring` pass
([#&#8203;6412](https://togithub.com/swc-project/swc/issues/6412))
([6728603](67286032b1))

- **(es/compat)** Fix span hygiene of function naming pass
([#&#8203;6345](https://togithub.com/swc-project/swc/issues/6345))
([81a4bb3](81a4bb304a))

- **(es/minifier)** Preserve op of the op-assignments in seq inliner
([#&#8203;6428](https://togithub.com/swc-project/swc/issues/6428))
([5fd7ab8](5fd7ab87b6))

- **(es/minifier)** Change the default of `mangle.toplevel` to false
([#&#8203;6439](https://togithub.com/swc-project/swc/issues/6439))
([99934b0](99934b09f7))

- **(es/modules)** Fix `jsc.paths` of `.ts` imports
([#&#8203;6431](https://togithub.com/swc-project/swc/issues/6431))
([9c9c3eb](9c9c3ebd2c))

##### Miscellaneous Tasks

- **(ci)** Ensure to honor node package manager
([#&#8203;6437](https://togithub.com/swc-project/swc/issues/6437))
([8ca3cc7](8ca3cc7875))

##### Refactor

- **(bindings)** Deprecate `JsValue::*_serde`
([#&#8203;6436](https://togithub.com/swc-project/swc/issues/6436))
([1dd8b3d](1dd8b3d9d5))

- **(es/plugins)** Simplify `read_result_*`
([#&#8203;6426](https://togithub.com/swc-project/swc/issues/6426))
([7a1c2a1](7a1c2a1e2c))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 15:34:23 +00:00
kwasniew
99fd4e831e
4.18.0-beta.7 2022-11-15 13:23:59 +01:00
sjaanus
3ef0ca580a
Remove change request api protection (#2434)
Remove change request api protection
2022-11-15 14:13:09 +02:00
Nuno Góis
e32b6ad576
fix: update text in environments (#2433)
Updates the text in some places related with the new environments
updates. Hopefully this makes things even clearer 🙂
2022-11-15 11:08:41 +00:00
Nuno Góis
1ddc46011c
Feature toggles: Filtering by tags (#2396)
https://linear.app/unleash/issue/UNL-140/experiment-with-filtering-feature-toggles-by-tags-on-the-ui

Going with a naïve approach for now, tags can be searchable the same way
we search for text. The tags column only shows up if at least one toggle
has tags set. There's a simple highlightable component that lets us know
a match was found and then shows all the tags on a tooltip:
<img width="1289" alt="image"
src="https://user-images.githubusercontent.com/14320932/201155093-b8605ff2-5bf7-45c5-b240-a33da254c278.png">
2022-11-15 10:24:36 +00:00
sjaanus
b891d1ec4f
4.18.0-beta.6 2022-11-15 11:08:31 +02:00
Tymoteusz Czech
a191313956
refactor: remove public signup link feature flag (#2423)
## About the changes
Cleanup: remove feature flag.

Closes
[1-356/remove-feature-flag-from-the-code](https://linear.app/unleash/issue/1-356/remove-feature-flag-from-the-code)
2022-11-15 10:03:20 +01:00
Tymoteusz Czech
8b057a1466
Show conflicts in change requests (#2389)
## About the changes
Show warnings about incompatible changes in changesets.

Closes
[1-352/display-conflicts](https://linear.app/unleash/issue/1-352/display-conflicts)

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#2251
2022-11-15 09:53:38 +01:00
Fredrik Strand Oseberg
89f2d81253
fix: copy strategy change request (#2430)
* Fixes a bug where turning off change requests would not turn off change request for copy strategy
2022-11-15 09:49:44 +01:00
Tymoteusz Czech
49fc31883c
change request help popover (#2388)
## About the changes
<img width="667" alt="image"
src="https://user-images.githubusercontent.com/2625371/201094916-52d9de4e-36a5-4c1e-894d-b9cb2296f612.png">
2022-11-15 09:42:29 +01:00
Mateusz Kwasniewski
4f65ad555f
Changeset comments schema (#2425) 2022-11-15 09:15:56 +01:00
renovate[bot]
ca328d6bcf
chore(deps): update dependency @types/jest to v29.2.3 (#2427)
[![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/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`29.2.2` ->
`29.2.3`](https://renovatebot.com/diffs/npm/@types%2fjest/29.2.2/29.2.3)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/compatibility-slim/29.2.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/confidence-slim/29.2.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMy4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjMuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 01:59:36 +00:00
renovate[bot]
8da1b5628c
chore(deps): update dependency vitest to v0.25.2 (#2421)
[![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) | [`0.25.1` ->
`0.25.2`](https://renovatebot.com/diffs/npm/vitest/0.25.1/0.25.2) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.25.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.25.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.25.2/compatibility-slim/0.25.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.25.2/confidence-slim/0.25.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest</summary>

###
[`v0.25.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.2)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.1...v0.25.2)

#####    🐞 Bug Fixes

- Dates are equal, if both are invalid  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2326](https://togithub.com/vitest-dev/vitest/issues/2326)
- Don't ignore properties, when put on a default function in CJS context
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2325](https://togithub.com/vitest-dev/vitest/issues/2325)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.1...v0.25.2)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMy4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjMuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-14 19:55:34 +00:00
renovate[bot]
b5f969cc42
chore(deps): update dependency copy-to-clipboard to v3.3.3 (#2413)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [copy-to-clipboard](https://togithub.com/sudodoki/copy-to-clipboard) |
[`3.3.2` ->
`3.3.3`](https://renovatebot.com/diffs/npm/copy-to-clipboard/3.3.2/3.3.3)
|
[![age](https://badges.renovateapi.com/packages/npm/copy-to-clipboard/3.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/copy-to-clipboard/3.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/copy-to-clipboard/3.3.3/compatibility-slim/3.3.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/copy-to-clipboard/3.3.3/confidence-slim/3.3.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>sudodoki/copy-to-clipboard</summary>

###
[`v3.3.3`](https://togithub.com/sudodoki/copy-to-clipboard/compare/v3.3.2...ca33966a5e030c7d18bd3b193654eb2e59c86e04)

[Compare
Source](https://togithub.com/sudodoki/copy-to-clipboard/compare/v3.3.2...ca33966a5e030c7d18bd3b193654eb2e59c86e04)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMy4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjMuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-14 16:27:49 +00:00
sjaanus
131ebb931a
Permission guards in existing endpoints interacting with feature toggle configuration (#2418)
This PR adds permission guards for operations.

1. Toggling feature flag
2. Adding a strategy
3. Updating a strategy
4. Deleting a strategy
2022-11-14 15:05:26 +02:00
Simon Hornby
3624cdc21f
docs: move sso how to guides to the how-to folder (#2323)
We're in the process of moving how-to guides into the how-to folder,
where they belong. This continues that work and shifts the how to guides
for SSO to the correct place and gives them appropriate names

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-14 14:11:27 +02:00
Fredrik Strand Oseberg
900c50b8c8
fix: remove uneccesary code (#2417)
* Removes dead code from the ProjectOverview.tsx component
2022-11-14 12:54:41 +01:00
Fredrik Strand Oseberg
4689705f45
feat: update hook to use change request settings (#2406)
* Refactors the hook to use the change request settings from the API
2022-11-14 12:34:38 +01:00
Gard Rimestad
a425bcb3b8
feat: upload main branch builds to cdn (#2415)
This enables us to run tip of main builds of enterprise pointing to the
newest frontend builds.
2022-11-14 11:01:07 +01:00
Ivar Conradi Østhus
309ba68a31
Update import-export.md 2022-11-14 10:24:20 +01:00
Nuno Góis
bd686eb246
fix: improve drag behaviour when using handle (#2407)
Fixes a small bug that caused the item to be draggable when clicking
outside of the handle, when using a handle. Basically resets the
draggable state when (re)entering the container.
2022-11-14 08:25:20 +00:00
Thomas Heartman
29da625195
chore: update docusaurus/openapi integration to stable version (#2414)
## What

This PR updates the version of the docusaurus-openapi plugin we depend
on for openapi docs generation from canary version 0.0.0-514 to stable
release 1.4.4.

Also removes the manual file cleanup that was created as a workaround to
solve the issues we were having.

## Why

When we set the canary version before the weekend it was because it
contained a fix of some of the issues we were having with our docs.

That issue (and the one about file cleanup) have now been released in
v1.4.4, so we can upgrade to a stable version and remove now-redundant
cleanup code.
2022-11-14 08:52:46 +01:00
renovate[bot]
d04b41fce4
chore(deps): update dependency @swc/core to v1.3.16 (#2412)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://togithub.com/swc-project/swc)) | [`1.3.15` ->
`1.3.16`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.15/1.3.16) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.16/compatibility-slim/1.3.15)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.16/confidence-slim/1.3.15)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc</summary>

###
[`v1.3.16`](https://togithub.com/swc-project/swc/compare/v1.3.15...v1.3.16)

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMy4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjMuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-13 17:34:57 +00:00
renovate[bot]
e378e08644
chore(deps): update dependency msw to v0.48.2 (#2411)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io/) ([source](https://togithub.com/mswjs/msw)) |
[`0.48.1` ->
`0.48.2`](https://renovatebot.com/diffs/npm/msw/0.48.1/0.48.2) |
[![age](https://badges.renovateapi.com/packages/npm/msw/0.48.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/msw/0.48.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/msw/0.48.2/compatibility-slim/0.48.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/msw/0.48.2/confidence-slim/0.48.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mswjs/msw</summary>

### [`v0.48.2`](https://togithub.com/mswjs/msw/releases/tag/v0.48.2)

[Compare
Source](https://togithub.com/mswjs/msw/compare/v0.48.1...v0.48.2)

#### v0.48.2 (2022-11-13)

##### Bug Fixes

- resolve absolute worker url against the current path
([#&#8203;1456](https://togithub.com/mswjs/msw/issues/1456))
([`f8d15b4`](f8d15b41a9))
[@&#8203;kettanaito](https://togithub.com/kettanaito)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMy4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjMuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-13 06:00:48 +00:00
renovate[bot]
e33c9728d3
chore(deps): update dependency @swc/core to v1.3.15 (#2410)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://togithub.com/swc-project/swc)) | [`1.3.14` ->
`1.3.15`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.14/1.3.15) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.15/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.15/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.15/compatibility-slim/1.3.14)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.15/confidence-slim/1.3.14)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc</summary>

###
[`v1.3.15`](https://togithub.com/swc-project/swc/compare/v1.3.14...v1.3.15)

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuMjEuNiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 12:29:37 +00:00
renovate[bot]
ca2c96de52
chore(deps): update dependency @babel/core to v7.20.2 (#2371)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v7.20.2`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7202-2022-11-04)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.19.6...v7.20.2)

##### 🐛 Bug Fix

- `babel-core`, `babel-helper-create-class-features-plugin`,
`babel-helper-module-transforms`, `babel-helper-plugin-utils`,
`babel-helper-simple-access`, `babel-node`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-react-constant-elements`, `babel-preset-env`,
`babel-standalone`, `babel-types`
- [#&#8203;15124](https://togithub.com/babel/babel/pull/15124) fix:
`@babel/node` repl and enable `no-use-before-define` rule
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-plugin-transform-typescript`
- [#&#8203;15121](https://togithub.com/babel/babel/pull/15121) fix:
`tsSatisfiesExpression` check with different duplicated `@babel/types`
versions ([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-parser`
- [#&#8203;15094](https://togithub.com/babel/babel/pull/15094) fix:
`parser` typings for plugins
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-generator`
- [#&#8203;15118](https://togithub.com/babel/babel/pull/15118) Improve
printing of \[no LineTerminator here] with comments
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-plugin-proposal-decorators`,
`babel-plugin-proposal-object-rest-spread`,
`babel-plugin-transform-jscript`
- [#&#8203;15113](https://togithub.com/babel/babel/pull/15113) fix: wrap
anonymous class expression within statement
([@&#8203;JLHwung](https://togithub.com/JLHwung))
-   `babel-plugin-transform-destructuring`
- [#&#8203;15104](https://togithub.com/babel/babel/pull/15104) fix:
Destructuring exceptions ` for ( let { } = 0 ; 0 ; ) `
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 08:24:41 +00:00
renovate[bot]
5988148e13
fix(deps): update dependency docusaurus-theme-openapi-docs to v0.0.0-514 (#2409)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-theme-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs)
| [`0.0.0-507` ->
`0.0.0-514`](https://renovatebot.com/diffs/npm/docusaurus-theme-openapi-docs/0.0.0-507/0.0.0-514)
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/0.0.0-514/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/0.0.0-514/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/0.0.0-514/compatibility-slim/0.0.0-507)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/0.0.0-514/confidence-slim/0.0.0-507)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>

###
[`v0.0.0-514`](795da2f81a...a8ae6e77f4)

[Compare
Source](795da2f81a...a8ae6e77f4)

###
[`v0.0.0-513`](e32c9361d2...795da2f81a)

[Compare
Source](e32c9361d2...795da2f81a)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuMjEuNiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 05:54:51 +00:00
renovate[bot]
167ad82a4f
chore(deps): update react-router monorepo to v6.4.3 (#2368)
[![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) | [`6.4.2`
-> `6.4.3`](https://renovatebot.com/diffs/npm/react-router/6.4.2/6.4.3)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.4.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.4.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.4.3/compatibility-slim/6.4.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.4.3/confidence-slim/6.4.2)](https://docs.renovatebot.com/merge-confidence/)
|
| [react-router-dom](https://togithub.com/remix-run/react-router) |
[`6.4.2` ->
`6.4.3`](https://renovatebot.com/diffs/npm/react-router-dom/6.4.2/6.4.3)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.3/compatibility-slim/6.4.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.3/confidence-slim/6.4.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v6.4.3`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#&#8203;643)

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

##### Patch Changes

- `useRoutes` should be able to return `null` when passing `locationArg`
([#&#8203;9485](https://togithub.com/remix-run/react-router/pull/9485))
- fix `initialEntries` type in `createMemoryRouter`
([#&#8203;9498](https://togithub.com/remix-run/react-router/pull/9498))
-   Updated dependencies:
    -   `@remix-run/router@1.0.3`

</details>

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

###
[`v6.4.3`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#&#8203;643)

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

##### Patch Changes

- Fix hrefs generated for `createHashRouter`
([#&#8203;9409](https://togithub.com/remix-run/react-router/pull/9409))
- fix encoding/matching issues with special chars
([#&#8203;9477](https://togithub.com/remix-run/react-router/pull/9477),
[#&#8203;9496](https://togithub.com/remix-run/react-router/pull/9496))
- Properly support `index` routes with a `path` in `useResolvedPath`
([#&#8203;9486](https://togithub.com/remix-run/react-router/pull/9486))
- Respect `relative=path` prop on `NavLink`
([#&#8203;9453](https://togithub.com/remix-run/react-router/pull/9453))
- Fix `NavLink` behavior for root urls
([#&#8203;9497](https://togithub.com/remix-run/react-router/pull/9497))
-   Updated dependencies:
    -   `@remix-run/router@1.0.3`
    -   `react-router@6.4.3`

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 03:27:44 +00:00
renovate[bot]
e924d9da57
fix(deps): update dependency docusaurus-plugin-openapi-docs to v0.0.0-514 (#2408)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-plugin-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs)
| [`0.0.0-507` ->
`0.0.0-514`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/0.0.0-507/0.0.0-514)
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/0.0.0-514/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/0.0.0-514/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/0.0.0-514/compatibility-slim/0.0.0-507)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/0.0.0-514/confidence-slim/0.0.0-507)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>

###
[`v0.0.0-514`](795da2f81a...a8ae6e77f4)

[Compare
Source](795da2f81a...a8ae6e77f4)

###
[`v0.0.0-513`](e32c9361d2...795da2f81a)

[Compare
Source](e32c9361d2...795da2f81a)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuMjEuNiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 00:16:33 +00:00
Thomas Heartman
0cd04fc882
chore: fix broken docs build / remove unused tag files (#2402)
## Issue

So, we've got an issue with our docs build not working. When building
for production, we get an error that looks a little bit like this:

```
$ docusaurus build
[INFO] [en] Creating an optimized production build...

✔ Client


✖ Server
  Compiled with some errors in 40.85s



TypeError: source_default(...).bold is not a function
TypeError: source_default(...).bold is not a function
[ERROR] Unable to build website for locale en.
[ERROR] Error: Failed to compile with errors.
    at /Users/thomas/projects/work/unleash/website/node_modules/@docusaurus/core/lib/webpack/utils.js:180:24
    at /Users/thomas/projects/work/unleash/website/node_modules/webpack/lib/MultiCompiler.js:554:14
    at processQueueWorker (/Users/thomas/projects/work/unleash/website/node_modules/webpack/lib/MultiCompiler.js:491:6)
    at processTicksAndRejections (node:internal/process/task_queues:78:11)
[INFO] Docusaurus version: 2.2.0
Node version: v16.14.0
error Command failed with exit code 1.
```

Which isn't very helpful at all. If you go into
`/node_modules/@docusaurus/core/lib/client/serverEntry.js` and modify
the `render` function to log the actual error and remove anything
chalk-related, you get this instead:

```
$ docusaurus build
[INFO] [en] Creating an optimized production build...

✔ Client


✖ Server
  Compiled with some errors in 44.62s

Actual error: Error: Unexpected: cant find current sidebar in context
    at useCurrentSidebarCategory (main:11618:247)
    at MDXContent (main:38139:1593)
    at Fb (main:149154:44)
    at Ib (main:149156:254)
    at W (main:149162:89)
    at Jb (main:149165:98)
    at Ib (main:149157:145)
    at W (main:149162:89)
    at Jb (main:149165:98)
    at Ib (main:149157:145)
Actual error: Error: Unexpected: cant find current sidebar in context
    at useCurrentSidebarCategory (main:11618:247)
    at MDXContent (main:38513:1469)
    at Fb (main:149154:44)
    at Ib (main:149156:254)
    at W (main:149162:89)
    at Jb (main:149165:98)
    at Ib (main:149157:145)
    at W (main:149162:89)
    at Jb (main:149165:98)
    at Ib (main:149157:145)


Error: Unexpected: cant find current sidebar in context
Error: Unexpected: cant find current sidebar in context
[ERROR] Unable to build website for locale en.
[ERROR] Error: Failed to compile with errors.
    at /Users/thomas/projects/work/unleash/website/node_modules/@docusaurus/core/lib/webpack/utils.js:180:24
    at /Users/thomas/projects/work/unleash/website/node_modules/webpack/lib/MultiCompiler.js:554:14
    at processQueueWorker (/Users/thomas/projects/work/unleash/website/node_modules/webpack/lib/MultiCompiler.js:491:6)
    at processTicksAndRejections (node:internal/process/task_queues:78:11)
[INFO] Docusaurus version: 2.2.0
Node version: v16.14.0
error Command failed with exit code 1.
```

That's better, but it's still not very clear.

## Getting more info

We've had problems with a similar error message before. Last time it was
caused by an empty file that docusaurus couldn't process.

A similar issue has also been described in [ this docusaurus GitHub
issue ](https://github.com/facebook/docusaurus/issues/7686). That's also
what gave me the idea of changing the logging in the dependency.

I'm currently unsure whether this is caused by the openapi docs or
something else. I've been in touch with the [openapi plugin
maintainer](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/issues/323)
and he has been able to see the same error when building for prod
locally, but it was due to some old generated files.

Worth noting: this only seems to affect the prod build. Building for dev
(`yarn docusaurus start`) works just fine. It also fails locally **and**
in CI, so it _is_ an issue.

## Updating the logging
To get better logging, you can go into the
`/node_modules/@docusaurus/core/lib/client/serverEntry.js` file and
update the `render` function from

```js
export default async function render(locals) {
    try {
        return await doRender(locals);
    }
    catch (err) {
        // We are not using logger in this file, because it seems to fail with some
        // compilers / some polyfill methods. This is very likely a bug, but in the
        // long term, when we output native ES modules in SSR, the bug will be gone.
        // prettier-ignore
        console.error(chalk.red(`${chalk.bold('[ERROR]')} Docusaurus server-side rendering could not render static page with path ${chalk.cyan.underline(locals.path)}.`));
        const isNotDefinedErrorRegex = /(?:window|document|localStorage|navigator|alert|location|buffer|self) is not defined/i;
        if (isNotDefinedErrorRegex.test(err.message)) {
            // prettier-ignore
            console.info(`${chalk.cyan.bold('[INFO]')} It looks like you are using code that should run on the client-side only.
To get around it, try using ${chalk.cyan('`<BrowserOnly>`')} (${chalk.cyan.underline('https://docusaurus.io/docs/docusaurus-core/#browseronly')}) or ${chalk.cyan('`ExecutionEnvironment`')} (${chalk.cyan.underline('https://docusaurus.io/docs/docusaurus-core/#executionenvironment')}).
It might also require to wrap your client code in ${chalk.cyan('`useEffect`')} hook and/or import a third-party library dynamically (if any).`);
        }
        throw err;
    }
}
```

to

```js
export default async function render(locals) {
    try {
        return await doRender(locals);
    }
    catch (err) {
        console.error(err)
        throw err;
    }
}
```

That'll yield the errors about the current sidebar in context.


## Root cause

Found the issue! 🙋🏼 It's explained in [this comment on the openapi docs
integration](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/issues/323#issuecomment-1311549864)
for now, but in short: we have tags defined that we don't use. They're
being picked up by docusaurus, but don't have the proper context. That's
causing this.

The previously mentioned comment is included here for easy finding in
the future:

### Root cause explanation

The OpenAPI spec we use to generate the docs has a number of tags listed
at the root level. This is necessary for this plugin to pick up tag
categories and is, as far as I can tell, also how it _should_ be done.

However, not all of those tags are in use. Specifically, there's 2 tags
that are not.

When the plugin generates docs from the spec, it generates pages for all
endpoints and all tags and groups them by tag. However, it seems likely
that if a tag doesn't have any associated endpoints, then it won't get
added to the sidebar because there's no endpoint that references it.

But the doc files for these tags do end up lying around in the directory
regardless, and when docusaurus tries to pick up the files in the
generated directory, it also tries to pick up the unused tag files. But
because they're not part of a sidebar, they end up throwing errors
because they can't find the sidebar context.

### How I found it

The fact that I got more instances of the error message without the
sidebar ref than with it made me pay more attention to the number of
errors. I decided to check how many files were in the generated
directory and how many files were referenced from the generated sidebar.
Turns out the difference there was **2**: there were two generated files
in the directory that the sidebar didn't reference.

At this point, it was easy enough to try and delete those files before
rebuilding, and wouldn't you know: it worked!

### Our use case

Now, why do we have tags that are unused in the root spec? Can't we just
remove them?

That's a good question with a bit of a complicated answer. Unleash uses
an open core model and the OpenAPI integration is part of that open
core. The closed-source parts of Unleash are located in another repo and
extend the open-source distribution.

Because the OpenAPI spec is configured in the open-source part,
enterprise-only tags etc also need to be configured there. Then, when
the changes are absorbed into enterprise, we can use the tags there.

It gets more complicated because we use an enterprise instance to
generate the docs (because we want enterprise-endpoints to be listed
too). The instance uses the latest released instance of Unleash to have
the docs most accurately reflect the current state of things.

So, in this case, the tags have been added, but not yet used by any
endpoints, which suddenly causes this build failure. We can add the tags
to the enterprise-version, but the spec wouldn't be updated before the
next release regardless, which will probably be in a week or so.

This isn't an ideal setup, but .. it is what it is.

## Solutions and workarounds

As mentioned in the previous section, the reason the build was failing
was that there were unused tag files that docusaurus tried to include in
the build. Because they don't belong to a sidebar, the compilation
failed.

I've reported the issue to the openapi plugin maintainers and am waiting
for a response.

However, it seems that having unused root tags declared is invalid
according to the spec, so it's something we should look into fixing in
the future.

### Current workaround: cleaning script

The current workaround is to extend the api cleaning script to manually
remove the unused tag files.

### Ideal solution: filter root-level tags

Ideally, we shouldn't list unused OpenAPI tags on the root level at all.
However, because of the way we add root-level tags (as a predefined,
static lists, refer to `src/lib/openapi/index.ts`) and endpoints
(dynamically added at runtime) today, we don't really have a clear way
to filter the list of tags. This gets even more complicated when taking
the enterprise functionality and the potential extra tags they must
have.

This is, however, something that should definitely be looked into.
Working with OpenAPI across multipile repos is already troublesome, so
this is just yet another thing to look into.
2022-11-11 15:01:54 +02:00
renovate[bot]
47f991830b
chore(deps): update dependency @codemirror/state to v6.1.3 (#2394)
[![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.1.2`
->
`6.1.3`](https://renovatebot.com/diffs/npm/@codemirror%2fstate/6.1.2/6.1.3)
|
[![age](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.3/compatibility-slim/6.1.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.3/confidence-slim/6.1.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>codemirror/state</summary>

###
[`v6.1.3`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#&#8203;613-2022-11-10)

[Compare
Source](https://togithub.com/codemirror/state/compare/6.1.2...6.1.3)

##### Bug fixes

Avoid unnecessary calls to computed facet getters when a state is
reconfigured but no dependencies of the computed facet change.

Fix an infinite loop in `RangeSet.eq` when the `to` parameter isn't
given.

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuMjEuNiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-11 13:54:09 +01:00
sjaanus
6ba30a0e31
Merge branch 'main' of https://github.com/Unleash/unleash 2022-11-11 14:25:15 +02:00