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

2528 Commits

Author SHA1 Message Date
renovate[bot]
96d995f3fd
chore(deps): update dependency @uiw/react-codemirror to v4.13.0 (#2373)
[![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.12.4` ->
`4.13.0`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.12.4/4.13.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.13.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.13.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.13.0/compatibility-slim/4.12.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.13.0/confidence-slim/4.12.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.13.0:
https://raw.githack.com/uiwjs/react-codemirror/15bae9c/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.12.4...v4.13.0

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

- 🌟 feat(basic-setup): add `tabSize` options
([#&#8203;400](https://togithub.com/uiwjs/react-codemirror/issues/400)).
[`cb2efd0`](https://togithub.com/uiwjs/react-codemirror/commit/cb2efd0)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 15:59:52 +01:00
renovate[bot]
cbfeedf489
chore(deps): update node.js to v14.21.1 (#2385)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [node](https://togithub.com/nodejs/node) | minor | `14.20` -> `14.21`
|
| [node](https://togithub.com/nodejs/node) | minor | `14.20.1` ->
`14.21.1` |

---

### Release Notes

<details>
<summary>nodejs/node</summary>

###
[`v14.21.1`](https://togithub.com/nodejs/node/releases/tag/v14.21.1):
2022-11-04, Version 14.21.1 &#x27;Fermium&#x27; (LTS),
@&#8203;BethGriggs

[Compare
Source](https://togithub.com/nodejs/node/compare/v14.21.0...v14.21.1)

This is a security release.

##### Notable changes

The following CVEs are fixed in this release:

-
**[CVE-2022-43548](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-43548)**:
DNS rebinding in --inspect via invalid octal IP address (Medium)

More detailed information on each of the vulnerabilities can be found in
[November 2022 Security
Releases](https://nodejs.org/en/blog/vulnerability/november-2022-security-releases/)
blog post.

##### Commits

- \[[`2b433af094`](https://togithub.com/nodejs/node/commit/2b433af094)]
- **inspector**: harden IP address validation again (Tobias Nießen)
[nodejs-private/node-private#&#8203;354](https://togithub.com/nodejs-private/node-private/pull/354)

###
[`v14.21.0`](https://togithub.com/nodejs/node/releases/tag/v14.21.0):
2022-11-01, Version 14.21.0 &#x27;Fermium&#x27; (LTS),
@&#8203;danielleadams

[Compare
Source](https://togithub.com/nodejs/node/compare/v14.20.1...v14.21.0)

##### Notable changes

-   **deps**:
- update corepack to 0.14.2 (Node.js GitHub Bot)
[#&#8203;44775](https://togithub.com/nodejs/node/pull/44775)
-   **src**:
- add --openssl-shared-config option (Daniel Bevenius)
[#&#8203;43124](https://togithub.com/nodejs/node/pull/43124)

##### Commits

- \[[`773f587912`](https://togithub.com/nodejs/node/commit/773f587912)]
- **deps**: cherry-pick
[libuv/libuv@`3a7b955`](https://togithub.com/libuv/libuv/commit/3a7b955)
(Ben Noordhuis)
[#&#8203;43950](https://togithub.com/nodejs/node/pull/43950)
- \[[`a1dea66956`](https://togithub.com/nodejs/node/commit/a1dea66956)]
- **deps**: cherry-pick
[libuv/libuv@`abb109f`](https://togithub.com/libuv/libuv/commit/abb109f)
(Ben Noordhuis)
[#&#8203;43950](https://togithub.com/nodejs/node/pull/43950)
- \[[`98c49d81f5`](https://togithub.com/nodejs/node/commit/98c49d81f5)]
- **deps**: update corepack to 0.14.2 (Node.js GitHub Bot)
[#&#8203;44775](https://togithub.com/nodejs/node/pull/44775)
- \[[`18c43c8518`](https://togithub.com/nodejs/node/commit/18c43c8518)]
- **deps**: update timezone to tz2022e (Richard Lau)
[#&#8203;45094](https://togithub.com/nodejs/node/pull/45094)
- \[[`a1f8e4db48`](https://togithub.com/nodejs/node/commit/a1f8e4db48)]
- **deps**: update corepack to 0.14.1 (Node.js GitHub Bot)
[#&#8203;44704](https://togithub.com/nodejs/node/pull/44704)
- \[[`e55389ca86`](https://togithub.com/nodejs/node/commit/e55389ca86)]
- **deps**: update corepack to 0.14.0 (Node.js GitHub Bot)
[#&#8203;44509](https://togithub.com/nodejs/node/pull/44509)
- \[[`0227462418`](https://togithub.com/nodejs/node/commit/0227462418)]
- **deps**: update corepack to 0.13.0 (Node.js GitHub Bot)
[#&#8203;44318](https://togithub.com/nodejs/node/pull/44318)
- \[[`ee24c320ea`](https://togithub.com/nodejs/node/commit/ee24c320ea)]
- **deps**: update corepack to 0.12.3 (Node.js GitHub Bot)
[#&#8203;44229](https://togithub.com/nodejs/node/pull/44229)
- \[[`28e9891449`](https://togithub.com/nodejs/node/commit/28e9891449)]
- **deps**: update corepack to 0.12.2 (Node.js GitHub Bot)
[#&#8203;44159](https://togithub.com/nodejs/node/pull/44159)
- \[[`b6972c9df2`](https://togithub.com/nodejs/node/commit/b6972c9df2)]
- **deps**: update corepack to 0.12.1 (Node.js GitHub Bot)
[#&#8203;43965](https://togithub.com/nodejs/node/pull/43965)
- \[[`9d6cb3b5f1`](https://togithub.com/nodejs/node/commit/9d6cb3b5f1)]
- **deps**: update corepack to 0.12.0 (Node.js GitHub Bot)
[#&#8203;43748](https://togithub.com/nodejs/node/pull/43748)
- \[[`fa6c276b4f`](https://togithub.com/nodejs/node/commit/fa6c276b4f)]
- **deps**: update Corepack to 0.11.2 (Maël Nison)
[#&#8203;43402](https://togithub.com/nodejs/node/pull/43402)
- \[[`4f83d75626`](https://togithub.com/nodejs/node/commit/4f83d75626)]
- **(SEMVER-MAJOR)** **src,doc,test**: add --openssl-shared-config
option (Daniel Bevenius)
[#&#8203;43124](https://togithub.com/nodejs/node/pull/43124)
- \[[`9487028043`](https://togithub.com/nodejs/node/commit/9487028043)]
- **test**: fix intl tests on small-icu builds (Antoine du Hamel)
[#&#8203;41939](https://togithub.com/nodejs/node/pull/41939)
- \[[`a1d52097f8`](https://togithub.com/nodejs/node/commit/a1d52097f8)]
- **tools**: add more options to track flaky tests (Antoine du Hamel)
[#&#8203;43954](https://togithub.com/nodejs/node/pull/43954)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 15:58:42 +01:00
renovate[bot]
0bb5a3d076
chore(deps): update dependency vitest to v0.25.1 (#2384)
[![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.24.3` ->
`0.25.1`](https://renovatebot.com/diffs/npm/vitest/0.24.3/0.25.1) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/compatibility-slim/0.24.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/confidence-slim/0.24.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

#####    🚀 Features

- Add `vi.setConfig` helper  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2293](https://togithub.com/vitest-dev/vitest/issues/2293)
- Allow hooks to be executed in a stack or list  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2294](https://togithub.com/vitest-dev/vitest/issues/2294)

#####    🐞 Bug Fixes

- Always rewrite defined jsdom keys  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2290](https://togithub.com/vitest-dev/vitest/issues/2290)
- Default reporter regression  -  by
[@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2292](https://togithub.com/vitest-dev/vitest/issues/2292)
- Don't fail `bench` when using options  -  by
[@&#8203;poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2295](https://togithub.com/vitest-dev/vitest/issues/2295)

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

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

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

#####     Builtin TypeChecking

In v0.25.0, Vitest allows you to write tests for your types, using
`expectTypeOf` or `assertType` syntaxes. By default all tests inside
`*.test-d.ts` files are considered type tests. Run `vitest typecheck` to
run type tests.

```ts
// my.test-d.ts
import { assertType, expectTypeOf } from 'vitest'
import { mount } from './mount.js'

test('my types work properly', () => {
  expectTypeOf(mount).toBeFunction()
  expectTypeOf(mount).parameter(0).toMatchTypeOf<{ name: string }>()

  // @&#8203;ts-expect-error name is a string
  assertType(mount({ name: 42 }))
})
```

Learn more at [the
documentation](https://vitest.dev/guide/testing-types.html) and this
[RFC](https://togithub.com/vitest-dev/vitest/issues/1954)

#####    🚨 Breaking Changes

- Return context in `startVitest()`  -  by
[@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2072](https://togithub.com/vitest-dev/vitest/issues/2072)

#####    🚀 Features

- `onTestFailed` hook  -  by [@&#8203;antfu](https://togithub.com/antfu)
in
[https://github.com/vitest-dev/vitest/issues/2210](https://togithub.com/vitest-dev/vitest/issues/2210)
- Display error frame if present (like Vite)  -  by
[@&#8203;haikyuu](https://togithub.com/haikyuu) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2257](https://togithub.com/vitest-dev/vitest/issues/2257)
- Benchmark table report  -  by
[@&#8203;poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2179](https://togithub.com/vitest-dev/vitest/issues/2179)
- Add typechecking functionality  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2107](https://togithub.com/vitest-dev/vitest/issues/2107)

#####    🐞 Bug Fixes

- Clear full screen only in watch mode  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(c3d89)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3d89504)
- Don't serialize symbols and immutables  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2266](https://togithub.com/vitest-dev/vitest/issues/2266)
- Use --conditions instead of -C  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2267](https://togithub.com/vitest-dev/vitest/issues/2267)
- Show correct stack trace in errors and console  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2248](https://togithub.com/vitest-dev/vitest/issues/2248)
- Align `.each` behavior with jest  -  by
[@&#8203;bartoszgolebiowski](https://togithub.com/bartoszgolebiowski)
and [@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2064](https://togithub.com/vitest-dev/vitest/issues/2064)
- Remove undefined values in options  -  by
[@&#8203;g4rry420](https://togithub.com/g4rry420) and
[@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/2281](https://togithub.com/vitest-dev/vitest/issues/2281)
- **coverage**: Istanbul provider to preserve implicit else  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2275](https://togithub.com/vitest-dev/vitest/issues/2275)

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

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

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

#####    🚀 Features

- **vite-node**: Trigger beforeFullReload / beforePrune / invalidate
hook  -  by [@&#8203;ycmjason](https://togithub.com/ycmjason) in
[https://github.com/vitest-dev/vitest/issues/2079](https://togithub.com/vitest-dev/vitest/issues/2079)

#####    🐞 Bug Fixes

- Respect folders with dot at the start, when mocking  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2244](https://togithub.com/vitest-dev/vitest/issues/2244)
- Prevent using mocks in rpc  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2254](https://togithub.com/vitest-dev/vitest/issues/2254)
- Show actual unhandled errors, serialize DOMErrors  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2253](https://togithub.com/vitest-dev/vitest/issues/2253)
- Load deps reporter  -  by
[@&#8203;poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2249](https://togithub.com/vitest-dev/vitest/issues/2249)

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

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

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

#####    🚀 Features

- **vite-node**: Don't exit on uncaughtException in watch mode  -  by
[@&#8203;poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2186](https://togithub.com/vitest-dev/vitest/issues/2186)

#####    🐞 Bug Fixes

- Add/Update `repository` properties in `package.json`  -  by
[@&#8203;silverwind](https://togithub.com/silverwind) in
[https://github.com/vitest-dev/vitest/issues/2151](https://togithub.com/vitest-dev/vitest/issues/2151)
- Ignore benchmark.reporters in getSerializableConfig  -  by
[@&#8203;kainstar](https://togithub.com/kainstar) in
[https://github.com/vitest-dev/vitest/issues/2164](https://togithub.com/vitest-dev/vitest/issues/2164)
- Improve config's default exclude  -  by
[@&#8203;haikyuu](https://togithub.com/haikyuu) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2188](https://togithub.com/vitest-dev/vitest/issues/2188)
- Always use node condition  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/1919](https://togithub.com/vitest-dev/vitest/issues/1919)
- Clear terminal output before running tests, show errors in correct
order  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2228](https://togithub.com/vitest-dev/vitest/issues/2228)
- Improve compatibility with native Node CJS resolution  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2226](https://togithub.com/vitest-dev/vitest/issues/2226)
- Don't use resolved paths if they don't actually exist  -  by
[@&#8203;simon-abbott](https://togithub.com/simon-abbott) in
[https://github.com/vitest-dev/vitest/issues/1868](https://togithub.com/vitest-dev/vitest/issues/1868)
-   **cli**:
- Set inputNamePattern to RegExp source instead of string  -  by
[@&#8203;rafedramzi](https://togithub.com/rafedramzi) in
[https://github.com/vitest-dev/vitest/issues/2201](https://togithub.com/vitest-dev/vitest/issues/2201)
- Normalize argument path  -  by
[@&#8203;poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2180](https://togithub.com/vitest-dev/vitest/issues/2180)
-   **coverage**:
- Trim URL parameters from file paths in istanbul coverage  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/2232](https://togithub.com/vitest-dev/vitest/issues/2232)
- Trim URL parameters from file paths in c8 coverage  -  by
[@&#8203;OrestHk](https://togithub.com/OrestHk) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2181](https://togithub.com/vitest-dev/vitest/issues/2181)
-   **reporter**:
- Load custom reporter using `executeFile`  -  by
[@&#8203;poyoho](https://togithub.com/poyoho) in
[https://github.com/vitest-dev/vitest/issues/2184](https://togithub.com/vitest-dev/vitest/issues/2184)
-   **vitest**:
- Return detailed error when using toHaveReturnedWith  -  by
[@&#8203;azaleta](https://togithub.com/azaleta) in
[https://github.com/vitest-dev/vitest/issues/2163](https://togithub.com/vitest-dev/vitest/issues/2163)

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 15:58:27 +01:00
Fredrik Strand Oseberg
ac78c8f732
Feat/change request permissions (#2382)
* Adds two new permissions for the new enterprise level change request: APPROVE_CHANGE_REQUEST and APPLY_CHANGE_REQUEST
2022-11-10 11:08:58 +01:00
Tymoteusz Czech
45ee135037
feat: project change request page frontend (#2361)
- Refactor project menu - merge "Access" and "Environments" with newly
added "Change request configuration" into "Project settings" tab.
- Add Change request config page with table
- Add Change request dialog

Closes https://linear.app/unleash/issue/1-344/frontend-project-options

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#2251
2022-11-10 09:46:23 +00:00
renovate[bot]
0649262c70
chore(deps): update dependency eslint to v8.27.0 (#2374)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.26.0...v8.27.0)

#### Features

-
[`f14587c`](f14587c42b)
feat: new `no-new-native-nonconstructor` rule
([#&#8203;16368](https://togithub.com/eslint/eslint/issues/16368))
(Sosuke Suzuki)
-
[`978799b`](978799bd5c)
feat: add new rule `no-empty-static-block`
([#&#8203;16325](https://togithub.com/eslint/eslint/issues/16325))
(Sosuke Suzuki)
-
[`69216ee`](69216ee69c)
feat: no-empty suggest to add comment in empty BlockStatement
([#&#8203;16470](https://togithub.com/eslint/eslint/issues/16470))
(Nitin Kumar)
-
[`319f0a5`](319f0a5491)
feat: use `context.languageOptions.ecmaVersion` in core rules
([#&#8203;16458](https://togithub.com/eslint/eslint/issues/16458))
(Milos Djermanovic)

#### Bug Fixes

-
[`c3ce521`](c3ce5212f6)
fix: Ensure unmatched glob patterns throw an error
([#&#8203;16462](https://togithub.com/eslint/eslint/issues/16462))
(Nicholas C. Zakas)
-
[`886a038`](886a038689)
fix: handle files with unspecified path in `getRulesMetaForResults`
([#&#8203;16437](https://togithub.com/eslint/eslint/issues/16437))
(Francesco Trotta)

#### Documentation

-
[`ce93b42`](ce93b429bf)
docs: Stylelint property-no-unknown
([#&#8203;16497](https://togithub.com/eslint/eslint/issues/16497)) (Nick
Schonning)
-
[`d2cecb4`](d2cecb4ad2)
docs: Stylelint declaration-block-no-shorthand-property-overrides
([#&#8203;16498](https://togithub.com/eslint/eslint/issues/16498)) (Nick
Schonning)
-
[`0a92805`](0a92805d77)
docs: stylelint color-hex-case
([#&#8203;16496](https://togithub.com/eslint/eslint/issues/16496)) (Nick
Schonning)
-
[`74a5af4`](74a5af487a)
docs: fix stylelint error
([#&#8203;16491](https://togithub.com/eslint/eslint/issues/16491))
(Milos Djermanovic)
-
[`324db1a`](324db1a11e)
docs: explicit stylelint color related rules
([#&#8203;16465](https://togithub.com/eslint/eslint/issues/16465)) (Nick
Schonning)
-
[`94dc4f1`](94dc4f19ba)
docs: use Stylelint for HTML files
([#&#8203;16468](https://togithub.com/eslint/eslint/issues/16468)) (Nick
Schonning)
-
[`cc6128d`](cc6128db4f)
docs: enable stylelint declaration-block-no-duplicate-properties
([#&#8203;16466](https://togithub.com/eslint/eslint/issues/16466)) (Nick
Schonning)
-
[`d03a8bf`](d03a8bf897)
docs: Add heading to justification explanation
([#&#8203;16430](https://togithub.com/eslint/eslint/issues/16430))
(Maritaria)
-
[`8a15968`](8a159686f9)
docs: add Stylelint configuration and cleanup
([#&#8203;16379](https://togithub.com/eslint/eslint/issues/16379)) (Nick
Schonning)
-
[`9b0a469`](9b0a469d1e)
docs: note commit messages don't support scope
([#&#8203;16435](https://togithub.com/eslint/eslint/issues/16435)) (Andy
Edwards)
-
[`1581405`](15814057fd)
docs: improve context.getScope() docs
([#&#8203;16417](https://togithub.com/eslint/eslint/issues/16417)) (Ben
Perlmutter)
-
[`b797149`](b7971496e9)
docs: update formatters template
([#&#8203;16454](https://togithub.com/eslint/eslint/issues/16454))
(Milos Djermanovic)
-
[`5ac4de9`](5ac4de911f)
docs: fix link to formatters on the Core Concepts page
([#&#8203;16455](https://togithub.com/eslint/eslint/issues/16455))
(Vladislav)
-
[`33313ef`](33313ef562)
docs: core-concepts: fix link to semi rule
([#&#8203;16453](https://togithub.com/eslint/eslint/issues/16453))
(coderaiser)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 08:21:34 +01:00
renovate[bot]
81ff552869
chore(deps): update dependency msw to v0.48.1 (#2375)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

#### v0.48.1 (2022-11-10)

##### Bug Fixes

- bufferUtils import path
([#&#8203;1453](https://togithub.com/mswjs/msw/issues/1453))
([`91b2902`](91b2902ded))
[@&#8203;cksal0805](https://togithub.com/cksal0805)

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

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

#### v0.48.0 (2022-11-08)

##### Features

- add "SetupApi" base class
([#&#8203;1445](https://togithub.com/mswjs/msw/issues/1445))
([`85ba844`](85ba8440f5))
[@&#8203;Toxiapo](https://togithub.com/Toxiapo)
[@&#8203;kettanaito](https://togithub.com/kettanaito)
- do not interfere with shared workers
([#&#8203;1448](https://togithub.com/mswjs/msw/issues/1448))
([`670dda7`](670dda7b97))
[@&#8203;mucsi96](https://togithub.com/mucsi96)
[@&#8203;kettanaito](https://togithub.com/kettanaito)
- makes the library esm-compatible
([#&#8203;1399](https://togithub.com/mswjs/msw/issues/1399))
([`41798eb`](41798ebc69))
[@&#8203;ivanhofer](https://togithub.com/ivanhofer)
[@&#8203;kettanaito](https://togithub.com/kettanaito)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 08:21:18 +01:00
renovate[bot]
5dd319e414
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.13.0 (#2372)
[![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.12.4` ->
`4.13.0`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.12.4/4.13.0)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.13.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.13.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.13.0/compatibility-slim/4.12.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.13.0/confidence-slim/4.12.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.13.0:
https://raw.githack.com/uiwjs/react-codemirror/15bae9c/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.12.4...v4.13.0

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

- 🌟 feat(basic-setup): add `tabSize` options
([#&#8203;400](https://togithub.com/uiwjs/react-codemirror/issues/400)).
[`cb2efd0`](https://togithub.com/uiwjs/react-codemirror/commit/cb2efd0)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 06:24:17 +00:00
renovate[bot]
e9501d3f83
chore(deps): update dependency vite to v3.2.3 (#2364)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v3.2.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small323-2022-11-07-small)

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

- refactor: change style.innerHTML to style.textContent
([#&#8203;10801](https://togithub.com/vitejs/vite/issues/10801))
([8ea71b4](https://togithub.com/vitejs/vite/commit/8ea71b4)), closes
[#&#8203;10801](https://togithub.com/vitejs/vite/issues/10801)
- fix: add `@types/node` as an optional peer dependency
([#&#8203;10757](https://togithub.com/vitejs/vite/issues/10757))
([57916a4](https://togithub.com/vitejs/vite/commit/57916a4)), closes
[#&#8203;10757](https://togithub.com/vitejs/vite/issues/10757)
- fix: transform import.meta.glob when scan JS/TS
[#&#8203;10634](https://togithub.com/vitejs/vite/issues/10634)
([#&#8203;10635](https://togithub.com/vitejs/vite/issues/10635))
([c53ffec](https://togithub.com/vitejs/vite/commit/c53ffec)), closes
[#&#8203;10634](https://togithub.com/vitejs/vite/issues/10634)
[#&#8203;10635](https://togithub.com/vitejs/vite/issues/10635)
- fix(css): url() with variable in sass/less (fixes
[#&#8203;3644](https://togithub.com/vitejs/vite/issues/3644),
[#&#8203;7651](https://togithub.com/vitejs/vite/issues/7651))
([#&#8203;10741](https://togithub.com/vitejs/vite/issues/10741))
([fa2e47f](https://togithub.com/vitejs/vite/commit/fa2e47f)), closes
[#&#8203;3644](https://togithub.com/vitejs/vite/issues/3644)
[#&#8203;7651](https://togithub.com/vitejs/vite/issues/7651)
[#&#8203;10741](https://togithub.com/vitejs/vite/issues/10741)
- feat: add `vite:afterUpdate` event
([#&#8203;9810](https://togithub.com/vitejs/vite/issues/9810))
([1f57f84](https://togithub.com/vitejs/vite/commit/1f57f84)), closes
[#&#8203;9810](https://togithub.com/vitejs/vite/issues/9810)
- perf: improve `multilineCommentsRE` regex (fix
[#&#8203;10689](https://togithub.com/vitejs/vite/issues/10689))
([#&#8203;10751](https://togithub.com/vitejs/vite/issues/10751))
([51ed059](https://togithub.com/vitejs/vite/commit/51ed059)), closes
[#&#8203;10689](https://togithub.com/vitejs/vite/issues/10689)
[#&#8203;10751](https://togithub.com/vitejs/vite/issues/10751)
- perf: Use only one ps exec to find a Chromium browser opened on Mac OS
([#&#8203;10588](https://togithub.com/vitejs/vite/issues/10588))
([f199e90](https://togithub.com/vitejs/vite/commit/f199e90)), closes
[#&#8203;10588](https://togithub.com/vitejs/vite/issues/10588)
- chore: fix dev build replacing undefined
([#&#8203;10740](https://togithub.com/vitejs/vite/issues/10740))
([1358a3c](https://togithub.com/vitejs/vite/commit/1358a3c)), closes
[#&#8203;10740](https://togithub.com/vitejs/vite/issues/10740)
- chore: remove non used type definitions
([#&#8203;10738](https://togithub.com/vitejs/vite/issues/10738))
([ee8c7a6](https://togithub.com/vitejs/vite/commit/ee8c7a6)), closes
[#&#8203;10738](https://togithub.com/vitejs/vite/issues/10738)
- chore(deps): update dependency
[@&#8203;rollup/plugin-commonjs](https://togithub.com/rollup/plugin-commonjs)
to v23 ([#&#8203;10611](https://togithub.com/vitejs/vite/issues/10611))
([cc4be70](https://togithub.com/vitejs/vite/commit/cc4be70)), closes
[#&#8203;10611](https://togithub.com/vitejs/vite/issues/10611)
- chore(deps): update dependency
[@&#8203;rollup/plugin-dynamic-import-vars](https://togithub.com/rollup/plugin-dynamic-import-vars)
to v2 ([#&#8203;10726](https://togithub.com/vitejs/vite/issues/10726))
([326f782](https://togithub.com/vitejs/vite/commit/326f782)), closes
[#&#8203;10726](https://togithub.com/vitejs/vite/issues/10726)

###
[`v3.2.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small322-2022-10-31-small)

[Compare
Source](47a78db497...v3.2.2)

- chore: remove src/client from package
([#&#8203;10703](https://togithub.com/vitejs/vite/issues/10703))
([816842e](https://togithub.com/vitejs/vite/commit/816842e)), closes
[#&#8203;10703](https://togithub.com/vitejs/vite/issues/10703)
- chore(deps): update all non-major dependencies
([#&#8203;10725](https://togithub.com/vitejs/vite/issues/10725))
([22cfad8](https://togithub.com/vitejs/vite/commit/22cfad8)), closes
[#&#8203;10725](https://togithub.com/vitejs/vite/issues/10725)
- fix: remove loaded input sourcemap (fixes
[#&#8203;8411](https://togithub.com/vitejs/vite/issues/8411))
([#&#8203;10705](https://togithub.com/vitejs/vite/issues/10705))
([eb50e3a](https://togithub.com/vitejs/vite/commit/eb50e3a)), closes
[#&#8203;8411](https://togithub.com/vitejs/vite/issues/8411)
[#&#8203;10705](https://togithub.com/vitejs/vite/issues/10705)
- fix: tsconfig `jsx` overrides esbuild options, reverts
[#&#8203;10374](https://togithub.com/vitejs/vite/issues/10374)
([#&#8203;10714](https://togithub.com/vitejs/vite/issues/10714))
([aacf6a4](https://togithub.com/vitejs/vite/commit/aacf6a4)), closes
[#&#8203;10374](https://togithub.com/vitejs/vite/issues/10374)
[#&#8203;10714](https://togithub.com/vitejs/vite/issues/10714)
- docs(changelog): fix broken url
([#&#8203;10692](https://togithub.com/vitejs/vite/issues/10692))
([f937ccc](https://togithub.com/vitejs/vite/commit/f937ccc)), closes
[#&#8203;10692](https://togithub.com/vitejs/vite/issues/10692)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 22:30:23 +00:00
renovate[bot]
24d2bbcf96
chore(deps): update dependency @types/jest to v29 (#1529)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`28.1.8` ->
`29.2.2`](https://renovatebot.com/diffs/npm/@types%2fjest/28.1.8/29.2.2)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.2/compatibility-slim/28.1.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.2/confidence-slim/28.1.8)](https://docs.renovatebot.com/merge-confidence/)
|

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMTcuMiIsInVwZGF0ZWRJblZlciI6IjM0LjE3LjEifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:04:49 +01:00
Ivar Conradi Østhus
670b97dede
fix: set suggested min value to 0 (#2363)
This PR does one thing, it sets the y-axis to start at "0" when showing
request counts over time.


![image](https://user-images.githubusercontent.com/158948/200946347-b3e803c6-6ace-4ecc-b5cf-aa92a5505331.png)

fixes #2107
2022-11-09 21:43:13 +00:00
renovate[bot]
343e561bc4
chore(deps): update dependency jsdom to v20.0.2 (#2355)
[![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.1` ->
`20.0.2`](https://renovatebot.com/diffs/npm/jsdom/20.0.1/20.0.2) |
[![age](https://badges.renovateapi.com/packages/npm/jsdom/20.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/jsdom/20.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/jsdom/20.0.2/compatibility-slim/20.0.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/jsdom/20.0.2/confidence-slim/20.0.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v20.0.2`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#&#8203;2002)

[Compare
Source](https://togithub.com/jsdom/jsdom/compare/20.0.1...20.0.2)

- Fixed `xhr.abort()` to no longer give an exception when the
constructed `XMLHttpRequest` was invalid. (whamtet)
- Fixed `event.getModifierState()` on `MouseEvent` and `KeyboardEvent`
instances to properly consult the `ctrlKey`, `altKey`, `metaKey`, and
`shiftKey` properties of the event. (juzerzarif)
- Fixed custom element creation to not be affected by any modifications
to the `window.customElements` property. (bicknellr)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 19:53:39 +00:00
Mateusz Kwasniewski
b9f55a3fbc
fix sidebar width (#2359) 2022-11-09 16:50:48 +01:00
Thomas Heartman
b61dbbd718
fix: remove lexical illusion in playground guidance (#2360)
## What

I have removed a lexical illusion lexical illusion in this guidance
step, where "context field" was repeated.

## Why

Because it's unintended and doesn't make any sense in the the sentence.
2022-11-09 13:56:34 +00:00
sjaanus
ff11f30e1d
Change request approvers displaying in UI (#2358)
This PR adds UI for approvers to the change requests feature.
2022-11-09 13:35:09 +02:00
sjaanus
5e14e80ae3
Change request approvals table (#2347)
1. Added database table for change request approvals
2. Removed separate endpoint for applying. **Now all state changes will
go through same endpoint.**
2022-11-09 10:40:47 +02:00
Tymoteusz Czech
d998f4c67a
feat: suggest strategy from template (#2340) 2022-11-09 08:29:33 +00:00
Mateusz Kwasniewski
aa9aa6fb4a
styling change request sidebar (#2350) 2022-11-08 16:16:30 +01:00
Mateusz Kwasniewski
88a9e0cb9b
feat: stateful banner (#2346)
Conditional banner for change request status
2022-11-08 12:56:28 +01:00
Mateusz Kwasniewski
c6f906159b
feat: env check in change requests (#2336) 2022-11-07 09:16:29 +01:00
Nuno Góis
9577a81528
fix: clone environment creating token everytime (#2335) 2022-11-04 12:12:07 +00:00
Mateusz Kwasniewski
065833e5d1
feat: display change details (#2327)
* feat: display change details

* refactor: reorganize components

* feat: display deleted strategy name if present

* feat: UI tweaks

* fix: types

* refactor: remove unnecessary checks for types
2022-11-04 12:52:47 +01:00
Tymoteusz Czech
4b281d9513
Change request - edit strategy (#2334)
* feat: request change - add strategy

* refactor: use change request is-enabled hook

* feat: edit strategy

* fix: prettier formatting

* fix: refetch change request draft after adding
2022-11-04 11:55:45 +01:00
Tymoteusz Czech
d2000f2848
feat: request change - add strategy (#2330)
* feat: request change - add strategy

* refactor: use change request is-enabled hook
2022-11-04 11:25:06 +01:00
andreas-unleash
c1e0bd83b0
Frontend - Suggest change copy strategy (#2312)
* Suggest change copy strategy

* Fix merge conflicts

* Copy strategies from other environment added to draft

* Copy strategies from other environment added to draft

* Copy strategies from other environment added to draft

* Copy strategies from other environment added to draft

* fmt

* PR comments

* PR comments

* PR comments

* PR comments

* Fix: Conditionally hide Change Requests tab
2022-11-04 11:33:07 +02:00
Mateusz Kwasniewski
fae7de0d5d
refactor: hook for change requests (#2331)
* refactor: hook for change requests

* Update frontend/src/component/project/Project/ProjectFeatureToggles/ProjectFeatureToggles.tsx

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>

* Update frontend/src/component/project/Project/Project.tsx

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>

* Update frontend/src/component/feature/FeatureView/FeatureOverview/FeatureOverviewEnvSwitches/FeatureOverviewEnvSwitch/FeatureOverviewEnvSwitch.tsx

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>

* Update frontend/src/component/feature/FeatureStrategy/FeatureStrategyRemove/FeatureStrategyRemove.tsx

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>

* fix: fix imports

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-11-04 09:50:00 +01:00
andreas-unleash
46076fcbc8
Fix: Conditionally hide Change Requests tab (#2329) 2022-11-04 10:17:37 +02:00
sjaanus
f0a929044d
Change request API draft to open (#2320)
Draft to open
2022-11-04 09:44:56 +02:00
Ivar Conradi Østhus
0717b281fa
fix: update resolutions 2022-11-03 15:38:51 +01:00
Fredrik Strand Oseberg
d8db33ac7f
Feat/change request overview applied state (#2322)
* feat: review button

* feat: add review button

* fix: add to box

* fix: separate function calls

* fix: comment out reviewers

* fix: type
2022-11-03 12:43:03 +01:00
Mateusz Kwasniewski
147408045b
feat: suggest remove strategy UI (#2321)
* feat: suggest remove strategy UI

* add delete strategy to draft

* refactor: extract hooks

* refactor: consistent fn usage
2022-11-03 12:26:35 +01:00
Ivar Conradi Østhus
4937b23e16
fix: remove duplicate formatApiPath in userUiConfigApi hook (#2318) 2022-11-03 08:47:16 +01:00
Tymoteusz Czech
0a855604af
feat: review your draft sidebar (#2305)
* refactor playground status chip component

* fix: update change request sidebar

* refactor: status badge cleanup

* fix: prettier formatting
2022-11-02 16:05:27 +01:00
Fredrik Strand Oseberg
2f1f9cecc2
feat: change request header (#2317)
* feat: change request header

* fix: dom nesting paragraphs

* fix: change path
2022-11-02 14:23:44 +01:00
Mateusz Kwasniewski
6622346286
Add stable row id. (#2315)
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-11-02 12:55:20 +01:00
Fredrik Strand Oseberg
9b10a8815b
Feat/review page timeline (#2310)
* fix: styling

* feat: overview timeline

* fix: rename types

* fix: pr comments
2022-11-02 11:14:26 +01:00
Nuno Góis
9fb431aab7
fix: limit total of PATs a user can have (#2301)
* fix: limit total of PATs a user can have

* increase PAT limit to 10

* Update src/lib/services/pat-service.ts

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>

* disable button on the front-end when PAT limit is reached

* import from server instead of repeating ourselves

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2022-11-02 08:11:35 +00:00
sjaanus
5dd8616c74
Rename suggest changes to change request (#2311)
* Rename change request

* Merge with review status

* Move events and permissions
2022-11-02 08:34:14 +02:00
Fredrik Strand Oseberg
da102a3e98
Feat/review page states (#2309)
* feat: review status draft

* feat: add review status styles
2022-11-01 10:55:03 +01:00
Tymoteusz Czech
f39d1021d0
feat: discard suggested draft change (#2285)
* feat: discard suggested draft change

* fix: suggest changes api frontend integration

* fix suggested changes discard
2022-10-31 12:46:54 +00:00
Fredrik Strand Oseberg
15c22d7630
feat: integrate with API for suggest changes (#2286)
* feat: integrate with API for suggest changes

* fix: suggestions table tabs state (#2287)

* fix: suggestions table tabs state

* fix suggestion header padding

* fix: update snapshots

* fix: pr comments

* fix: revert store change

* fix: revert store fix

Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-10-31 12:46:31 +01:00
Nuno Góis
07821174a5
refactor: remove PAT experimental flag (#2299) 2022-10-31 09:38:30 +00:00
Nuno Góis
ce6d2e56bc
fix: only show link to create segment if you have permission (#2291) 2022-10-31 08:45:31 +00:00
renovate[bot]
670836061c
chore(deps): update dependency @vitejs/plugin-react to v2.2.0 (#2281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 21:28:28 +00:00
renovate[bot]
4dda82263e
chore(deps): update dependency vite to v3.2.1 (#2282)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 18:21:39 +00:00
Nuno Góis
09cb61c719
fix: small UI fixes to the clone environment modal (#2290)
fix: small UI fixes to the environment modal
2022-10-28 16:05:27 +01:00
Simon Hornby
7e03fba6cd
make prettify large number tests independent of locale (#2284) 2022-10-28 14:47:44 +02:00
andreas-unleash
d48cfc8585
Feat/frontend changeset list (#2264)
* ChangesetTable initial

* ChangesetTable bug fixes

* Added tabs

* Add Applied and Cancelled badges

* fix alignment

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* replace updatedAt with createdAt

* bug fix

* bug fix
2022-10-28 10:24:13 +02:00
Nuno Góis
d2324ee91f
Feat clone environment modal (#2245)
* add clone environment modal base skeleton (WIP)

* refactor HelpIcon common component, fix group form

* add more fields to clone env modal, multi project selector

* implement initial payload signature

* reflect latest design decisions

* misc ui fixes

* update UI to the new designs, change back clone option to use flag

* set env limit to 15

* Update frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>

* Update frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>

* Update frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>

* Update frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentCloneModal/EnvironmentCloneModal.tsx

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>

* address PR comments

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2022-10-28 09:15:46 +01:00
renovate[bot]
8d6084de45
chore(deps): update emotion monorepo to v11.10.5 (#2279)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 09:44:02 +02:00
Tymoteusz Czech
b7183fdf98
feat: get suggested changeset draft (#2274)
* feat: get suggested changeset draft

* fix: update routes snapshot
2022-10-28 09:43:49 +02:00
Tymoteusz Czech
c6c873d67d
feat: add changes to draft (#2271)
* feat: add changes to draft

* Make domain type and schema match

* Deleting change from changeset

* Add ability to merge

* Revert "Add ability to merge"

This reverts commit 504e7e796e.

* gRevert "Deleting change from changeset"

This reverts commit 2effc20378.

* Revert "Make domain type and schema match"

This reverts commit 079f46c0db.

Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2022-10-28 09:37:55 +02:00
renovate[bot]
7a5c4ba34c
chore(deps): update dependency @types/react-dom to v17.0.18 (#2278)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 00:38:23 +00:00
renovate[bot]
58eda0e87b
chore(deps): update dependency @types/react to v17.0.52 (#2277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 21:07:30 +00:00
renovate[bot]
09bf93f9dd
chore(deps): update dependency @types/semver to v7.3.13 (#2267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 06:44:24 +00:00
renovate[bot]
c4910750f3
chore(deps): update dependency @types/react to v17.0.51 (#2259)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 03:48:46 +00:00
renovate[bot]
ed9b7f0a77
chore(deps): update dependency @codemirror/lang-json to v6.0.1 (#2256)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 20:13:52 +00:00
Tymoteusz Czech
ea2cf144f9
Suggest changes dialog (#2247)
* refactor: suggested changes folder structure

* feat: add dialogue confirmation
2022-10-26 13:57:59 +02:00
Mateusz Kwasniewski
0dba973881
Feat/apply changes (#2258)
* feat: add suggested change component

* fix: build

* feat: suggestion header

* ui sketching different toggle changes

* feat: strategy change sets UI tweaks

* refactor: extract nested components

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-10-26 09:45:24 +02:00
Ivar Conradi Østhus
cf4fc2303b
Feat/stats service (#2211)
Introduces an instance stats service exposing usage metrics of the Unleash installation.
2022-10-25 13:10:27 +02:00
sellinjaanus
8270166286
Review your changes - approval flow (#2215)
* Initial changes

* Fix

* continue styling changes review draft

* fix: remove unused import

* update flags snapshot

Co-authored-by: sjaanus <sellinjaanus@gmail.com>
Co-authored-by: Tymoteusz Czech <tymek+gpg@getunleash.ai>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-10-24 19:15:22 +03:00
renovate[bot]
2f822cba2b
chore(deps): update dependency immer to v9.0.16 (#2233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-22 19:06:38 +00:00
renovate[bot]
0aea76f968
chore(deps): update react-router monorepo to v6.4.2 (#2228)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-22 10:24:45 +00:00
renovate[bot]
fc32c0b4d4
chore(deps): update dependency eslint to v8.26.0 (#2226)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-22 02:48:59 +00:00
renovate[bot]
ab618d307a
chore(deps): update dependency vitest to v0.24.3 (#2224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-21 23:36:46 +00:00
renovate[bot]
95293c5769
chore(deps): update dependency vite to v3.1.8 (#2221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-21 19:38:27 +00:00
Nuno Góis
86a5d09562
Group misc UI fixes (#2208)
* fix: group actions positioning

* fix: project tags aligned to the right, fix gap

* fix: edit project user / group access button text "save"
2022-10-21 09:36:10 +01:00
Nuno Góis
d696863a51
feat: convert environment actions to a popover menu, add clone option (#2214)
* feat: convert environment actions to a popover menu, add clone option

* add cloneEnviroment feature flag, hide the clone option behind it

* fix: update snap
2022-10-21 08:11:14 +01:00
renovate[bot]
bc259db889
chore(deps): update dependency vite-tsconfig-paths to v3.5.2 (#2219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-21 01:56:06 +00:00
Tymoteusz Czech
b8c3833ae4
Suggest changes - initial frontend (#2213)
* feat: add initial controller

* feat: add fe

* feat: return status codes

* remove backend experiment

* refactor standalone route for project banner

* update suggest changeset type

* refactor changeset mock

* suggest changes banner feature flag

* fix: update routes snapshot

Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2022-10-20 14:00:48 +02:00
sellinjaanus
726674ea3e
UX additions to groups SSO syncing (#2200)
* Initial commit

* Fix snapshot

* Fixes

* Small fix

Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2022-10-20 10:47:19 +03:00
renovate[bot]
f713190e34
chore(deps): update dependency @xmldom/xmldom to ^0.8.0 (#2210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-19 20:59:27 +00:00
renovate[bot]
882cef3fdb
chore(deps): update dependency vite-plugin-svgr to v2.2.2 (#2199)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-19 17:33:20 +00:00
Thomas Heartman
8916de76be
docs: Remove/update references to Heroku (#2099)
## What

This PR removes or updates references in the docs to Heroku. Most of the code samples have been replaced with a more generic `unleash.example.com` url, while other references have been removed or updated.

Also removes old OpenAPI files that are out of date and redundant with the new generation.

## Background

Come November and Heroku will no longer offer free deployments of Unleash, so it's about time we remove that claim.

Links to the heroku instance are also outdated because we don't have that instance running anymore.

Finally, the OpenAPI files we do have there are old and static, so they don't match the current reality.

## Commits

* Meta: update ignore file to ignore autogenerated docs

I must've missed the ignore file when looking for patterns.

* docs: delete old openapi file.

This seems to have been a holdover from 2020 and is probably
hand-written. It has been superseded by the new autogenerated OpenAPI docs.

* docs: add notes for heroku changes to the frontend readme and pkg

* docs: remove old openapi article and add redirects to new openapi

* docs: fix link in overview doc: point to GitHub instead of heroku

* docs: update quickstart docs with new heroku details

* docs: remove reference to crashing heroku instance

* docs: remove references to herokuapp in  code samples

* docs: add a placeholder comment

* docs: update references for heroku updates

* docs: keep using unleash4 for enterprise

* docs: remove start:heroku script in favor of start:sandbox

* docs: remove 'deploy on heroku button'

Now that it's not free anymore (or won't be very shortly), let's
remove it.

* docs: remove extra newline
2022-10-19 12:02:00 +00:00
Ivar Conradi Østhus
e52611debd
fix: pin @xmldom/xmldom to v0.7.6 2022-10-18 20:51:08 +02:00
Ivar Conradi Østhus
bd4e648eae
fix: should only require CREATE_ADDON when creating addon (#2204) 2022-10-18 19:58:05 +02:00
Nuno Góis
d261097151
PAT: add "never", "custom" options to expiry date (#2198)
* add DateTimePicker component

* PAT expiry - custom, never

* show "never" in PAT table

* add alert, some styling
2022-10-18 12:22:28 +01:00
Nuno Góis
076a007b42
fix: PATs should have an unique description (per user) (#2191)
* fix: PATs should have an unique description

* add pat validation on the back-end service

* Update src/lib/services/pat-service.ts

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>

* fix: only consider current user's PATs

* fix tests

* cleanup

* Update frontend/src/component/user/Profile/PersonalAPITokensTab/CreatePersonalAPIToken/CreatePersonalAPIToken.tsx

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

* Update src/test/e2e/api/admin/user/pat.e2e.test.ts

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-10-14 13:28:29 +01:00
Nuno Góis
e153eab2d1
fix: sandbox codemirror/state 6.1.2 (#2195) 2022-10-14 09:44:59 +00:00
Tymoteusz Czech
1f8c4f7c49
fix: invite link page docs (#2166) 2022-10-14 09:54:15 +02:00
Nuno Góis
a3bf564100
feat: add SSO mappings to groups (#2175)
* feat: add SSO mappings to groups

* add feature flag to conditionally render

* fix EditGroupUsers

* fix: update snap
2022-10-13 11:34:47 +01:00
Simon Hornby
33c084dd0f
feat: Add group sync settings to front end (#2183)
* feat: Add group sync settings to front end

Co-authored-by: Nuno Góis <github@nunogois.com>
2022-10-13 10:13:41 +02:00
Aneesh Relan
1a09d1778b
feat: prettify large numbers in metrics (#2176)
* prettify large numbers

* add tooltip for larger numbers

* add test ids, add unit test

* move dependency to devDependency

* remove unused import

* use conditional render component

* use prettify large number component for feature overview metrics
2022-10-12 16:19:37 +01:00
Aneesh Relan
e1b903a36c
feat: add event log to project (#2136) 2022-10-12 14:40:37 +02:00
renovate[bot]
514d23524c
chore(deps): update dependency sass to v1.55.0 (#2180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-12 06:23:20 +00:00
renovate[bot]
78f4f71604
chore(deps): update dependency msw to v0.47.4 (#2178)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-12 00:40:57 +00:00
renovate[bot]
815d2fbf28
chore(deps): update dependency eslint to v8.25.0 (#2174)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-11 18:57:35 +00:00
renovate[bot]
dd926923ac
chore(deps): update dependency @vitejs/plugin-react to v2.1.0 (#2171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-11 14:18:19 +00:00
renovate[bot]
14b802668c
chore(deps): update dependency @uiw/react-codemirror to v4.12.4 (#2170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-11 04:19:21 +00:00
renovate[bot]
260564e309
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.12.4 (#2169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-11 02:02:06 +00:00
renovate[bot]
6c78f3dba8
chore(deps): update dependency @testing-library/dom to v8.19.0 (#2168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 23:04:32 +00:00
andreas-unleash
64b8df7ee0
fixed segments not being copied (#2105)
* fixed segments not being copied

* fix fmt

* bug fix

* return segmentId[] when getting a feature strategy

* do not return segments if they are not there

* Update src/lib/services/feature-toggle-service.ts

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

* fix lint

* fix: more explicit column sorting and bug fix

* update snapshot

* rollback

* add segment ids to feature strategies

* bug fix

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-10-10 15:32:34 +03:00
Tymoteusz Czech
10eb500360
Custom event tracking (#2151)
* add plausible custom event tracking

* refactor: better comments for analytics tracking
2022-10-10 14:06:44 +02:00
Nuno Góis
dc2f611257
fix: PAT secret no longer returned (except new), use id instead (#2162)
* fix: PAT secret no longer returned (except new), use id instead

* fix types
2022-10-10 12:51:12 +01:00
Tymoteusz Czech
879e1358ef
feat: frontend app error boundary (#2144)
* feat: frontend app error boundary

* fix: freeze added dependency

* update yarn lock
2022-10-10 12:18:37 +02:00
renovate[bot]
e34cabdce5
chore(deps): update dependency vite-tsconfig-paths to v3.5.1 (#2155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 23:38:06 +00:00
renovate[bot]
9477babb3f
chore(deps): update dependency typescript to v4.8.4 (#2154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-07 17:54:29 +00:00
renovate[bot]
c51a70a2b6
chore(deps): update dependency semver to v7.3.8 (#2152)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-07 14:42:35 +00:00
renovate[bot]
b80297fed7
chore(deps): update dependency jsdom to v20.0.1 (#2150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-07 11:38:35 +00:00
renovate[bot]
73232e61b8
chore(deps): update dependency date-fns to v2.29.3 (#2148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-07 05:12:58 +00:00
renovate[bot]
1f6974cede
chore(deps): update dependency classnames to v2.3.2 (#2147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-07 02:41:23 +00:00
renovate[bot]
7cd15f9f66
chore(deps): update dependency @types/react to v17.0.50 (#2146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-06 23:38:48 +00:00
Fredrik Strand Oseberg
3d90a3d070
fix: equality check on feature strategy (#2145)
fix: add ability to format objects to perform equality checks on
2022-10-06 14:39:56 +02:00
renovate[bot]
f093365157
chore(deps): update dependency @openapitools/openapi-generator-cli to v2.5.2 (#2140)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-06 00:56:01 +00:00
renovate[bot]
1ee64170b9
fix(deps): pin dependencies (#2139)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-05 23:33:51 +02:00
Ivar Conradi Østhus
a09c6313b1
fix: auto add stratgy when enabling empty env. (#2137) 2022-10-05 23:33:36 +02:00
sjaanus
774d4234bb
Remove member count for default project (#2131)
* Remove member count from default project

* Remove dependencies
2022-10-05 11:51:47 +03:00
Tymoteusz Czech
df11ad9135
fix: "Reset password" page works when password authentication is disabled (#2126)
fix: password reset with only sso enabled

show correct error message
2022-10-05 09:02:20 +02:00
Nuno Góis
e53d40c588
fix: strategy name sort (#2130) 2022-10-04 10:41:43 +01:00
sjaanus
b26d2f2218
Fix yarn lint to fmt:check (#2125) 2022-10-03 12:20:47 +02:00
Nuno Góis
ddcfe132e4
feat: new profile page and PATs front-end (#2109)
* feat: new user dropdown and profile page

* fix: add popup boxShadow to dark-theme

* fix: update routes snap

* refactor: move some tab specific logic into tabs component

* add useProfile hook example

* fix profile tab header (no name)

* fix: hide user popup when clicking profile link

* - add PATs to profile;
- add route logic to profile;
- refactor TimeAgoCell title;
- misc fixes and refactoring;

* add profile info to profile tab

* simplify req paths

* add PAT flag to the front-end

* fix: some UI adjustments

* change user popup buttons to links

* fix profile on front-end, add role description

* update delete PAT text

* address some PR comments

* address PR comments

* some more UI fixes and refactoring

* move password request to API hook
2022-10-03 10:49:52 +01:00
Gard Rimestad
ba8bdc585a
fix: url encode application name in links (#2121)
* fix: url encode application name in links

This ensures that we url encode application names for our links.
2022-09-30 15:53:02 +02:00
Tymoteusz Czech
47152cf05b
Feat/invite user (#2061)
* refactor: user creation screen cleanup

* feat: deprecation notice for google sso

* fix: docs openid typo

* invite link bar

* invite link page

* fix prettier docs

* regenerated openapi

* hooks for invite page api

* update openapi

* feat: invite link update

* feat: add public signup token soft-delete

* public signup frontend feature flag

* fix: new user api issues

* feat: allow for creating new user from invite link

* Feat/invite user public controller (#2106)

* added PublicInviteController for public urls

* added PublicInviteController for public urls

* added PublicInviteController for public urls

* added PublicInviteController for public urls

* fix test

* fix test

* update openapi

* refactor: password reset props

* fix: public invite schema and validation

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

* user invite frontend

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

* invite link delete confirmation dialog

* refactor: password reset action

* fix: new user invite loading state

* fix: run ts check with ci

* revert openapi changes

* fix: invite token api interface

* fix: openapi schema index

* fix: update test snapshots

* update frontend snapshot

* fix: prettier ci

* fix: updates after review

Co-authored-by: andreas-unleash <104830839+andreas-unleash@users.noreply.github.com>
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-09-30 13:01:32 +02:00
Ivar Conradi Østhus
ef965d66de
feat: Open-Source Strategy Constraints (#2112)
This commits lift the flags and makes Strategy Constraints
available to all users of Unleash.

Read more in the docs:
https://docs.getunleash.io/advanced/strategy_constraints

Enjoy!

@ivarconr
Author and maintainer
2022-09-30 10:45:34 +02:00
Thomas Heartman
0302b3d2e3
fix: Update UI labeling: custom constraint -> (strategy) constraint (#2101)
* fix: change every instance of "custom constraint"

This changes every instance of "custom constraint" to "constraint" or
"strategy constraint" depending on the context.

* fix: rename custom-constraint.png to avoid confusion

* Update images-constraints

Co-authored-by: NicolaeUnleash <103567375+NicolaeUnleash@users.noreply.github.com>
2022-09-29 11:43:04 +02:00
Gard Rimestad
87a9789300
fix: s/Never logged/Never/g in frontend (#2075)
When a user has never been logged in "last login: never" reads better
than "last login: Never logged".
2022-09-23 10:00:06 +02:00
Fredrik Strand Oseberg
54633500fd
Feat/use collaborate data (#2067)
* feat: initial architecture

* feat: add generic types

* fix: refactor

* feat: style notification

* feat: remove useFeatureImmutable

* fix: remove casting

* fix: ensure data is present

* fix: revive useFeatureImmutable

* Update frontend/src/component/common/StaleDataNotification/StaleDataNotification.tsx

Co-authored-by: Nuno Góis <github@nunogois.com>

* Update frontend/src/component/common/StaleDataNotification/StaleDataNotification.tsx

Co-authored-by: Nuno Góis <github@nunogois.com>

* Update frontend/src/component/common/StaleDataNotification/StaleDataNotification.tsx

Co-authored-by: Nuno Góis <github@nunogois.com>

* Update frontend/src/component/common/StaleDataNotification/StaleDataNotification.tsx

Co-authored-by: Nuno Góis <github@nunogois.com>

* Update frontend/src/component/common/StaleDataNotification/StaleDataNotification.tsx

Co-authored-by: Nuno Góis <github@nunogois.com>

* fix: pr comments

* fix: change order

Co-authored-by: Nuno Góis <github@nunogois.com>
2022-09-16 15:23:08 +02:00
Tymoteusz Czech
2cd5028125
Docs: update API access for new token type (#1958)
* refactor how-to guide for creating a token

* fix token links

* update SDK reference

* beginning of direct api guide

* refactored frontend api guide

* lint staged breaking notes

* update docs - cors for frontend

* update token guide images

* update after review

* Apply suggestions from code review

`website/docs/user_guide/token.mdx`

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

* Apply suggestions from code review

`website/docs/topics/frontend-api.md`

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

* Apply suggestions from code review

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

* Apply suggestions from code review

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

* pr review

* docs: Add info about front-end tokens + formatting

* docs: add info about token anatomy

* docs: link to correct  place in doc

* docs: replace "direct access API" -> "front-end API"

* docs: rename file frontend-api -> front-end-api

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-09-15 09:02:10 +02:00
Tymoteusz Czech
ce3db75133
Create Signup page for users from Invite link (#2052)
* refactor: user creation screen cleanup

* feat: deprecation notice for google sso

* fix: docs openid typo

* user invite hook mock
2022-09-14 11:42:20 +02:00
Christopher Kolstad
11d5b0c12b
fix CreateFeatureButton unused imports 2022-09-07 12:50:32 +02:00
andreas-unleash
b74b2bf070
Improve tabs UI on smaller devices (#2014)
* Improve tabs UI on smaller devices

* Improve tabs UI on smaller devices

* bug fix

* add proper scrollable tabs

* removed centered from Tabs (conflicts with scrollable)

* PR comments
2022-09-06 15:32:42 +03:00
andreas-unleash
13e0130824
add groupId to gradual rollout template (#2045)
* add groupId to gradual rollout template

* FMT
2022-09-06 15:32:28 +03:00
Tymoteusz Czech
03ddb0ad74
fix: trimming strategy parameters (#2044) 2022-09-06 10:10:10 +02:00
Tymoteusz Czech
18fc5eebd2
fix: show addon event select validation (#2031)
* fix: show addon event select validation

* fix: addon form parameters error not clearing

* fix: addon required parameter field indicators
2022-09-05 11:00:59 +02:00
Tymoteusz Czech
c64f9a0e20
fix: toggle strategies ui adjustments (#2030)
* fix: toggle strategies ui adjustments

* fix dark theme type ts issue
2022-09-05 11:00:36 +02:00
andreas-unleash
5f3af07e43
Bug fix - Hide case sensitive button when changing operators (#2015) 2022-09-05 09:30:31 +03:00
Tymoteusz Czech
3331e2aa85
refactor: use permission button for new toggle (#2009) 2022-09-02 13:35:39 +02:00
Christopher Kolstad
ae19cae8a9
feat: add count to event list (#2036)
* feat: add count to event list
2022-09-02 08:35:31 +02:00
Christopher Kolstad
3d40d0d6db
feat: add count to project role list (#2037)
* feat: add count to project role list
2022-09-02 08:35:15 +02:00
renovate[bot]
318c235f20
chore(deps): update dependency msw to v0.46.0 (#2033)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-01 05:52:49 +00:00
renovate[bot]
edaa160778
chore(deps): update dependency sass to v1.54.8 (#2012)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-01 02:29:31 +00:00
renovate[bot]
6e33942193
chore(deps): update dependency eslint to v8.23.0 (#2006)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-31 19:27:55 +00:00
Christopher Kolstad
4e08fcf365
feat: add count to segment table (#2025) 2022-08-31 14:14:45 +00:00
Christopher Kolstad
2de4114b76
feat: add application counter to application list (#2019) 2022-08-31 16:10:01 +02:00
Christopher Kolstad
4536fdd817
feat: add count to tag types list (#2023) 2022-08-31 16:09:36 +02:00
Christopher Kolstad
101e9103ae
feat: add count to users list (#2026) 2022-08-31 16:02:47 +02:00
olav
745a73d445
feat: add features counter to health report table (#2028) 2022-08-31 16:02:04 +02:00
olav
e002bd5c81
feat: add counter to variants table (#2029) 2022-08-31 16:01:46 +02:00
Christopher Kolstad
e140fb31b7
feat: add count to context field list (#2020) 2022-08-31 15:26:06 +02:00
Christopher Kolstad
84b3777dae
feat: add project count to projectlist (#2017) 2022-08-31 15:25:49 +02:00
Christopher Kolstad
5d8678618e
feat: add count for strategy types list (#2021) 2022-08-31 15:21:09 +02:00
Christopher Kolstad
80a0ab26ce
feat add count to Environments (#2022) 2022-08-31 15:17:28 +02:00
Christopher Kolstad
b827056f51
feat: Add count to list of addons (#2024) 2022-08-31 15:15:03 +02:00
olav
6af8f7356f
fix: avoid stale feature strategy enabled status message (#2018) 2022-08-31 15:09:01 +02:00
Christopher Kolstad
7e77270ba5
feat: set accessor on status field for health (#2016) 2022-08-31 13:21:12 +02:00
renovate[bot]
9dc12c018f
chore(deps): update dependency @types/react to v17.0.49 (#2010)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 23:49:49 +00:00
renovate[bot]
dfba669c67
chore(deps): update emotion monorepo to v11.10.4 (#2005)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 20:42:48 +00:00
sjaanus
e21cf00ca7
Merge e2e tests into matrix (#2007) 2022-08-30 13:23:09 +00:00
renovate[bot]
5d8c81d659
chore(deps): update material-ui monorepo (#2001)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 13:01:13 +00:00
renovate[bot]
5ddc54b760
chore(deps): update dependency sass to v1.54.6 (#1997)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 12:51:35 +00:00