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

2836 Commits

Author SHA1 Message Date
Mateusz Kwasniewski
decb7f320d
feat: import stage (#2985) 2023-01-25 12:34:28 +01:00
Mateusz Kwasniewski
e2e7f64b5b
feat: back transition from validate to configure (#2982) 2023-01-25 10:11:08 +01:00
Mateusz Kwasniewski
85566b1431
fix: preload error (#2980) 2023-01-24 20:40:03 +01:00
Nuno Góis
c5fced89fb
feat: visualize variants diff in CR (#2979)
https://linear.app/unleash/issue/2-582/display-the-change-request-created-with-variants-in-the-ui


![image](https://user-images.githubusercontent.com/14320932/214341314-c4f1aefb-fada-4d59-9d40-86f8dce98b76.png)

Includes a basic diff visualisation on variants change requests.

It seems like components like `CodeSnippetPopover` and `PopoverDiff` are
currently very tightly coupled together with strategies, so I preferred
to follow my own approach and leave those alone for now instead of
trying to refactor them. `patchVariant` could also be renamed to a more
fitting name in the future as well, since we're now doing more of an
override than applying a patch.

`Diff` is a generic diff component that uses `EventDiff` internally and
simply takes into account a "before" and "after" state, as `preData` and
`data`.

I made some changes to `EventDiff` that made some sense to me:
- Cover edge cases where `path` is undefined and `.join` crashes, also
fallback to the diff index (or undefined);
 - Leverage the key to correctly sort the change items in the diff;
2023-01-24 16:06:53 +00:00
Mateusz Kwasniewski
80c444aa99
cleanup in export and import (#2973) 2023-01-24 14:29:59 +01:00
Gastón Fournier
3713764a4b
feat: add push to all button to UI (#2969)
## About the changes
This adds the push to all button to the UI


Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#2254

### UI
![Screenshot from 2023-01-16
12-25-49](https://user-images.githubusercontent.com/455064/214073136-999c32f3-d119-4d55-ae29-47f6a9304e84.png)

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-01-24 10:22:02 +01:00
Simon Hornby
c71c0bb3ac
fix: prevent deleting the last variable variant on the ui (#2964) 2023-01-24 09:48:53 +02:00
Mateusz Kwasniewski
a3404328ea
validation stage (#2970) 2023-01-23 20:02:05 +01:00
Simon Hornby
515845edd1
chore: increase max number of environments from 15 to 50 (#2968) 2023-01-23 17:28:31 +02:00
Mateusz Kwasniewski
d4a0a3c11d
Validate stage transition (#2967) 2023-01-23 15:04:56 +01:00
Mateusz Kwasniewski
bc627b428e
timeline component (#2963) 2023-01-23 13:06:24 +01:00
Mateusz Kwasniewski
bfb038c725
feat: pulsing avatar for import (#2961) 2023-01-23 10:44:25 +01:00
Gastón Fournier
70d8f9e58a
feat: add warning hints on potential misconfiguration (#2948)
## About the changes
Add warnings when we detect something might be wrong with the customer
configuration, in particular with regard to variants configuration

## Rationale
Moving from variants per feature to variants per environment will allow
users to have fine-grained permissions and more control over variants on
different environments: #2254

But because this requires an additional step of copying variants to
other environments, we identified the potential risk of users forgetting
to follow this step. To keep them informed about this, we're introducing
a warning sign after a toggle is enabled when we detect that:
1. The environment is enabled without variants
2. Other enabled environments have variants

This situation would be a problem if you rely on `getVariant` method
from the SDK, because without variants you'll receive the default
variant. Probably, not what you'd expect after enabling the toggle, but
there are situations where this might be correct. Because of the latter,
we thought that adding a warning and letting the user handle the
situation was the best solution.

## UI sketches
![image
(6)](https://user-images.githubusercontent.com/455064/213676353-112639f0-7781-42c0-8c9d-8c7eba316bae.png)
![Screenshot from 2023-01-19
08-55-10](https://user-images.githubusercontent.com/455064/213664639-7b11ff4b-048a-4a36-aa71-7df2f889adff.png)

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-01-20 18:09:01 +01:00
Mateusz Kwasniewski
287d28e91d
Batch import styling (#2959) 2023-01-20 15:01:40 +01:00
Nuno Góis
342a6f6cbe
fix: filtering environments in the project features table (#2957)
![image](https://user-images.githubusercontent.com/14320932/213686971-dc612f72-d86e-414d-afee-23856b5add1a.png)

Fixes an issue where environments were not filtered correctly on the
search, most likely due to some regression accidentally introduced with
changes in the meantime.
2023-01-20 11:47:10 +00:00
Mateusz Kwasniewski
a67649347a
feat: file dropzone (#2939) 2023-01-20 09:50:24 +01:00
renovate[bot]
6e9043e2f4
chore(deps): update dependency @uiw/react-codemirror to v4.19.6 (#2954)
[![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.19.5` ->
`4.19.6`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.19.5/4.19.6)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.6/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.6/compatibility-slim/4.19.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.6/confidence-slim/4.19.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.6:
https://raw.githack.com/uiwjs/react-codemirror/97f393a/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.5...v4.19.6

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

- 🆎 type(theme): fix type error.
([#&#8203;444](https://togithub.com/uiwjs/react-codemirror/issues/444))
[`5ef84c1`](https://togithub.com/uiwjs/react-codemirror/commit/5ef84c1)
[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuNCIsInVwZGF0ZWRJblZlciI6IjM0LjEwNS40In0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-20 06:12:36 +00:00
renovate[bot]
14f2fef739
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.19.6 (#2953)
[![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.19.5` ->
`4.19.6`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.19.5/4.19.6)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.6/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.6/compatibility-slim/4.19.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.6/confidence-slim/4.19.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.6:
https://raw.githack.com/uiwjs/react-codemirror/97f393a/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.5...v4.19.6

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

- 🆎 type(theme): fix type error.
([#&#8203;444](https://togithub.com/uiwjs/react-codemirror/issues/444))
[`5ef84c1`](https://togithub.com/uiwjs/react-codemirror/commit/5ef84c1)
[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuNCIsInVwZGF0ZWRJblZlciI6IjM0LjEwNS40In0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-20 02:50:44 +00:00
renovate[bot]
234a38134f
chore(deps): update dependency jsdom to v21 (#2843)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [jsdom](https://togithub.com/jsdom/jsdom) | [`20.0.3` ->
`21.0.0`](https://renovatebot.com/diffs/npm/jsdom/20.0.3/21.0.0) |
[![age](https://badges.renovateapi.com/packages/npm/jsdom/21.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/jsdom/21.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/jsdom/21.0.0/compatibility-slim/20.0.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/jsdom/21.0.0/confidence-slim/20.0.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>jsdom/jsdom</summary>

###
[`v21.0.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#&#8203;2100)

[Compare
Source](https://togithub.com/jsdom/jsdom/compare/20.0.3...21.0.0)

A potentially-breaking bug fix:

- Fixed the `window`, `document`, `location`, and `top` properties of
`Window` to be non-configurable. (ExE-Boss)

Other changes:

-   Added support for `<input type=image>` submitting forms. (jenseng)
- Added the `location` setter to the `Window` object, which forwards to
the `location.href` setter. Setting the URL is still only implemented
for fragment navigations, however. (ExE-Boss)
- Fixed `defer=""` `<script>` elements that are added after
`DOMContentLoaded` to execute, instead of being skipped.
- Fixed `selectElement.selectedOptions` being incorrect when
`optionElement.selected` is set. This was a regression introduced in
v20.0.1. Unfortunately this also reverts the performance improvement
when appending `<option>` elements that was introduced then. (eps1lon)
- Fixed the `self`, `locationbar`, `menubar`, `personalbar`,
`scrollbars`, `statusbar`, `toolbar`, `frames`, `parent`, `external`,
`length`, and `screen` properties of `Window` to be replaceable: that
is, setting them will override their values, instead of having the new
value be ignored. (ExE-Boss)
- Fixed a few issues with `JSOM.fromURL()` in the browser build of
jsdom. (LungZeno)

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuODQuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 23:10:39 +01:00
Nuno Góis
08c1123144
fix: tooltip arrow regression after last scroll max size feat (#2935)
Fixes an issue where the `HtmlTooltip` arrow would no longer work after
a regression included with https://github.com/Unleash/unleash/pull/2891

Also adds the arrow prop to most usages of the tooltip to keep
consistency.
2023-01-19 14:46:26 +01:00
sjaanus
467eb57fb8
Import first super early version of UI (#2932)
Import first super early version of UI
2023-01-19 10:42:58 +00:00
renovate[bot]
81d369f468
chore(deps): update dependency vitest to v0.27.1 (#2929)
[![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.27.0` ->
`0.27.1`](https://renovatebot.com/diffs/npm/vitest/0.27.0/0.27.1) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.27.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.27.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.27.1/compatibility-slim/0.27.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.27.1/confidence-slim/0.27.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🚀 Features

- Show error, when process.exit is called  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2643](https://togithub.com/vitest-dev/vitest/issues/2643)
[<samp>(866f4)</samp>](https://togithub.com/vitest-dev/vitest/commit/866f4494)
- Add more information about unhandler error  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2642](https://togithub.com/vitest-dev/vitest/issues/2642)
[<samp>(1ffb0)</samp>](https://togithub.com/vitest-dev/vitest/commit/1ffb0ef5)
- Display running processes, if vitest closes with timeout  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2633](https://togithub.com/vitest-dev/vitest/issues/2633)
[<samp>(94968)</samp>](https://togithub.com/vitest-dev/vitest/commit/94968a6f)

#####    🐞 Bug Fixes

- Type issue with spyOn method  -  by
[@&#8203;samkevin1](https://togithub.com/samkevin1) in
[https://github.com/vitest-dev/vitest/issues/2365](https://togithub.com/vitest-dev/vitest/issues/2365)
and
[https://github.com/vitest-dev/vitest/issues/2582](https://togithub.com/vitest-dev/vitest/issues/2582)
[<samp>(1aaa7)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aaa79d7)
- Add missing types in TS project when global is true  -  by
[@&#8203;Sneaken](https://togithub.com/Sneaken) in
[https://github.com/vitest-dev/vitest/issues/2631](https://togithub.com/vitest-dev/vitest/issues/2631)
[<samp>(4745e)</samp>](https://togithub.com/vitest-dev/vitest/commit/4745eaa2)
- Always report failed test in junit reporter  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2632](https://togithub.com/vitest-dev/vitest/issues/2632)
[<samp>(83da2)</samp>](https://togithub.com/vitest-dev/vitest/commit/83da2ec4)
- Change Vite root, if test.root is used  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2637](https://togithub.com/vitest-dev/vitest/issues/2637)
[<samp>(efbff)</samp>](https://togithub.com/vitest-dev/vitest/commit/efbff2a2)
- Don't use ownKeys, when interoping a module  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2629](https://togithub.com/vitest-dev/vitest/issues/2629)
[<samp>(a186a)</samp>](https://togithub.com/vitest-dev/vitest/commit/a186a7e1)
- Cut duplicate error in negated toHaveBeenCalled  -  by
[@&#8203;richardboehme](https://togithub.com/richardboehme) in
[https://github.com/vitest-dev/vitest/issues/2638](https://togithub.com/vitest-dev/vitest/issues/2638)
[<samp>(09d62)</samp>](https://togithub.com/vitest-dev/vitest/commit/09d62226)
- Always update last HMR ms on a module  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(99676)</samp>](https://togithub.com/vitest-dev/vitest/commit/9967645a)
- Terminate workers, when closing process  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2645](https://togithub.com/vitest-dev/vitest/issues/2645)
[<samp>(ece43)</samp>](https://togithub.com/vitest-dev/vitest/commit/ece434a3)
-   **coverage**:
- Prevent c8 from crashing on invalid sourcemaps  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2634](https://togithub.com/vitest-dev/vitest/issues/2634)
[<samp>(0163d)</samp>](https://togithub.com/vitest-dev/vitest/commit/0163dc80)
- Istanbul provider to use `coverage.extension`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2641](https://togithub.com/vitest-dev/vitest/issues/2641)
[<samp>(7e388)</samp>](https://togithub.com/vitest-dev/vitest/commit/7e388903)

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 06:44:00 +00:00
Nuno Góis
7d73d772df
feat: add the account abstraction logic (#2918)
https://linear.app/unleash/issue/2-579/improve-user-like-behaviour-for-service-accounts-accounts-concept

Builds on top of https://github.com/Unleash/unleash/pull/2917 by moving
the responsibility of handling both account types from `users` to
`accounts`.

Ideally:
 - `users` - Should only handle users;
 - `service-accounts` - Should only handle service accounts;
 - `accounts` - Should handle any type of account;

This should hopefully also provide a good building block in case we
later decide to refactor this further down the `accounts` path.
2023-01-18 16:08:07 +00:00
andreas-unleash
5ceab6f989
Add flag to control CASE_INSENSITIVE_IN_OPERATORS until SDKs catch up (#2927)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>

<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

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

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-01-18 15:53:14 +02:00
andreas-unleash
91e20cc09a
Add support for case for IN and NOT_IN operators (#2924)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>

Adds support for case for IN and NOT_IN operators
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

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

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

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

<img width="1547" alt="Screenshot 2023-01-18 at 11 35 10"
src="https://user-images.githubusercontent.com/104830839/213136158-25c525c8-de82-423b-93d1-5ae6eb8469fa.png">

## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-01-18 14:42:26 +02:00
Nuno Góis
d63b3c69fe
feat: adapt user logic to better adapt to SAs (#2917)
https://linear.app/unleash/issue/2-579/improve-user-like-behaviour-for-service-accounts-accounts-concept

<img width="803" alt="image"
src="https://user-images.githubusercontent.com/14320932/213011584-75870595-988d-49bc-a7bf-cd1ffd146bca.png">

Makes SAs behave more like users. 

Even though they share the same `users` database table, the `is_service`
column distinguishes them. This PR makes the distinction a bit less
obvious by not filtering out SAs for some methods in the user store,
returning both account types and their respective account type
information so we can handle them properly on the UI.

We felt like this was a good enough approach for now, and a decent
compromise to move SAs forward. In the future, we may want to make a
full refactor with the `accounts` concept in mind, which we've
experimented with in the
[accounts-refactoring](https://github.com/Unleash/unleash/tree/accounts-refactoring)
branches (both OSS and Enterprise).
 
https://github.com/Unleash/unleash/pull/2918 - Moves this a bit further,
by introducing the account service and store.
2023-01-18 12:12:44 +00:00
Gastón Fournier
c86d191f62
fix: add environment to event log card (#2912)
## About the changes
Some changes recorded in the event log apply only to one particular
environment. This is currently not visible in the event log card, but it
is present in the recorded event:

| Full event | Event card |
| --- | --- |
| ![Screenshot from 2023-01-17
14-22-55](https://user-images.githubusercontent.com/455064/212910227-77b5e81c-60fe-4891-bfad-e3358e5a0ba5.png)
|
![image](https://user-images.githubusercontent.com/455064/212910207-7cae700b-3f50-4035-9bcd-897de62d76d2.png)
|

This PR makes that information visible on the event card
2023-01-18 10:19:25 +01:00
Fredrik Strand Oseberg
bf7ef62059
feat: initial status box implementation (#2913)
First iteration of new status boxes
2023-01-18 10:10:41 +01:00
Fredrik Strand Oseberg
1f6db91fde
Fix/redirect woes (#2899)
This PR fixes two problems: 

(1) The initial redirect put us into an infinite loop when redirecting,
because trying to go back to the root would always trigger the initial
redirect component. Throwing you back to project screen.

(2) Using UI config in the useLastViewedProject to get the basePath
introduced a race condition where you needed data from the uiConfig in
order to fetch the correct key from local storage. The fix here was to
use the basePath coded into the HTML file, so we can synchronously
retrieve the correct key at startup.

Co-authored-by: kwasniew <kwasniewski.mateusz@gmail.com>
2023-01-17 13:33:52 +01:00
renovate[bot]
c29ff77b50
chore(deps): update react-router monorepo to v6.6.2 (#2907)
[![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.6.1`
-> `6.6.2`](https://renovatebot.com/diffs/npm/react-router/6.6.1/6.6.2)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.6.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.6.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.6.2/compatibility-slim/6.6.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.6.2/confidence-slim/6.6.1)](https://docs.renovatebot.com/merge-confidence/)
|
| [react-router-dom](https://togithub.com/remix-run/react-router) |
[`6.6.1` ->
`6.6.2`](https://renovatebot.com/diffs/npm/react-router-dom/6.6.1/6.6.2)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.2/compatibility-slim/6.6.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.2/confidence-slim/6.6.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

##### Patch Changes

- Ensure `useId` consistency during SSR
([#&#8203;9805](https://togithub.com/remix-run/react-router/pull/9805))

</details>

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

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

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

##### Patch Changes

- Ensure `useId` consistency during SSR
([#&#8203;9805](https://togithub.com/remix-run/react-router/pull/9805))
-   Updated dependencies:
    -   `react-router@6.6.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDIuNyIsInVwZGF0ZWRJblZlciI6IjM0LjEwMi43In0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 22:15:37 +00:00
renovate[bot]
45f2428aec
chore(deps): update dependency vitest to v0.27.0 (#2906)
[![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.26.3` ->
`0.27.0`](https://renovatebot.com/diffs/npm/vitest/0.26.3/0.27.0) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.27.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.27.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.27.0/compatibility-slim/0.26.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.27.0/confidence-slim/0.26.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🚨 Breaking Changes

- Deprecate "error" on result, store errors in "errors"  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2586](https://togithub.com/vitest-dev/vitest/issues/2586)
[<samp>(e641a)</samp>](https://togithub.com/vitest-dev/vitest/commit/e641a110)
- Split vitest into separate packages, but still bundle them for the
time being  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2575](https://togithub.com/vitest-dev/vitest/issues/2575)
[<samp>(c8e6f)</samp>](https://togithub.com/vitest-dev/vitest/commit/c8e6fb69)

#####    🚀 Features

- **coverage**: report only changed files when using istanbul coverage
with watch mode  -  by [@&#8203;g4rry420](https://togithub.com/g4rry420)
in
[https://github.com/vitest-dev/vitest/issues/2385](https://togithub.com/vitest-dev/vitest/issues/2385)
[<samp>(bf872)</samp>](https://togithub.com/vitest-dev/vitest/commit/bf87282c)

#####    🐞 Bug Fixes

- Return mock path only when mocked  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2619](https://togithub.com/vitest-dev/vitest/issues/2619)
[<samp>(f8ac2)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ac2094)
- Allow mocking CJS module with interoped default  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2598](https://togithub.com/vitest-dev/vitest/issues/2598)
[<samp>(6b3e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b3e36d4)
- Avoid random ENOTEMPTY errors  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2620](https://togithub.com/vitest-dev/vitest/issues/2620)
[<samp>(59766)</samp>](https://togithub.com/vitest-dev/vitest/commit/59766fa4)
- Always inline assets and modules with special Vite queries  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2617](https://togithub.com/vitest-dev/vitest/issues/2617)
[<samp>(fed1c)</samp>](https://togithub.com/vitest-dev/vitest/commit/fed1cd60)
-   **cli**:
- Allow overrides reporter via cli option  -  by
[@&#8203;mysteryven](https://togithub.com/mysteryven) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2573](https://togithub.com/vitest-dev/vitest/issues/2573)
[<samp>(894f1)</samp>](https://togithub.com/vitest-dev/vitest/commit/894f155a)
-   **coverage**:
- Flaky c8 coverage caused by parallel sourcemap constructing  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2591](https://togithub.com/vitest-dev/vitest/issues/2591)
[<samp>(9a29f)</samp>](https://togithub.com/vitest-dev/vitest/commit/9a29f984)
- Validate extension, when reporting c8 coverage  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2626](https://togithub.com/vitest-dev/vitest/issues/2626)
[<samp>(74463)</samp>](https://togithub.com/vitest-dev/vitest/commit/7446370c)

#####    🏎 Performance

- Improve vi.mock performance  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2594](https://togithub.com/vitest-dev/vitest/issues/2594)
[<samp>(09d19)</samp>](https://togithub.com/vitest-dev/vitest/commit/09d19892)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.3...v0.27.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://app.renovatebot.com/dashboard#github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 18:58:56 +00:00
Nuno Góis
90d7737338
fix: SA unique token bug (#2901)
Fixes a small bug on service account token creation where the tokens the
new one was being validated against were not the most up-to-date ones.
2023-01-16 13:10:08 +01:00
Nuno Góis
b3fcc97f93
fix: small breadcrumb adjustments (#2893)
https://linear.app/unleash/issue/2-577/small-breadcrumb-adjustments

Includes small adjustments to the breadcrumb navigation component.

### Long chain path (ellipts if width > 200px)

![image](https://user-images.githubusercontent.com/14320932/212155100-973c2b31-d990-4c0a-a67b-3d3110231569.png)

### Long final path (no longer ellipts as long as it has enough
remaining space)

![image](https://user-images.githubusercontent.com/14320932/212156184-041f671a-6bf5-4e43-9ef0-4c89015837cc.png)

### Long final path with resized window (still ellipts when needed)

![image](https://user-images.githubusercontent.com/14320932/212157091-6453c881-1c0f-4785-935e-4993ed479280.png)
2023-01-16 13:09:38 +01:00
Nuno Góis
4286103850
feat: better tooltip links (#2891)
https://linear.app/unleash/issue/2-576/improve-how-text-that-has-tooltip-should-look-so-they-are-not


![image](https://user-images.githubusercontent.com/14320932/212140467-46d4f7f9-b5c1-40ea-9748-4a6ccc7950bb.png)


![image](https://user-images.githubusercontent.com/14320932/212140316-d6e88bc0-c26e-436b-855f-5f6e8697aed8.png)

- Adapts the existing `HtmlTooltip` component to support setting
`maxHeight` and `maxWidth` properties;
- Introduces a new common component: `TooltipLink`;
- Adapts SA (tokens), features (tags), variants (overrides, payloads)
and project access (role and role description);
- Role description in project access now uses this component instead of
the old jankier popover component;
2023-01-16 13:04:52 +01:00
andreas-unleash
dfc7df8f5c
Fix/accordion help icon position (#2896)
<!-- 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! ❤️ -->
Fixes a bug in ConstraintAccordionList where the help icon was moved to
the next line
## 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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-01-13 08:19:02 +00:00
Mateusz Kwasniewski
1b534c0a3b
fix: infinite rendering due to wrong effect deps (#2895) 2023-01-13 09:02:43 +01:00
renovate[bot]
9f46442e4c
chore(deps): update dependency @vitejs/plugin-react to v3.0.1 (#2830)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitejs/plugin-react](https://togithub.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme)
([source](https://togithub.com/vitejs/vite-plugin-react)) | [`3.0.0` ->
`3.0.1`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/3.0.0/3.0.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@vitejs%2fplugin-react/3.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@vitejs%2fplugin-react/3.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@vitejs%2fplugin-react/3.0.1/compatibility-slim/3.0.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@vitejs%2fplugin-react/3.0.1/confidence-slim/3.0.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite-plugin-react</summary>

###
[`v3.0.1`](https://togithub.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#small301-2023-01-05-small)

[Compare
Source](0aaf2e56de...d758a2a44b)

- fix: don't invalidate when code is invalid
([#&#8203;67](https://togithub.com/vitejs/vite-plugin-react/issues/67))
([9231a86](https://togithub.com/vitejs/vite-plugin-react/commit/9231a86)),
closes
[#&#8203;67](https://togithub.com/vitejs/vite-plugin-react/issues/67)
- fix(deps): update all non-major dependencies
([#&#8203;69](https://togithub.com/vitejs/vite-plugin-react/issues/69))
([0a8e099](https://togithub.com/vitejs/vite-plugin-react/commit/0a8e099)),
closes
[#&#8203;69](https://togithub.com/vitejs/vite-plugin-react/issues/69)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-12 22:53:48 +00:00
Mateusz Kwasniewski
d4f3e6a819
fix: flex was breaking change request banner (#2890) 2023-01-12 16:47:36 +01:00
Nuno Góis
172f911851
fix: improve breadcrumb spacing (#2889)
https://linear.app/unleash/issue/2-575/improve-the-breadcrumb-spacing


![image](https://user-images.githubusercontent.com/14320932/212101040-1ac8420a-6e16-4879-b030-e343bb977f85.png)


![image](https://user-images.githubusercontent.com/14320932/212101196-50737ab4-49e6-454b-b386-491142798f37.png)
2023-01-12 16:23:45 +01:00
Fredrik Strand Oseberg
dd7d3de76a
feat: export ui api integration (#2888)
Adds API integration with the new export API
2023-01-12 16:09:13 +01:00
Nuno Góis
b12962e7d2
fix: improve hidden envs UI/UX (#2887)
Some small UI/UX fixes related to user-scoped hidden environments in the
feature overview after aligning with @NicolaeUnleash


![image](https://user-images.githubusercontent.com/14320932/212077468-ee830ccf-7a82-4006-bd12-b87116160574.png)
2023-01-12 13:29:38 +00:00
Fredrik Strand Oseberg
0dcf28a0f0
Refactor/lazy load (#2842)
Currently our bundle size is clocking in at: 1,798.28 kB │ gzip: 558.42 kB
After the changes: 1,299.32 kB │ gzip: 403.26 kB
2023-01-12 11:34:45 +01:00
Fredrik Strand Oseberg
ea31154d9a
Fix/use swr bug (#2884)
This PR fixes an error where useSWR would throw a TypeError: `subs[i] is
not a function`: https://github.com/vercel/swr/issues/2357

I can't be totally sure why this is happening but we had a design flaw
in our setup that caused our group overview to first fetch all groups,
and then subsequently fetch each individual group after the groups were
rendered. This was happening because GroupCard was rendering the
EditGroupUsers component which used the `useGroup(groupId)` getter.

The flow in the old version looked like this: 

1. Fetch all the groups
2. Use the groups data to render all the `GroupCard` elements
3. Once the GroupCard was rendered the EditGroupComponent would be
mounted and set up a recurring GET on the individual group, causing each
group to be fetched recurringly in the Group overview.

The useSWR error seems to be connected to setting up these
subscriptions, and then removing the element from the DOM. We were able
to trigger this error by removing the group.

## How did we fix it? 

We refactored the components concerned with editing group users and
removing groups to exist outside of the `GroupCard` and have the group
card supply the base data through a state setter. This pattern is also
better for the remove functionality because the remove functionality in
its current state could trigger a react update on a component removed
from the DOM if you awaited the refetching of the data. This is because
the groups data is controlling the rendering of the `GroupCard` and when
the `RemoveGroup` modal is nested underneath the `GroupCard` a refetch
would trigger an update, re-render the overview and remove the entire
`GroupCard` and the associated `RemoveGroup` component.

I'm still not sure if this is a bug with SWR or a side-effect of how we
architected the functionality, but this change seems to remove the
problem.
2023-01-12 11:25:42 +01:00
andreas-unleash
aa19ad57eb
Conditionally fetch change request config to fix 404 (#2874) 2023-01-12 11:18:11 +01:00
Tymoteusz Czech
fb11a892f0
fix: unexpected ligatures (#2883) 2023-01-12 09:22:37 +00:00
Ivar Conradi Østhus
0ffd4549a5
fix: add resolution from json5 in frontend 2023-01-12 10:09:59 +01:00
Mateusz Kwasniewski
58b81e40f0
fix: prevent margin collapsing (#2879) 2023-01-11 18:44:21 +01:00
Tymoteusz Czech
ddb9d11039
refactor: styles batch 3 (#2821) 2023-01-11 17:44:21 +01:00
Nuno Góis
7f3ec5acb8
fix: SA UI/UX improvements and fixes (#2875)
https://linear.app/unleash/issue/2-559/check-if-uiux-and-overall-design-looks-correct

We're happy with the overall design and behaviour for a first iteration,
only identified these small changes for now.


![image](https://user-images.githubusercontent.com/14320932/211798037-7b6a74c5-fbc9-434a-a848-9efd00094a9c.png)


![image](https://user-images.githubusercontent.com/14320932/211798093-44db9330-f767-4790-964a-e94f8cf3ed87.png)


![image](https://user-images.githubusercontent.com/14320932/211798148-9a1ddb5a-5564-47f4-aeed-2857ac186896.png)
2023-01-11 16:08:50 +01:00
Mateusz Kwasniewski
3e4e0e4df9
fix: make close button visible on small devices (#2880) 2023-01-11 15:10:43 +01:00
dependabot[bot]
e2398dfde1
chore(deps): bump json5 from 1.0.1 to 1.0.2 in /frontend (#2814)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/json5/json5/releases">json5's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.2</h2>
<ul>
<li>Fix: Properties with the name <code>__proto__</code> are added to
objects and arrays. (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/199">#199</a>)
This also fixes a prototype pollution vulnerability reported by Jonathan
Gregson! (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/295">#295</a>).
This has been backported to v1. (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/298">#298</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/json5/json5/blob/main/CHANGELOG.md">json5's
changelog</a>.</em></p>
<blockquote>
<h3>Unreleased [<a
href="https://github.com/json5/json5/tree/main">code</a>, <a
href="https://github.com/json5/json5/compare/v2.2.3...HEAD">diff</a>]</h3>
<h3>v2.2.3 [<a
href="https://github.com/json5/json5/tree/v2.2.3">code</a>, <a
href="https://github.com/json5/json5/compare/v2.2.2...v2.2.3">diff</a>]</h3>
<ul>
<li>Fix: json5@2.2.3 is now the 'latest' release according to npm
instead of
v1.0.2. (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/299">#299</a>)</li>
</ul>
<h3>v2.2.2 [<a
href="https://github.com/json5/json5/tree/v2.2.2">code</a>, <a
href="https://github.com/json5/json5/compare/v2.2.1...v2.2.2">diff</a>]</h3>
<ul>
<li>Fix: Properties with the name <code>__proto__</code> are added to
objects and arrays.
(<a
href="https://github-redirect.dependabot.com/json5/json5/issues/199">#199</a>)
This also fixes a prototype pollution vulnerability reported by
Jonathan Gregson! (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/295">#295</a>).</li>
</ul>
<h3>v2.2.1 [<a
href="https://github.com/json5/json5/tree/v2.2.1">code</a>, <a
href="https://github.com/json5/json5/compare/v2.2.0...v2.2.1">diff</a>]</h3>
<ul>
<li>Fix: Removed dependence on minimist to patch CVE-2021-44906. (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/266">#266</a>)</li>
</ul>
<h3>v2.2.0 [<a
href="https://github.com/json5/json5/tree/v2.2.0">code</a>, <a
href="https://github.com/json5/json5/compare/v2.1.3...v2.2.0">diff</a>]</h3>
<ul>
<li>New: Accurate and documented TypeScript declarations are now
included. There
is no need to install <code>@types/json5</code>. (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/236">#236</a>,
<a
href="https://github-redirect.dependabot.com/json5/json5/issues/244">#244</a>)</li>
</ul>
<h3>v2.1.3 [<a
href="https://github.com/json5/json5/tree/v2.1.3">code</a>, <a
href="https://github.com/json5/json5/compare/v2.1.2...v2.1.3">diff</a>]</h3>
<ul>
<li>Fix: An out of memory bug when parsing numbers has been fixed. (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/228">#228</a>,
<a
href="https://github-redirect.dependabot.com/json5/json5/issues/229">#229</a>)</li>
</ul>
<h3>v2.1.2 [<a
href="https://github.com/json5/json5/tree/v2.1.2">code</a>, <a
href="https://github.com/json5/json5/compare/v2.1.1...v2.1.2">diff</a>]</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a62db1e51e"><code>a62db1e</code></a>
1.0.2</li>
<li><a
href="e0c23fe458"><code>e0c23fe</code></a>
docs: update CHANGELOG for v1.0.2</li>
<li><a
href="62a6540840"><code>62a6540</code></a>
fix: add <strong>proto</strong> to objects and arrays</li>
<li>See full diff in <a
href="https://github.com/json5/json5/compare/v1.0.1...v1.0.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=json5&package-manager=npm_and_yarn&previous-version=1.0.1&new-version=1.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the
default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as
the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as
the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the
default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 14:28:25 +01:00
sjaanus
3a25b5f2db
Maintenance mode fix (#2876)
Maintenance mode fix
2023-01-11 14:56:55 +02:00
andreas-unleash
7c8647f9f3
fix track invite-link user created event (#2689)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>

<!-- 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! ❤️ -->

Adds plausible tracking of invite-link use for all auth types.



## 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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-01-11 11:24:11 +02:00
andreas-unleash
fc548164a9
MakeStyles refactor 1-4 (#2845)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>

Make styles refactoring

<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

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

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-01-11 11:02:10 +02:00
andreas-unleash
cf3987ed2d
Refactor App.styles (#2822)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Refactor App.styles.ts to styled components
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

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

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-01-11 10:52:53 +02:00
andreas-unleash
186accdef7
MakeStyles refactor 1-5 (#2850)
ConstraintAccordion

Signed-off-by: andreas-unleash <andreas@getunleash.ai>

<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

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

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-01-11 10:51:25 +02:00
sjaanus
11d5a157c4
Remove E flag (#2832) 2023-01-11 09:00:26 +02:00
Fredrik Strand Oseberg
da193e7aa0
Feat/export UI (#2867)
MVP for the export feature scoped export UI
2023-01-10 16:47:19 +01:00
Nuno Góis
8964c3c23d
fix: PageContent bodyContainer overflowX (#2852)
https://linear.app/unleash/issue/1-546/project-overview-table-is-missing-overflow-x-auto

Fixes an issue where the PageContent body doesn't scroll horizontally
when needed.

This regression seems to have been included with
https://github.com/Unleash/unleash/pull/2811, more specifically:

https://github.com/Unleash/unleash/pull/2811/files#diff-a1c10fdcd539d988f74d4c3742cc6b8844152999a6c7e509ed8b1765c604524fL491
2023-01-10 16:46:53 +01:00
Mateusz Kwasniewski
8e5aeff1a7
fix: table accessor should handle dots (#2863) 2023-01-10 13:15:55 +01:00
Nuno Góis
6be21fc1bd
feat: track uncaught UI errors in plausible (#2860)
https://linear.app/unleash/issue/2-567/add-plausible-tracking-to-unknown-uncaught-frontend-errors

Based on the discussion from
https://github.com/Unleash/unleash/pull/2851, something like this could
help us track uncaught/unknown errors on the frontend.

Just a quick suggestion, since there might be something better we could
use for this.
2023-01-10 10:33:56 +00:00
Nuno Góis
4d93532307
fix: SA duplicate autoResetHiddenColumns (#2861)
Seems like merging both https://github.com/Unleash/unleash/pull/2851 and
https://github.com/Unleash/unleash/pull/2848 made us end up with a
duplicate `autoResetHiddenColumns` option in the `ServiceAccountsTable`
table component.
2023-01-10 08:58:13 +00:00
Nuno Góis
233e06ec6a
fix: disable autoResetHiddenColumns when useConditionallyHiddenColumns (#2851)
https://linear.app/unleash/issue/2-563/fix-issue-with-useconditionallyhiddencolumns-and-react-table

It seems like we should add `autoResetHiddenColumns: false` to
`useTable` whenever we use `useConditionallyHiddenColumns`.

Basically the thought is that, if we're controlling column visibility in
our own way, we should not want other things to change that state
unpredictably, otherwise this may make React go _brrrrrr_. And it can be
very hard to pinpoint what exactly may be causing React to go _brrrrrr_.


![image](https://user-images.githubusercontent.com/14320932/211332339-95918c5c-e3ea-40e9-b8b4-756a798a4702.png)

First detected this issue apparently randomly while developing the new
SA table. Around 10-20 page refreshes would eventually trigger it. Was
not easy to find, but hopefully this fixes it permanently. At least I
haven't been able to reproduce it since. Maybe someone has a better idea
of where the issue could be or if this is a pretty good guess. Doesn't
seem like this change hurts us anyways.

I love React, `useEffect` and these very to-the-point error messages.
Very fun and productive.

Reference: https://react-table-v7.tanstack.com/docs/api/useTable
2023-01-10 08:15:12 +00:00
Nuno Góis
297f9579fd
feat: move createdAt col on users (#2853)
Small UI/UX change. 

After discussing with @NicolaeUnleash we decided that moving this column
in the users table over to the right next to "last login" would improve
readability and consistency.


![image](https://user-images.githubusercontent.com/14320932/211355575-bd9cbf87-baa5-4133-9fb4-14882d58dd07.png)
2023-01-09 19:36:49 +00:00
Nuno Góis
997dbbbea5
Feat sa table info (#2848)
https://linear.app/unleash/issue/2-543/show-relevant-information-on-the-service-accounts-table

Shows relevant information on the table, like total PATs and the last
time a service account was active based on latest seen PAT for that
account. Adapts to the latest related PR on enterprise.


![image](https://user-images.githubusercontent.com/14320932/211312719-c4ed940a-723b-4b2e-a79e-8e7cdbda7c58.png)
2023-01-09 16:18:37 +00:00
sjaanus
7b075954a1
Maintenance UI fixes (#2849)
Maintenance UI fixes
2023-01-09 15:54:14 +02:00
sjaanus
d13401b6ed
Plausible for hidden environments (#2837)
Plausible for hidden environments
2023-01-09 15:36:10 +02:00
andreas-unleash
74410d292b
MakeStyles refactor 1-3 (#2835)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>

MakeStyles refactor 1-3
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

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

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-01-09 10:41:58 +02:00
andreas-telco
13a78dfc69
Chore/make styles batch 1 2 (#2828)
<!-- 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! ❤️ -->
ApiTokenForm refactoring

## 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? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: andreas-unleash <andreas@getunleash.ai>
2023-01-09 10:01:44 +02:00
Nuno Góis
c244cd6823
feat: show token info when deleting SA (#2841)
https://linear.app/unleash/issue/2-544/delete-service-account-show-latest-activity-for-that-service-account


![image](https://user-images.githubusercontent.com/14320932/211002311-835c4435-4a06-446b-9585-ed7b679e3532.png)
2023-01-06 13:07:33 +00:00
Nuno Góis
b10d9c435e
feat: manage SA tokens through UI (#2840)
https://linear.app/unleash/issue/2-542/manage-service-account-tokens-through-the-ui


![image](https://user-images.githubusercontent.com/14320932/210998202-b3cd14ca-0ae2-4301-8a6e-9fb887b9b517.png)
2023-01-06 12:56:54 +00:00
sjaanus
2139d8342a
Allow hiding environments from the feature overview screen fix (#2831) 2023-01-06 11:32:26 +02:00
sjaanus
dc468430ce
Refactor makestyles 2 2 (#2827) 2023-01-05 16:23:40 +02:00
Gastón Fournier
29be130757
fix: enforce weight precision to 1 decimal (#2749)
## About the changes
According to our docs, we only support up to 1 decimal place for
weights. This is to use integers to represent the percentages (we divide
them by 10) and supporting more decimals results in bad maths due to
floating point arithmetics.

This PRs adds Frontend and Backend validations to enforce this
restriction

Closes #2222

## Discussion points
Should we reconsider supporting more decimal places, that door remains
open, but for now we'll just adhere to our documentation because that
change would require some development.
2023-01-05 12:39:18 +01:00
Tymoteusz Czech
1653b0449a
Orval generator POC (#2724)
for #2715
2023-01-05 11:57:53 +01:00
Mateusz Kwasniewski
674e36b40b
Styled components batch4.1 (#2812)
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2023-01-05 09:45:39 +01:00
Fredrik Strand Oseberg
94c90b7731
Refactor/make styles batch 6 part 3 (#2823)
Last set of components refactoring for batch 6
2023-01-05 09:45:17 +01:00
Nuno Góis
005e4b6858
feat: service accounts (UI) (#2734)
https://linear.app/unleash/issue/2-541/ui-for-service-accounts

Adds basic CRUD UI to Service Accounts - New tab/page, table,
create/edit form in a modal, token dialog, delete dialog, actions cell.
2023-01-05 08:11:28 +00:00
sjaanus
d1054a3de5
Refactor makestyles 2-1 (#2820) 2023-01-04 21:01:18 +02:00
Tymoteusz Czech
f2eb96000e
fix: segment delete confirmation double dialog flash (#2819) 2023-01-04 15:58:30 +01:00
Nuno Góis
4005bb8a8b
feat: service accounts (UI - extract PAT form) (#2733)
https://linear.app/unleash/issue/2-540/extract-pat-form

By refactoring the UI logic and extracting the PAT form we can use the
same component on our service account creation form.
2023-01-04 14:51:30 +00:00
Nuno Góis
11f4435a9e
feat: service accounts (hooks) (#2732)
https://linear.app/unleash/issue/2-539/hooks-for-service-accounts

Creates and adapts hooks for the Service Accounts feature, to be used by
the FE.
2023-01-04 14:05:40 +00:00
Gastón Fournier
bf77182ca7
feat: limit the amount of results coming from Prometheus (#2776)
## About the changes
To avoid showing too much data in the traffic screen, limit the number
of results to `topk`.

## Discussion points
Top 10 is a rule of thumb, but maybe we could do top 25. Until we gather
more data, I believe this should be good enough
2023-01-04 11:00:04 +01:00
Tymoteusz Czech
111dddd746
fix: archived feature layout (#2713) 2023-01-04 09:24:39 +00:00
sjaanus
45652f6bf9
Makestyles 7-1 (#2813) 2023-01-04 11:17:13 +02:00
renovate[bot]
52882e40e9
chore(deps): update dependency vite to v4.0.4 (#2810)
[![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)) | [`4.0.3` ->
`4.0.4`](https://renovatebot.com/diffs/npm/vite/4.0.3/4.0.4) |
[![age](https://badges.renovateapi.com/packages/npm/vite/4.0.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/4.0.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/4.0.4/compatibility-slim/4.0.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/4.0.4/confidence-slim/4.0.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v4.0.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small404-2023-01-03-small)

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

- fix: importmap should insert before module preload link
([#&#8203;11492](https://togithub.com/vitejs/vite/issues/11492))
([25c64d7](https://togithub.com/vitejs/vite/commit/25c64d7)), closes
[#&#8203;11492](https://togithub.com/vitejs/vite/issues/11492)
- fix: server.host with ipv6 missed \[] (fix
[#&#8203;11466](https://togithub.com/vitejs/vite/issues/11466))
([#&#8203;11509](https://togithub.com/vitejs/vite/issues/11509))
([2c38bae](https://togithub.com/vitejs/vite/commit/2c38bae)), closes
[#&#8203;11466](https://togithub.com/vitejs/vite/issues/11466)
[#&#8203;11509](https://togithub.com/vitejs/vite/issues/11509)
- fix: stop considering parent URLs as public file
([#&#8203;11145](https://togithub.com/vitejs/vite/issues/11145))
([568a014](https://togithub.com/vitejs/vite/commit/568a014)), closes
[#&#8203;11145](https://togithub.com/vitejs/vite/issues/11145)
- fix(build): invalidate chunk hash when css changed
([#&#8203;11475](https://togithub.com/vitejs/vite/issues/11475))
([7a97a04](https://togithub.com/vitejs/vite/commit/7a97a04)), closes
[#&#8203;11475](https://togithub.com/vitejs/vite/issues/11475)
- fix(cli): ctrl+C no longer kills processes
([#&#8203;11434](https://togithub.com/vitejs/vite/issues/11434))
([#&#8203;11518](https://togithub.com/vitejs/vite/issues/11518))
([718fc1d](https://togithub.com/vitejs/vite/commit/718fc1d)), closes
[#&#8203;11434](https://togithub.com/vitejs/vite/issues/11434)
[#&#8203;11518](https://togithub.com/vitejs/vite/issues/11518)
- fix(cli): revert ctrl+C no longer kills processes
([#&#8203;11434](https://togithub.com/vitejs/vite/issues/11434))
([#&#8203;11518](https://togithub.com/vitejs/vite/issues/11518))
([#&#8203;11562](https://togithub.com/vitejs/vite/issues/11562))
([3748acb](https://togithub.com/vitejs/vite/commit/3748acb)), closes
[#&#8203;11434](https://togithub.com/vitejs/vite/issues/11434)
[#&#8203;11518](https://togithub.com/vitejs/vite/issues/11518)
[#&#8203;11562](https://togithub.com/vitejs/vite/issues/11562)
- fix(optimizer): check .vite/deps directory existence before removing
([#&#8203;11499](https://togithub.com/vitejs/vite/issues/11499))
([1b043f9](https://togithub.com/vitejs/vite/commit/1b043f9)), closes
[#&#8203;11499](https://togithub.com/vitejs/vite/issues/11499)
- fix(ssr): emit js sourcemaps for ssr builds
([#&#8203;11343](https://togithub.com/vitejs/vite/issues/11343))
([f12a1ab](https://togithub.com/vitejs/vite/commit/f12a1ab)), closes
[#&#8203;11343](https://togithub.com/vitejs/vite/issues/11343)
- chore: update license
([#&#8203;11476](https://togithub.com/vitejs/vite/issues/11476))
([3d346c0](https://togithub.com/vitejs/vite/commit/3d346c0)), closes
[#&#8203;11476](https://togithub.com/vitejs/vite/issues/11476)
- chore(deps): update dependency
[@&#8203;rollup/plugin-json](https://togithub.com/rollup/plugin-json) to
v6 ([#&#8203;11553](https://togithub.com/vitejs/vite/issues/11553))
([3647d07](https://togithub.com/vitejs/vite/commit/3647d07)), closes
[#&#8203;11553](https://togithub.com/vitejs/vite/issues/11553)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-04 00:24:06 +00:00
Fredrik Strand Oseberg
093156f5f5
Refactor/make styles batch 6 part 2 (#2811)
Adds another batch of refactored components
2023-01-03 16:15:22 +01:00
sjaanus
b631618532
Makestyles refactor #7/1 (#2805) 2023-01-03 16:30:59 +02:00
Mateusz Kwasniewski
cc1512cd44
refactor: styled component in header (#2808) 2023-01-03 14:52:10 +01:00
sjaanus
88d649d239
Allow hiding environments from the feature overview screen (#2727) 2023-01-03 15:41:34 +02:00
Thomas Heartman
c2a3872386
Fix(typo): Fix "login"/"log in", "logout"/"log out" issues (#2807)
## What

This change updates some places in the docs where we use the terms
"login" and "logout" incorrectly.

A "login" is a noun, typically referring to the set of credentials you
need to _log in_ to a service. The verb form, the act of signing in, is
written in two words: to "log in".

A similar logic applies to "logout" and "log out", although I don't find
the term "logout" in my dictionary. However, I think it makes sense to
talk about "logout requests" (and I see references to logout in other
services and documentation), so I'm happy to use that as a noun.
Regardless, the act of logging out is to "log out".
2023-01-03 13:40:03 +01:00
Mateusz Kwasniewski
644ec69a13
refactor: extract styled components (#2798) 2023-01-03 12:41:48 +01:00
Fredrik Strand Oseberg
241ede8ca9
Refactor/make styles batch 6 (#2793)
Refactors a number of components in the frontend away from deprecated makeStyles
2023-01-03 09:24:55 +01:00
Mateusz Kwasniewski
231b26995c
refactor: batch of changes for styled components (#2791) 2023-01-03 09:20:26 +01:00
renovate[bot]
7150ff1b13
chore(deps): update dependency eslint to v8.31.0 (#2787)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>eslint/eslint</summary>

### [`v8.31.0`](https://togithub.com/eslint/eslint/releases/tag/v8.31.0)

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.30.0...v8.31.0)

##### Features

-
[`52c7c73`](52c7c73c05)
feat: check assignment patterns in no-underscore-dangle
([#&#8203;16693](https://togithub.com/eslint/eslint/issues/16693))
(Milos Djermanovic)
-
[`b401cde`](b401cde47d)
feat: add options to check destructuring in no-underscore-dangle
([#&#8203;16006](https://togithub.com/eslint/eslint/issues/16006))
(Morten Kaltoft)
-
[`30d0daf`](30d0daf55e)
feat: group properties with values in parentheses in `key-spacing`
([#&#8203;16677](https://togithub.com/eslint/eslint/issues/16677))
(Francesco Trotta)

##### Bug Fixes

-
[`35439f1`](35439f1572)
fix: correct syntax error in `prefer-arrow-callback` autofix
([#&#8203;16722](https://togithub.com/eslint/eslint/issues/16722))
(Francesco Trotta)
-
[`87b2470`](87b247058e)
fix: new instance of FlatESLint should load latest config file version
([#&#8203;16608](https://togithub.com/eslint/eslint/issues/16608))
(Milos Djermanovic)

##### Documentation

-
[`4339dc4`](4339dc462d)
docs: Update README (GitHub Actions Bot)
-
[`4e4049c`](4e4049c5fa)
docs: optimize code block structure
([#&#8203;16669](https://togithub.com/eslint/eslint/issues/16669)) (Sam
Chen)
-
[`54a7ade`](54a7ade5d8)
docs: do not escape code blocks of formatters examples
([#&#8203;16719](https://togithub.com/eslint/eslint/issues/16719)) (Sam
Chen)
-
[`e5ecfef`](e5ecfefa1c)
docs: Add function call example for no-undefined
([#&#8203;16712](https://togithub.com/eslint/eslint/issues/16712))
(Elliot Huffman)
-
[`a3262f0`](a3262f0a63)
docs: Add mastodon link
([#&#8203;16638](https://togithub.com/eslint/eslint/issues/16638))
(Amaresh S M)
-
[`a14ccf9`](a14ccf91af)
docs: clarify files property
([#&#8203;16709](https://togithub.com/eslint/eslint/issues/16709)) (Sam
Chen)
-
[`3b29eb1`](3b29eb14e0)
docs: fix npm link
([#&#8203;16710](https://togithub.com/eslint/eslint/issues/16710))
(Abdullah Osama)
-
[`a638673`](a638673ee6)
docs: fix search bar focus on `Esc`
([#&#8203;16700](https://togithub.com/eslint/eslint/issues/16700))
(Shanmughapriyan S)
-
[`f62b722`](f62b722251)
docs: country flag missing in windows
([#&#8203;16698](https://togithub.com/eslint/eslint/issues/16698))
(Shanmughapriyan S)
-
[`4d27ec6`](4d27ec6019)
docs: display zh-hans in the docs language switcher
([#&#8203;16686](https://togithub.com/eslint/eslint/issues/16686))
(Percy Ma)
-
[`8bda20e`](8bda20e827)
docs: remove manually maintained anchors
([#&#8203;16685](https://togithub.com/eslint/eslint/issues/16685))
(Percy Ma)
-
[`b68440f`](b68440ff2b)
docs: User Guide Getting Started expansion
([#&#8203;16596](https://togithub.com/eslint/eslint/issues/16596)) (Ben
Perlmutter)

##### Chores

-
[`65d4e24`](65d4e24c36)
chore: Upgrade
[@&#8203;eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@&#8203;1](https://togithub.com/1).4.1
([#&#8203;16729](https://togithub.com/eslint/eslint/issues/16729))
(Brandon Mills)
-
[`8d93081`](8d93081a71)
chore: fix CI failure
([#&#8203;16721](https://togithub.com/eslint/eslint/issues/16721)) (Sam
Chen)
-
[`8f17247`](8f17247a93)
chore: Set up automatic updating of README
([#&#8203;16717](https://togithub.com/eslint/eslint/issues/16717))
(Nicholas C. Zakas)
-
[`4cd87cb`](4cd87cb3c5)
ci: bump actions/stale from 6 to 7
([#&#8203;16713](https://togithub.com/eslint/eslint/issues/16713))
(dependabot\[bot])
-
[`fd20c75`](fd20c75b10)
chore: sort package.json scripts in alphabetical order
([#&#8203;16705](https://togithub.com/eslint/eslint/issues/16705))
(Darius Dzien)
-
[`10a5c78`](10a5c78393)
chore: update ignore patterns in `eslint.config.js`
([#&#8203;16678](https://togithub.com/eslint/eslint/issues/16678))
(Milos Djermanovic)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-02 22:32:10 +00:00
renovate[bot]
84f69df050
chore(deps): update dependency immer to v9.0.17 (#2789)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [immer](https://togithub.com/immerjs/immer) | [`9.0.16` ->
`9.0.17`](https://renovatebot.com/diffs/npm/immer/9.0.16/9.0.17) |
[![age](https://badges.renovateapi.com/packages/npm/immer/9.0.17/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/immer/9.0.17/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/immer/9.0.17/compatibility-slim/9.0.16)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/immer/9.0.17/confidence-slim/9.0.16)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>immerjs/immer</summary>

### [`v9.0.17`](https://togithub.com/immerjs/immer/releases/tag/v9.0.17)

[Compare
Source](https://togithub.com/immerjs/immer/compare/v9.0.16...v9.0.17)

##### Bug Fixes

- special case NaN in setter
([#&#8203;912](https://togithub.com/immerjs/immer/issues/912))
([5721bb7](5721bb7cfa))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-02 18:48:05 +00:00
sjaanus
8a8cd1bf27
UI Flags cleanup (#2778) 2023-01-02 15:41:43 +02:00
sjaanus
c62d775933
Fix padding for tabs in admin section (#2772)
Tabs from admin section were missing paddings left-right.
This PR adds these paddings.
2023-01-02 15:40:37 +02:00
Nuno Góis
88004a6138
feat: allows creation of PATs for other users (#2718)
https://linear.app/unleash/issue/2-530/api-allow-creation-of-pats-for-other-users


![image](https://user-images.githubusercontent.com/14320932/208720680-5d5ccee7-1972-4f5b-8024-3a69d50a571f.png)

Adds and takes into account the following permissions:
 - **READ_USER_PAT**;
 - **CREATE_USER_PAT**;
 - **DELETE_USER_PAT**;
 
 API only, will make some exploration on UI soon.

Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2023-01-02 10:49:57 +00:00
sjaanus
d5e47ac352
formatApiPath / formatAssetPath - Implement smart functionality to detect double subpath (#2777)
Today we have two functions that wrap our paths with the subpath. Since
all of our customers are hosted on a subpath, such as /eubb1001, we need
to account for this path when building API paths and asset paths.

These functions could be smarter, we could, for example detect if we
have already added the base path and ignore it if it already exists.

**This PR implements this and adds 2 capabilities:**

1. If there is list of paths that need to be joined and one is subset of
another, it is removed.
2. All duplicate paths in the list are removed
2023-01-02 12:06:33 +02:00
Tymoteusz Czech
340bcf1d1b
fix: add frontend eslint check (#2562)
Add eslint to CI pipeline
2023-01-02 10:46:32 +01:00
renovate[bot]
e9e6d610f4
chore(deps): update dependency vitest to v0.26.3 (#2788)
[![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.26.2` ->
`0.26.3`](https://renovatebot.com/diffs/npm/vitest/0.26.2/0.26.3) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.26.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.26.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.26.3/compatibility-slim/0.26.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.26.3/confidence-slim/0.26.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🚀 Features

- **mock**: Expose a `importOriginal` helper to the factory  -  by
[@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2551](https://togithub.com/vitest-dev/vitest/issues/2551)
[<samp>(853ee)</samp>](https://togithub.com/vitest-dev/vitest/commit/853eeddb)

#####    🐞 Bug Fixes

- Correctly automock nested interoped defaults  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2559](https://togithub.com/vitest-dev/vitest/issues/2559)
[<samp>(a431d)</samp>](https://togithub.com/vitest-dev/vitest/commit/a431df80)
- Start tracking module resolution as soon as possible for easier
tracking  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va)
in
[https://github.com/vitest-dev/vitest/issues/2560](https://togithub.com/vitest-dev/vitest/issues/2560)
[<samp>(9f41e)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f41edda)
- Don't hang when mocking module with circular dependency  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2572](https://togithub.com/vitest-dev/vitest/issues/2572)
[<samp>(c479d)</samp>](https://togithub.com/vitest-dev/vitest/commit/c479d9c0)
- Show list of tests when typechecking  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2585](https://togithub.com/vitest-dev/vitest/issues/2585)
[<samp>(32a57)</samp>](https://togithub.com/vitest-dev/vitest/commit/32a577b1)
- **api**: Make api parse error stacks and return sourcePos in
onTaskUpdate  -  by
[@&#8203;adrienbaron](https://togithub.com/adrienbaron) in
[https://github.com/vitest-dev/vitest/issues/2563](https://togithub.com/vitest-dev/vitest/issues/2563)
[<samp>(ef77d)</samp>](https://togithub.com/vitest-dev/vitest/commit/ef77dccf)
- **coverage**: Env-replacer to remove query params from sourcemaps
filenames  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio)
in
[https://github.com/vitest-dev/vitest/issues/2584](https://togithub.com/vitest-dev/vitest/issues/2584)
[<samp>(dba13)</samp>](https://togithub.com/vitest-dev/vitest/commit/dba13374)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.2...v0.26.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-01 19:36:10 +00:00
renovate[bot]
4317b2ed60
chore(deps): update dependency @types/react-table to v7.7.14 (#2786)
[![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/react-table](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-table)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`7.7.13` ->
`7.7.14`](https://renovatebot.com/diffs/npm/@types%2freact-table/7.7.13/7.7.14)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact-table/7.7.14/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact-table/7.7.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact-table/7.7.14/compatibility-slim/7.7.13)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact-table/7.7.14/confidence-slim/7.7.13)](https://docs.renovatebot.com/merge-confidence/)
|

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 05:10:56 +00:00
renovate[bot]
53d5d2928f
chore(deps): update dependency @types/jest to v29.2.5 (#2785)
[![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.4` ->
`29.2.5`](https://renovatebot.com/diffs/npm/@types%2fjest/29.2.4/29.2.5)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.5/compatibility-slim/29.2.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.5/confidence-slim/29.2.4)](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:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 02:43:09 +00:00
renovate[bot]
4643f88511
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.19.5 (#2779)
[![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.19.4` ->
`4.19.5`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.19.4/4.19.5)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.5/compatibility-slim/4.19.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.5/confidence-slim/4.19.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.5:
https://raw.githack.com/uiwjs/react-codemirror/1222b42/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.4...v4.19.5

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

- 🌍 website: fix themes all error.
[`3023dcd`](https://togithub.com/uiwjs/react-codemirror/commit/3023dcd)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix(core): don't set editor content if value is undefined
[#&#8203;441](https://togithub.com/uiwjs/react-codemirror/issues/441)
([#&#8203;442](https://togithub.com/uiwjs/react-codemirror/issues/442))
[`0551523`](https://togithub.com/uiwjs/react-codemirror/commit/0551523)
[@&#8203;mrdrogdrog](https://togithub.com/mrdrogdrog)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-30 08:31:45 +00:00
renovate[bot]
2a18dba936
chore(deps): update dependency @uiw/react-codemirror to v4.19.5 (#2780)
[![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.19.4` ->
`4.19.5`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.19.4/4.19.5)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.5/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.5/compatibility-slim/4.19.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.5/confidence-slim/4.19.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.5:
https://raw.githack.com/uiwjs/react-codemirror/1222b42/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.4...v4.19.5

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

- 🌍 website: fix themes all error.
[`3023dcd`](https://togithub.com/uiwjs/react-codemirror/commit/3023dcd)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix(core): don't set editor content if value is undefined
[#&#8203;441](https://togithub.com/uiwjs/react-codemirror/issues/441)
([#&#8203;442](https://togithub.com/uiwjs/react-codemirror/issues/442))
[`0551523`](https://togithub.com/uiwjs/react-codemirror/commit/0551523)
[@&#8203;mrdrogdrog](https://togithub.com/mrdrogdrog)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-30 05:44:45 +00:00
renovate[bot]
b3e7ec822a
chore(deps): update dependency vite-tsconfig-paths to v4 (#2774)
[![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-tsconfig-paths](https://togithub.com/aleclarson/vite-tsconfig-paths)
| [`3.6.0` ->
`4.0.3`](https://renovatebot.com/diffs/npm/vite-tsconfig-paths/3.6.0/4.0.3)
|
[![age](https://badges.renovateapi.com/packages/npm/vite-tsconfig-paths/4.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite-tsconfig-paths/4.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite-tsconfig-paths/4.0.3/compatibility-slim/3.6.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite-tsconfig-paths/4.0.3/confidence-slim/3.6.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>aleclarson/vite-tsconfig-paths</summary>

###
[`v4.0.3`](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.2...v4.0.3)

[Compare
Source](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.2...v4.0.3)

###
[`v4.0.2`](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.1...v4.0.2)

[Compare
Source](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.1...v4.0.2)

###
[`v4.0.1`](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.0...v4.0.1)

[Compare
Source](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v4.0.0...v4.0.1)

###
[`v4.0.0`](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v3.6.0...v4.0.0)

[Compare
Source](https://togithub.com/aleclarson/vite-tsconfig-paths/compare/v3.6.0...v4.0.0)

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-29 12:11:08 +01:00
renovate[bot]
e1be9b0f12
chore(deps): update dependency vite to v4 (#2773)
[![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.5` ->
`4.0.3`](https://renovatebot.com/diffs/npm/vite/3.2.5/4.0.3) |
[![age](https://badges.renovateapi.com/packages/npm/vite/4.0.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/4.0.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/4.0.3/compatibility-slim/3.2.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/4.0.3/confidence-slim/3.2.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v4.0.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small403-2022-12-21-small)

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

- chore(deps): update dependency
[@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs)
to v24 ([#&#8203;11420](https://togithub.com/vitejs/vite/issues/11420))
([241db16](https://togithub.com/vitejs/vite/commit/241db16)), closes
[#&#8203;11420](https://togithub.com/vitejs/vite/issues/11420)
- chore(typo): fix typo
([#&#8203;11445](https://togithub.com/vitejs/vite/issues/11445))
([ed80ea5](https://togithub.com/vitejs/vite/commit/ed80ea5)), closes
[#&#8203;11445](https://togithub.com/vitejs/vite/issues/11445)
- fix(ssr): ignore module exports condition
([#&#8203;11409](https://togithub.com/vitejs/vite/issues/11409))
([d3c9c0b](https://togithub.com/vitejs/vite/commit/d3c9c0b)), closes
[#&#8203;11409](https://togithub.com/vitejs/vite/issues/11409)
- feat: allow import.meta.hot define override
([#&#8203;8944](https://togithub.com/vitejs/vite/issues/8944))
([857d578](https://togithub.com/vitejs/vite/commit/857d578)), closes
[#&#8203;8944](https://togithub.com/vitejs/vite/issues/8944)

###
[`v4.0.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small402-2022-12-18-small)

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

- fix: fix the error message in the `toOutputFilePathWithoutRuntime`
function
([#&#8203;11367](https://togithub.com/vitejs/vite/issues/11367))
([8820f75](https://togithub.com/vitejs/vite/commit/8820f75)), closes
[#&#8203;11367](https://togithub.com/vitejs/vite/issues/11367)
- fix: make `vite optimize` prebundle for dev
([#&#8203;11387](https://togithub.com/vitejs/vite/issues/11387))
([b4ced0f](https://togithub.com/vitejs/vite/commit/b4ced0f)), closes
[#&#8203;11387](https://togithub.com/vitejs/vite/issues/11387)
- fix: revert
[#&#8203;11290](https://togithub.com/vitejs/vite/issues/11290)
([#&#8203;11412](https://togithub.com/vitejs/vite/issues/11412))
([6587d2f](https://togithub.com/vitejs/vite/commit/6587d2f)), closes
[#&#8203;11290](https://togithub.com/vitejs/vite/issues/11290)
[#&#8203;11412](https://togithub.com/vitejs/vite/issues/11412)
- fix: server and preview open fails to add slash before relative path
([#&#8203;11394](https://togithub.com/vitejs/vite/issues/11394))
([57276b7](https://togithub.com/vitejs/vite/commit/57276b7)), closes
[#&#8203;11394](https://togithub.com/vitejs/vite/issues/11394)
- fix: skip applescript when no Chromium browser found (fixes
[#&#8203;11205](https://togithub.com/vitejs/vite/issues/11205))
([#&#8203;11406](https://togithub.com/vitejs/vite/issues/11406))
([274d1f3](https://togithub.com/vitejs/vite/commit/274d1f3)), closes
[#&#8203;11205](https://togithub.com/vitejs/vite/issues/11205)
[#&#8203;11406](https://togithub.com/vitejs/vite/issues/11406)
- fix(deps): update dependency ufo to v1
([#&#8203;11372](https://togithub.com/vitejs/vite/issues/11372))
([4288300](https://togithub.com/vitejs/vite/commit/4288300)), closes
[#&#8203;11372](https://togithub.com/vitejs/vite/issues/11372)
- chore: typecheck create-vite
([#&#8203;11295](https://togithub.com/vitejs/vite/issues/11295))
([af86e5b](https://togithub.com/vitejs/vite/commit/af86e5b)), closes
[#&#8203;11295](https://togithub.com/vitejs/vite/issues/11295)
- chore(deps): update dependency convert-source-map to v2
([#&#8203;10548](https://togithub.com/vitejs/vite/issues/10548))
([8dc6528](https://togithub.com/vitejs/vite/commit/8dc6528)), closes
[#&#8203;10548](https://togithub.com/vitejs/vite/issues/10548)
- chore(deps): update dependency mlly to v1
([#&#8203;11370](https://togithub.com/vitejs/vite/issues/11370))
([9662d4d](https://togithub.com/vitejs/vite/commit/9662d4d)), closes
[#&#8203;11370](https://togithub.com/vitejs/vite/issues/11370)

###
[`v4.0.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small401-2022-12-12-small)

[Compare
Source](566d4c7bb5...v4.0.1)

- feat: show server url by pressing `u`
([#&#8203;11319](https://togithub.com/vitejs/vite/issues/11319))
([8c0bb7b](https://togithub.com/vitejs/vite/commit/8c0bb7b)), closes
[#&#8203;11319](https://togithub.com/vitejs/vite/issues/11319)
- feat(html): clickable error position for html parse error
([#&#8203;11334](https://togithub.com/vitejs/vite/issues/11334))
([2e15f3d](https://togithub.com/vitejs/vite/commit/2e15f3d)), closes
[#&#8203;11334](https://togithub.com/vitejs/vite/issues/11334)
- fix: ?inline warning for .css.js file
([#&#8203;11347](https://togithub.com/vitejs/vite/issues/11347))
([729fb1a](https://togithub.com/vitejs/vite/commit/729fb1a)), closes
[#&#8203;11347](https://togithub.com/vitejs/vite/issues/11347)
- fix: check if build exists so preview doesn't show 404s due to
nonexistent build
([#&#8203;10564](https://togithub.com/vitejs/vite/issues/10564))
([0a1db8c](https://togithub.com/vitejs/vite/commit/0a1db8c)), closes
[#&#8203;10564](https://togithub.com/vitejs/vite/issues/10564)
- fix: derive `useDefineForClassFields` value from
`tsconfig.compilerOptions.target` (fixes
[#&#8203;10296](https://togithub.com/vitejs/vite/issues/10296)) (#
([42976d8](https://togithub.com/vitejs/vite/commit/42976d8)), closes
[#&#8203;10296](https://togithub.com/vitejs/vite/issues/10296)
[#&#8203;11301](https://togithub.com/vitejs/vite/issues/11301)
- fix: preview fallback
([#&#8203;11312](https://togithub.com/vitejs/vite/issues/11312))
([cfedf9c](https://togithub.com/vitejs/vite/commit/cfedf9c)), closes
[#&#8203;11312](https://togithub.com/vitejs/vite/issues/11312)
- fix: respect base when using `/__open-in-editor`
([#&#8203;11337](https://togithub.com/vitejs/vite/issues/11337))
([8856c2e](https://togithub.com/vitejs/vite/commit/8856c2e)), closes
[#&#8203;11337](https://togithub.com/vitejs/vite/issues/11337)
- fix: wrongly resolve to optimized doppelganger
([#&#8203;11290](https://togithub.com/vitejs/vite/issues/11290))
([34fec41](https://togithub.com/vitejs/vite/commit/34fec41)), closes
[#&#8203;11290](https://togithub.com/vitejs/vite/issues/11290)
- fix(env): test NODE_ENV override before expand
([#&#8203;11309](https://togithub.com/vitejs/vite/issues/11309))
([d0a9281](https://togithub.com/vitejs/vite/commit/d0a9281)), closes
[#&#8203;11309](https://togithub.com/vitejs/vite/issues/11309)
- fix(preview): Revert
[#&#8203;10564](https://togithub.com/vitejs/vite/issues/10564) - throw
Error on missing outDir
([#&#8203;11335](https://togithub.com/vitejs/vite/issues/11335))
([3aaa0ea](https://togithub.com/vitejs/vite/commit/3aaa0ea)), closes
[#&#8203;10564](https://togithub.com/vitejs/vite/issues/10564)
[#&#8203;11335](https://togithub.com/vitejs/vite/issues/11335)
[#&#8203;10564](https://togithub.com/vitejs/vite/issues/10564)
- docs: fix banner image in CHANGELOG.md
([#&#8203;11336](https://togithub.com/vitejs/vite/issues/11336))
([45b66f4](https://togithub.com/vitejs/vite/commit/45b66f4)), closes
[#&#8203;11336](https://togithub.com/vitejs/vite/issues/11336)
- chore: enable `@typescript-eslint/ban-ts-comment`
([#&#8203;11326](https://togithub.com/vitejs/vite/issues/11326))
([e58a4f0](https://togithub.com/vitejs/vite/commit/e58a4f0)), closes
[#&#8203;11326](https://togithub.com/vitejs/vite/issues/11326)
- chore: fix format
([#&#8203;11311](https://togithub.com/vitejs/vite/issues/11311))
([9c2b1c0](https://togithub.com/vitejs/vite/commit/9c2b1c0)), closes
[#&#8203;11311](https://togithub.com/vitejs/vite/issues/11311)
- chore: update changelog release notes for 4.0
([#&#8203;11285](https://togithub.com/vitejs/vite/issues/11285))
([83abd37](https://togithub.com/vitejs/vite/commit/83abd37)), closes
[#&#8203;11285](https://togithub.com/vitejs/vite/issues/11285)
- chore(deps): update all non-major dependencies
([#&#8203;11321](https://togithub.com/vitejs/vite/issues/11321))
([dcc0004](https://togithub.com/vitejs/vite/commit/dcc0004)), closes
[#&#8203;11321](https://togithub.com/vitejs/vite/issues/11321)
- chore(esbuild): add test for configuration overrides
([#&#8203;11267](https://togithub.com/vitejs/vite/issues/11267))
([f897b64](https://togithub.com/vitejs/vite/commit/f897b64)), closes
[#&#8203;11267](https://togithub.com/vitejs/vite/issues/11267)

###
[`v4.0.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#&#8203;400-2022-12-09)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v3.2.5...566d4c7bb51cf56550a5374ee46e1e1cbea1cf1f)

![Vite 4 Announcement Cover
Image](https://vitejs.dev/og-image-announcing-vite4.png)

Read the announcement blog post: [Announcing Vite
4](https://vitejs.dev/blog/announcing-vite4)

Quick links:

-   [Docs](https://vitejs.dev)
-   [Migration Guide](https://vitejs.dev/guide/migration)

Docs in other languages:

-   [简体中文](https://cn.vitejs.dev/)
-   [日本語](https://ja.vitejs.dev/)
-   [Español](https://es.vitejs.dev/)

##### Main Changes

This major is smaller in scope compared to Vite 3, with the main
objective of upgrading to Rollup 3. We've worked with the ecosystem to
ensure a smooth upgrade path for this new major.

##### Rollup 3

Vite is now using [Rollup
3](https://togithub.com/vitejs/vite/issues/9870), which allowed us to
simplify Vite's internal asset handling and has many improvements. See
the [Rollup 3 release notes
here](https://togithub.com/rollup/rollup/releases).

##### Framework Plugins out of the Vite core monorepo

[`@vitejs/plugin-vue`](https://togithub.com/vitejs/vite-plugin-vue) and
[`@vitejs/plugin-react`](https://togithub.com/vitejs/vite-plugin-react)
have been part of Vite core monorepo since the first versions of Vite.
This helped us to get a close feedback loop when making changes as we
were getting both Core and the plugins tested and released together.
With [vite-ecosystem-ci](https://togithub.com/vitejs/vite-ecosystem-ci)
we can get this feedback with these plugins developed on independent
repositories, so from Vite 4, [they have been moved out of the Vite core
monorepo](https://togithub.com/vitejs/vite/pull/11158). This is
meaningful for Vite's framework-agnostic story, and will allow us to
build independent teams to maintain each of the plugins. If you have
bugs to report or features to request, please create issues on the new
repositories moving forward:
[`vitejs/vite-plugin-vue`](https://togithub.com/vitejs/vite-plugin-vue)
and
[`vitejs/vite-plugin-react`](https://togithub.com/vitejs/vite-plugin-react).

##### New React plugin using SWC during development

[SWC](https://swc.rs/) is now a mature replacement for
[Babel](https://babeljs.io/), especially in the context of React
projects. SWC's React Fast Refresh implementation is a lot faster than
Babel, and for some projects, it is now a better alternative. From Vite
4, two plugins are available for React projects with different
tradeoffs. We believe that both approaches are worth supporting at this
point, and we'll continue to explore improvements to both plugins in the
future.

#####
[@&#8203;vitejs/plugin-react](https://togithub.com/vitejs/plugin-react)


[@&#8203;vitejs/plugin-react](https://togithub.com/vitejs/vite-plugin-react)
is a plugin that uses esbuild and Babel, achieving fast HMR with a small
package footprint and the flexibility of being able to use the babel
transform pipeline.

#####
[@&#8203;vitejs/plugin-react-swc](https://togithub.com/vitejs/plugin-react-swc)
(new)


[@&#8203;vitejs/plugin-react-swc](https://togithub.com/vitejs/vite-plugin-react-swc)
is a new plugin that uses esbuild during build, but replaces Babel with
SWC during development. For big projects that don't require non-standard
React extensions, cold start and Hot Module Replacement (HMR) can be
significantly faster.

##### Compatibility

The modern browser build now targets `safari14` by default for wider
ES2020 compatibility
([https://github.com/vitejs/vite/issues/9063](https://togithub.com/vitejs/vite/issues/9063)).
This means that modern builds can now use
[`BigInt`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt)
and that the [nullish coallessing
operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing)
isn't transpiled anymore. If you need to support older browsers, you can
add
[`@vitejs/plugin-legacy`](https://togithub.com/vitejs/vite/tree/main/packages/plugin-legacy)
as usual.

##### Importing CSS as a string

In Vite 3, importing the default export of a `.css` file could introduce
a double loading of CSS.

```ts
import cssString from './global.css';
```

This double loading could occur since a `.css` file will be emitted and
it's likely that the CSS string will also be used by the application
code — for example, injected by the framework runtime. From Vite 4, the
`.css` default export [has been
deprecated](https://togithub.com/vitejs/vite/issues/11094). The
`?inline` query suffix modifier needs to be used in this case, as that
doesn't emit the imported `.css` styles.

```ts
import stuff from './global.css?inline'
```

##### Other features

- Support for patch-package when pre bundling dependencies
([#&#8203;10286](https://togithub.com/vitejs/vite/issues/10286))
- Cleaner build logs output
([#&#8203;10895](https://togithub.com/vitejs/vite/issues/10895)) and
switch to `kB` to align with browser dev tools
([#&#8203;10982](https://togithub.com/vitejs/vite/issues/10982))
- Improved error messages during SSR
([#&#8203;11156](https://togithub.com/vitejs/vite/issues/11156))

##### Features

- feat: add CLI keyboard shortcuts
([#&#8203;11228](https://togithub.com/vitejs/vite/issues/11228))
([87973f1](https://togithub.com/vitejs/vite/commit/87973f1)), closes
[#&#8203;11228](https://togithub.com/vitejs/vite/issues/11228)
- feat: export error message generator
([#&#8203;11155](https://togithub.com/vitejs/vite/issues/11155))
([493ba1e](https://togithub.com/vitejs/vite/commit/493ba1e)), closes
[#&#8203;11155](https://togithub.com/vitejs/vite/issues/11155)
- feat(node/plugins): esbuild options
([#&#8203;11049](https://togithub.com/vitejs/vite/issues/11049))
([735b98b](https://togithub.com/vitejs/vite/commit/735b98b)), closes
[#&#8203;11049](https://togithub.com/vitejs/vite/issues/11049)
- feat: improve the error message of `expand`
([#&#8203;11141](https://togithub.com/vitejs/vite/issues/11141))
([825c793](https://togithub.com/vitejs/vite/commit/825c793)), closes
[#&#8203;11141](https://togithub.com/vitejs/vite/issues/11141)
- feat: update [@&#8203;types/node](https://togithub.com/types/node) to
v18 ([#&#8203;11195](https://togithub.com/vitejs/vite/issues/11195))
([4ec9f53](https://togithub.com/vitejs/vite/commit/4ec9f53)), closes
[#&#8203;11195](https://togithub.com/vitejs/vite/issues/11195)
- feat(client)!: remove never implemented hot.decline
([#&#8203;11036](https://togithub.com/vitejs/vite/issues/11036))
([e257e3b](https://togithub.com/vitejs/vite/commit/e257e3b)), closes
[#&#8203;11036](https://togithub.com/vitejs/vite/issues/11036)
- feat!: support `safari14` by default for wider ES2020 compatibility
([#&#8203;9063](https://togithub.com/vitejs/vite/issues/9063))
([3cc65d7](https://togithub.com/vitejs/vite/commit/3cc65d7)), closes
[#&#8203;9063](https://togithub.com/vitejs/vite/issues/9063)
- feat!: support multiline values in env files
([#&#8203;10826](https://togithub.com/vitejs/vite/issues/10826))
([606e60d](https://togithub.com/vitejs/vite/commit/606e60d)), closes
[#&#8203;10826](https://togithub.com/vitejs/vite/issues/10826)
- feat(ssr)!: remove dedupe and mode support for CJS
([#&#8203;11101](https://togithub.com/vitejs/vite/issues/11101))
([3090564](https://togithub.com/vitejs/vite/commit/3090564)), closes
[#&#8203;11101](https://togithub.com/vitejs/vite/issues/11101)
- feat: align object interface for `transformIndexHtml` hook
([#&#8203;9669](https://togithub.com/vitejs/vite/issues/9669))
([1db52bf](https://togithub.com/vitejs/vite/commit/1db52bf)), closes
[#&#8203;9669](https://togithub.com/vitejs/vite/issues/9669)
- feat(build): cleaner logs output
([#&#8203;10895](https://togithub.com/vitejs/vite/issues/10895))
([7d24b5f](https://togithub.com/vitejs/vite/commit/7d24b5f)), closes
[#&#8203;10895](https://togithub.com/vitejs/vite/issues/10895)
- feat(css): deprecate css default export
([#&#8203;11094](https://togithub.com/vitejs/vite/issues/11094))
([01dee1b](https://togithub.com/vitejs/vite/commit/01dee1b)), closes
[#&#8203;11094](https://togithub.com/vitejs/vite/issues/11094)
- feat(optimizer): support patch-package
([#&#8203;10286](https://togithub.com/vitejs/vite/issues/10286))
([4fb7ad0](https://togithub.com/vitejs/vite/commit/4fb7ad0)), closes
[#&#8203;10286](https://togithub.com/vitejs/vite/issues/10286)
- feat(build): Use kB in build reporter
([#&#8203;10982](https://togithub.com/vitejs/vite/issues/10982))
([b57acfa](https://togithub.com/vitejs/vite/commit/b57acfa)), closes
[#&#8203;10982](https://togithub.com/vitejs/vite/issues/10982)
- feat(css): upgrade postcss-modules
([#&#8203;10987](https://togithub.com/vitejs/vite/issues/10987))
([892916d](https://togithub.com/vitejs/vite/commit/892916d)), closes
[#&#8203;10987](https://togithub.com/vitejs/vite/issues/10987)
- feat(hmr): invalidate message
([#&#8203;10946](https://togithub.com/vitejs/vite/issues/10946))
([0d73473](https://togithub.com/vitejs/vite/commit/0d73473)), closes
[#&#8203;10946](https://togithub.com/vitejs/vite/issues/10946)
- feat(client): expose hot.prune API
([#&#8203;11016](https://togithub.com/vitejs/vite/issues/11016))
([f40c18d](https://togithub.com/vitejs/vite/commit/f40c18d)), closes
[#&#8203;11016](https://togithub.com/vitejs/vite/issues/11016)
- feat(hmr): deduplicate paths and join them with commas
([#&#8203;10891](https://togithub.com/vitejs/vite/issues/10891))
([967299a](https://togithub.com/vitejs/vite/commit/967299a)), closes
[#&#8203;10891](https://togithub.com/vitejs/vite/issues/10891)
- feat: base without trailing slash
([#&#8203;10723](https://togithub.com/vitejs/vite/issues/10723))
([8f87282](https://togithub.com/vitejs/vite/commit/8f87282)), closes
[#&#8203;10723](https://togithub.com/vitejs/vite/issues/10723)
- feat: handle static assets in case-sensitive manner
([#&#8203;10475](https://togithub.com/vitejs/vite/issues/10475))
([c1368c3](https://togithub.com/vitejs/vite/commit/c1368c3)), closes
[#&#8203;10475](https://togithub.com/vitejs/vite/issues/10475)
- feat(cli): build --profile
([#&#8203;10719](https://togithub.com/vitejs/vite/issues/10719))
([9c808cd](https://togithub.com/vitejs/vite/commit/9c808cd)), closes
[#&#8203;10719](https://togithub.com/vitejs/vite/issues/10719)
- feat(env): support dotenv-expand to contains process env
([#&#8203;10370](https://togithub.com/vitejs/vite/issues/10370))
([d5fe92c](https://togithub.com/vitejs/vite/commit/d5fe92c)), closes
[#&#8203;10370](https://togithub.com/vitejs/vite/issues/10370)
- feat!: set esbuild default charset to utf8
([#&#8203;10753](https://togithub.com/vitejs/vite/issues/10753))
([4caf4b6](https://togithub.com/vitejs/vite/commit/4caf4b6)), closes
[#&#8203;10753](https://togithub.com/vitejs/vite/issues/10753)
- feat: rollup 3
([#&#8203;9870](https://togithub.com/vitejs/vite/issues/9870))
([beb7166](https://togithub.com/vitejs/vite/commit/beb7166)), closes
[#&#8203;9870](https://togithub.com/vitejs/vite/issues/9870)

##### Bug Fixes

- fix: add `\0` to virtual files id
([#&#8203;11261](https://togithub.com/vitejs/vite/issues/11261))
([02cdfa9](https://togithub.com/vitejs/vite/commit/02cdfa9)), closes
[#&#8203;11261](https://togithub.com/vitejs/vite/issues/11261)
- fix: skip shortcuts on non-tty stdin
([#&#8203;11263](https://togithub.com/vitejs/vite/issues/11263))
([9602686](https://togithub.com/vitejs/vite/commit/9602686)), closes
[#&#8203;11263](https://togithub.com/vitejs/vite/issues/11263)
- fix(ssr): skip rewriting stack trace if it's already rewritten (fixes
[#&#8203;11037](https://togithub.com/vitejs/vite/issues/11037))
([#&#8203;11070](https://togithub.com/vitejs/vite/issues/11070))
([feb8ce0](https://togithub.com/vitejs/vite/commit/feb8ce0)), closes
[#&#8203;11037](https://togithub.com/vitejs/vite/issues/11037)
[#&#8203;11070](https://togithub.com/vitejs/vite/issues/11070)
- refactor(optimizer): await depsOptimizer.scanProcessing
([#&#8203;11251](https://togithub.com/vitejs/vite/issues/11251))
([fa64c8e](https://togithub.com/vitejs/vite/commit/fa64c8e)), closes
[#&#8203;11251](https://togithub.com/vitejs/vite/issues/11251)
- fix: improve CLI shortcuts help display
([#&#8203;11247](https://togithub.com/vitejs/vite/issues/11247))
([bb235b2](https://togithub.com/vitejs/vite/commit/bb235b2)), closes
[#&#8203;11247](https://togithub.com/vitejs/vite/issues/11247)
- fix: less promises for scanning and await with allSettled
([#&#8203;11245](https://togithub.com/vitejs/vite/issues/11245))
([45b170e](https://togithub.com/vitejs/vite/commit/45b170e)), closes
[#&#8203;11245](https://togithub.com/vitejs/vite/issues/11245)
- fix(optimizer): escape entrypoints when running scanner
([#&#8203;11250](https://togithub.com/vitejs/vite/issues/11250))
([b61894e](https://togithub.com/vitejs/vite/commit/b61894e)), closes
[#&#8203;11250](https://togithub.com/vitejs/vite/issues/11250)
- fix: await scanner
([#&#8203;11242](https://togithub.com/vitejs/vite/issues/11242))
([52a6732](https://togithub.com/vitejs/vite/commit/52a6732)), closes
[#&#8203;11242](https://togithub.com/vitejs/vite/issues/11242)
- fix(css): fix css lang regex
([#&#8203;11237](https://togithub.com/vitejs/vite/issues/11237))
([a55d0b3](https://togithub.com/vitejs/vite/commit/a55d0b3)), closes
[#&#8203;11237](https://togithub.com/vitejs/vite/issues/11237)
- fix: don't print urls on restart with default port
([#&#8203;11230](https://togithub.com/vitejs/vite/issues/11230))
([5aaecb6](https://togithub.com/vitejs/vite/commit/5aaecb6)), closes
[#&#8203;11230](https://togithub.com/vitejs/vite/issues/11230)
- fix: serialize bundleWorkerEntry
([#&#8203;11218](https://togithub.com/vitejs/vite/issues/11218))
([306bed0](https://togithub.com/vitejs/vite/commit/306bed0)), closes
[#&#8203;11218](https://togithub.com/vitejs/vite/issues/11218)
- fix(config): resolve dynamic import as esm
([#&#8203;11220](https://togithub.com/vitejs/vite/issues/11220))
([f8c1ed0](https://togithub.com/vitejs/vite/commit/f8c1ed0)), closes
[#&#8203;11220](https://togithub.com/vitejs/vite/issues/11220)
- fix(env): prevent env expand on process.env
([#&#8203;11213](https://togithub.com/vitejs/vite/issues/11213))
([d4a1e2b](https://togithub.com/vitejs/vite/commit/d4a1e2b)), closes
[#&#8203;11213](https://togithub.com/vitejs/vite/issues/11213)
- fix: add type for function localsConvention value
([#&#8203;11152](https://togithub.com/vitejs/vite/issues/11152))
([c9274b4](https://togithub.com/vitejs/vite/commit/c9274b4)), closes
[#&#8203;11152](https://togithub.com/vitejs/vite/issues/11152)
- fix: cacheDir should be ignored from watch
([#&#8203;10242](https://togithub.com/vitejs/vite/issues/10242))
([75dbca2](https://togithub.com/vitejs/vite/commit/75dbca2)), closes
[#&#8203;10242](https://togithub.com/vitejs/vite/issues/10242)
- fix: don't check .yarn/patches for computing dependencies hash
([#&#8203;11168](https://togithub.com/vitejs/vite/issues/11168))
([65bcccf](https://togithub.com/vitejs/vite/commit/65bcccf)), closes
[#&#8203;11168](https://togithub.com/vitejs/vite/issues/11168)
- fix: formatError() outside rollup context
([#&#8203;11156](https://togithub.com/vitejs/vite/issues/11156))
([2aee2eb](https://togithub.com/vitejs/vite/commit/2aee2eb)), closes
[#&#8203;11156](https://togithub.com/vitejs/vite/issues/11156)
- fix: Revert "fix: missing js sourcemaps with rewritten imports broke
debugging ([#&#8203;7767](https://togithub.com/vitejs/vite/issues/7767))
([#&#8203;9476](https://togithub.com/vitejs/vite/issues/9476))"
([#&#8203;11](https://togithub.com/vitejs/vite/issues/11)
([fdc6f3a](https://togithub.com/vitejs/vite/commit/fdc6f3a)), closes
[#&#8203;7767](https://togithub.com/vitejs/vite/issues/7767)
[#&#8203;9476](https://togithub.com/vitejs/vite/issues/9476)
[#&#8203;11144](https://togithub.com/vitejs/vite/issues/11144)
- fix: Dev SSR dep optimization + respect optimizeDeps.include
([#&#8203;11123](https://togithub.com/vitejs/vite/issues/11123))
([515caa5](https://togithub.com/vitejs/vite/commit/515caa5)), closes
[#&#8203;11123](https://togithub.com/vitejs/vite/issues/11123)
- fix: export preprocessCSS in CJS
([#&#8203;11067](https://togithub.com/vitejs/vite/issues/11067))
([793255d](https://togithub.com/vitejs/vite/commit/793255d)), closes
[#&#8203;11067](https://togithub.com/vitejs/vite/issues/11067)
- fix: glob import parsing
([#&#8203;10949](https://togithub.com/vitejs/vite/issues/10949))
([#&#8203;11056](https://togithub.com/vitejs/vite/issues/11056))
([ac2cfd6](https://togithub.com/vitejs/vite/commit/ac2cfd6)), closes
[#&#8203;10949](https://togithub.com/vitejs/vite/issues/10949)
[#&#8203;11056](https://togithub.com/vitejs/vite/issues/11056)
- fix: import.meta.env and process.env undefined variable replacement
(fix [#&#8203;8663](https://togithub.com/vitejs/vite/issues/8663))
([#&#8203;10958](https://togithub.com/vitejs/vite/issues/10958))
([3e0cd3d](https://togithub.com/vitejs/vite/commit/3e0cd3d)), closes
[#&#8203;8663](https://togithub.com/vitejs/vite/issues/8663)
[#&#8203;10958](https://togithub.com/vitejs/vite/issues/10958)
- fix: missing js sourcemaps with rewritten imports broke debugging
([#&#8203;7767](https://togithub.com/vitejs/vite/issues/7767))
([#&#8203;9476](https://togithub.com/vitejs/vite/issues/9476))
([3fa96f6](https://togithub.com/vitejs/vite/commit/3fa96f6)), closes
[#&#8203;7767](https://togithub.com/vitejs/vite/issues/7767)
[#&#8203;9476](https://togithub.com/vitejs/vite/issues/9476)
- fix: preserve default export from externalized packages (fixes
[#&#8203;10258](https://togithub.com/vitejs/vite/issues/10258))
([#&#8203;10406](https://togithub.com/vitejs/vite/issues/10406))
([88b001b](https://togithub.com/vitejs/vite/commit/88b001b)), closes
[#&#8203;10258](https://togithub.com/vitejs/vite/issues/10258)
[#&#8203;10406](https://togithub.com/vitejs/vite/issues/10406)
- fix: reset global regex before match
([#&#8203;11132](https://togithub.com/vitejs/vite/issues/11132))
([db8df14](https://togithub.com/vitejs/vite/commit/db8df14)), closes
[#&#8203;11132](https://togithub.com/vitejs/vite/issues/11132)
- fix(css): handle environment with browser globals
([#&#8203;11079](https://togithub.com/vitejs/vite/issues/11079))
([e92d025](https://togithub.com/vitejs/vite/commit/e92d025)), closes
[#&#8203;11079](https://togithub.com/vitejs/vite/issues/11079)
- fix(deps): update all non-major dependencies
([#&#8203;11091](https://togithub.com/vitejs/vite/issues/11091))
([073a4bf](https://togithub.com/vitejs/vite/commit/073a4bf)), closes
[#&#8203;11091](https://togithub.com/vitejs/vite/issues/11091)
- fix(esbuild): handle inline sourcemap option
([#&#8203;11120](https://togithub.com/vitejs/vite/issues/11120))
([4c85c0a](https://togithub.com/vitejs/vite/commit/4c85c0a)), closes
[#&#8203;11120](https://togithub.com/vitejs/vite/issues/11120)
- fix(importGlob): don't warn when CSS default import is not used
([#&#8203;11121](https://togithub.com/vitejs/vite/issues/11121))
([97f8b4d](https://togithub.com/vitejs/vite/commit/97f8b4d)), closes
[#&#8203;11121](https://togithub.com/vitejs/vite/issues/11121)
- fix(importGlob): preserve line count for sourcemap
([#&#8203;11122](https://togithub.com/vitejs/vite/issues/11122))
([14980a1](https://togithub.com/vitejs/vite/commit/14980a1)), closes
[#&#8203;11122](https://togithub.com/vitejs/vite/issues/11122)
- fix(importGlob): warn on default import css
([#&#8203;11103](https://togithub.com/vitejs/vite/issues/11103))
([fc0d9e3](https://togithub.com/vitejs/vite/commit/fc0d9e3)), closes
[#&#8203;11103](https://togithub.com/vitejs/vite/issues/11103)
- fix(plugin-vue): support scss/sass/less... hmr on custom template
languages (fix
[#&#8203;10677](https://togithub.com/vitejs/vite/issues/10677))
([#&#8203;10844](https://togithub.com/vitejs/vite/issues/10844))
([d413848](https://togithub.com/vitejs/vite/commit/d413848)), closes
[#&#8203;10677](https://togithub.com/vitejs/vite/issues/10677)
[#&#8203;10844](https://togithub.com/vitejs/vite/issues/10844)
- fix(ssr): preserve require for external node
([#&#8203;11057](https://togithub.com/vitejs/vite/issues/11057))
([1ec0176](https://togithub.com/vitejs/vite/commit/1ec0176)), closes
[#&#8203;11057](https://togithub.com/vitejs/vite/issues/11057)
- fix(worker): disable build reporter plugin when bundling worker
([#&#8203;11058](https://togithub.com/vitejs/vite/issues/11058))
([7b72069](https://togithub.com/vitejs/vite/commit/7b72069)), closes
[#&#8203;11058](https://togithub.com/vitejs/vite/issues/11058)
- fix!: make `NODE_ENV` more predictable
([#&#8203;10996](https://togithub.com/vitejs/vite/issues/10996))
([8148af7](https://togithub.com/vitejs/vite/commit/8148af7)), closes
[#&#8203;10996](https://togithub.com/vitejs/vite/issues/10996)
- fix(config)!: support development build
([#&#8203;11045](https://togithub.com/vitejs/vite/issues/11045))
([8b3d656](https://togithub.com/vitejs/vite/commit/8b3d656)), closes
[#&#8203;11045](https://togithub.com/vitejs/vite/issues/11045)
- refactor: use function to eval worker and glob options
([#&#8203;10999](https://togithub.com/vitejs/vite/issues/10999))
([f4c1264](https://togithub.com/vitejs/vite/commit/f4c1264)), closes
[#&#8203;10999](https://togithub.com/vitejs/vite/issues/10999)
- refactor(client): simplify fetchUpdate code
([#&#8203;11004](https://togithub.com/vitejs/vite/issues/11004))
([f777b55](https://togithub.com/vitejs/vite/commit/f777b55)), closes
[#&#8203;11004](https://togithub.com/vitejs/vite/issues/11004)
- fix(html): transform relative path with long base in /index.html
([#&#8203;10990](https://togithub.com/vitejs/vite/issues/10990))
([752740c](https://togithub.com/vitejs/vite/commit/752740c)), closes
[#&#8203;10990](https://togithub.com/vitejs/vite/issues/10990)
- fix(mpa): support mpa fallback
([#&#8203;10985](https://togithub.com/vitejs/vite/issues/10985))
([61165f0](https://togithub.com/vitejs/vite/commit/61165f0)), closes
[#&#8203;10985](https://togithub.com/vitejs/vite/issues/10985)
- feat: align default chunk and asset file names with rollup
([#&#8203;10927](https://togithub.com/vitejs/vite/issues/10927))
([cc2adb3](https://togithub.com/vitejs/vite/commit/cc2adb3)), closes
[#&#8203;10927](https://togithub.com/vitejs/vite/issues/10927)
- fix: make `addWatchFile()` work (fix
[#&#8203;7024](https://togithub.com/vitejs/vite/issues/7024))
([#&#8203;9723](https://togithub.com/vitejs/vite/issues/9723))
([34db08b](https://togithub.com/vitejs/vite/commit/34db08b)), closes
[#&#8203;7024](https://togithub.com/vitejs/vite/issues/7024)
[#&#8203;9723](https://togithub.com/vitejs/vite/issues/9723)
- fix(config): exclude config.assetsInclude empty array
([#&#8203;10941](https://togithub.com/vitejs/vite/issues/10941))
([18c71dc](https://togithub.com/vitejs/vite/commit/18c71dc)), closes
[#&#8203;10941](https://togithub.com/vitejs/vite/issues/10941)
- fix(ssr): skip optional peer dep resolve
([#&#8203;10593](https://togithub.com/vitejs/vite/issues/10593))
([0a69985](https://togithub.com/vitejs/vite/commit/0a69985)), closes
[#&#8203;10593](https://togithub.com/vitejs/vite/issues/10593)
- perf: regexp perf issues, refactor regexp stylistic issues
([#&#8203;10905](https://togithub.com/vitejs/vite/issues/10905))
([fc007df](https://togithub.com/vitejs/vite/commit/fc007df)), closes
[#&#8203;10905](https://togithub.com/vitejs/vite/issues/10905)
- refactor: move CSS emitFile logic closer to rollup
([#&#8203;10909](https://togithub.com/vitejs/vite/issues/10909))
([92a206b](https://togithub.com/vitejs/vite/commit/92a206b)), closes
[#&#8203;10909](https://togithub.com/vitejs/vite/issues/10909)
- refactor: use rollup hashing when emitting assets
([#&#8203;10878](https://togithub.com/vitejs/vite/issues/10878))
([78c77be](https://togithub.com/vitejs/vite/commit/78c77be)), closes
[#&#8203;10878](https://togithub.com/vitejs/vite/issues/10878)
- fix: don't throw on malformed URLs
([#&#8203;10901](https://togithub.com/vitejs/vite/issues/10901))
([feb9b10](https://togithub.com/vitejs/vite/commit/feb9b10)), closes
[#&#8203;10901](https://togithub.com/vitejs/vite/issues/10901)
- fix: gracefully handle forbidden filesystem access
([#&#8203;10793](https://togithub.com/vitejs/vite/issues/10793))
([92637a2](https://togithub.com/vitejs/vite/commit/92637a2)), closes
[#&#8203;10793](https://togithub.com/vitejs/vite/issues/10793)
- fix(types): remove `null` from `CSSModulesOptions.localsConvention`
([#&#8203;10904](https://togithub.com/vitejs/vite/issues/10904))
([a9978dd](https://togithub.com/vitejs/vite/commit/a9978dd)), closes
[#&#8203;10904](https://togithub.com/vitejs/vite/issues/10904)
- refactor(types)!: remove facade type files
([#&#8203;10903](https://togithub.com/vitejs/vite/issues/10903))
([a309058](https://togithub.com/vitejs/vite/commit/a309058)), closes
[#&#8203;10903](https://togithub.com/vitejs/vite/issues/10903)
- fix: inconsistent handling of non-ASCII `base` in `resolveConfig` and
dev server
([#&#8203;10247](https://togithub.com/vitejs/vite/issues/10247))
([16e4123](https://togithub.com/vitejs/vite/commit/16e4123)), closes
[#&#8203;10247](https://togithub.com/vitejs/vite/issues/10247)
- fix: prevent cache on optional package resolve
([#&#8203;10812](https://togithub.com/vitejs/vite/issues/10812))
([c599a2e](https://togithub.com/vitejs/vite/commit/c599a2e)), closes
[#&#8203;10812](https://togithub.com/vitejs/vite/issues/10812)
- fix: relocated logger to respect config.
([#&#8203;10787](https://togithub.com/vitejs/vite/issues/10787))
([52e64eb](https://togithub.com/vitejs/vite/commit/52e64eb)), closes
[#&#8203;10787](https://togithub.com/vitejs/vite/issues/10787)
- fix: throw missing name error only when 'umd' or 'iife' are used
([#&#8203;9886](https://togithub.com/vitejs/vite/issues/9886))
([b8aa825](https://togithub.com/vitejs/vite/commit/b8aa825)), closes
[#&#8203;9886](https://togithub.com/vitejs/vite/issues/9886)
- fix(deps): update all non-major dependencies
([#&#8203;10804](https://togithub.com/vitejs/vite/issues/10804))
([f686afa](https://togithub.com/vitejs/vite/commit/f686afa)), closes
[#&#8203;10804](https://togithub.com/vitejs/vite/issues/10804)
- fix(ssr): improve missing file error
([#&#8203;10880](https://togithub.com/vitejs/vite/issues/10880))
([5451a34](https://togithub.com/vitejs/vite/commit/5451a34)), closes
[#&#8203;10880](https://togithub.com/vitejs/vite/issues/10880)

##### Previous Changelogs

#####
[4.0.0-beta.7](https://togithub.com/vitejs/vite/compare/v4.0.0-beta.6....v4.0.0-beta.7)
(2022-12-08)

See [4.0.0-beta.7
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md)

#####
[4.0.0-beta.6](https://togithub.com/vitejs/vite/compare/v4.0.0-beta.5....v4.0.0-beta.6)
(2022-12-08)

See [4.0.0-beta.6
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md)

#####
[4.0.0-beta.5](https://togithub.com/vitejs/vite/compare/v4.0.0-beta.4....v4.0.0-beta.5)
(2022-12-08)

See [4.0.0-beta.5
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md)

#####
[4.0.0-beta.4](https://togithub.com/vitejs/vite/compare/v4.0.0-beta.3....v4.0.0-beta.4)
(2022-12-07)

See [4.0.0-beta.4
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md)

#####
[4.0.0-beta.3](https://togithub.com/vitejs/vite/compare/v4.0.0-beta.2....v4.0.0-beta.3)
(2022-12-07)

See [4.0.0-beta.3
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md)

#####
[4.0.0-beta.2](https://togithub.com/vitejs/vite/compare/v4.0.0-beta.1....v4.0.0-beta.2)
(2022-12-07)

See [4.0.0-beta.2
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md)

#####
[4.0.0-beta.1](https://togithub.com/vitejs/vite/compare/v4.0.0-beta.0....v4.0.0-beta.1)
(2022-12-06)

See [4.0.0-beta.1
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md)

#####
[4.0.0-beta.0](https://togithub.com/vitejs/vite/compare/v4.0.0-alpha.6....v4.0.0-beta.0)
(2022-12-05)

See [4.0.0-beta.0
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-beta.0/packages/vite/CHANGELOG.md)

#####
[4.0.0-alpha.6](https://togithub.com/vitejs/vite/compare/v4.0.0-alpha.5....v4.0.0-alpha.6)
(2022-11-30)

See [4.0.0-alpha.6
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-alpha.6/packages/vite/CHANGELOG.md)

#####
[4.0.0-alpha.5](https://togithub.com/vitejs/vite/compare/v4.0.0-alpha.5....v4.0.0-alpha.5)
(2022-11-22)

See [4.0.0-alpha.5
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-alpha.5/packages/vite/CHANGELOG.md)

#####
[4.0.0-alpha.4](https://togithub.com/vitejs/vite/compare/v4.0.0-alpha.3....v4.0.0-alpha.4)
(2022-11-17)

See [4.0.0-alpha.4
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-alpha.4/packages/vite/CHANGELOG.md)

#####
[4.0.0-alpha.3](https://togithub.com/vitejs/vite/compare/v4.0.0-alpha.2....v4.0.0-alpha.3)
(2022-11-15)

See [4.0.0-alpha.3
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-alpha.3/packages/vite/CHANGELOG.md)

#####
[4.0.0-alpha.2](https://togithub.com/vitejs/vite/compare/v4.0.0-alpha.1....v4.0.0-alpha.2)
(2022-11-13)

See [4.0.0-alpha.2
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-alpha.2/packages/vite/CHANGELOG.md)

#####
[4.0.0-alpha.1](https://togithub.com/vitejs/vite/compare/v4.0.0-alpha.0....v4.0.0-alpha.1)
(2022-11-12)

See [4.0.0-alpha.1
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-alpha.1/packages/vite/CHANGELOG.md)

#####
[4.0.0-alpha.0](https://togithub.com/vitejs/vite/compare/v3.2.5....v4.0.0-alpha.0)
(2022-11-07)

See [4.0.0-alpha.0
changelog](https://togithub.com/vitejs/vite/blob/v4.0.0-alpha.0/packages/vite/CHANGELOG.md)

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-29 08:38:43 +01:00
renovate[bot]
b61267e713
chore(deps): update react-router monorepo to v6.6.1 (#2762)
[![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.5`
-> `6.6.1`](https://renovatebot.com/diffs/npm/react-router/6.4.5/6.6.1)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.6.1/compatibility-slim/6.4.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.6.1/confidence-slim/6.4.5)](https://docs.renovatebot.com/merge-confidence/)
|
| [react-router-dom](https://togithub.com/remix-run/react-router) |
[`6.4.5` ->
`6.6.1`](https://renovatebot.com/diffs/npm/react-router-dom/6.4.5/6.6.1)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.1/compatibility-slim/6.4.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.1/confidence-slim/6.4.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

##### Patch Changes

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

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

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

##### Patch Changes

- Prevent `useLoaderData` usage in `errorElement`
([#&#8203;9735](https://togithub.com/remix-run/react-router/pull/9735))
-   Updated dependencies:
    -   `@remix-run/router@1.2.0`

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

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

This release introduces support for [Optional Route
Segments](https://togithub.com/remix-run/react-router/issues/9546). Now,
adding a `?` to the end of any path segment will make that entire
segment optional. This works for both static segments and dynamic
parameters.

**Optional Params Examples**

-   `<Route path=":lang?/about>` will match:
    -   `/:lang/about`
    -   `/about`
-   `<Route path="/multistep/:widget1?/widget2?/widget3?">` will match:
    -   `/multistep`
    -   `/multistep/:widget1`
    -   `/multistep/:widget1/:widget2`
    -   `/multistep/:widget1/:widget2/:widget3`

**Optional Static Segment Example**

-   `<Route path="/home?">` will match:
    -   `/`
    -   `/home`
-   `<Route path="/fr?/about">` will match:
    -   `/about`
    -   `/fr/about`

##### Minor Changes

- Allows optional routes and optional static segments
([#&#8203;9650](https://togithub.com/remix-run/react-router/pull/9650))

##### Patch Changes

- Stop incorrectly matching on partial named parameters, i.e. `<Route
path="prefix-:param">`, to align with how splat parameters work. If you
were previously relying on this behavior then it's recommended to
extract the static portion of the path at the `useParams` call site:
([#&#8203;9506](https://togithub.com/remix-run/react-router/pull/9506))

```jsx
// Old behavior at URL /prefix-123
<Route path="prefix-:id" element={<Comp /> }>

function Comp() {
  let params = useParams(); // { id: '123' }
  let id = params.id; // "123"
  ...
}

// New behavior at URL /prefix-123
<Route path=":id" element={<Comp /> }>

function Comp() {
  let params = useParams(); // { id: 'prefix-123' }
  let id = params.id.replace(/^prefix-/, ''); // "123"
  ...
}
```

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

</details>

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

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

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

##### Patch Changes

-   Updated dependencies:
    -   `@remix-run/router@1.2.1`
    -   `react-router@6.6.1`

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

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

##### Minor Changes

- Add `useBeforeUnload()` hook
([#&#8203;9664](https://togithub.com/remix-run/react-router/pull/9664))
- Remove `unstable_` prefix from
`createStaticHandler`/`createStaticRouter`/`StaticRouterProvider`
([#&#8203;9738](https://togithub.com/remix-run/react-router/pull/9738))

##### Patch Changes

- Proper hydration of `Error` objects from `StaticRouterProvider`
([#&#8203;9664](https://togithub.com/remix-run/react-router/pull/9664))
- Support uppercase `<Form method>` and `useSubmit` method values
([#&#8203;9664](https://togithub.com/remix-run/react-router/pull/9664))
- Skip initial scroll restoration for SSR apps with `hydrationData`
([#&#8203;9664](https://togithub.com/remix-run/react-router/pull/9664))
- Fix `<button formmethod>` form submission overriddes
([#&#8203;9664](https://togithub.com/remix-run/react-router/pull/9664))
-   Updated dependencies:
    -   `@remix-run/router@1.2.0`
    -   `react-router@6.6.0`

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

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

##### Patch Changes

-   Updated dependencies:
    -   `react-router@6.5.0`
    -   `@remix-run/router@1.1.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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43My4zIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 21:50:42 +00:00
renovate[bot]
268f469b2b
chore(deps): update dependency chartjs-adapter-date-fns to v3 (#2767)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [chartjs-adapter-date-fns](https://www.chartjs.org)
([source](https://togithub.com/chartjs/chartjs-adapter-date-fns)) |
[`2.0.1` ->
`3.0.0`](https://renovatebot.com/diffs/npm/chartjs-adapter-date-fns/2.0.1/3.0.0)
|
[![age](https://badges.renovateapi.com/packages/npm/chartjs-adapter-date-fns/3.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/chartjs-adapter-date-fns/3.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/chartjs-adapter-date-fns/3.0.0/compatibility-slim/2.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/chartjs-adapter-date-fns/3.0.0/confidence-slim/2.0.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>chartjs/chartjs-adapter-date-fns</summary>

###
[`v3.0.0`](https://togithub.com/chartjs/chartjs-adapter-date-fns/releases/tag/v3.0.0)

[Compare
Source](https://togithub.com/chartjs/chartjs-adapter-date-fns/compare/v2.0.1...v3.0.0)

### Essential Links

-   [npm](https://www.npmjs.com/package/chartjs-adapter-date-fns)

<!---->

-
[#&#8203;50](https://togithub.com/chartjs/chartjs-adapter-date-fns/issues/50)
Bump terser from 5.7.0 to 5.14.2
-
[#&#8203;57](https://togithub.com/chartjs/chartjs-adapter-date-fns/issues/57)
Bump engine.io and socket.io

#### Enhancements

-
[#&#8203;63](https://togithub.com/chartjs/chartjs-adapter-date-fns/issues/63)
feat: package as a module

Thanks to [@&#8203;dependabot](https://togithub.com/dependabot),
[@&#8203;dependabot](https://togithub.com/dependabot)\[bot] and
[@&#8203;kurkle](https://togithub.com/kurkle)

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 14:09:19 +01:00
renovate[bot]
6d914d2a01
chore(deps): update dependency vite-plugin-svgr to v2.4.0 (#2759)
[![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-plugin-svgr](https://togithub.com/pd4d10/vite-plugin-svgr) |
[`2.3.0` ->
`2.4.0`](https://renovatebot.com/diffs/npm/vite-plugin-svgr/2.3.0/2.4.0)
|
[![age](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.4.0/compatibility-slim/2.3.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite-plugin-svgr/2.4.0/confidence-slim/2.3.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pd4d10/vite-plugin-svgr</summary>

###
[`v2.4.0`](https://togithub.com/pd4d10/vite-plugin-svgr/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/pd4d10/vite-plugin-svgr/compare/v2.3.0...v2.4.0)

#####    🚀 Features

- Support node16 module resolution  -  by
[@&#8203;gunters63](https://togithub.com/gunters63) in
[https://github.com/pd4d10/vite-plugin-svgr/issues/66](https://togithub.com/pd4d10/vite-plugin-svgr/issues/66)
[<samp>(115bc)</samp>](https://togithub.com/pd4d10/vite-plugin-svgr/commit/115bc87)

#####     [View changes on
GitHub](https://togithub.com/pd4d10/vite-plugin-svgr/compare/v2.3.0...v2.4.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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43My4zIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 13:06:52 +00:00
sjaanus
6c621bf65b
Fix crashing search bars (#2765) 2022-12-28 12:35:27 +02:00
renovate[bot]
25858cae82
chore(deps): update dependency sass to v1.57.1 (#2757)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sass](https://togithub.com/sass/dart-sass) | [`1.56.2` ->
`1.57.1`](https://renovatebot.com/diffs/npm/sass/1.56.2/1.57.1) |
[![age](https://badges.renovateapi.com/packages/npm/sass/1.57.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/sass/1.57.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/sass/1.57.1/compatibility-slim/1.56.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/sass/1.57.1/confidence-slim/1.56.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>sass/dart-sass</summary>

###
[`v1.57.1`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1571)

[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.57.0...1.57.1)

-   No user-visible changes.

###
[`v1.57.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#&#8203;1570)

[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.56.2...1.57.0)

- Add a `split($string, $separator, $limit: null)` function to
`sass:string`
that splits a string into separate substrings based on a separator
string.

##### JavaScript API

- **Potentially breaking bug fix**: Custom functions in both the modern
and
legacy API now properly reject signatures with whitespace between the
function
    name and parentheses.

- Custom functions in the legacy API now allow signatures with
whitespace before
    the function name, to match a bug in Node Sass.

##### Dart API

-   **Potentially breaking bug fix**: `Callable.fromSignature()` and
`AsyncCallable.fromSignature()` now reject signatures with whitespace
between
    the function name and parentheses.

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 10:26:11 +00:00
renovate[bot]
1fa75cb620
chore(deps): update dependency vitest to v0.26.2 (#2760)
[![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.7` ->
`0.26.2`](https://renovatebot.com/diffs/npm/vitest/0.25.7/0.26.2) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.26.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.26.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.26.2/compatibility-slim/0.25.7)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.26.2/confidence-slim/0.25.7)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🚀 Features

- Project name  -  by [@&#8203;antfu](https://togithub.com/antfu)
[<samp>(84f98)</samp>](https://togithub.com/vitest-dev/vitest/commit/84f98e70)

#####    🐞 Bug Fixes

- Improve "isInternaRequest" check  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2541](https://togithub.com/vitest-dev/vitest/issues/2541)
[<samp>(2bb9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/2bb9a391)
- Use correct word when printing "long-running" warning  -  by
[@&#8203;simon-abbott](https://togithub.com/simon-abbott) in
[https://github.com/vitest-dev/vitest/issues/2546](https://togithub.com/vitest-dev/vitest/issues/2546)
[<samp>(8dc1c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8dc1c3cb)
- Pass down diff options  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2545](https://togithub.com/vitest-dev/vitest/issues/2545)
[<samp>(98c94)</samp>](https://togithub.com/vitest-dev/vitest/commit/98c94e65)
- **cli**: Respect inline config `dir`  -  by
[@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2550](https://togithub.com/vitest-dev/vitest/issues/2550)
[<samp>(f6b59)</samp>](https://togithub.com/vitest-dev/vitest/commit/f6b592a9)

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

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

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

#####    🚀 Features

- Add more options to configure diff output  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;dammy001](https://togithub.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/2522](https://togithub.com/vitest-dev/vitest/issues/2522)
[<samp>(7ae14)</samp>](https://togithub.com/vitest-dev/vitest/commit/7ae1417f)

#####    🐞 Bug Fixes

- Don't resolve builtin Node modules  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2538](https://togithub.com/vitest-dev/vitest/issues/2538)
[<samp>(1cbc2)</samp>](https://togithub.com/vitest-dev/vitest/commit/1cbc24dc)

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

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

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

#####    🚨 Breaking Changes

- **vite-node:** Rewrite how vite-node resolves id  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2463](https://togithub.com/vitest-dev/vitest/issues/2463)
[<samp>(58ee8)</samp>](https://togithub.com/vitest-dev/vitest/commit/58ee8e9b)
- Correctly interop nested default for external and inlined modules  - 
by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2512](https://togithub.com/vitest-dev/vitest/issues/2512)
[<samp>(084e9)</samp>](https://togithub.com/vitest-dev/vitest/commit/084e929c)
- If your environment is `node`, Vitest will not resolve invalid named
exports (exports that are on "default" property will not magically
appear as named exports), unless `deps.interopDefault` is enabled, or
dependency is in `deps.inline`. This change doesn't affect `jsdom`,
`happy-dom` or `edge` environments.
- **web-worker:** Make web-worker implementation more compatible with
spec  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2431](https://togithub.com/vitest-dev/vitest/issues/2431)
[<samp>(c3a63)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3a63524)
- Messages are now cloned with `structuredClone`, if it's available, or
fallbacks to a polyfill.
    -   Added support for `SharedWorker`

#####    🚀 Features

- Introduce a native way to set env and globals  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2515](https://togithub.com/vitest-dev/vitest/issues/2515)
[<samp>(b114d)</samp>](https://togithub.com/vitest-dev/vitest/commit/b114d49f)
- Add html reporter based on Vitest UI  -  by
[@&#8203;poyoho](https://togithub.com/poyoho) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2444](https://togithub.com/vitest-dev/vitest/issues/2444)
[<samp>(b8f34)</samp>](https://togithub.com/vitest-dev/vitest/commit/b8f34eb8)
- If you have `@vitest/ui` installed, you can now use `'html'` reporter
to get a [beautiful UI](https://vitest.dev/guide/ui.html) to view your
test results, inspect module graph and read log messages.

#####    🐞 Bug Fixes

- Allow assigning new hotContext  -  by
[@&#8203;cometkim](https://togithub.com/cometkim) in
[https://github.com/vitest-dev/vitest/issues/2524](https://togithub.com/vitest-dev/vitest/issues/2524)
[<samp>(b4c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4c43cd5)

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

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

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

#####    🚀 Features

- Add mts, cts files to coverage  -  by
[@&#8203;poyoho](https://togithub.com/poyoho) and
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2492](https://togithub.com/vitest-dev/vitest/issues/2492)
[<samp>(799f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/799f9a17)

#####    🐞 Bug Fixes

- Don't throw unhandled error, if import was caught  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2494](https://togithub.com/vitest-dev/vitest/issues/2494)
[<samp>(0a87e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0a87ebb4)
- **coverage**: Esbuild to preserve legal comments for ignore hints  - 
by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2496](https://togithub.com/vitest-dev/vitest/issues/2496)
[<samp>(c85ed)</samp>](https://togithub.com/vitest-dev/vitest/commit/c85edb1e)

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 10:32:34 +01:00
renovate[bot]
ef86f76295
chore(deps): update dependency eslint to v8.30.0 (#2755)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>eslint/eslint</summary>

### [`v8.30.0`](https://togithub.com/eslint/eslint/releases/tag/v8.30.0)

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.29.0...v8.30.0)

#### Features

-
[`075ef2c`](075ef2cf31)
feat: add suggestion for no-return-await
([#&#8203;16637](https://togithub.com/eslint/eslint/issues/16637))
(Daniel Bartholomae)
-
[`7190d98`](7190d98ff4)
feat: update globals
([#&#8203;16654](https://togithub.com/eslint/eslint/issues/16654))
(Sébastien Règne)

#### Bug Fixes

-
[`1a327aa`](1a327aae57)
fix: Ensure flat config unignores work consistently like eslintrc
([#&#8203;16579](https://togithub.com/eslint/eslint/issues/16579))
(Nicholas C. Zakas)
-
[`9b8bb72`](9b8bb72c49)
fix: autofix recursive functions in no-var
([#&#8203;16611](https://togithub.com/eslint/eslint/issues/16611))
(Milos Djermanovic)

#### Documentation

-
[`6a8cd94`](6a8cd94ed0)
docs: Clarify Discord info in issue template config
([#&#8203;16663](https://togithub.com/eslint/eslint/issues/16663))
(Nicholas C. Zakas)
-
[`ad44344`](ad44344ef6)
docs: CLI documentation standardization
([#&#8203;16563](https://togithub.com/eslint/eslint/issues/16563)) (Ben
Perlmutter)
-
[`293573e`](293573eb53)
docs: fix broken line numbers
([#&#8203;16606](https://togithub.com/eslint/eslint/issues/16606)) (Sam
Chen)
-
[`fa2c64b`](fa2c64be10)
docs: use relative links for internal links
([#&#8203;16631](https://togithub.com/eslint/eslint/issues/16631))
(Percy Ma)
-
[`75276c9`](75276c9bc7)
docs: reorder options in no-unused-vars
([#&#8203;16625](https://togithub.com/eslint/eslint/issues/16625))
(Milos Djermanovic)
-
[`7276fe5`](7276fe5776)
docs: Fix anchor in URL
([#&#8203;16628](https://togithub.com/eslint/eslint/issues/16628)) (Karl
Horky)
-
[`6bef135`](6bef1350e6)
docs: don't apply layouts to html formatter example
([#&#8203;16591](https://togithub.com/eslint/eslint/issues/16591))
(Tanuj Kanti)
-
[`dfc7ec1`](dfc7ec11b1)
docs: Formatters page updates
([#&#8203;16566](https://togithub.com/eslint/eslint/issues/16566)) (Ben
Perlmutter)
-
[`8ba124c`](8ba124cfd8)
docs: update the `prefer-const` example
([#&#8203;16607](https://togithub.com/eslint/eslint/issues/16607))
(Pavel)
-
[`e6cb05a`](e6cb05aa35)
docs: fix css leaking
([#&#8203;16603](https://togithub.com/eslint/eslint/issues/16603)) (Sam
Chen)

#### Chores

-
[`f2c4737`](f2c4737242)
chore: upgrade
[@&#8203;eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@&#8203;1](https://togithub.com/1).4.0
([#&#8203;16675](https://togithub.com/eslint/eslint/issues/16675))
(Milos Djermanovic)
-
[`ba74253`](ba74253e8b)
chore: standardize npm script names per
[#&#8203;14827](https://togithub.com/eslint/eslint/issues/14827)
([#&#8203;16315](https://togithub.com/eslint/eslint/issues/16315))
(Patrick McElhaney)
-
[`0d9af4c`](0d9af4c567)
ci: fix npm v9 problem with `file:`
([#&#8203;16664](https://togithub.com/eslint/eslint/issues/16664))
(Milos Djermanovic)
-
[`90c9219`](90c9219181)
refactor: migrate off deprecated function-style rules in all tests
([#&#8203;16618](https://togithub.com/eslint/eslint/issues/16618))
(Bryan Mishkin)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 07:12:58 +00:00
renovate[bot]
2b46e4b700
chore(deps): update dependency @types/react-table to v7.7.13 (#2758)
[![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/react-table](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-table)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`7.7.12` ->
`7.7.13`](https://renovatebot.com/diffs/npm/@types%2freact-table/7.7.12/7.7.13)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact-table/7.7.13/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact-table/7.7.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact-table/7.7.13/compatibility-slim/7.7.12)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact-table/7.7.13/confidence-slim/7.7.12)](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:eyJjcmVhdGVkSW5WZXIiOiIzNC43My4zIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 04:48:17 +00:00
renovate[bot]
ee59ae0387
chore(deps): update dependency @codemirror/state to v6.2.0 (#2753)
[![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.4`
->
`6.2.0`](https://renovatebot.com/diffs/npm/@codemirror%2fstate/6.1.4/6.2.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.2.0/compatibility-slim/6.1.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.2.0/confidence-slim/6.1.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v6.2.0`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#&#8203;620-2022-12-26)

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

##### New features

`EditorSelection.range` now accepts an optional 4th argument to specify
the bidi level of the range's head position.

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 22:41:27 +00:00
renovate[bot]
d5d8c752f4
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.19.4 (#2746)
[![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.19.2` ->
`4.19.4`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.19.2/4.19.4)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.4/compatibility-slim/4.19.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.4/confidence-slim/4.19.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.4:
https://raw.githack.com/uiwjs/react-codemirror/9fbca2c/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.3...v4.19.4

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

- 🌟 feat(zebra-stripes): add className option.
[#&#8203;433](https://togithub.com/uiwjs/react-codemirror/issues/433)
[`964bb2c`](https://togithub.com/uiwjs/react-codemirror/commit/964bb2c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(classname): add classname extension.
[#&#8203;433](https://togithub.com/uiwjs/react-codemirror/issues/433)
[`48dbe9c`](https://togithub.com/uiwjs/react-codemirror/commit/48dbe9c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: update website theme.
[`3de68f4`](https://togithub.com/uiwjs/react-codemirror/commit/3de68f4)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.3:
https://raw.githack.com/uiwjs/react-codemirror/6cae541/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.2...v4.19.3

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

- 🐞 fix: provide none option for theme.
[#&#8203;431](https://togithub.com/uiwjs/react-codemirror/issues/431)
[`efca8ed`](https://togithub.com/uiwjs/react-codemirror/commit/efca8ed)
[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNC43My4zIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 12:30:15 +00:00
renovate[bot]
2fb5699e84
chore(deps): update dependency msw to v0.49.2 (#2748)
[![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.49.1` ->
`0.49.2`](https://renovatebot.com/diffs/npm/msw/0.49.1/0.49.2) |
[![age](https://badges.renovateapi.com/packages/npm/msw/0.49.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/msw/0.49.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/msw/0.49.2/compatibility-slim/0.49.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/msw/0.49.2/confidence-slim/0.49.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#### v0.49.2 (2022-12-13)

##### Bug Fixes

- use `globalThis.fetch` in `ctx.fetch` utility
([#&#8203;1490](https://togithub.com/mswjs/msw/issues/1490))
([`42cdbc7`](42cdbc7965))
[@&#8203;Toxiapo](https://togithub.com/Toxiapo)
[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNC43My4zIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 12:12:17 +00:00
renovate[bot]
af209079b0
chore(deps): update dependency @uiw/react-codemirror to v4.19.4 (#2747)
[![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.19.2` ->
`4.19.4`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.19.2/4.19.4)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.4/compatibility-slim/4.19.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.4/confidence-slim/4.19.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.4:
https://raw.githack.com/uiwjs/react-codemirror/9fbca2c/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.3...v4.19.4

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

- 🌟 feat(zebra-stripes): add className option.
[#&#8203;433](https://togithub.com/uiwjs/react-codemirror/issues/433)
[`964bb2c`](https://togithub.com/uiwjs/react-codemirror/commit/964bb2c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat(classname): add classname extension.
[#&#8203;433](https://togithub.com/uiwjs/react-codemirror/issues/433)
[`48dbe9c`](https://togithub.com/uiwjs/react-codemirror/commit/48dbe9c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌍 website: update website theme.
[`3de68f4`](https://togithub.com/uiwjs/react-codemirror/commit/3de68f4)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.3:
https://raw.githack.com/uiwjs/react-codemirror/6cae541/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.2...v4.19.3

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

- 🐞 fix: provide none option for theme.
[#&#8203;431](https://togithub.com/uiwjs/react-codemirror/issues/431)
[`efca8ed`](https://togithub.com/uiwjs/react-codemirror/commit/efca8ed)
[@&#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:eyJjcmVhdGVkSW5WZXIiOiIzNC43My4zIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 12:11:19 +00:00
renovate[bot]
d2c898e065
chore(deps): update dependency @testing-library/dom to v8.19.1 (#2742)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@testing-library/dom](https://togithub.com/testing-library/dom-testing-library)
| [`8.19.0` ->
`8.19.1`](https://renovatebot.com/diffs/npm/@testing-library%2fdom/8.19.0/8.19.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@testing-library%2fdom/8.19.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@testing-library%2fdom/8.19.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@testing-library%2fdom/8.19.1/compatibility-slim/8.19.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@testing-library%2fdom/8.19.1/confidence-slim/8.19.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>testing-library/dom-testing-library</summary>

###
[`v8.19.1`](https://togithub.com/testing-library/dom-testing-library/releases/tag/v8.19.1)

[Compare
Source](https://togithub.com/testing-library/dom-testing-library/compare/v8.19.0...v8.19.1)

##### Bug Fixes

- Bump used `aria-query` types
([#&#8203;1198](https://togithub.com/testing-library/dom-testing-library/issues/1198))
([9f363af](9f363afe6b)),
closes
[#&#8203;1197](https://togithub.com/testing-library/dom-testing-library/issues/1197)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 12:39:09 +01:00
renovate[bot]
470c8d96c1
chore(deps): update dependency prettier to v2.8.1 (#2509)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>prettier/prettier</summary>

###
[`v2.8.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;281)

[Compare
Source](https://togithub.com/prettier/prettier/compare/2.8.0...2.8.1)

[diff](https://togithub.com/prettier/prettier/compare/2.8.0...2.8.1)

##### Fix SCSS map in arguments
([#&#8203;9184](https://togithub.com/prettier/prettier/pull/9184) by
[@&#8203;agamkrbit](https://togithub.com/agamkrbit))

<!-- prettier-ignore -->

```scss
// Input
$display-breakpoints: map-deep-merge(
  (
    "print-only": "only print",
    "screen-only": "only screen",
    "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
  ),
  $display-breakpoints
);

// Prettier 2.8.0
$display-breakpoints: map-deep-merge(
  (
    "print-only": "only print",
    "screen-only": "only screen",
    "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, " sm
      ")-1})",
  ),
  $display-breakpoints
);

// Prettier 2.8.1
$display-breakpoints: map-deep-merge(
  (
    "print-only": "only print",
    "screen-only": "only screen",
    "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
  ),
  $display-breakpoints
);
```

##### Support auto accessors syntax
([#&#8203;13919](https://togithub.com/prettier/prettier/pull/13919) by
[@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki))

Support for [Auto Accessors
Syntax](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/#auto-accessors-in-classes)
landed in TypeScript 4.9.

(Doesn't work well with `babel-ts` parser)

<!-- prettier-ignore -->

```tsx
class Foo {
  accessor foo: number = 3;
}
```

###
[`v2.8.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#&#8203;280)

[Compare
Source](https://togithub.com/prettier/prettier/compare/2.7.1...2.8.0)

[diff](https://togithub.com/prettier/prettier/compare/2.7.1...2.8.0)

🔗 [Release Notes](https://prettier.io/blog/2022/11/23/2.8.0.html)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2022-12-27 10:45:43 +01:00
renovate[bot]
408b81690d
chore(deps): update dependency @vitejs/plugin-react to v3 (#2665)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@vitejs/plugin-react](https://togithub.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme)
([source](https://togithub.com/vitejs/vite-plugin-react)) | [`2.2.0` ->
`3.0.0`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/2.2.0/3.0.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@vitejs%2fplugin-react/3.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@vitejs%2fplugin-react/3.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@vitejs%2fplugin-react/3.0.0/compatibility-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@vitejs%2fplugin-react/3.0.0/confidence-slim/2.2.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite-plugin-react</summary>

###
[`v3.0.0`](https://togithub.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#&#8203;300-2022-12-09)

[Compare
Source](972b8ddca7...0aaf2e56de)

- chore: update vite to ^4.0.0
([#&#8203;57](https://togithub.com/vitejs/vite-plugin-react/issues/57))
([941b20d](https://togithub.com/vitejs/vite-plugin-react/commit/941b20d)),
closes
[#&#8203;57](https://togithub.com/vitejs/vite-plugin-react/issues/57)
- chore(deps): update rollup
([#&#8203;56](https://togithub.com/vitejs/vite-plugin-react/issues/56))
([af25ec7](https://togithub.com/vitejs/vite-plugin-react/commit/af25ec7)),
closes
[#&#8203;56](https://togithub.com/vitejs/vite-plugin-react/issues/56)
- chore!: drop ast check for refresh boundary
([#&#8203;43](https://togithub.com/vitejs/vite-plugin-react/issues/43))
([e43bd76](https://togithub.com/vitejs/vite-plugin-react/commit/e43bd76)),
closes
[#&#8203;43](https://togithub.com/vitejs/vite-plugin-react/issues/43)

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC41NC4wIiwidXBkYXRlZEluVmVyIjoiMzQuNjIuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 09:55:20 +01:00
Nuno Góis
2d16730cc2
feat: adds an optional dialog and markdown support (#2728)
Adds the option of showing a dialog and adds markdown support to it,
could be useful to show changelogs inside Unleash in the future.


![image](https://user-images.githubusercontent.com/14320932/209147164-ed19c9ab-fae5-452b-9aab-075d058ba10e.png)
2022-12-22 15:47:42 +00:00
Nuno Góis
aaa96f71cb
feat: message banner (#2726)
Related to:
https://linear.app/unleash/issue/2-511/exploration-build-data-for-the-possibility-of-showing-an-alert-to-the
Namely:
https://unleash-internal.slack.com/archives/C046LV85N3C/p1671443897386729

The idea is to have a general message banner that can be controlled
through a feature flag in Unleash to display announcements, warnings,
informations, etc.

Currently using mock feature flags, but the idea is to bind this to a
feature flag we can manage in our Unleash instance, and use its payload
to provide information to end users whenever we want.

Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2022-12-22 15:16:51 +00:00
sjaanus
e533b44c5b
Adds tracking to maintenance feature (#2723)
Adds tracking with plausible to maintenance feature
2022-12-21 16:16:15 +02:00
sjaanus
be045dc13a
Remove favorites feature flag (#2722) 2022-12-21 12:03:06 +00:00
sjaanus
a0619e963d
Maintenance mode for users (#2716) 2022-12-21 13:23:44 +02:00
Nuno Góis
1ef84da688
fix: set a more generous maxWidth in access timeago cells (#2714)
https://unleash-internal.slack.com/archives/C046LV6HH6W/p1671533789519689
2022-12-20 22:14:29 +01:00
Gastón Fournier
4b519ead4f
perf: Simplify queries to prometheus (#2706)
## About the changes
This PR improves our queries to Prometheus (instead of making multiple queries do only one) and improves the UI and the code. 

The reports aggregate all HTTP methods (GET, POST, PUT, DELETE, OPTIONS, HEAD and PATCH) without distinction under the same "endpoint" (a relative path inside unleash up to a certain depth)

Co-authored-by: Nuno Góis <nuno@getunleash.ai>
2022-12-19 17:06:59 +01:00
Tymoteusz Czech
2c15841af4
fix: metrics one hour select label (#2712) 2022-12-19 16:27:21 +01:00
sjaanus
2d5455d203
Maintenance mode middleware (#2707) 2022-12-19 09:01:04 +02:00
Nuno Góis
d2d5629a36
Feat lazy loading network (#2709)
Adds lazy loading to the network routes, so we end up with smaller
chunks in the build.

Also adds a `start:prod` script that can prove useful to test the chunk
loading behaviour locally.
2022-12-16 18:09:24 +00:00
Nuno Góis
a3ac96f763
Feat network overview (#2708)
https://linear.app/unleash/issue/2-512/exploration-network-overview-represented-as-a-flow-chart

<img width="1307" alt="image"
src="https://user-images.githubusercontent.com/14320932/208110067-294a0b91-d52e-49d1-9024-fa5e8530e2d8.png">
2022-12-16 14:12:36 +00:00
Nuno Góis
1d1219a055
Use new useConditionallyHiddenColumns hook (#2695)
https://linear.app/unleash/issue/2-515/adapt-tables-to-use-the-new-useconditionallyhiddencolumns-hook

Uses the new `useConditionallyHiddenColumns` hook, like mentioned here:
https://github.com/Unleash/unleash/pull/2691
Also includes small fixes for things I caught along the way. See
comments below.
2022-12-16 10:46:04 +01:00
sjaanus
d42e90544f
Maintenance mode UI (#2704) 2022-12-15 16:07:22 +02:00
Mateusz Kwasniewski
f4480d516b
remove change request flag (#2703) 2022-12-15 13:43:06 +01:00
Nuno Góis
90f0d665f9
fix: disable networkView for dev, fail more gracefully (#2701)
Disables networkView for dev for now. Attempts to fail more gracefully
both on the service and front-end.
2022-12-15 10:12:02 +00:00
Mateusz Kwasniewski
2e615cdd35
refresh change request, add conflict margin, set time ago (#2700) 2022-12-15 10:49:16 +01:00
Christopher Kolstad
23094b016e
feat: first draft of chart for instance traffic in frontend (#2670)
## What
We've already added the backend for this. This is the initial work for
drawing a chart for instance traffic in the frontend. It requires the environment variable `PROMETHEUS_API` set to a valid prometheus-query-language (promql) supported backend, such as Prometheus itself or Victoria Metrics. Besides, at the moment we're hiding this functionality behind the flag `UNLEASH_EXPERIMENTAL_NETWORK_VIEW` which has to be set to true

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2022-12-15 08:47:07 +00:00
Ivar Conradi Østhus
09c87c755f
Fix/remove settings cache (#2694)
In this PR we remove the general SettingService cache, as it will not
work across multiple horizontal unleash instances, events are not
published across.

We also fix the CORS origin to: 
- Access-Control-Allow-Origin set to "*" if no Origin is configured
- Access-Control-Allow-Origin set to "*" if any Origin is configured to
"*"
- - Access-Control-Allow-Origin set to array and have the "cors"
middleware to return an exact match on the user provided Origin.

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-12-14 17:35:22 +01:00
Nuno Góis
db7b39af2d
fix: upgrades useHiddenColumns hook to fix related issues (#2691)
https://linear.app/unleash/issue/2-514/fix-issues-with-conditionally-hidden-table-columns

This upgrades the old `useHiddenColumns` to a new
`useConditionallyHiddenColumns`. This implementation covers some issues
and edge cases, and should hopefully be the standard way of achieving
responsive visibility for table columns from now on.

Some of these issues included incorrectly showing/hiding table columns,
whether when resizing the window or at page load, even when the proper
conditions were met to toggle their visibility.

This PR adapts the tables that were already using `useHiddenColumns` to
use the new approach.
I'll create a new PR after this one to adapt our other existing tables
to use this new approach as well.
2022-12-14 15:22:38 +00:00
Nuno Góis
fe2f2f5705
Update dialogue design (#2342)
https://linear.app/unleash/issue/2-509/update-dialogues-to-match-new-designs

Update dialogues to match the look on the new designs:

![image](https://user-images.githubusercontent.com/14320932/200525669-35525761-1c3e-4c60-94a7-e21b1de99ad7.png)
2022-12-14 15:16:58 +00:00
Mateusz Kwasniewski
a54d53a117
added contraints checking in change request permissions (#2690) 2022-12-14 13:00:51 +01:00
Mateusz Kwasniewski
cb0398ca63
loosen permissions for change requests (#2682) 2022-12-14 10:00:14 +01:00
Nuno Góis
eb433185a1
fix: remove tooltip from favorites cell, some refactoring (#2687)
https://linear.app/unleash/issue/2-510/favorite-cell-tooltips-is-buggy-when-pinned-remove-tooltips

Tooltips were buggy when using the pinned feature, so I aligned with
@NicolaeUnleash and decided to remove them for now:
<img width="407" alt="image"
src="https://user-images.githubusercontent.com/14320932/207380515-476a4bec-c1c0-43af-adb8-f7001ae75e9c.png">

Also includes a slight refactor on this component.
2022-12-14 08:51:41 +00:00
Nuno Góis
212083b5ed
fix: favorite tooltip topleft flash (#2686)
Fixes an issue where the tooltip would flash on the top left when going
through the rows.
2022-12-13 14:06:25 +00:00
Nuno Góis
4afd505164
feat: make favorites a global preference (#2685)
https://linear.app/unleash/issue/2-508/make-pinned-favorites-a-global-preference

Also introduces a `useGlobalLocalStorage` hook where system-wide
preferences that are stored in LocalStorage can be maintained.
2022-12-13 13:20:43 +00:00
Nuno Góis
e05d924663
fix: misc UI/UX fixes, mostly related with favorites (#2683)
https://linear.app/unleash/issue/2-504/misc-frontend-related-fixes-mostly-related-with-favorites
2022-12-13 13:19:21 +00:00
Nuno Góis
a8cd3166d1
fix: adds bottom margin to SSO sync info box (#2674)
https://linear.app/unleash/issue/2-495/group-form-small-ui-fix
2022-12-13 14:01:53 +01:00