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

7381 Commits

Author SHA1 Message Date
renovate[bot]
52961f245c
chore(deps): update dependency @types/express to v4.17.15 (#2743)
[![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/express](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`4.17.14` ->
`4.17.15`](https://renovatebot.com/diffs/npm/@types%2fexpress/4.17.14/4.17.15)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fexpress/4.17.15/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fexpress/4.17.15/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fexpress/4.17.15/compatibility-slim/4.17.14)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fexpress/4.17.15/confidence-slim/4.17.14)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 12:38:02 +01:00
renovate[bot]
a445c9c2b6
chore(deps): update dependency @types/node to v16.18.11 (#2744)
[![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/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`16.18.8` ->
`16.18.11`](https://renovatebot.com/diffs/npm/@types%2fnode/16.18.8/16.18.11)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.11/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.11/compatibility-slim/16.18.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.11/confidence-slim/16.18.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**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 12:37:21 +01:00
renovate[bot]
0fbeeecfd1
fix(deps): update dependency uuid to v9 (#2401)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [uuid](https://togithub.com/uuidjs/uuid) | [`^8.3.2` ->
`^9.0.0`](https://renovatebot.com/diffs/npm/uuid/8.3.2/9.0.0) |
[![age](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/compatibility-slim/8.3.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/confidence-slim/8.3.2)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/uuid](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`8.3.4` ->
`9.0.0`](https://renovatebot.com/diffs/npm/@types%2fuuid/8.3.4/9.0.0) |
[![age](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.0/compatibility-slim/8.3.4)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.0/confidence-slim/8.3.4)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uuidjs/uuid</summary>

###
[`v9.0.0`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#&#8203;900-httpsgithubcomuuidjsuuidcomparev832v900-2022-09-05)

[Compare
Source](https://togithub.com/uuidjs/uuid/compare/v8.3.2...v9.0.0)

##### ⚠ BREAKING CHANGES

- Drop Node.js 10.x support. This library always aims at supporting one
EOLed LTS release which by this time now is 12.x which has reached EOL
30 Apr 2022.

-   Remove the minified UMD build from the package.

Minified code is hard to audit and since this is a widely used library
it seems more appropriate nowadays to optimize for auditability than to
ship a legacy module format that, at best, serves educational purposes
nowadays.

For production browser use cases, users should be using a bundler. For
educational purposes, today's online sandboxes like replit.com offer
convenient ways to load npm modules, so the use case for UMD through
repos like UNPKG or jsDelivr has largely vanished.

- Drop IE 11 and Safari 10 support. Drop support for browsers that don't
correctly implement const/let and default arguments, and no longer
transpile the browser build to ES2015.

This also removes the fallback on msCrypto instead of the crypto API.

Browser tests are run in the first supported version of each supported
browser and in the latest (as of this commit) version available on
Browserstack.

##### Features

- optimize uuid.v1 by 1.3x uuid.v4 by 4.3x (430%)
([#&#8203;597](https://togithub.com/uuidjs/uuid/issues/597))
([3a033f6](3a033f6bab))
- remove UMD build
([#&#8203;645](https://togithub.com/uuidjs/uuid/issues/645))
([e948a0f](e948a0f22b)),
closes [#&#8203;620](https://togithub.com/uuidjs/uuid/issues/620)
- use native crypto.randomUUID when available
([#&#8203;600](https://togithub.com/uuidjs/uuid/issues/600))
([c9e076c](c9e076c852))

##### Bug Fixes

- add Jest/jsdom compatibility
([#&#8203;642](https://togithub.com/uuidjs/uuid/issues/642))
([16f9c46](16f9c469ed))
- change default export to named function
([#&#8203;545](https://togithub.com/uuidjs/uuid/issues/545))
([c57bc5a](c57bc5a9a0))
- handle error when parameter is not set in v3 and v5
([#&#8203;622](https://togithub.com/uuidjs/uuid/issues/622))
([fcd7388](fcd7388169))
- run npm audit fix
([#&#8203;644](https://togithub.com/uuidjs/uuid/issues/644))
([04686f5](04686f54c5))
- upgrading from uuid3 broken link
([#&#8203;568](https://togithub.com/uuidjs/uuid/issues/568))
([1c849da](1c849da6e1))

##### build

- drop Node.js 8.x from babel transpile target
([#&#8203;603](https://togithub.com/uuidjs/uuid/issues/603))
([aa11485](aa11485826))

- drop support for legacy browsers (IE11, Safari 10)
([#&#8203;604](https://togithub.com/uuidjs/uuid/issues/604))
([0f433e5](0f433e5ec4))

- drop node 10.x to upgrade dev dependencies
([#&#8203;653](https://togithub.com/uuidjs/uuid/issues/653))
([28a5712](28a571283f)),
closes [#&#8203;643](https://togithub.com/uuidjs/uuid/issues/643)

##### [8.3.2](https://togithub.com/uuidjs/uuid/compare/v8.3.1...v8.3.2)
(2020-12-08)

##### Bug Fixes

- lazy load getRandomValues
([#&#8203;537](https://togithub.com/uuidjs/uuid/issues/537))
([16c8f6d](16c8f6df2f)),
closes [#&#8203;536](https://togithub.com/uuidjs/uuid/issues/536)

##### [8.3.1](https://togithub.com/uuidjs/uuid/compare/v8.3.0...v8.3.1)
(2020-10-04)

##### Bug Fixes

- support expo>=39.0.0
([#&#8203;515](https://togithub.com/uuidjs/uuid/issues/515))
([c65a0f3](c65a0f3fa7)),
closes [#&#8203;375](https://togithub.com/uuidjs/uuid/issues/375)

</details>

---

### Configuration

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

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

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

🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuNjIuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 11:25:55 +01:00
renovate[bot]
03dc65bf2a
chore(deps): update dependency @babel/core to v7.20.7 (#2740)
[![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.5` ->
`7.20.7`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.20.5/7.20.7)
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/compatibility-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/confidence-slim/7.20.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v7.20.7`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7207-2022-12-22)

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

##### 👓 Spec Compliance

- `babel-helper-member-expression-to-functions`,
`babel-helper-replace-supers`, `babel-plugin-proposal-class-properties`,
`babel-plugin-transform-classes`
- [#&#8203;15223](https://togithub.com/babel/babel/pull/15223) fix:
Deleting super property should throw
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
- `babel-helpers`, `babel-plugin-proposal-class-properties`,
`babel-plugin-transform-classes`, `babel-plugin-transform-object-super`
- [#&#8203;15241](https://togithub.com/babel/babel/pull/15241) fix:
Throw correct error types from sed ant class TDZ helpers
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))

##### 🐛 Bug Fix

-   `babel-parser`, `babel-plugin-transform-typescript`
- [#&#8203;15209](https://togithub.com/babel/babel/pull/15209) fix:
Support auto accessors with TypeScript annotations
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-traverse`
- [#&#8203;15287](https://togithub.com/babel/babel/pull/15287) Fix
`.parentPath` after rename in `SwitchCase`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-transform-typescript`, `babel-traverse`
- [#&#8203;15284](https://togithub.com/babel/babel/pull/15284) fix: Ts
import type and func with duplicate name
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-plugin-transform-block-scoping`
- [#&#8203;15278](https://togithub.com/babel/babel/pull/15278) Fix tdz
analysis for reassigned captured for bindings
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-plugin-proposal-async-generator-functions`, `babel-preset-env`
- [#&#8203;15235](https://togithub.com/babel/babel/pull/15235) fix:
Transform `for await` with shadowed variables
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-generator`, `babel-plugin-proposal-optional-chaining`
- [#&#8203;15258](https://togithub.com/babel/babel/pull/15258) fix:
Correctly generate `(a ?? b) as T`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-plugin-transform-react-jsx`, `babel-types`
- [#&#8203;15233](https://togithub.com/babel/babel/pull/15233) fix: Emit
correct sourcemap ranges for `JSXText`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-core`, `babel-helpers`,
`babel-plugin-transform-computed-properties`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`, `babel-runtime`
- [#&#8203;15232](https://togithub.com/babel/babel/pull/15232) fix:
Computed properties should keep original definition order
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
- `babel-helper-member-expression-to-functions`,
`babel-helper-replace-supers`, `babel-plugin-proposal-class-properties`,
`babel-plugin-transform-classes`
- [#&#8203;15223](https://togithub.com/babel/babel/pull/15223) fix:
Deleting super property should throw
([@&#8203;SuperSodaSea](https://togithub.com/SuperSodaSea))
-   `babel-generator`
- [#&#8203;15216](https://togithub.com/babel/babel/pull/15216) fix:
Print newlines for leading Comments of `TSEnumMember`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 💅 Polish

-   `babel-plugin-transform-block-scoping`, `babel-traverse`
- [#&#8203;15275](https://togithub.com/babel/babel/pull/15275) Improve
relative execution tracking in fn exprs
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏠 Internal

- `babel-helper-define-map`, `babel-plugin-transform-property-mutators`
- [#&#8203;15274](https://togithub.com/babel/babel/pull/15274) Inline &
simplify `@babel/helper-define-map`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-core`, `babel-plugin-proposal-class-properties`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-destructuring`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-regenerator`, `babel-plugin-transform-runtime`,
`babel-preset-env`, `babel-traverse`
- [#&#8203;15200](https://togithub.com/babel/babel/pull/15200) Rewrite
`transform-block-scoping` plugin
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏃‍♀️ Performance

-   `babel-helper-compilation-targets`
- [#&#8203;15228](https://togithub.com/babel/babel/pull/15228) perf:
Speed up `getTargets`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 10:07:48 +00:00
renovate[bot]
3437e4ee30
chore(deps): update typescript-eslint monorepo to v5.47.1 (#2426)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint)
| [`5.42.1` ->
`5.47.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.42.1/5.47.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.47.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.47.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.47.1/compatibility-slim/5.42.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.47.1/confidence-slim/5.42.1)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint)
| [`5.42.1` ->
`5.47.1`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/5.42.1/5.47.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.47.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.47.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.47.1/compatibility-slim/5.42.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2fparser/5.47.1/confidence-slim/5.42.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/eslint-plugin)</summary>

###
[`v5.47.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5471-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5470v5471-2022-12-26)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.47.0...v5.47.1)

##### Bug Fixes

- **ast-spec:** correct some incorrect ast types
([#&#8203;6257](https://togithub.com/typescript-eslint/typescript-eslint/issues/6257))
([0f3f645](0f3f64571e))
- **eslint-plugin:** \[member-ordering] correctly invert
optionalityOrder
([#&#8203;6256](https://togithub.com/typescript-eslint/typescript-eslint/issues/6256))
([ccd45d4](ccd45d4a99))

###
[`v5.47.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5470-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5461v5470-2022-12-19)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.46.1...v5.47.0)

##### Features

- **eslint-plugin:** \[no-floating-promises] add suggestion fixer to add
an 'await'
([#&#8203;5943](https://togithub.com/typescript-eslint/typescript-eslint/issues/5943))
([9e35ef9](9e35ef9af3))

####
[5.46.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.46.0...v5.46.1)
(2022-12-12)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

###
[`v5.46.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5461-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5460v5461-2022-12-12)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.46.0...v5.46.1)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)

###
[`v5.46.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5460-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5451v5460-2022-12-08)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.45.1...v5.46.0)

##### Bug Fixes

- **eslint-plugin:** \[ban-types] update message to suggest `object`
instead of `Record<string, unknown>`
([#&#8203;6079](https://togithub.com/typescript-eslint/typescript-eslint/issues/6079))
([d91a5fc](d91a5fc41b))

##### Features

- **eslint-plugin:** \[prefer-nullish-coalescing] logic and test for
strict null checks
([#&#8203;6174](https://togithub.com/typescript-eslint/typescript-eslint/issues/6174))
([8a91cbd](8a91cbd9fb))

####
[5.45.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.45.0...v5.45.1)
(2022-12-05)

##### Bug Fixes

- **eslint-plugin:** \[keyword-spacing] unexpected space before/after in
`import type`
([#&#8203;6095](https://togithub.com/typescript-eslint/typescript-eslint/issues/6095))
([98caa92](98caa92ca8))
- **eslint-plugin:** \[no-shadow] add call and method signatures to
`ignoreFunctionTypeParameterNameValueShadow`
([#&#8203;6129](https://togithub.com/typescript-eslint/typescript-eslint/issues/6129))
([9d58b6b](9d58b6be24))
- **eslint-plugin:** \[prefer-optional-chain] collect MetaProperty type
([#&#8203;6083](https://togithub.com/typescript-eslint/typescript-eslint/issues/6083))
([d7114d3](d7114d3ab0))
- **eslint-plugin:** \[sort-type-constituents,
sort-type-union-intersection-members] handle some required parentheses
cases in the fixer
([#&#8203;6118](https://togithub.com/typescript-eslint/typescript-eslint/issues/6118))
([5d49d5d](5d49d5dbee))

###
[`v5.45.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5451-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5450v5451-2022-12-05)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.45.0...v5.45.1)

##### Bug Fixes

- **eslint-plugin:** \[keyword-spacing] unexpected space before/after in
`import type`
([#&#8203;6095](https://togithub.com/typescript-eslint/typescript-eslint/issues/6095))
([98caa92](98caa92ca8))
- **eslint-plugin:** \[no-shadow] add call and method signatures to
`ignoreFunctionTypeParameterNameValueShadow`
([#&#8203;6129](https://togithub.com/typescript-eslint/typescript-eslint/issues/6129))
([9d58b6b](9d58b6be24))
- **eslint-plugin:** \[prefer-optional-chain] collect MetaProperty type
([#&#8203;6083](https://togithub.com/typescript-eslint/typescript-eslint/issues/6083))
([d7114d3](d7114d3ab0))
- **eslint-plugin:** \[sort-type-constituents,
sort-type-union-intersection-members] handle some required parentheses
cases in the fixer
([#&#8203;6118](https://togithub.com/typescript-eslint/typescript-eslint/issues/6118))
([5d49d5d](5d49d5dbee))

###
[`v5.45.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5450-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5440v5450-2022-11-28)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.44.0...v5.45.0)

##### Bug Fixes

- **eslint-plugin:** \[array-type] --fix flag removes parentheses from
type
([#&#8203;5997](https://togithub.com/typescript-eslint/typescript-eslint/issues/5997))
([42b33af](42b33af256))
- **eslint-plugin:** \[keyword-spacing] prevent crash on no options
([#&#8203;6073](https://togithub.com/typescript-eslint/typescript-eslint/issues/6073))
([1f19998](1f19998e3e))
- **eslint-plugin:** \[member-ordering] support private fields
([#&#8203;5859](https://togithub.com/typescript-eslint/typescript-eslint/issues/5859))
([f02761a](f02761af19))
- **eslint-plugin:** \[prefer-readonly] report if a member's property is
reassigned
([#&#8203;6043](https://togithub.com/typescript-eslint/typescript-eslint/issues/6043))
([6e079eb](6e079eb35c))

##### Features

- **eslint-plugin:** \[member-ordering] add a required option for
required vs. optional member ordering
([#&#8203;5965](https://togithub.com/typescript-eslint/typescript-eslint/issues/5965))
([2abadc6](2abadc6c26))

###
[`v5.44.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5440-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5430v5440-2022-11-21)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.43.0...v5.44.0)

##### Bug Fixes

- **eslint-plugin:** \[no-empty-interface] disable autofix for
declaration merging with class
([#&#8203;5920](https://togithub.com/typescript-eslint/typescript-eslint/issues/5920))
([a4f85b8](a4f85b8cfe))
- **eslint-plugin:** \[no-unnecessary-condition] handle index signature
type
([#&#8203;5912](https://togithub.com/typescript-eslint/typescript-eslint/issues/5912))
([5baad08](5baad0893f))
- **eslint-plugin:** \[prefer-optional-chain] handle binary expressions
in negated or
([#&#8203;5992](https://togithub.com/typescript-eslint/typescript-eslint/issues/5992))
([2778ff0](2778ff0c3d))
- **typescript-estree:** don't consider a cached program unless it's
specified in the current `parserOptions.project` config
([#&#8203;5999](https://togithub.com/typescript-eslint/typescript-eslint/issues/5999))
([530e0e6](530e0e618c))

##### Features

- **eslint-plugin:** \[adjacent-overload-signatures] check
BlockStatement nodes
([#&#8203;5998](https://togithub.com/typescript-eslint/typescript-eslint/issues/5998))
([97d3e56](97d3e56709))
- **eslint-plugin:** \[keyword-spacing] Support spacing in import-type
syntax
([#&#8203;5977](https://togithub.com/typescript-eslint/typescript-eslint/issues/5977))
([6a735e1](6a735e142e))

###
[`v5.43.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5430-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5421v5430-2022-11-14)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.42.1...v5.43.0)

##### Bug Fixes

- **eslint-plugin:** \[no-shadow] handle false positives on generics and
parameters
([#&#8203;5902](https://togithub.com/typescript-eslint/typescript-eslint/issues/5902))
([769e8c8](769e8c8b9a))
- **eslint-plugin:** \[promise-function-async] handle keyword token
([#&#8203;5907](https://togithub.com/typescript-eslint/typescript-eslint/issues/5907))
([f25a94f](f25a94fa75))

##### Features

- **eslint-plugin:** \[consistent-type-imports] support fixing to inline
types
([#&#8203;5050](https://togithub.com/typescript-eslint/typescript-eslint/issues/5050))
([75dcdf1](75dcdf164d))
- **eslint-plugin:** \[naming-convention] add support for "override" and
"async" modifiers
([#&#8203;5310](https://togithub.com/typescript-eslint/typescript-eslint/issues/5310))
([#&#8203;5610](https://togithub.com/typescript-eslint/typescript-eslint/issues/5610))
([c759da1](c759da1693))
- **eslint-plugin:** \[prefer-optional-chain] support suggesting `!foo
|| !foo.bar` as a valid match for the rule
([#&#8203;5594](https://togithub.com/typescript-eslint/typescript-eslint/issues/5594))
([923d486](923d486c8c))

####
[5.42.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.42.0...v5.42.1)
(2022-11-07)

##### Bug Fixes

- **eslint-plugin:** isTypeReadonly stack overflow
([#&#8203;5875](https://togithub.com/typescript-eslint/typescript-eslint/issues/5875))
([#&#8203;5876](https://togithub.com/typescript-eslint/typescript-eslint/issues/5876))
([2d9a33c](2d9a33cfb2))

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/parser)</summary>

###
[`v5.47.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5471-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5470v5471-2022-12-26)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.47.0...v5.47.1)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.47.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5470-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5461v5470-2022-12-19)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.46.1...v5.47.0)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

####
[5.46.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.46.0...v5.46.1)
(2022-12-12)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.46.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5461-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5460v5461-2022-12-12)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.46.0...v5.46.1)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.46.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5460-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5451v5460-2022-12-08)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.45.1...v5.46.0)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

####
[5.45.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.45.0...v5.45.1)
(2022-12-05)

##### Bug Fixes

- **parser:** remove the jsx option requirement for automatic jsx pragma
resolution
([#&#8203;6134](https://togithub.com/typescript-eslint/typescript-eslint/issues/6134))
([e777f5e](e777f5e225))

###
[`v5.45.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5451-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5450v5451-2022-12-05)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.45.0...v5.45.1)

##### Bug Fixes

- **parser:** remove the jsx option requirement for automatic jsx pragma
resolution
([#&#8203;6134](https://togithub.com/typescript-eslint/typescript-eslint/issues/6134))
([e777f5e](e777f5e225))

###
[`v5.45.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5450-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5440v5450-2022-11-28)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.44.0...v5.45.0)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.44.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5440-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5430v5440-2022-11-21)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.43.0...v5.44.0)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

###
[`v5.43.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5430-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5421v5430-2022-11-14)

[Compare
Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.42.1...v5.43.0)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

####
[5.42.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.42.0...v5.42.1)
(2022-11-07)

**Note:** Version bump only for package
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)

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

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

This PR contains the following updates:

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

---

### Release Notes

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

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

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

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

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

<!-- prettier-ignore -->

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

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

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

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

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

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

<!-- prettier-ignore -->

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

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

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

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

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4zMC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNjIuMSJ9-->

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

This PR contains the following updates:

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

---

### Release Notes

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

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

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

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

</details>

---

### Configuration

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

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

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

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

---

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

---

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

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

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


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

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

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

Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2022-12-22 15:16:51 +00:00
sjaanus
e533b44c5b
Adds tracking to maintenance feature (#2723)
Adds tracking with plausible to maintenance feature
2022-12-21 16:16:15 +02:00
Christopher Kolstad
5b66346e56
fixes 2-456: Preserve all data from strategy import (#2720)
## What
Previously when importing strategies we've used the same data type we've
used for creating strategies (the minimal, a name, an optional
description, optional parameters and an optional editable column). This
meant that exporting strategies and then importing them would reactivate
deprecated strategies. This PR changes to allow the import to preserve
all the data coming in the export file.

## Tests
Added four new tests, two new unit tests using our fake stores and two
new e2e tests. Interestingly the ones in the fake store ran green before
this change as well, probably because we just insert the parsed json
object in the fake store, whereas the real store actually converts the
object from camelCasing to the postgresql snake_casing standard.

## Discussion points:
### Mismatch between fake and real stores
This is inevitable since storing things in javascript arrays vs saving
in a real database will have some differences, but this again shows the
value of our e2e tests.

### Invariants
Should we see if we can add some invariants to our import/export so that
we can write some proptests for it? One candidate is commutativity of
import/export. On a fresh database importing and then exporting should
yield the same file that was imported provided all flags are turned on.
Candidate for Q1 improvement of import/export.
2022-12-21 13:33:41 +01:00
sjaanus
be045dc13a
Remove favorites feature flag (#2722) 2022-12-21 12:03:06 +00:00
sjaanus
a0619e963d
Maintenance mode for users (#2716) 2022-12-21 13:23:44 +02:00
Nuno Góis
1ef84da688
fix: set a more generous maxWidth in access timeago cells (#2714)
https://unleash-internal.slack.com/archives/C046LV6HH6W/p1671533789519689
2022-12-20 22:14:29 +01:00
Nuno Góis
7ce5b3de64
refactor: flag resolver should use stricter types (#2571)
Adding stricter types to `FlagResolver` can possibly help improve our DX
- Help us prevent errors like typos, guide us to correctly add a flag
when needed, and warn us of stray checks whenever we do a clean up at a
later stage.
2022-12-20 15:10:06 +00:00
Gastón Fournier
4b519ead4f
perf: Simplify queries to prometheus (#2706)
## About the changes
This PR improves our queries to Prometheus (instead of making multiple queries do only one) and improves the UI and the code. 

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

Co-authored-by: Nuno Góis <nuno@getunleash.ai>
2022-12-19 17:06:59 +01:00
Tymoteusz Czech
2c15841af4
fix: metrics one hour select label (#2712) 2022-12-19 16:27:21 +01:00
sjaanus
025fdeea1a
Make build badge work correctly (#2710) 2022-12-19 11:23:07 +02:00
sjaanus
2d5455d203
Maintenance mode middleware (#2707) 2022-12-19 09:01:04 +02:00
Thomas Heartman
ff9bc1d10c
Docs: fix typo / lexical illusion "the the" -> "to the" 2022-12-18 23:06:35 +01:00
Nuno Góis
d2d5629a36
Feat lazy loading network (#2709)
Adds lazy loading to the network routes, so we end up with smaller
chunks in the build.

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

<img width="1307" alt="image"
src="https://user-images.githubusercontent.com/14320932/208110067-294a0b91-d52e-49d1-9024-fa5e8530e2d8.png">
2022-12-16 14:12:36 +00:00
Gastón Fournier
2979f21631
feat: expose number of registered applications metric (#2692)
## About the changes
This metric will expose an aggregated view of how many client
applications are registered in Unleash. Since applications are ephemeral
we are exposing this metric in different time windows based on when the
application was last seen.

The caveat is that we issue a database query for each new range we want
to add. Hopefully, this should not be a problem because:
a) the amount of ranges we'd expose is small and unlikely to grow
b) this is currently updated at startup time and even if we update it on
a scheduled basis the refresh rate will be rather sparse

## Sample data
This is how metrics will look like
```
# HELP client_apps_total Number of registered client apps aggregated by range by last seen
# TYPE client_apps_total gauge
client_apps_total{range="allTime"} 3
client_apps_total{range="30d"} 3
client_apps_total{range="7d"} 2
```
2022-12-16 11:16:51 +00:00
Christopher Kolstad
eafba10cac
feature: add query support to features endpoint (#2693)
## About the changes
The deprecated /api/admin/features endpoint supported querying with tag
and namePrefix parameters.

This PR adds this functionality to
/api/admin/projects/<project>/features as well, allowing to replicate
queries that used to work.

Closes #2306

### Important files
src/lib/db/feature-strategy-store.ts
src/test/e2e/stores/feature-strategies-store.e2e.test.ts

## Discussion points
I'm extending our query parameters support for
/api/admin/projects/<projectId>/features endpoint. This will be
reflected in our open-api spec, so I also made an
adminFeaturesQuerySchema for this.

Also, very open for something similar to what we did for the modifyQuery
for the archived parameter, but couldn't come up with a good way to
support subselects using the query builder, it just ended up blowing the
stack. If anyone has a suggestion, I'm all ears.

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-12-16 12:05:18 +01:00
Nuno Góis
1d1219a055
Use new useConditionallyHiddenColumns hook (#2695)
https://linear.app/unleash/issue/2-515/adapt-tables-to-use-the-new-useconditionallyhiddencolumns-hook

Uses the new `useConditionallyHiddenColumns` hook, like mentioned here:
https://github.com/Unleash/unleash/pull/2691
Also includes small fixes for things I caught along the way. See
comments below.
2022-12-16 10:46:04 +01:00
Simon Hornby
e437b61753
docs: update group docs to reflect that users is not optional (#2667)
The reference documentation for groups is incorrect, groups always
require a list of users

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-12-16 10:45:15 +01:00
sjaanus
d42e90544f
Maintenance mode UI (#2704) 2022-12-15 16:07:22 +02:00
GitHub Actions Bot
5bef9bbfdd 4.19.1 2022-12-15 12:46:12 +00:00
Mateusz Kwasniewski
f4480d516b
remove change request flag (#2703) 2022-12-15 13:43:06 +01:00
GitHub Actions Bot
97cf3cd418 4.19.0 2022-12-15 12:03:45 +00:00
Nuno Góis
90f0d665f9
fix: disable networkView for dev, fail more gracefully (#2701)
Disables networkView for dev for now. Attempts to fail more gracefully
both on the service and front-end.
2022-12-15 10:12:02 +00:00
Thomas Heartman
dc8a369b7b
Docs: update availability notice for sso keycloak group sync
## What

This change updates the availability notice in the SSO keycloak setup
guide.

## Why

Because the notice still said that it's an "upcoming" feature, but it
was released in 4.18.
2022-12-15 11:00:36 +01:00
Mateusz Kwasniewski
2e615cdd35
refresh change request, add conflict margin, set time ago (#2700) 2022-12-15 10:49:16 +01:00
Christopher Kolstad
23094b016e
feat: first draft of chart for instance traffic in frontend (#2670)
## What
We've already added the backend for this. This is the initial work for
drawing a chart for instance traffic in the frontend. It requires the environment variable `PROMETHEUS_API` set to a valid prometheus-query-language (promql) supported backend, such as Prometheus itself or Victoria Metrics. Besides, at the moment we're hiding this functionality behind the flag `UNLEASH_EXPERIMENTAL_NETWORK_VIEW` which has to be set to true

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2022-12-15 08:47:07 +00:00
Ivar Conradi Østhus
8e5ca352c3
fix: allow publish-new-version action to run from branch (#2698)
We cannot hard code the branch to be "main" if we want to allow the
release script to also run from branch (e.g. 4.18 maintenance branch)
2022-12-15 09:25:44 +01:00
GitHub Actions Bot
e716ddc0ee 4.19.0-beta.2 2022-12-15 07:43:43 +00:00
Ivar Conradi Østhus
34c12c8234
fix: adjust db-pool for test to use max=4 2022-12-14 20:25:14 +01:00
Ivar Conradi Østhus
e01167676c
fix: background frontend settings should not crash tests 2022-12-14 20:24:47 +01:00
Ivar Conradi Østhus
e4035d37d4
fix: adjust db-pool for test to use max=3 2022-12-14 19:53:26 +01:00
Ivar Conradi Østhus
2223cace41
fix: adjust db-pool a bit 2022-12-14 19:42:01 +01:00
Ivar Conradi Østhus
09c87c755f
Fix/remove settings cache (#2694)
In this PR we remove the general SettingService cache, as it will not
work across multiple horizontal unleash instances, events are not
published across.

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

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

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

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

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

Update dialogues to match the look on the new designs:

![image](https://user-images.githubusercontent.com/14320932/200525669-35525761-1c3e-4c60-94a7-e21b1de99ad7.png)
2022-12-14 15:16:58 +00:00
Thomas Heartman
160b9a0604
docs: small fixes (#2688)
## What

This PR contains two small doc updates/fixes:

1. Update the availability notice on SSO syncing to indicate that it has
been released.
2. Add a note to the Import API description that importing environments
will make Unleash delete API keys belonging to those environments.

## Why

1. To keep the docs up to date.
2. Because this behavior surprised (and rightly so, I'd say) a user, who
then suddenly had all their SDKs unable to connect.

Co-authored-by: Nuno Góis <github@nunogois.com>
2022-12-14 15:26:41 +01:00
Mateusz Kwasniewski
a54d53a117
added contraints checking in change request permissions (#2690) 2022-12-14 13:00:51 +01:00
GitHub Actions Bot
3549be0251 4.19.0-beta.1 2022-12-14 09:03:49 +00:00
Mateusz Kwasniewski
cb0398ca63
loosen permissions for change requests (#2682) 2022-12-14 10:00:14 +01:00
Nuno Góis
eb433185a1
fix: remove tooltip from favorites cell, some refactoring (#2687)
https://linear.app/unleash/issue/2-510/favorite-cell-tooltips-is-buggy-when-pinned-remove-tooltips

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

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

Also introduces a `useGlobalLocalStorage` hook where system-wide
preferences that are stored in LocalStorage can be maintained.
2022-12-13 13:20:43 +00:00