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

2876 Commits

Author SHA1 Message Date
Mateusz Kwasniewski
377e0e9d3e
fix: remove all warnings (#3055) 2023-02-07 11:20:44 +01:00
Tymoteusz Czech
0656fddbc4
Refactor: Project Overview fetching (#3035) 2023-02-07 08:57:28 +01:00
Mateusz Kwasniewski
74e657ecdf
clear warnings (#3053) 2023-02-07 08:41:23 +01:00
Jaanus Sellin
6137846391
Add maintenance toast (#3052) 2023-02-07 09:23:56 +02:00
Gastón Fournier
fbd2d99d97
fix: use the correct hook for permissions and CR (#3050)
## About the changes
When checking for permissions we have 2 methods, one that is not change
request aware and one that is. We were using the one that is not aware
of CR while the feature we developed is aware of CR.

This PR switches to the correct method and documents the hooks
2023-02-06 16:00:58 +01:00
Mateusz Kwasniewski
09ab4e42db
export queries use order by feature name (#3051) 2023-02-06 15:46:25 +01:00
sjaanus
f43adb60f7
Strategy type match 2023-02-06 16:11:22 +02:00
Gastón Fournier
c5bb205d88
feat: aggregate by label and type (#3047)
## About the changes
We noticed in our instance that when we have the same label for different API types, it shows
duplicated in the overview:

![image](https://user-images.githubusercontent.com/455064/216580261-91b09446-9f96-430f-8373-6a9dc7a3e623.png)


We're changing to this way of displaying info:
![Screenshot from 2023-02-03
11-35-26](https://user-images.githubusercontent.com/455064/216580027-ada82e24-a3f3-4985-acef-4754e6177b13.png)
when the data in traffic looks like this:
![Screenshot from 2023-02-03
11-35-35](https://user-images.githubusercontent.com/455064/216580065-0125f792-24af-4a96-bce6-584b70c7efbb.png)

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-02-03 13:12:44 +00:00
Tymoteusz Czech
b98dd4d76c
Project overview UI (#3034) 2023-02-03 12:58:21 +01:00
andreas-unleash
e589e56373
Add multiple tags (#3032)
Add Tag dialog redesign to allow batch add

Some Refactoring

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
[1-611](https://linear.app/unleash/issue/1-611/create-a-auto-complete-component-for-tags)

<!-- (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? -->


https://user-images.githubusercontent.com/104830839/216286897-4e392822-57c2-4e50-a5d8-e89d006b3fa5.mov

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-02-03 12:28:06 +02:00
andreas-unleash
c83f5cc432
Fix CI (#3042)
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-02-03 09:52:55 +02:00
Gastón Fournier
a37b9a1c95
Remove console log (#3037)
It seems to have slipped but let me know if it's needed. The thing is it
logs in every screen.
2023-02-02 20:10:36 +01:00
Gastón Fournier
5d382d3442
fix: use utc to compare time (#3038)
## About the changes
We've found that 60000 was just 1 minute and we wanted it to be 10
minutes so we were missing 1 zero and sometimes in 1 minute we didn't
have data. This is still an assumption we'll verify in sandbox

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-02-02 18:34:36 +01:00
Gastón Fournier
a0e4f54b9a
fix: try to make the network overview stable (#3036)
## About the changes
Use `useMemo` as in NetworkTraffic:
6ad27c2e9c/frontend/src/component/admin/network/NetworkTraffic/NetworkTraffic.tsx (L173-L176)

Hopefully this should help getting rid of the flakiness of the UI
2023-02-02 16:40:35 +01:00
Gastón Fournier
896994d42f
fix: when app count is zero because it just started (#3029)
## About the changes
This fixes response time metrics with app names when the app just starts
and has zero which is falsy. We want to compare against undefined (which
means the snapshot is not yet ready)
2023-02-01 17:30:35 +01:00
andreas-unleash
a91089d904
ProjectMemberWidget live data (#3013)
ProjectMemberWidget live data
Styling fixes.
Refactored  toggle type widget

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
![Screenshot 2023-01-27 at 15 36
49](https://user-images.githubusercontent.com/104830839/215104757-8989591e-4c20-496c-9a69-93c8cd58172f.png)

<!-- 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-31 15:20:16 +02:00
Tymoteusz Czech
50e0c0818a
feat: change request widget (#3023) 2023-01-31 10:06:45 +00:00
Nuno Góis
054c590813
fix: limit creation of other users PATs (adapting) (#3019)
https://linear.app/unleash/issue/2-656/limit-the-ability-of-creating-a-token-on-behalf-of-another-user

Adapts to the refactor that reverts the initial experimental idea of
Service Accounts before they existed in the current implementation:
Managing other user's PATs.
2023-01-31 08:40:23 +00:00
Tymoteusz Czech
0a8330f55d
fix: remove toggles using this strategy (#3022) 2023-01-31 09:02:24 +02:00
andreas-unleash
751b714642
add selectable timezone (#2911)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>

1st Iteration = Show the user the timezone and UTC offset
<!-- 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? Multipl
![Screenshot 2023-01-27 at 09 46
27](https://user-images.githubusercontent.com/104830839/215034585-d6abe3be-7a13-414c-ada4-b06231ab05a7.png)
e? -->
Closes #
[issue
1-568](https://linear.app/unleash/issue/1-568/show-the-timezone-for-the-currenttime-constraint)

<!-- (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: Thomas Heartman <thomas@getunleash.ai>
2023-01-30 15:36:42 +01:00
Fredrik Strand Oseberg
1c4ba4cc97
Feat/project stats types (#3012)
Update type for project stats
2023-01-27 17:19:27 +01:00
Nuno Góis
f8e34564aa
fix: delete variant button tooltip (#3014)
Small fix on the tooltip for the "delete variant" button in the new
environment variants form.


![image](https://user-images.githubusercontent.com/14320932/215116642-0e78a2a7-71d6-4fa1-9138-6133d71ef091.png)
2023-01-27 15:02:39 +00:00
Fredrik Strand Oseberg
897e97330a
Feat/project stats members (#3009)
This PR adds project members to the project stats and connects the stats
to the UI.
2023-01-27 13:13:41 +01:00
Tymoteusz Czech
b27ca26770
feat: Project meta widget (#2995) 2023-01-27 12:00:23 +00:00
Tymoteusz Czech
a482ccff63
feat: new project health widget (#3003)
## About the changes
<img width="233" alt="image"
src="https://user-images.githubusercontent.com/2625371/214901419-44adc6c3-ba72-4a60-9af9-ca27e9702357.png">


## Discussion points
Am I loading "potentially stale" features right?

## Other
Testing Linear integration:

Close 1-605
Close ID-1-605
Close ID1-605
2023-01-27 12:50:00 +01:00
Gastón Fournier
d821b1ead1
fix: missing formatApiPath (#3006)
## About the changes
Archive page is not loading archived feature toggles.

When fetching from the server is not including the baseUrl
2023-01-27 11:18:32 +01:00
Nuno Góis
816c8dbb46
feat: new variants per env form (#3004)
https://linear.app/unleash/issue/2-647/adapt-current-variants-ui-to-better-align-with-cr

## About the changes
Big refactor to the variants per environment UI/UX logic, making the
variants management happen on a side modal. This makes it so variants
per environment play a lot nicer with change requests.


![image](https://user-images.githubusercontent.com/14320932/214972213-32b9aba9-1390-47b3-a00a-8c4ada359953.png)


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

### Important files
A big chunk of the changes is mostly moving things around or straight up
removing them.

- EnvironmentVariantModal - The modal itself that controls all of the
variants that you're editing;
 - VariantForm - The extracted form for editing each of the variants;
2023-01-27 08:13:57 +00:00
sjaanus
b80e84b438
Revert "formatApiPath / formatAssetPath - Implement smart functionality to detect double subpath" (#3001)
Reverts Unleash/unleash#2777
2023-01-26 15:34:42 +01:00
Mateusz Kwasniewski
6b9a242be5
upload limit and import ui tweaks (#2998) 2023-01-26 12:36:45 +01:00
Mateusz Kwasniewski
527ed5feaf
filter out unused fields as they fail import validation (#2997) 2023-01-26 09:48:10 +01:00
Mateusz Kwasniewski
ee0d3f7f6f
change request import banner (#2992) 2023-01-26 08:49:17 +01:00
andreas-unleash
6a6fbfad1e
Feat/po_project_members (#2994)
<!-- 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! ❤️ -->

- Initial separation on project members into it's own component
- Styling fixes
- Hide new ToggleTypesWidget behind a flag

Members widget:
https://linear.app/unleash/issue/1-586/project-overview-members-widget
## 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-26 08:26:43 +02:00
Tymoteusz Czech
bc46918f66
fix: project without potential actions health items separation 2023-01-25 16:29:51 +01:00
Gastón Fournier
8589d59e4b
fix: check is flag enabled! (#2993)
## About the changes
This checks the feature toggle to see if change request is enabled for
variants

Tested  locally
2023-01-25 15:28:25 +00:00
Nuno Góis
7d814a623f
fix: small fixes on variants push to env UI (#2991)
https://linear.app/unleash/issue/2-652/slight-improvements-and-fixes-on-the-push-to-environment-feature

Includes:

- Hover effect on the items should cover the full width of the menu;
- Clicking anywhere on the item should toggle the check;
- Small refactoring


![image](https://user-images.githubusercontent.com/14320932/214592250-05ecc584-3b6b-49f4-93a5-4d3323cd9cde.png)
2023-01-25 14:49:01 +00:00
Nuno Góis
436849edf3
fix: revert table virtualization in variants per env (#2990)
Fixes a bug where some variant tables did not render properly if
scrolled all the way down.

Since we are not expecting to need virtualisation in these tables
anyways (each table should hopefully have a relatively low amount of
variants), reverting the `VirtualizedTable` usage to a normal one seemed
like the most straightforward solution at this stage, fixing the issue
without any noticeable side effects.


![image](https://user-images.githubusercontent.com/14320932/214568043-038ca72e-7f23-4114-8415-fb4eb287154e.png)
2023-01-25 14:23:45 +00:00
Nuno Góis
4d1a004b5d
feat: adds CR to variants per env UI (#2989)
https://linear.app/unleash/issue/2-585/add-cr-to-variants-per-environment-ui

Adds CR to the variants per environment UI. This is basically the point
where we have CRs integrated but can e.g. only update the weight once
per CR. Adapting the UI to better fit CR logic will come next.


![image](https://user-images.githubusercontent.com/14320932/214563512-664a432f-f2eb-49f7-9721-cbd6785a9320.png)
2023-01-25 14:10:35 +00:00
Tymoteusz Czech
96d4d355b1
fix: project table overflow (#2987) 2023-01-25 13:03:36 +00:00
Fredrik Strand Oseberg
38be01f506
fix: redirect only happening on root path with replace (#2981)
Adds a fix for overeager redirects, now we will redirect on the root
path and replace on our redirects from login.

Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2023-01-25 13:12:31 +01:00
andreas-unleash
1e7636283f
ToggleTypesWidget (#2983)
Implements ToggleTypeWidget

Refactored HealthWidget to it's own component

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

![Screenshot 2023-01-25 at 11 38
07](https://user-images.githubusercontent.com/104830839/214531944-c7007192-e93f-48fc-8ee1-f44930f873d2.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-25 13:52:36 +02:00
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