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

6612 Commits

Author SHA1 Message Date
renovate[bot]
8999d852bf
fix(deps): update dependency make-fetch-happen to v11 (#2296)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [make-fetch-happen](https://togithub.com/npm/make-fetch-happen) |
[`^10.1.2` ->
`^11.0.0`](https://renovatebot.com/diffs/npm/make-fetch-happen/10.1.2/11.0.1)
|
[![age](https://badges.renovateapi.com/packages/npm/make-fetch-happen/11.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/make-fetch-happen/11.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/make-fetch-happen/11.0.1/compatibility-slim/10.1.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/make-fetch-happen/11.0.1/confidence-slim/10.1.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>npm/make-fetch-happen</summary>

###
[`v11.0.1`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1101-httpsgithubcomnpmmake-fetch-happencomparev1100v1101-2022-10-17)

[Compare
Source](https://togithub.com/npm/make-fetch-happen/compare/v11.0.0...v11.0.1)

##### Dependencies

-
[`ebd86b2`](ebd86b2781)
[#&#8203;186](https://togithub.com/npm/make-fetch-happen/pull/186) bump
minipass-fetch from 2.1.2 to 3.0.0
-
[`9c16d84`](9c16d84c10)
[#&#8203;187](https://togithub.com/npm/make-fetch-happen/pull/187) bump
ssri from 9.0.1 to 10.0.0

###
[`v11.0.0`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1100-httpsgithubcomnpmmake-fetch-happencomparev1021v1100-2022-10-13)

[Compare
Source](https://togithub.com/npm/make-fetch-happen/compare/v10.2.1...v11.0.0)

##### ⚠️ BREAKING CHANGES

- this module no longer attempts to change file ownership automatically
- `make-fetch-happen` is now compatible with the following semver range
for node: `^14.17.0 || ^16.13.0 || >=18.0.0`

##### Features

-
[`c293053`](c2930534bc)
[#&#8203;177](https://togithub.com/npm/make-fetch-happen/pull/177)
postinstall for dependabot template-oss PR
([@&#8203;lukekarrys](https://togithub.com/lukekarrys))

##### Documentation

-
[`d63de44`](d63de4427e)
[#&#8203;173](https://togithub.com/npm/make-fetch-happen/pull/173)
document cause argument to onRetry
([#&#8203;173](https://togithub.com/npm/make-fetch-happen/issues/173))
([@&#8203;jmpage](https://togithub.com/jmpage))

##### Dependencies

-
[`33d972a`](33d972a815)
[#&#8203;184](https://togithub.com/npm/make-fetch-happen/pull/184) bump
cacache from 16.1.3 to 17.0.0
([#&#8203;184](https://togithub.com/npm/make-fetch-happen/issues/184))

###
[`v10.2.1`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1021-httpsgithubcomnpmmake-fetch-happencomparev1020v1021-2022-08-15)

[Compare
Source](https://togithub.com/npm/make-fetch-happen/compare/v10.2.0...v10.2.1)

##### Bug Fixes

- linting
([#&#8203;166](https://togithub.com/npm/make-fetch-happen/issues/166))
([e9a2a51](e9a2a51e6d))

###
[`v10.2.0`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1020-httpsgithubcomnpmmake-fetch-happencomparev1018v1020-2022-07-19)

[Compare
Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.8...v10.2.0)

##### Features

- store link header
([#&#8203;164](https://togithub.com/npm/make-fetch-happen/issues/164))
([dae6384](dae6384a7f))

###
[`v10.1.8`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1018-httpsgithubcomnpmmake-fetch-happencomparev1017v1018-2022-06-20)

[Compare
Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.7...v10.1.8)

##### Bug Fixes

- TypeError: SocksProxyAgent is not a constructor
([#&#8203;161](https://togithub.com/npm/make-fetch-happen/issues/161))
([4ae4864](4ae48640b0))

#####
[10.1.7](https://togithub.com/npm/make-fetch-happen/compare/v10.1.6...v10.1.7)
(2022-06-01)

##### Bug Fixes

- use hostname for socks agent
([#&#8203;159](https://togithub.com/npm/make-fetch-happen/issues/159))
([331f9cb](331f9cb273))

##### Dependencies

- bump socks-proxy-agent from 6.2.1 to 7.0.0
([#&#8203;158](https://togithub.com/npm/make-fetch-happen/issues/158))
([63ed403](63ed40395e))

#####
[10.1.6](https://togithub.com/npm/make-fetch-happen/compare/v10.1.5...v10.1.6)
(2022-05-27)

##### Bug Fixes

- respect given algorithms instead of always using sha512
([#&#8203;156](https://togithub.com/npm/make-fetch-happen/issues/156))
([9baa806](9baa8065f3))

#####
[10.1.5](https://togithub.com/npm/make-fetch-happen/compare/v10.1.4...v10.1.5)
(2022-05-19)

##### Bug Fixes

- cache integrity and size events so late listeners still get them
([#&#8203;154](https://togithub.com/npm/make-fetch-happen/issues/154))
([8c78584](8c7858490a))

#####
[10.1.4](https://togithub.com/npm/make-fetch-happen/compare/v10.1.3...v10.1.4)
(2022-05-18)

##### Bug Fixes

- **docs:** remove reference to unsupported feature
([#&#8203;153](https://togithub.com/npm/make-fetch-happen/issues/153))
([1d454f1](1d454f1187)),
closes
[#&#8203;147](https://togithub.com/npm/make-fetch-happen/issues/147)
- pass expected integrity to cacache
([a88213e](a88213e6a5))
- pass integrityEmitter to cacache to avoid a redundant integrity stream
([ae62c21](ae62c21c70))
- remove in-memory buffering in favor of full time streaming
([ec2db21](ec2db214e4))

#####
[10.1.3](https://togithub.com/npm/make-fetch-happen/compare/v10.1.2...v10.1.3)
(2022-05-09)

##### Bug Fixes

- make `defaults` chaining actually work
([#&#8203;144](https://togithub.com/npm/make-fetch-happen/issues/144))
([aa71e81](aa71e817c7))

#####
[10.1.2](https://togithub.com/npm/make-fetch-happen/compare/v10.1.1...v10.1.2)
(2022-04-05)

##### Dependencies

- bump ssri from 8.0.1 to 9.0.0
([#&#8203;139](https://togithub.com/npm/make-fetch-happen/issues/139))
([f91a1cc](f91a1ccd0e))

#####
[10.1.1](https://togithub.com/npm/make-fetch-happen/compare/v10.1.0...v10.1.1)
(2022-03-29)

##### Bug Fixes

- default verbatim to undefined
([#&#8203;135](https://togithub.com/npm/make-fetch-happen/issues/135))
([be0cf6a](be0cf6a159))

##### Documentation

- remove mention of custom cache provider
([#&#8203;136](https://togithub.com/npm/make-fetch-happen/issues/136))
([a7f1b55](a7f1b554bc))

###
[`v10.1.7`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1017-httpsgithubcomnpmmake-fetch-happencomparev1016v1017-2022-06-01)

[Compare
Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.6...v10.1.7)

###
[`v10.1.6`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1016-httpsgithubcomnpmmake-fetch-happencomparev1015v1016-2022-05-27)

[Compare
Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.5...v10.1.6)

###
[`v10.1.5`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1015-httpsgithubcomnpmmake-fetch-happencomparev1014v1015-2022-05-19)

[Compare
Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.4...v10.1.5)

###
[`v10.1.4`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1014-httpsgithubcomnpmmake-fetch-happencomparev1013v1014-2022-05-18)

[Compare
Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.3...v10.1.4)

###
[`v10.1.3`](https://togithub.com/npm/make-fetch-happen/blob/HEAD/CHANGELOG.md#&#8203;1013-httpsgithubcomnpmmake-fetch-happencomparev1012v1013-2022-05-09)

[Compare
Source](https://togithub.com/npm/make-fetch-happen/compare/v10.1.2...v10.1.3)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNC42LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNC45LjEifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:06:29 +01: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
renovate[bot]
2fb548f4ca
chore(deps): update metcalfc/changelog-generator action to v4 (#2294)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[metcalfc/changelog-generator](https://togithub.com/metcalfc/changelog-generator)
| action | major | `v3.0.0` -> `v4.0.1` |

---

### Release Notes

<details>
<summary>metcalfc/changelog-generator</summary>

###
[`v4.0.1`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.0.1)

[Compare
Source](https://togithub.com/metcalfc/changelog-generator/compare/v4.0.0...v4.0.1)

-
[31b6d6f](31b6d6f9e6)
- Cleaning up some minor dep bumps.
-
[7f6db29](7f6db2945d)
- Merge pull request
[#&#8203;162](https://togithub.com/metcalfc/changelog-generator/issues/162)
from metcalfc/dependabot/npm_and_yarn/eslint-8.26.0
-
[c2c3288](c2c3288f0d)
- Merge pull request
[#&#8203;163](https://togithub.com/metcalfc/changelog-generator/issues/163)
from metcalfc/dependabot/npm_and_yarn/replace-1.2.2
-
[317f12d](317f12dbf2)
- Bump replace from 1.2.1 to 1.2.2
-
[d2c4bfc](d2c4bfcc29)
- Bump eslint from 8.24.0 to 8.26.0

###
[`v4.0.0`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.0.0)

[Compare
Source](https://togithub.com/metcalfc/changelog-generator/compare/v3.0.0...v4.0.0)

-
[62b45ff](62b45fffb5)
- Upgrading to Node 16.
-
[78be9a2](78be9a21df)
- Switching to GITHUB_OUTPUT.
-
[b1a95e5](b1a95e5285)
- Switching to node 16.
-
[3327c21](3327c21f3e)
- Merge pull request
[#&#8203;157](https://togithub.com/metcalfc/changelog-generator/issues/157)
from metcalfc/dependabot/npm_and_yarn/eslint-8.24.0
-
[47b26c3](47b26c3621)
- Merge pull request
[#&#8203;159](https://togithub.com/metcalfc/changelog-generator/issues/159)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.10.0
-
[9f319d4](9f319d47c2)
- Merge pull request
[#&#8203;160](https://togithub.com/metcalfc/changelog-generator/issues/160)
from metcalfc/dependabot/npm_and_yarn/actions/github-5.1.1
-
[07e86fc](07e86fc792)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.0.3 to 5.1.1
-
[3b3ffa3](3b3ffa30c6)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.9.1 to 1.10.0
-
[4d25998](4d259988b2)
- Bump eslint from 8.23.1 to 8.24.0
-
[b14e7b5](b14e7b5b1f)
- Merge pull request
[#&#8203;153](https://togithub.com/metcalfc/changelog-generator/issues/153)
from metcalfc/dependabot/npm_and_yarn/eslint-8.23.1
-
[f9abb7d](f9abb7dc32)
- Merge pull request
[#&#8203;154](https://togithub.com/metcalfc/changelog-generator/issues/154)
from metcalfc/dependabot/github_actions/actions/stale-6
-
[6188b7b](6188b7bffc)
- Bump actions/stale from 5 to 6
-
[14b9af3](14b9af3836)
- Bump eslint from 8.23.0 to 8.23.1
-
[4d3002b](4d3002ba1b)
- Merge pull request
[#&#8203;151](https://togithub.com/metcalfc/changelog-generator/issues/151)
from metcalfc/dependabot/npm_and_yarn/eslint-8.23.0
-
[76e3028](76e302839c)
- Bump eslint from 8.21.0 to 8.23.0
-
[50f6989](50f6989629)
- Merge pull request
[#&#8203;149](https://togithub.com/metcalfc/changelog-generator/issues/149)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.9.1
-
[f06c31f](f06c31fb2e)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.8.2 to 1.9.1
-
[5e0835b](5e0835b79e)
- Merge pull request
[#&#8203;139](https://togithub.com/metcalfc/changelog-generator/issues/139)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.34.0
-
[cd521f3](cd521f3fbf)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.4
to 0.34.0
-
[2656a3f](2656a3ff66)
- Merge pull request
[#&#8203;143](https://togithub.com/metcalfc/changelog-generator/issues/143)
from metcalfc/dependabot/npm_and_yarn/prettier-2.7.1
-
[f7f7861](f7f7861fbc)
- Bump prettier from 2.6.2 to 2.7.1
-
[b8b5290](b8b5290107)
- Merge pull request
[#&#8203;148](https://togithub.com/metcalfc/changelog-generator/issues/148)
from metcalfc/dependabot/npm_and_yarn/eslint-8.21.0
-
[a9c1b1d](a9c1b1d2f9)
- Bump eslint from 8.16.0 to 8.21.0
-
[199cd09](199cd0966a)
- Merge pull request
[#&#8203;137](https://togithub.com/metcalfc/changelog-generator/issues/137)
from metcalfc/dependabot/npm_and_yarn/actions/github-5.0.3
-
[daf6659](daf6659a8e)
- Merge pull request
[#&#8203;136](https://togithub.com/metcalfc/changelog-generator/issues/136)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.8.2
-
[1f3885f](1f3885f211)
- Merge pull request
[#&#8203;138](https://togithub.com/metcalfc/changelog-generator/issues/138)
from metcalfc/dependabot/npm_and_yarn/eslint-8.16.0
-
[4b50f73](4b50f737c5)
- Bump eslint from 8.14.0 to 8.16.0
-
[83fe5ca](83fe5ca7cd)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.0.1 to 5.0.3
-
[fee05d0](fee05d082b)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.8.0 to 1.8.2
-
[c0d0436](c0d0436bbd)
- Merge pull request
[#&#8203;130](https://togithub.com/metcalfc/changelog-generator/issues/130)
from metcalfc/dependabot/github_actions/github/codeql-action-2
-
[b0b413b](b0b413b1ad)
- Merge pull request
[#&#8203;129](https://togithub.com/metcalfc/changelog-generator/issues/129)
from metcalfc/dependabot/npm_and_yarn/eslint-8.14.0
-
[1d1490a](1d1490acc0)
- Merge pull request
[#&#8203;132](https://togithub.com/metcalfc/changelog-generator/issues/132)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.8.0
-
[5f0cef2](5f0cef22d4)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.6.0 to 1.8.0
-
[b8c934f](b8c934f1ca)
- Bump eslint from 8.12.0 to 8.14.0
-
[2039c9d](2039c9dc0f)
- Merge pull request
[#&#8203;128](https://togithub.com/metcalfc/changelog-generator/issues/128)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.4
-
[bf5a458](bf5a458a53)
- Merge pull request
[#&#8203;126](https://togithub.com/metcalfc/changelog-generator/issues/126)
from metcalfc/dependabot/github_actions/actions/stale-5
-
[0435317](0435317a67)
- Bump github/codeql-action from 1 to 2
-
[d5e4a03](d5e4a03a69)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.3
to 0.33.4
-
[0bccc87](0bccc87efb)
- Bump actions/stale from 4 to 5
-
[b3e06f6](b3e06f65d0)
- Merge pull request
[#&#8203;125](https://togithub.com/metcalfc/changelog-generator/issues/125)
from metcalfc/dependabot/npm_and_yarn/prettier-2.6.2
-
[4ab1afe](4ab1afe485)
- Bump prettier from 2.6.1 to 2.6.2
-
[193ce4a](193ce4ab75)
- Merge pull request
[#&#8203;124](https://togithub.com/metcalfc/changelog-generator/issues/124)
from metcalfc/dependabot/npm_and_yarn/actions/github-5.0.1
-
[f22520b](f22520b824)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.0.0 to 5.0.1
-
[ca9591e](ca9591e4f7)
- Merge pull request
[#&#8203;123](https://togithub.com/metcalfc/changelog-generator/issues/123)
from metcalfc/dependabot/npm_and_yarn/eslint-8.12.0
-
[0288615](0288615c5a)
- Bump eslint from 8.8.0 to 8.12.0
-
[01033c7](01033c7a0f)
- Merge pull request
[#&#8203;122](https://togithub.com/metcalfc/changelog-generator/issues/122)
from metcalfc/dependabot/npm_and_yarn/prettier-2.6.1
-
[5bb1e89](5bb1e895e2)
- Merge pull request
[#&#8203;121](https://togithub.com/metcalfc/changelog-generator/issues/121)
from metcalfc/dependabot/npm_and_yarn/actions/exec-1.1.1
-
[4fb7bc8](4fb7bc8f7b)
- Merge pull request
[#&#8203;118](https://togithub.com/metcalfc/changelog-generator/issues/118)
from metcalfc/dependabot/github_actions/actions/checkout-3
-
[3df839a](3df839a15b)
- Merge pull request
[#&#8203;115](https://togithub.com/metcalfc/changelog-generator/issues/115)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.3
-
[7ad10bc](7ad10bc246)
- Bump prettier from 2.5.1 to 2.6.1
-
[4d7e87e](4d7e87e711)
- Bump [@&#8203;actions/exec](https://togithub.com/actions/exec) from
1.1.0 to 1.1.1
-
[c67ac13](c67ac13236)
- Bump actions/checkout from 2 to 3
-
[3a8e994](3a8e994591)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.1
to 0.33.3
-
[32b2a9d](32b2a9d3d1)
- Merge pull request
[#&#8203;113](https://togithub.com/metcalfc/changelog-generator/issues/113)
from metcalfc/dependabot/npm_and_yarn/node-fetch-2.6.7
-
[91f9837](91f98370eb)
- Bump node-fetch from 2.6.6 to 2.6.7
-
[90ea792](90ea792f98)
- Merge pull request
[#&#8203;112](https://togithub.com/metcalfc/changelog-generator/issues/112)
from metcalfc/dependabot/npm_and_yarn/eslint-8.8.0
-
[ddb5dcb](ddb5dcbde5)
- Bump eslint from 8.6.0 to 8.8.0
-
[adcb9e3](adcb9e3fe4)
- Merge pull request
[#&#8203;110](https://togithub.com/metcalfc/changelog-generator/issues/110)
from metcalfc/dependabot/npm_and_yarn/eslint-8.6.0
-
[f1a4362](f1a4362ec4)
- Bump eslint from 8.4.1 to 8.6.0
-
[3a8fa5f](3a8fa5f441)
- Merge pull request
[#&#8203;109](https://togithub.com/metcalfc/changelog-generator/issues/109)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.1
-
[e588057](e588057c44)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.0
to 0.33.1
-
[04f822a](04f822a59d)
- Merge pull request
[#&#8203;105](https://togithub.com/metcalfc/changelog-generator/issues/105)
from metcalfc/dependabot/npm_and_yarn/prettier-2.5.1
-
[8d588bb](8d588bb685)
- Merge pull request
[#&#8203;107](https://togithub.com/metcalfc/changelog-generator/issues/107)
from metcalfc/dependabot/npm_and_yarn/eslint-8.4.1
-
[049d721](049d721a05)
- Bump eslint from 8.3.0 to 8.4.1
-
[d36cc2c](d36cc2c9d3)
- Bump prettier from 2.5.0 to 2.5.1
-
[188a7c9](188a7c9a5d)
- Merge pull request
[#&#8203;104](https://togithub.com/metcalfc/changelog-generator/issues/104)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.0
-
[fbb1a6e](fbb1a6e574)
- Merge pull request
[#&#8203;103](https://togithub.com/metcalfc/changelog-generator/issues/103)
from metcalfc/dependabot/npm_and_yarn/prettier-2.5.0
-
[77d58d7](77d58d7940)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.31.1
to 0.33.0
-
[5d9b026](5d9b02630c)
- Bump prettier from 2.4.1 to 2.5.0
-
[b2f13c8](b2f13c87a6)
- Update README for reverse changes.
-
[74a0d45](74a0d45611)
- Fix version numbers in docs.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNC42LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNC4xOS4wIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:01:01 +01:00
Ivar Conradi Østhus
325cd34c0c
fix: remove 'fixHourMetrics' flag 2022-11-09 22:45:30 +01:00
renovate[bot]
0c2a67f1dc
chore(deps): update dependency openapi-enforcer to v1.22.1 (#2362)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [openapi-enforcer](https://openapi-enforcer.com)
([source](https://togithub.com/byu-oit/openapi-enforcer)) | [`1.22.0` ->
`1.22.1`](https://renovatebot.com/diffs/npm/openapi-enforcer/1.22.0/1.22.1)
|
[![age](https://badges.renovateapi.com/packages/npm/openapi-enforcer/1.22.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/openapi-enforcer/1.22.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/openapi-enforcer/1.22.1/compatibility-slim/1.22.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/openapi-enforcer/1.22.1/confidence-slim/1.22.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>byu-oit/openapi-enforcer</summary>

###
[`v1.22.1`](https://togithub.com/byu-oit/openapi-enforcer/blob/HEAD/CHANGELOG.md#&#8203;1221)

[Compare
Source](fc78fe42b4...11e77301c5)

##### Fixed

-   **Exception Skip Codes Bug Fix**

The exception skip codes that were defined via the options were not
being carried through to child components. This
fix allows those settings to be carried. Exception skip codes defined by
an instance (see change 1.22.0) are still
    limited to just the component.

</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:43:37 +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
andreas-unleash
47a617c78b
Add changeRequestEnabled to project and project_environments (#2357)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

- Add `change_request_enabled` column to `projects` and
`project_environments`
- Modified the store to include the new column
- Added new column to Project open api schema 

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

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

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
2022-11-09 14:44:53 +02: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
Sebastian Bury
f316e99dca
Authorization header webhook (#2356)
Added unit test and made code prettier in 
webhook.ts
webhook.test.ts
2022-11-09 11:45:30 +01:00
sjaanus
29524ab423
4.18.0-beta.1 2022-11-09 10:55:01 +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
renovate[bot]
907cce9c88
chore(deps): update dependency husky to v8.0.2 (#2354)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>typicode/husky</summary>

### [`v8.0.2`](https://togithub.com/typicode/husky/releases/tag/v8.0.2)

[Compare
Source](https://togithub.com/typicode/husky/compare/v8.0.1...v8.0.2)

-   docs: remove deprecated npm set-script

</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 05:53:57 +00:00
renovate[bot]
aed48c0ee0
chore(deps): update dependency @swc/core to v1.3.14 (#2352)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

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

[Compare
Source](241f9f05cb...v1.3.14)

##### Bug Fixes

- **(common)** Remove `&mut` from `build_source_map_from`
([#&#8203;6276](https://togithub.com/swc-project/swc/issues/6276))
([47d7fca](47d7fcaaed))

- **(css/parser)** Fix parsing of colors
([#&#8203;6260](https://togithub.com/swc-project/swc/issues/6260))
([c3944ba](c3944ba239))

- **(css/parser)** Fix various issues
([#&#8203;6281](https://togithub.com/swc-project/swc/issues/6281))
([2813acc](2813acccc2))

- **(es/codegen)** Preserve more parens
([#&#8203;6268](https://togithub.com/swc-project/swc/issues/6268))
([c318446](c3184463f1))

- **(es/compat)** Fix `new.target` in a nested scope
([#&#8203;6296](https://togithub.com/swc-project/swc/issues/6296))
([aa18612](aa18612e62))

- **(es/compat)** Fix destructuring of an empty array
([#&#8203;6314](https://togithub.com/swc-project/swc/issues/6314))
([3bea6f7](3bea6f7248))

- **(es/helpers)** Fix `toArray`
([#&#8203;6318](https://togithub.com/swc-project/swc/issues/6318))
([e34c25e](e34c25e40d))

- **(es/lints)** Fix `const-assign` in function expressions
([#&#8203;6294](https://togithub.com/swc-project/swc/issues/6294))
([a27392a](a27392a251))

- **(es/minifier)** Don't ignore nullish coalescing
([#&#8203;6272](https://togithub.com/swc-project/swc/issues/6272))
([8c1ac68](8c1ac686cb))

- **(es/minifier)** Don't inline regex for IIFEs
([#&#8203;6283](https://togithub.com/swc-project/swc/issues/6283))
([4eab2ed](4eab2ed2fc))

- **(es/minifier)** Fix infinite loop
([#&#8203;6300](https://togithub.com/swc-project/swc/issues/6300))
([655f674](655f6744c5))

- **(es/minifier)** Don't drop an inlined parameter as a duplicate
([#&#8203;6293](https://togithub.com/swc-project/swc/issues/6293))
([dd797f7](dd797f7f15))

- **(es/resolver)** Change order for switch cases
([#&#8203;6317](https://togithub.com/swc-project/swc/issues/6317))
([2737aea](2737aea312))

- **(es/typescript)** Fix stack overflow
([#&#8203;6250](https://togithub.com/swc-project/swc/issues/6250))
([28ec6e8](28ec6e8fc7))

- **(html/minifier)** Merge style blocks
([#&#8203;6264](https://togithub.com/swc-project/swc/issues/6264))
([028951c](028951c36c))

##### Features

- **(css/parser)** Improve error reporting
([#&#8203;6274](https://togithub.com/swc-project/swc/issues/6274))
([956d574](956d574683))

- **(es)** Support trailing commas in `.swcrc`
([#&#8203;6289](https://togithub.com/swc-project/swc/issues/6289))
([244b0af](244b0af30d))

- **(es/minfiier)** Compute more with sequential inliner
([#&#8203;6169](https://togithub.com/swc-project/swc/issues/6169))
([743a1aa](743a1aab4f))

- **(es/minifier)** Implement trivial optimizations
([#&#8203;6256](https://togithub.com/swc-project/swc/issues/6256))
([5d52ae9](5d52ae971e))

- **(html/minifier)** Handle `crossorigin`
([#&#8203;6261](https://togithub.com/swc-project/swc/issues/6261))
([782da5c](782da5c83a))

- **(html/minifier)** Merge `script` tags
([#&#8203;6273](https://togithub.com/swc-project/swc/issues/6273))
([02f8d31](02f8d31ef3))

##### Miscellaneous Tasks

- **(ci)** Enforce clippy for all targets
([#&#8203;6299](https://togithub.com/swc-project/swc/issues/6299))
([0967e8f](0967e8f06d))

- **(ci)** Fix publish action
([2737143](27371431a9))

- **(ci)** Fix publish action
([13b4d31](13b4d317a5))

- **(common)** Switch to `new_debug_unreachable`
([#&#8203;6265](https://togithub.com/swc-project/swc/issues/6265))
([2f61332](2f61332177))

##### Performance

- **(html/parser)** Refactor
([#&#8203;6313](https://togithub.com/swc-project/swc/issues/6313))
([3a90657](3a9065799d))

##### Refactor

- **(css/parser)** Refactor more
([#&#8203;6251](https://togithub.com/swc-project/swc/issues/6251))
([a0e4684](a0e4684476))

- **(css/parser)** Refactor even more
([#&#8203;6288](https://togithub.com/swc-project/swc/issues/6288))
([6cafeb2](6cafeb2bcc))

- **(es)** Accept custom instance of `Comments`
([#&#8203;6290](https://togithub.com/swc-project/swc/issues/6290))
([1024a55](1024a552cf))

- **(html/parser)** Refactor
([#&#8203;6267](https://togithub.com/swc-project/swc/issues/6267))
([c255cfd](c255cfd716))

##### Testing

- **(css/minifier)** Fix fixture tester
([#&#8203;6222](https://togithub.com/swc-project/swc/issues/6222))
([cd1319d](cd1319d9be))

- **(css/parser)** Add tests for refactoring
([#&#8203;6262](https://togithub.com/swc-project/swc/issues/6262))
([4c293f9](4c293f965b))

- **(es)** Enable tests for fixed issues
([#&#8203;6311](https://togithub.com/swc-project/swc/issues/6311))
([5b02e24](5b02e2450d))

- **(es/compat)** Add execution tests
([#&#8203;6312](https://togithub.com/swc-project/swc/issues/6312))
([0f9d930](0f9d930f73))

- **(es/minifier)** Add a test for `??` operator
([#&#8203;6282](https://togithub.com/swc-project/swc/issues/6282))
([0376da7](0376da73c6))

###
[`v1.3.13`](https://togithub.com/swc-project/swc/compare/v1.3.11...241f9f05cbb67fc531e8f9c8e4a142521754b9a8)

[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.3.11...241f9f05cbb67fc531e8f9c8e4a142521754b9a8)

</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 02:43:42 +00:00
Mateusz Kwasniewski
aa9aa6fb4a
styling change request sidebar (#2350) 2022-11-08 16:16:30 +01:00
Christopher Kolstad
5b3d95cc3a
If baseUriPath is set format it, but if it's not, don't override default with empty string (#2118)
From Thomas and mine testing. BaseUriPath can't be set as an environment
variable because we override it when trying to format the URI from the
server config. This PR makes sure we only format if the custom server
options actually have baseUriPath set.

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-08 15:29:14 +01:00
Thomas Heartman
d5e33ab1f2
Fix(export API): accept true and false as param values (#2349)
## What

This PR updates the `paramToBool` function to first check whether the
incoming argument is a boolean. This fixes the bug where using `true` or
`false` (e.g. `Strategies=false`) in the query would cause the server to
crash.

I've also added a test case to check for these values.

## Why

While working on the import/export API docs, I noticed that using
`false` in an export request caused the server to crash.

As we want to allow `true` and `false` (and use these values in the
documentation), we should ensure that they work as expected.

## Background

It's likely that this bug was introduced when we added the new OpenAPI
query parameters to the export endpoint. Because of the way that the
OpenAPI service we use does conversion, we now get `true` and `false`
converted to actual boolean values instead of strings. The `paramToBool`
function didn't account for that previously, which is why it caused the
server to crash.
2022-11-08 15:25:02 +01:00
Thomas Heartman
75c3fcd170
docs: update export/import examples (#2348)
## What

This change updates the availability notice and the code samples in the
import/export docs.

Specifically, the code samples have been moved to using the ApiRequest
component (and thus get examples in HTTP, cURL, and HTTPie), and the
import code sample now says which version it's using (version 3).

## Why

The import code sample didn't say which version of the data it used, so
Unleash would assume it was version 1 if you tried to run it. However,
the actual data was incompatible with the v1 data format, so you'd get
an error if you tried to actually import it.

While fixing this, I figured it'd also be alright to add some other
minor updates to bring the docs a bit more up to recent standards.
2022-11-08 13:42:06 +00:00
Thomas Heartman
f5fb7b66d1
Fix: validate that the project is correct when getting feature by project (#2344)
## What

This PR fixes a bug where fetching a feature toggle via the
`/api/admin/projects/:projectId/features/:featureName` endpoint doesn't
validate that the feature belongs to the provided project. The same
thing applies to the archive functionality. This has also been fixed.

In doing so, it also adds corresponding tests to check for edge cases,
updates the 403 error response we use to provide clearer steps for the
user, and adds more error responses to the OpenAPI documentation.

## Why

As mentioned in #2337, it's unexpected that the provided project
shouldn't matter at all, and after discussions internally, it was also
discovered that this was never intended to be the case.

## Discussion points

It might be worth rethinking this for Unleash v5. Why does the features
API need the projects part at all when features are unique across the
entire instance? Would it be worth reverting to a simpler feature API
later or would that introduce issues with regards to how different
projects can have different active environments and so on?

### Further improvements

I have _not_ provided schemas for the error responses for the endpoints
at this time. I considered it, but because it would introduce new schema
code, more tests, etc, I decided to leave it for later. There's a
thorough OpenAPI walkthrough coming up, so I think it makes sense to do
it as part of that work instead. I am happy to be challenged on this,
however, and will implement it if you think it's better.

### Why 403 when the project is wrong?

We could also have used the 404 status code for when the feature exists
but doesn't belong to this project, but this would require more (and
more complex) code. We also already use 403 for cases like this for
post, patch, and put. Finally, the [HTTP spec's section on the 403
status code](https://httpwg.org/specs/rfc9110.html#status.403) says the
following (emphasis mine):

> The 403 (Forbidden) status code indicates that the server
**_understood the request but refuses to fulfill it_**. A server that
wishes to make public why the request has been forbidden can describe
that reason in the response content (if any).
>
> If authentication credentials were provided in the request, the server
considers them insufficient to grant access. The client SHOULD NOT
automatically repeat the request with the same credentials. The client
MAY repeat the request with new or different credentials. However, **_a
request might be forbidden for reasons unrelated to the credentials_**.

As such, I think using 403 makes sense in this case.

---

Closes #2337.
2022-11-08 13:34:01 +01:00
Mateusz Kwasniewski
88a9e0cb9b
feat: stateful banner (#2346)
Conditional banner for change request status
2022-11-08 12:56:28 +01:00
Fredrik Strand Oseberg
f76ac0edb3
Fix/embedded proxy memory leak (#2345)
* Fixes a memory leak where events would trigger the data polling to restart. Any event would setup another polling interval, which would strain our database. Separated the logic for fetching the data and the polling, and made sure that the polling was only initialized once.
2022-11-08 12:35:53 +01:00
Mateusz Kwasniewski
c6f906159b
feat: env check in change requests (#2336) 2022-11-07 09:16:29 +01:00
Ivar Conradi Østhus
bf521b58fd
fix: merge order for UI config 2022-11-04 14:43:12 +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
sjaanus
a267f13a7d
4.18.0-beta.0 2022-11-04 11:02:47 +02:00
sjaanus
102713eeca
Remove uniqueness from change requests merging (#2332)
Remove uniqueness
2022-11-04 10:57:45 +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
Ivar Conradi Østhus
2d2d6f268a
fix: generate all hour buckets if missing (#2319) 2022-11-04 09:30:02 +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
Simon Hornby
3d0146cca7
Fix docker build (#2326)
* fix: patch stale docker lockfile
* fix: patch docker build to respect the fact that frontend now depends on some constants defined in unleash
2022-11-03 15:02:20 +01:00
Ivar Conradi Østhus
ae0006b839
fix: require minimatch 3.0.5 or higher 2022-11-03 14:43:36 +01:00
Simon Hornby
90cb737202
docs: add documentation for user group syncing (#2314)
* docs: add documentation for user group syncing and a end to end example for keycloak

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-03 14:59:12 +02:00
Nuno Góis
20310bf1a4
docs: add environment cloning and how-to guide (#2249)
* docs: add environment cloning and how-to guide

* add next steps in how-to, update reference

* update how-to, add images

* Update website/docs/how-to/how-to-clone-environment.mdx

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

* Update website/docs/how-to/how-to-clone-environment.mdx

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

* Update website/docs/user_guide/environments.md

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

* Update website/docs/how-to/how-to-clone-environment.mdx

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

* Update website/docs/user_guide/environments.md

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

* Update website/docs/how-to/how-to-clone-environment.mdx

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

* Update website/docs/how-to/how-to-clone-environment.mdx

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

* Update website/docs/how-to/how-to-clone-environment.mdx

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

* Update website/sidebars.js

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

* Update website/docs/how-to/how-to-clone-environment.mdx

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

* Update website/docs/how-to/how-to-clone-environment.mdx

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

* Update website/docs/how-to/how-to-clone-environment.mdx

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

* Update website/docs/user_guide/environments.md

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

* Update website/docs/user_guide/environments.md

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

* address PR comments

* Update website/docs/how-to/how-to-clone-environments.mdx

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

* Update website/docs/user_guide/environments.md

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

* Update website/docs/user_guide/environments.md

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

* Update website/docs/user_guide/environments.md

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

* fix uppercase in guide

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-03 14:14:08 +02:00
sjaanus
0de0da8f97
Remove manually added migrations and fix the scripts (#2324)
* Fix migrations

* Fix migrations
2022-11-03 14:05:47 +02: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