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

6881 Commits

Author SHA1 Message Date
Nuno Góis
fc9cad12ed
fix: addon parameter validation on empty strings (#2547)
https://linear.app/unleash/issue/2-408/addon-parameter-validation
2022-11-29 08:22:58 +00:00
Nuno Góis
4518ed6642
Fix plan upgrade tooltip (#2549)
Related: https://github.com/Unleash/unleash/pull/2544
From:
https://linear.app/unleash/issue/1-414/add-a-badge-for-oss-users-on-the-projects-page-to-see-that-extra

Includes some fixes and suggestions:
 - Should only show when OSS (icon was showing every time);
 - Link now works correctly, opens on new tab;
- Improves styling to be more aligned with original design:
https://www.figma.com/file/qdwpPfuitJUNinm6mvmCmG/Unleash-application?node-id=6961%3A38443&t=zsXNAnOurapoLm9j-0;
 - Fixes text to be like in the design;
- Improves `HtmlTooltip` look and behaviour: white arrow, custom width,
etc;
 - Some refactoring and cleanup;
 
Let me know if I should change anything 👍
2022-11-29 10:06:29 +02:00
Fredrik Strand Oseberg
ad7c139992
fix: add ADR for domain language (#2541)
This PR puts our contributing guidelines in the sidebar of the unleash
documentation. Currently there was no way of navigating to them easily,
which made our contribution guides and ADRs less useful. This PR adds
them to the sidebar as their own category, and adds an ADR for domain
centric language.

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-29 08:57:27 +01:00
renovate[bot]
1c5b96fcab
chore(deps): update dependency @babel/core to v7.20.5 (#2551)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v7.20.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7205-2022-11-28)

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

##### 👓 Spec Compliance

- `babel-helpers`, `babel-plugin-transform-destructuring`,
`babel-plugin-transform-modules-commonjs`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`,
`babel-traverse`
- [#&#8203;15183](https://togithub.com/babel/babel/pull/15183) Improve
array destructuring spec compliance
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
- `babel-cli`, `babel-helpers`,
`babel-plugin-proposal-class-properties`,
`babel-plugin-proposal-class-static-block`,
`babel-plugin-transform-classes`, `babel-plugin-transform-runtime`,
`babel-preset-env`
- [#&#8203;15182](https://togithub.com/babel/babel/pull/15182) fix:
apply toPropertyKey when defining class members
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-helper-create-class-features-plugin`, `babel-helpers`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-private-property-in-object`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#&#8203;15133](https://togithub.com/babel/babel/pull/15133) fix:
validate rhs of `in` when transpiling `#p in C`
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 🐛 Bug Fix

-   `babel-parser`
- [#&#8203;15225](https://togithub.com/babel/babel/pull/15225) Parse
`using[foo]` as computed member expression
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- [#&#8203;15207](https://togithub.com/babel/babel/pull/15207) Export
`ParseResult` type ([@&#8203;davydof](https://togithub.com/davydof))
- [#&#8203;15198](https://togithub.com/babel/babel/pull/15198) fix:
parse `import module, ...`
([@&#8203;JLHwung](https://togithub.com/JLHwung))
-   `babel-helper-wrap-function`, `babel-preset-env`, `babel-traverse`
- [#&#8203;15181](https://togithub.com/babel/babel/pull/15181) fix: Edge
cases for async functions and `noNewArrow` assumption
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-plugin-transform-arrow-functions`,
`babel-plugin-transform-parameters`, `babel-traverse`
- [#&#8203;15163](https://togithub.com/babel/babel/pull/15163) fix:
Throw error when compiling `super()` in arrow functions with default /
rest parameters
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
- `babel-helpers`, `babel-node`,
`babel-plugin-proposal-async-generator-functions`,
`babel-plugin-transform-regenerator`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#&#8203;15194](https://togithub.com/babel/babel/pull/15194) fix: Bump
`regenerator` and add tests
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
-   `babel-helper-create-regexp-features-plugin`
- [#&#8203;15192](https://togithub.com/babel/babel/pull/15192) fix:
Update `regjsparser` for `@babel/standalone`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-parser`, `babel-types`
- [#&#8203;15109](https://togithub.com/babel/babel/pull/15109) fix:
Babel 8 types
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-generator`
- [#&#8203;15143](https://togithub.com/babel/babel/pull/15143) Don't
print inner comments as leading when wrapping in `(``)`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-transform-block-scoping`, `babel-traverse`
- [#&#8203;15167](https://togithub.com/babel/babel/pull/15167) Register
`switch`'s `discriminant` in the outer scope
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 💅 Polish

-   `babel-generator`
- [#&#8203;15173](https://togithub.com/babel/babel/pull/15173) Improve
generator behavior when `comments:false`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-plugin-transform-block-scoping`
- [#&#8203;15164](https://togithub.com/babel/babel/pull/15164) Only
extract IDs for TDZ checks in assign when necessary
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏠 Internal

-   `babel-core`, `babel-parser`
- [#&#8203;15202](https://togithub.com/babel/babel/pull/15202) Bump
typescript to 4.9.3 ([@&#8203;JLHwung](https://togithub.com/JLHwung))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 21:52:20 +00:00
renovate[bot]
f9cc36522c
chore(deps): update dependency @types/make-fetch-happen to v10.0.1 (#2539)
[![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/make-fetch-happen](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/make-fetch-happen)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`10.0.0` ->
`10.0.1`](https://renovatebot.com/diffs/npm/@types%2fmake-fetch-happen/10.0.0/10.0.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fmake-fetch-happen/10.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fmake-fetch-happen/10.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fmake-fetch-happen/10.0.1/compatibility-slim/10.0.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fmake-fetch-happen/10.0.1/confidence-slim/10.0.0)](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:eyJjcmVhdGVkSW5WZXIiOiIzNC4zNy4wIiwidXBkYXRlZEluVmVyIjoiMzQuMzcuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 18:58:07 +00:00
andreas-unleash
a992aca228
Feat/add pro feature icon to oss projects (#2544)
<!-- 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! ❤️ -->
Add pro feature icon to oss projects.

## 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>
2022-11-28 17:13:45 +02:00
Tymoteusz Czech
b8012a5ad8
Client-side SDK access tokens info (#2485)
<!-- 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
Add fair use policy notifications.

Closes [linear
1-347](https://linear.app/unleash/issue/1-347/frontend-add-information-about-endpoint-url-and-fair-use-policy-for)

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#1875
2022-11-28 15:22:11 +01:00
Gastón Fournier
0943ff8f49
Fix OOM with eslint in migrations (#2545)
## About the changes
When adding a new migration, we might run out of memory. Migrations have
only JS files and we're running these through TS parser. Removing TS
config reference from `.eslintrc` proved to solve the issue while
running local manual tests

This still lints migration files but using JS syntax
2022-11-28 15:16:19 +01:00
andreas-unleash
1eb0116e11
Fix/last viewed project (#2530)
<!-- 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! ❤️ -->

Fix using projectId on redirect.

Fix: only redirect to project(s) on app load


## 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>
2022-11-28 16:10:40 +02:00
Nuno Góis
1fec43947d
add feature flag: network view (#2543)
https://linear.app/unleash/issue/2-453/add-feature-flag
2022-11-28 13:48:02 +00:00
andreas-unleash
e7225dd29f
Fix test assumption (#2540)
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>
2022-11-28 12:12:45 +02:00
Christopher Kolstad
1ecbc32e14
task: Make operations on the API Token store auditable. (#2531)
## About the changes
We need a way to have an audit log for operations made on Api Tokens.
These changes adds three new event types, API_TOKEN_CREATED,
API_TOKEN_UPDATED, API_TOKEN_DELETED and extends api-token-service to
store these to our event store to reflect the action being taken.
2022-11-28 10:56:34 +01:00
renovate[bot]
b5e1c72cc1
chore(deps): update dependency @swc/core to v1.3.20 (#2536)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

##### Bug Fixes

- **(es/codegen)** Preserve parens for `new` in optional chaining
([#&#8203;6484](https://togithub.com/swc-project/swc/issues/6484))
([1ca281a](1ca281a6cf))

- **(es/minifier)** Preserve classes with side effects in static fields
([#&#8203;6480](https://togithub.com/swc-project/swc/issues/6480))
([8d906b4](8d906b45e5))

- **(es/react)** Allow spread children
([#&#8203;6505](https://togithub.com/swc-project/swc/issues/6505))
([90aa6c8](90aa6c8318))

- **(es/visit)** Visit TypeScript satisfies expressions
([#&#8203;6511](https://togithub.com/swc-project/swc/issues/6511))
([0cee0e1](0cee0e1af7))

##### Features

- **(es/codegen)** Skip whitespaces for comments in minify mode
([#&#8203;6465](https://togithub.com/swc-project/swc/issues/6465))
([08a9e21](08a9e21b36))

##### Miscellaneous Tasks

- **(ci)** Reduce trigger scope for PRs
([#&#8203;6486](https://togithub.com/swc-project/swc/issues/6486))
([7fe091a](7fe091af1f))

- **(ci)** Skip benchmark for forks
([#&#8203;6489](https://togithub.com/swc-project/swc/issues/6489))
([78af96e](78af96e507))

##### Performance

- **(es/helpers)** Improve fast-path for helper detection
([#&#8203;6502](https://togithub.com/swc-project/swc/issues/6502))
([b3b5526](b3b5526be4))

##### Refactor

- **(binding/wasm)** Use binding_macro
([#&#8203;6487](https://togithub.com/swc-project/swc/issues/6487))
([d957aac](d957aac056))

- **(es)** Remove settings related to `privateInObject`
([#&#8203;6468](https://togithub.com/swc-project/swc/issues/6468))
([c57307d](c57307d002))

##### Build

- **(publish)** Upload cli binaries to github release
([#&#8203;6495](https://togithub.com/swc-project/swc/issues/6495))
([4f8af16](4f8af16156))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 09:10:57 +00:00
kwasniew
2afadf31be
4.18.0-beta.11 2022-11-28 07:26:26 +01:00
Mateusz Kwasniewski
68162c2b66
make approvals unique (#2534) 2022-11-28 07:19:15 +01:00
renovate[bot]
ad19779b4f
chore(deps): update dependency superagent to v8.0.4 (#2535)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>visionmedia/superagent</summary>

###
[`v8.0.4`](https://togithub.com/visionmedia/superagent/releases/tag/v8.0.4)

[Compare
Source](https://togithub.com/visionmedia/superagent/compare/v8.0.3...v8.0.4)

- Merge pull request
[#&#8203;1752](https://togithub.com/visionmedia/superagent/issues/1752)
from romainmnr/patch-1
[`ca42089`](https://togithub.com/visionmedia/superagent/commit/ca42089)
- Merge pull request
[#&#8203;1750](https://togithub.com/visionmedia/superagent/issues/1750)
from lopezac/patch-1
[`79374d6`](https://togithub.com/visionmedia/superagent/commit/79374d6)
- Add missing typing for withCredentials()
[`68a14c8`](https://togithub.com/visionmedia/superagent/commit/68a14c8)
- Fix overflow pre tag index.md
[`5099d32`](https://togithub.com/visionmedia/superagent/commit/5099d32)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-25 23:09:10 +00:00
renovate[bot]
a2c50c6224
chore(deps): update dependency lint-staged to v13.0.4 (#2532)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>okonet/lint-staged</summary>

###
[`v13.0.4`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.4)

[Compare
Source](https://togithub.com/okonet/lint-staged/compare/v13.0.3...v13.0.4)

##### Bug Fixes

- **deps:** update all dependencies
([336f3b5](336f3b513a))
- **deps:** update all dependencies
([ec995e5](ec995e53fb))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-25 14:36:51 +00:00
Mateusz Kwasniewski
a3957f8c99
disable change request overview actions when CR are disabled (#2527) 2022-11-24 16:16:14 +01:00
Fredrik Strand Oseberg
5d52216d53
fix: adds cors caching (#2522)
* This PR adds a configurable maxAge header to the CORS middleware. This
allows the preflight request to be cached so that we can reduce the
request load on our end for the frontend clients starting to utilise the
frontend api.
2022-11-24 16:14:47 +01:00
Fredrik Strand Oseberg
d63f5d9a4b
fix: add project move warning when change requests exists with the fe… (#2526)
* This PR adds a warning when you attempt to move a feature toggle if
you have existing pending drafts that reference the feature. You need to
resolve the drafts before the feature can be moved from one project to
another.
2022-11-24 15:55:16 +01:00
Nuno Góis
3f881caa37
fix: feature overview env count should only count enabled (#2521)
https://linear.app/unleash/issue/2-457/fix-feature-overview-sidepanel-environment-counter-to-only-include
2022-11-24 15:43:29 +01:00
andreas-unleash
492950e0a8
Use project id for last viewed project (#2523)
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>
2022-11-24 15:38:39 +02:00
NicolaeUnleash
21d67abd6c
readme: Update online demo image (#2528)
adds a slightly modified version of the online demo image from the readme.
2022-11-24 13:35:23 +00:00
Mateusz Kwasniewski
e809806467
log widths should be equal size (#2524) 2022-11-24 13:08:55 +01:00
Mateusz Kwasniewski
094e80e4fd
changes count (#2515) 2022-11-24 12:29:14 +01:00
Mateusz Kwasniewski
da59354bb7
Change fetcher in OSS chang (#2518) 2022-11-24 09:52:36 +01:00
renovate[bot]
6e2351edeb
chore(deps): update dependency enhanced-resolve to v5.12.0 (#2517)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>webpack/enhanced-resolve</summary>

###
[`v5.12.0`](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.12.0)

[Compare
Source](https://togithub.com/webpack/enhanced-resolve/compare/v5.11.0...v5.12.0)

-   reverts "utilize throwIfNoEntry in sync mode"

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-23 21:57:46 +00:00
Mateusz Kwasniewski
4e28aef55e
react exhaustive check fix (#2513) 2022-11-23 16:59:39 +01:00
andreas-unleash
35d9a62d89
Soft landing page on projects or last viewed project (#2499)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>

This PR introduces a soft landing page to the last viewed project or to
the project list (if there is more than 1 project)

Changes: 
- Replaced clearing of `storage` with clearing `cache` in logout.ts ::
REVERTED
- Root redirects to `projects` instead of `features`

<!-- 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>
2022-11-23 15:58:02 +02:00
Simon Hornby
0897180af5
fix: resolve an issue where cloning a feature toggle with a segment (#2511)
fix an issue where cloning a feature toggle with a strategy with segments would raise an error but still clone successfully
2022-11-23 15:39:09 +02:00
Mateusz Kwasniewski
9fee0bb264
cancel changes (#2510) 2022-11-23 14:36:11 +01:00
Nuno Góis
f9726fdee9
add tokens last seen feature flag (#2512)
https://linear.app/unleash/issue/2-450/add-feature-flag
2022-11-23 13:33:02 +00:00
Fredrik Strand Oseberg
e439e46090
fix: change domain vocabulary (#2503)
* Changes the naming of useOpenRequests to usePendingChangeRequests
2022-11-23 13:45:19 +01:00
NicolaeUnleash
bf13009a00
Docs: update unleash proxy API img (#2478)
This change updates the proxy API illustration with the correct payload. It also adds a caption to better explain what is going on (and to make it more accessible).

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-23 12:27:59 +00:00
Mateusz Kwasniewski
98a9a770d2
hide discard button (#2506) 2022-11-23 12:16:20 +01:00
renovate[bot]
f87feb9b84
chore(deps): update material-ui monorepo (#2494)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@mui/icons-material](https://mui.com/material-ui/material-icons/)
([source](https://togithub.com/mui/material-ui)) | [`5.10.14` ->
`5.10.15`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.10.14/5.10.15)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.15/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.15/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.15/compatibility-slim/5.10.14)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.15/confidence-slim/5.10.14)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/lab](https://mui.com/material-ui/about-the-lab/)
([source](https://togithub.com/mui/material-ui)) | [`5.0.0-alpha.108` ->
`5.0.0-alpha.109`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.108/5.0.0-alpha.109)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.109/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.109/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.109/compatibility-slim/5.0.0-alpha.108)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.109/confidence-slim/5.0.0-alpha.108)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/material](https://mui.com/material-ui/getting-started/overview/)
([source](https://togithub.com/mui/material-ui)) | [`5.10.14` ->
`5.10.15`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.10.14/5.10.15)
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.15/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.15/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.15/compatibility-slim/5.10.14)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.15/confidence-slim/5.10.14)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v5.10.15`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#&#8203;51015)

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

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

*Nov 21, 2022*

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

- 🚀 [@&#8203;mnajdova](https://togithub.com/mnajdova) added the button
as the first component that implements [Material
You](https://m3.material.io/) design (MD3)
- 🌐 [@&#8203;MBilalShafi](https://togithub.com/MBilalShafi) added Urdu
(Pakistan) localization
- Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure
improvements

##### `@mui/material@5.10.15`

- \[Autocomplete] Fix keyboard navigation when using custom popover
([#&#8203;35160](https://togithub.com/mui/material-ui/issues/35160))
[@&#8203;sai6855](https://togithub.com/sai6855)
- \[typescript] Add `background.defaultChannel` to `CssVarsPalette`
([#&#8203;35174](https://togithub.com/mui/material-ui/issues/35174))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[l10n] Add Urdu (ur-PK) locale
([#&#8203;35154](https://togithub.com/mui/material-ui/issues/35154))
[@&#8203;MBilalShafi](https://togithub.com/MBilalShafi)

##### `@mui/icons-material@5.10.15`

- \[icons] Update the Material Design icons
([#&#8203;35194](https://togithub.com/mui/material-ui/issues/35194))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

##### `@mui/material-next@6.0.0-alpha.63`

- \[Material You] Add theme structure & Button component
([#&#8203;34650](https://togithub.com/mui/material-ui/issues/34650))
[@&#8203;mnajdova](https://togithub.com/mnajdova)

##### `@mui/base@5.0.0-alpha.107`

- \[Select] Add attributes to conform with ARIA 1.2
([#&#8203;35182](https://togithub.com/mui/material-ui/issues/35182))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

##### Docs

- \[docs] Fix a couple documentation errors
([#&#8203;35217](https://togithub.com/mui/material-ui/issues/35217))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- \[docs] Change MUI -> Material UI in icons-material's readme
([#&#8203;35220](https://togithub.com/mui/material-ui/issues/35220))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[docs] the pages have no \<link rel=canonical so we need to tell
Google to not index the staging envs
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix confusion in TOCs when reaching scroll bottom
([#&#8203;35214](https://togithub.com/mui/material-ui/issues/35214))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix typos in section titles
([#&#8203;35025](https://togithub.com/mui/material-ui/issues/35025))
[@&#8203;iamxukai](https://togithub.com/iamxukai)
- \[docs] Fix typo in legacy date picker migration guide
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Iterating on recent Joy UI Component page updates
([#&#8203;35162](https://togithub.com/mui/material-ui/issues/35162))
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore)
- \[docs] Inform that pickers are in X repository
([#&#8203;35189](https://togithub.com/mui/material-ui/issues/35189))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[docs] Explain how the `error` prop works in the Unstyled Input
([#&#8203;35171](https://togithub.com/mui/material-ui/issues/35171))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[docs] Hotfix missing styles in dark mode
([#&#8203;35179](https://togithub.com/mui/material-ui/issues/35179))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[docs] Add Joy UI theme typography page
([#&#8203;34811](https://togithub.com/mui/material-ui/issues/34811))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[docs] Fix undo/redo in live editor
([#&#8203;35163](https://togithub.com/mui/material-ui/issues/35163))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Revise the Joy UI "Avatar" component page
([#&#8203;35152](https://togithub.com/mui/material-ui/issues/35152))
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore)
- \[docs] Make navbar backdrop filter consistent with website
([#&#8203;35157](https://togithub.com/mui/material-ui/issues/35157))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- \[docs] Host CodeSandbox on MUI org
([#&#8203;35110](https://togithub.com/mui/material-ui/issues/35110))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Uplift introduction demos & make consistent with Base
([#&#8203;34316](https://togithub.com/mui/material-ui/issues/34316))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- \[website] Add Security questionnaire in pricing
([#&#8203;35172](https://togithub.com/mui/material-ui/issues/35172))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] Fix theme mode toggle state
([#&#8203;35216](https://togithub.com/mui/material-ui/issues/35216))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[website] Exclude experiment pages in production
([#&#8203;35180](https://togithub.com/mui/material-ui/issues/35180))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[website] Disable SEO for performance pages
([#&#8203;35173](https://togithub.com/mui/material-ui/issues/35173))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)

##### Core

- \[core] Convert icons scripts to ESM
([#&#8203;35101](https://togithub.com/mui/material-ui/issues/35101))
[@&#8203;Janpot](https://togithub.com/Janpot)
- \[core] Group renovate GitHub Action dependency updates
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Upgrade eslint-config-airbnb-typescript
([#&#8203;34642](https://togithub.com/mui/material-ui/issues/34642))
[@&#8203;Janpot](https://togithub.com/Janpot)
- \[core] Ensure that prettier CI step fails when code is badly
formatted
([#&#8203;35170](https://togithub.com/mui/material-ui/issues/35170))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

All contributors of this release in alphabetical order:
[@&#8203;alexfauquette](https://togithub.com/alexfauquette),
[@&#8203;danilo-leal](https://togithub.com/danilo-leal),
[@&#8203;iamxukai](https://togithub.com/iamxukai),
[@&#8203;Janpot](https://togithub.com/Janpot),
[@&#8203;MBilalShafi](https://togithub.com/MBilalShafi),
[@&#8203;michaldudak](https://togithub.com/michaldudak),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore),
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)

</details>

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

###
[`v5.0.0-alpha.109`](c2da6de1c5...14a6e1c61e)

[Compare
Source](c2da6de1c5...14a6e1c61e)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yOS4yIiwidXBkYXRlZEluVmVyIjoiMzQuMzAuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-23 10:48:56 +00:00
sjaanus
b071de6742
Add possibility to soft delete users (#2497)
Previously we hard deleted the users, but due to change requests and
possibly other features in future, we really want to hard-link user
table and have meaningful relationships.

But this means, when user is deleted, all linked data is also deleted.
**Workaround is to soft delete users and just clear users data and keep
the relationships alive for audit logs.**

This PR implements this feature.
2022-11-23 09:30:54 +02:00
Nuno Góis
9bf3e09d5a
fix: improve UI, simplify code (#2505)
https://linear.app/unleash/issue/2-446/ui-simplify-design-with-some-improvements
2022-11-23 09:17:03 +02:00
renovate[bot]
543f07104c
chore(deps): update dependency enhanced-resolve to v5.11.0 (#2507)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>webpack/enhanced-resolve</summary>

###
[`v5.11.0`](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.11.0)

[Compare
Source](https://togithub.com/webpack/enhanced-resolve/compare/v5.10.0...v5.11.0)

### Features

-   utilize throwIfNoEntry in sync mode

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-22 22:24:57 +00:00
renovate[bot]
51deb9b947
chore(deps): update dependency vitest to v0.25.3 (#2500)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

#####    🚀 Features

- Test.each support string template  -  by
[@&#8203;poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2337](https://togithub.com/vitest-dev/vitest/issues/2337)
[<samp>(f7897)</samp>](https://togithub.com/vitest-dev/vitest/commit/f7897765)

#####    🐞 Bug Fixes

- Junit consistently puts "skipped" inside "testcase"  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(f7b27)</samp>](https://togithub.com/vitest-dev/vitest/commit/f7b27af0)
- Detect tests in folders starting with `.`  -  by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/vitest-dev/vitest/issues/2344](https://togithub.com/vitest-dev/vitest/issues/2344)
and
[https://github.com/vitest-dev/vitest/issues/2359](https://togithub.com/vitest-dev/vitest/issues/2359)
[<samp>(c3951)</samp>](https://togithub.com/vitest-dev/vitest/commit/c395177f)
- **cli**: Don't override config by setting cli options to undefined  - 
by [@&#8203;rmehner](https://togithub.com/rmehner) in
[https://github.com/vitest-dev/vitest/issues/2330](https://togithub.com/vitest-dev/vitest/issues/2330)
[<samp>(6ce3e)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ce3ed7f)
- **coverage**: Env-replacer to add filenames into sourcemaps  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2338](https://togithub.com/vitest-dev/vitest/issues/2338)
[<samp>(a2e9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/a2e9daf6)
- **mocker**: Clear automocked modules on unmock  -  by
[@&#8203;mcous](https://togithub.com/mcous) in
[https://github.com/vitest-dev/vitest/issues/2353](https://togithub.com/vitest-dev/vitest/issues/2353)
[<samp>(60918)</samp>](https://togithub.com/vitest-dev/vitest/commit/609185bd)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-22 19:10:29 +00:00
Nuno Góis
c67e44385c
misc fixes related to loading, font-size, alignment (#2504)
https://linear.app/unleash/issue/2-423/update-feature-toggle-overview-sidepanel
2022-11-22 17:04:01 +01:00
Nuno Góis
4d5c12dbf7
Feature overview sidepanel UI improvements (#2502)
https://linear.app/unleash/issue/2-423/update-feature-toggle-overview-sidepanel
Misc UI improvements.
2022-11-22 16:51:41 +01:00
Simon Hornby
801df6953c
fix: force clone feature to correctly copy variant environments (#2498)
patches an issue where cloning a feature would clone variants for
it's last found environment in the db. This now will clone the feature
environments correctly
2022-11-22 17:00:44 +02:00
Mateusz Kwasniewski
27cb6b742a
fix cr banner (#2501) 2022-11-22 14:59:38 +01:00
kwasniew
4aff5ad379
4.18.0-beta.10 2022-11-22 14:06:52 +01:00
Christopher Kolstad
a19cd9f2ae
fix: Pagination of event log (#2495)
Currently, our event log is keeping all the previous data and then
fetching and appending to our state list. This causes duplicates, since
we're keeping the existing list and might be getting the same data, but
with added events at the end.

This fix changes the logic to slice existing data at offset. Which
should make sure we only append the new data.

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-11-22 13:58:08 +01:00
Mateusz Kwasniewski
8af64e9370
add events and expose them for webhooks (#2493) 2022-11-22 13:39:15 +01:00
Nuno Góis
9f4b34367c
fix: secondary button should say "cancel" instead of "close" (#2496)
Small fix after talking with @NicolaeUnleash
2022-11-22 12:33:03 +00:00
Fredrik Strand Oseberg
a53d970263
feat: add badges to modified strategies (#2492)
<!-- 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. -->

* Adds a badge to strategies if the change can be found and the change
is relevant:
<img width="893" alt="Skjermbilde 2022-11-22 kl 11 18 32"
src="https://user-images.githubusercontent.com/16081982/203289081-b59ecaaf-e6cd-4802-b633-9cc118ca405d.png">

* I was considering making this more ergonomic using the slots vs props
pattern, but since this component is used in multiple places I left it
as is for now.

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

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
2022-11-22 12:07:50 +01:00
Simon Hornby
2a4ca96da2
Permission for variant environments (#2490)
adds permissions for variants per environment
2022-11-22 11:54:04 +02:00