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/@​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 @​uiw/react-codemirror@4.19.6
```
- 🆎 type(theme): fix type error.
([#​444](https://togithub.com/uiwjs/react-codemirror/issues/444 ))
[`5ef84c1`](https://togithub.com/uiwjs/react-codemirror/commit/5ef84c1 )
[@​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/@​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 @​uiw/react-codemirror@4.19.6
```
- 🆎 type(theme): fix type error.
([#​444](https://togithub.com/uiwjs/react-codemirror/issues/444 ))
[`5ef84c1`](https://togithub.com/uiwjs/react-codemirror/commit/5ef84c1 )
[@​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#​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​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
[@​sheremet-va](https://togithub.com/sheremet-va )
[<samp>(99676)</samp>](https://togithub.com/vitest-dev/vitest/commit/9967645a )
- Terminate workers, when closing process - by
[@​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
[@​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
[@​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#​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
([#​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#​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
([#​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
[@​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
[@​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 [@​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
[@​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
[@​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
[@​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
[@​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
[@​mysteryven](https://togithub.com/mysteryven ) and
[@​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
[@​AriPerkkio](https://togithub.com/AriPerkkio ) and
[@​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
[@​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
[@​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
([#​67](https://togithub.com/vitejs/vite-plugin-react/issues/67 ))
([9231a86](https://togithub.com/vitejs/vite-plugin-react/commit/9231a86 )),
closes
[#​67](https://togithub.com/vitejs/vite-plugin-react/issues/67 )
- fix(deps): update all non-major dependencies
([#​69](https://togithub.com/vitejs/vite-plugin-react/issues/69 ))
([0a8e099](https://togithub.com/vitejs/vite-plugin-react/commit/0a8e099 )),
closes
[#​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