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

8849 Commits

Author SHA1 Message Date
renovate[bot]
35c048e92f
chore(deps): update dependency @swc/core to v1.3.72 (#4426)
[![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.71` ->
`1.3.72`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.71/1.3.72) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.3.72?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.3.72?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.3.71/1.3.72?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.3.71/1.3.72?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc (@&#8203;swc/core)</summary>

###
[`v1.3.72`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1372---2023-07-28)

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

##### Bug Fixes

- **(es/compat)** Fix handling of private members in optional chaining
pass ([#&#8203;7610](https://togithub.com/swc-project/swc/issues/7610))
([7ba7b6e](7ba7b6ec1f))

- **(es/minifier)** Do not drop used properties
([#&#8203;7702](https://togithub.com/swc-project/swc/issues/7702))
([f901b41](f901b417d1))

- **(es/module)** Do not determine module name for modules without
exports in UMD
([#&#8203;7718](https://togithub.com/swc-project/swc/issues/7718))
([40136f7](40136f7c54))

##### Features

- **(es)** Add a validation for a wrong config
([#&#8203;7704](https://togithub.com/swc-project/swc/issues/7704))
([900701f](900701fbf2))

- **(swc_core)** Expose `visit/serde` as serde feature
([#&#8203;7722](https://togithub.com/swc-project/swc/issues/7722))
([2bc9637](2bc96373b7))

##### Refactor

- **(es/parser)** Make `stacker` an optional dependency
([#&#8203;7720](https://togithub.com/swc-project/swc/issues/7720))
([864bdef](864bdefbe0))

</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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 23:08:35 +00:00
renovate[bot]
53eba89de2
chore(deps): update dependency eslint to v8.46.0 (#4425)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [eslint](https://eslint.org)
([source](https://togithub.com/eslint/eslint)) | [`8.45.0` ->
`8.46.0`](https://renovatebot.com/diffs/npm/eslint/8.45.0/8.46.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.46.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.46.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.45.0/8.46.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.45.0/8.46.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>eslint/eslint (eslint)</summary>

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

[Compare
Source](https://togithub.com/eslint/eslint/compare/v8.45.0...v8.46.0)

##### Features

-
[`8a93438`](8a9343871f)
feat: `require-unicode-regexp` support `v` flag
([#&#8203;17402](https://togithub.com/eslint/eslint/issues/17402))
(SUZUKI Sosuke)
-
[`1a2f966`](1a2f966fab)
feat: `no-useless-escape` support `v` flag
([#&#8203;17420](https://togithub.com/eslint/eslint/issues/17420))
(Yosuke Ota)
-
[`ee68d1d`](ee68d1d963)
feat: `no-empty-character-class` support `v` flag
([#&#8203;17419](https://togithub.com/eslint/eslint/issues/17419))
(Milos Djermanovic)
-
[`853d32b`](853d32baa8)
feat: deprecate no-return-await
([#&#8203;17417](https://togithub.com/eslint/eslint/issues/17417))
(Carlos Lopez)
-
[`d4f02e4`](d4f02e4bf1)
feat: `no-control-regex` support `v` flag
([#&#8203;17405](https://togithub.com/eslint/eslint/issues/17405))
(Yosuke Ota)
-
[`2a35f3e`](2a35f3e6ed)
feat: `prefer-named-capture-group` support `v` flag
([#&#8203;17409](https://togithub.com/eslint/eslint/issues/17409))
(Yosuke Ota)
-
[`8ca8b50`](8ca8b50b04)
feat: Better error message for flat config plugins
([#&#8203;17399](https://togithub.com/eslint/eslint/issues/17399))
(Nicholas C. Zakas)
-
[`509f753`](509f753950)
feat: `no-misleading-character-class` support `v` flag
([#&#8203;17406](https://togithub.com/eslint/eslint/issues/17406))
(Yosuke Ota)
-
[`3caf514`](3caf51487d)
feat: `no-regex-spaces` support `v` flag
([#&#8203;17407](https://togithub.com/eslint/eslint/issues/17407))
(Yosuke Ota)
-
[`b7fad2b`](b7fad2b52f)
feat: `prefer-regex-literals` support `v` flag
([#&#8203;17410](https://togithub.com/eslint/eslint/issues/17410))
(Yosuke Ota)
-
[`a6a3ad4`](a6a3ad4ae4)
feat: `no-useless-backreference` support `v` flag
([#&#8203;17408](https://togithub.com/eslint/eslint/issues/17408))
(Yosuke Ota)
-
[`94954a7`](94954a7154)
feat: `no-invalid-regexp` support `v` flag
([#&#8203;17404](https://togithub.com/eslint/eslint/issues/17404))
(Yosuke Ota)
-
[`1af6eac`](1af6eac572)
feat: adds option for allowing empty object patterns as parameter
([#&#8203;17365](https://togithub.com/eslint/eslint/issues/17365))
(Tanuj Kanti)
-
[`cf03104`](cf03104b27)
feat: Improve config error messages
([#&#8203;17385](https://togithub.com/eslint/eslint/issues/17385))
(Nicholas C. Zakas)

##### Bug Fixes

-
[`9803c7c`](9803c7c040)
fix: FlatESLint#getRulesMetaForResults shouldn't throw on unknown rules
([#&#8203;17393](https://togithub.com/eslint/eslint/issues/17393))
(Milos Djermanovic)
-
[`42faa17`](42faa17b1c)
fix: Update no-loop-func to not overlap with no-undef
([#&#8203;17358](https://togithub.com/eslint/eslint/issues/17358)) (Matt
Wilkinson)

##### Documentation

-
[`4d474e3`](4d474e351b)
docs: update with TypeScript info
([#&#8203;17423](https://togithub.com/eslint/eslint/issues/17423))
(James)
-
[`091f44e`](091f44e4c7)
docs: File extension named processor deprecation
([#&#8203;17362](https://togithub.com/eslint/eslint/issues/17362)) (Matt
Wilkinson)
-
[`9254a6c`](9254a6cea8)
docs: Update README (GitHub Actions Bot)
-
[`6d6dc51`](6d6dc5141f)
docs: fix overlapping of `open in playground` button
([#&#8203;17403](https://togithub.com/eslint/eslint/issues/17403))
(Tanuj Kanti)
-
[`7fc3a2c`](7fc3a2ce68)
docs: Add private class features info to no-underscore-dangle
([#&#8203;17386](https://togithub.com/eslint/eslint/issues/17386)) (Matt
Wilkinson)
-
[`da73e58`](da73e583e1)
docs: Migrating `eslint-env` configuration comments
([#&#8203;17390](https://togithub.com/eslint/eslint/issues/17390))
(Francesco Trotta)
-
[`80dffed`](80dffed4c8)
docs: fix Ignoring Files section in config migration guide
([#&#8203;17392](https://togithub.com/eslint/eslint/issues/17392))
(Milos Djermanovic)
-
[`8a9abb7`](8a9abb7cf4)
docs: Update README (GitHub Actions Bot)
-
[`7e9be4b`](7e9be4bd73)
docs: Update README (GitHub Actions Bot)
-
[`0b0bbe0`](0b0bbe07d4)
docs: Update README (GitHub Actions Bot)

##### Chores

-
[`d1eb7e4`](d1eb7e46e9)
chore: Update ecosystem dependencies
([#&#8203;17427](https://togithub.com/eslint/eslint/issues/17427))
(Nicholas C. Zakas)
-
[`fab9e97`](fab9e97ef9)
chore: package.json update for eslint-config-eslint release (ESLint
Jenkins)
-
[`6246711`](6246711e06)
chore: package.json update for
[@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint
Jenkins)
-
[`0aa0bc3`](0aa0bc365a)
chore: Add PRs to triage project
([#&#8203;17421](https://togithub.com/eslint/eslint/issues/17421))
(Nicholas C. Zakas)

</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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 18:32:46 +00:00
Gastón Fournier
29478828b5
chore: increase max app names to 1000 (#4421)
## About the changes
Looking at our metrics this number should be a good threshold, giving us
more functionality than just limiting it to 100.
2023-08-04 15:03:21 +02:00
Thomas Heartman
452f3942a7
feat(#4209): add segment to drafts (#4408)
This PR sends segments to CR drafts when you use the `add to draft`
button.

It also adds the logic for which environment to pick.

Segments sent to the API are added to drafts, but not displayed in the
UI yet. CRs with only segment changes are also not listed in the table.
This'll be covered in upcoming work.
2023-08-04 12:57:26 +00:00
Jaanus Sellin
7a32eacecb
feat: segments in pending CR screen (#4420) 2023-08-04 15:34:03 +03:00
Mateusz Kwasniewski
e20e7df10f
feat: protect segment operations for change requests (#4417) 2023-08-04 12:23:19 +02:00
Tymoteusz Czech
87e75d10b2
Update PRO plan menu (#4409)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

## About the changes
Update menu for Pro customers - show enterprise options with plan
upgrade suggestion page.


![image](https://github.com/Unleash/unleash/assets/2625371/0b670b48-a2fc-4973-89ce-5d0b0c36b81a)
2023-08-04 11:57:36 +02:00
renovate[bot]
ad1f5ffa1e
chore(deps): update dependency eslint-plugin-import to v2.28.0 (#4419)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[eslint-plugin-import](https://togithub.com/import-js/eslint-plugin-import)
| [`2.27.5` ->
`2.28.0`](https://renovatebot.com/diffs/npm/eslint-plugin-import/2.27.5/2.28.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-import/2.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-import/2.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-import/2.27.5/2.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-import/2.27.5/2.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>import-js/eslint-plugin-import (eslint-plugin-import)</summary>

###
[`v2.28.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2280---2023-07-27)

[Compare
Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.5...v2.28.0)

##### Fixed

- \[`no-duplicates`]: remove duplicate identifiers in duplicate imports
(\[[#&#8203;2577](https://togithub.com/import-js/eslint-plugin-import/issues/2577)],
thanks \[[@&#8203;joe-matsec](https://togithub.com/joe-matsec)])
- \[`consistent-type-specifier-style`]: fix accidental removal of comma
in certain cases
(\[[#&#8203;2754](https://togithub.com/import-js/eslint-plugin-import/issues/2754)],
thanks \[[@&#8203;bradzacher](https://togithub.com/bradzacher)])
- \[Perf] `ExportMap`: Improve `ExportMap.for` performance on larger
codebases
(\[[#&#8203;2756](https://togithub.com/import-js/eslint-plugin-import/issues/2756)],
thanks \[[@&#8203;leipert](https://togithub.com/leipert)])
- \[`no-extraneous-dependencies`]/TypeScript: do not error when
importing inline type from dev dependencies
(\[[#&#8203;1820](https://togithub.com/import-js/eslint-plugin-import/issues/1820)],
thanks \[[@&#8203;andyogo](https://togithub.com/andyogo)])
- \[`newline-after-import`]/TypeScript: do not error when re-exporting a
namespaced import
(\[[#&#8203;2832](https://togithub.com/import-js/eslint-plugin-import/issues/2832)],
thanks \[[@&#8203;laurens-dg](https://togithub.com/laurens-dg)])
- \[`order`]: partial fix for
\[[#&#8203;2687](https://togithub.com/import-js/eslint-plugin-import/issues/2687)]
(thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)])
- \[`no-duplicates`]: Detect across type and regular imports
(\[[#&#8203;2835](https://togithub.com/import-js/eslint-plugin-import/issues/2835)],
thanks \[[@&#8203;benkrejci](https://togithub.com/benkrejci)])
- \[`extensions`]: handle `.` and `..` properly
(\[[#&#8203;2778](https://togithub.com/import-js/eslint-plugin-import/issues/2778)],
thanks \[[@&#8203;benasher44](https://togithub.com/benasher44)])
- \[`no-unused-modules`]: improve schema (thanks
\[[@&#8203;ljharb](https://togithub.com/ljharb)])
- \[`no-unused-modules`]: report error on binding instead of parent
export
(\[[#&#8203;2842](https://togithub.com/import-js/eslint-plugin-import/issues/2842)],
thanks \[[@&#8203;Chamion](https://togithub.com/Chamion)])

##### Changed

- \[Docs] \[`no-duplicates`]: fix example schema
(\[[#&#8203;2684](https://togithub.com/import-js/eslint-plugin-import/issues/2684)],
thanks \[[@&#8203;simmo](https://togithub.com/simmo)])
- \[Docs] \[`group-exports`]: fix syntax highlighting
(\[[#&#8203;2699](https://togithub.com/import-js/eslint-plugin-import/issues/2699)],
thanks \[[@&#8203;devinrhode2](https://togithub.com/devinrhode2)])
- \[Docs] \[`extensions`]: reference node ESM behavior
(\[[#&#8203;2748](https://togithub.com/import-js/eslint-plugin-import/issues/2748)],
thanks \[[@&#8203;xM8WVqaG](https://togithub.com/xM8WVqaG)])
- \[Refactor] \[`exports-last`]: use `array.prototype.findlastindex`
(thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)])
- \[Refactor] \[`no-anonymous-default-export`]: use `object.fromentries`
(thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)])
- \[Refactor] \[`no-unused-modules`]: use `array.prototype.flatmap`
(thanks \[[@&#8203;ljharb](https://togithub.com/ljharb)])

</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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 09:53:45 +00:00
Gastón Fournier
043a3a10ec
chore: reduce build time (#4405)
## About the changes
~~Test if max-workers can speed up test runs~~ No, this didn't help.
Disabling the job that takes longer should help mitigate. We lose the
coverage report but we still test our code:
https://github.com/Unleash/unleash/actions/runs/5751945832/job/15591813034?pr=4405#step:7:2396

This cuts the build time by 50% and moving this to a daily schedule
2023-08-04 11:51:18 +02:00
Thomas Heartman
885f88407a
meta: add CODEOWNERS and set thomas as docs owner (#4418)
This change adds a CODEOWNERS file to the repository, which is used by
GitHub to automatically assign pull requests to the right people. It
also sets @thomasheartman as the owner of the docs directory
(`/website`), which
means that he will be automatically assigned to pull requests that
touch docs.
2023-08-04 11:46:18 +02:00
renovate[bot]
32ce9147a6
chore(deps): update dependency @uiw/react-codemirror to v4.21.9 (#4415)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror)
([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.21.8` ->
`4.21.9`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.21.8/4.21.9)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.21.8/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.21.8/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror (@&#8203;uiw/react-codemirror)</summary>

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

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


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

Documentation v4.21.9:
https://raw.githack.com/uiwjs/react-codemirror/25f2810/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.8...v4.21.9

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

- 🎨 style(theme): fix selection style issue.
([#&#8203;546](https://togithub.com/uiwjs/react-codemirror/issues/546))
[`85c8ee3`](https://togithub.com/uiwjs/react-codemirror/commit/85c8ee3)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 09:02:00 +00:00
andreas-unleash
d1daf0b98c
fix: Remove lastSeenAt when exporting FeatureEnvironment (#4416)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-08-04 08:54:57 +00:00
Jaanus Sellin
d001b864f2
fix: environment id missing bug (#4397) 2023-08-04 11:29:03 +03:00
renovate[bot]
8e3eaf158e
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.21.9 (#4414)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@uiw/codemirror-theme-duotone](https://uiwjs.github.io/react-codemirror/#/theme/data/duotone/light)
([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.21.8` ->
`4.21.9`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.21.8/4.21.9)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2fcodemirror-theme-duotone/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2fcodemirror-theme-duotone/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2fcodemirror-theme-duotone/4.21.8/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2fcodemirror-theme-duotone/4.21.8/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror
(@&#8203;uiw/codemirror-theme-duotone)</summary>

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

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


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

Documentation v4.21.9:
https://raw.githack.com/uiwjs/react-codemirror/25f2810/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.8...v4.21.9

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

- 🎨 style(theme): fix selection style issue.
([#&#8203;546](https://togithub.com/uiwjs/react-codemirror/issues/546))
[`85c8ee3`](https://togithub.com/uiwjs/react-codemirror/commit/85c8ee3)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 08:06:58 +00:00
renovate[bot]
bc2082228a
fix(deps): update dependency express-rate-limit to v6.8.1 (#4406)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[express-rate-limit](https://togithub.com/express-rate-limit/express-rate-limit)
| [`6.8.0` ->
`6.8.1`](https://renovatebot.com/diffs/npm/express-rate-limit/6.8.0/6.8.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/express-rate-limit/6.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/express-rate-limit/6.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/express-rate-limit/6.8.0/6.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/express-rate-limit/6.8.0/6.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>express-rate-limit/express-rate-limit
(express-rate-limit)</summary>

###
[`v6.8.1`](https://togithub.com/express-rate-limit/express-rate-limit/blob/HEAD/changelog.md#681--672)

[Compare
Source](https://togithub.com/express-rate-limit/express-rate-limit/compare/v6.8.0...v6.8.1)

##### Changed

-   Revert 6.7.1 change that bumped typescript from 5.x to 4.x and
    dts-bundle-generator from 8.x to 7.x (See

[#&#8203;360](https://togithub.com/express-rate-limit/express-rate-limit/issues/360))

</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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-04 07:11:33 +00:00
andreas-unleash
d21ccb7f1c
Feat: last seen in feature environment (#4391)
- Adds last_seen_at column in feature_environments and lastSeenAt
property to the FeatureEnvironment models

Closes
[1-1181](https://linear.app/unleash/issue/1-1181/implement-storing-last-seen-per-environment-be)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-08-04 09:59:54 +03:00
renovate[bot]
76dc89069c
chore(deps): update dependency fast-check to v3.12.0 (#4412)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [fast-check](https://togithub.com/dubzzz/fast-check) | [`3.11.0` ->
`3.12.0`](https://renovatebot.com/diffs/npm/fast-check/3.11.0/3.12.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/fast-check/3.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/fast-check/3.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/fast-check/3.11.0/3.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/fast-check/3.11.0/3.12.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>dubzzz/fast-check (fast-check)</summary>

###
[`v3.12.0`](https://togithub.com/dubzzz/fast-check/blob/HEAD/packages/fast-check/CHANGELOG.md#3120)

[Compare
Source](https://togithub.com/dubzzz/fast-check/compare/v3.11.0...v3.12.0)

*Faster `float`, `double` and `ulid` and excluded min/max*

\[[Code](https://togithub.com/dubzzz/fast-check/tree/v3.12.0)]\[[Diff](https://togithub.com/dubzzz/fast-check/compare/v3.11.0...v3.12.0)]

#### Features

- ([PR#4100](https://togithub.com/dubzzz/fast-check/pull/4100)) Support
excluded min/max in `double`
- ([PR#4105](https://togithub.com/dubzzz/fast-check/pull/4105)) Support
excluded min/max in `float`

#### Fixes

- ([PR#4094](https://togithub.com/dubzzz/fast-check/pull/4094)) Bug:
Stop unwrapping `ulid` we cannot build
- ([PR#4095](https://togithub.com/dubzzz/fast-check/pull/4095)) Bug: Be
resilient to poisoning with `ulid`
- ([PR#4041](https://togithub.com/dubzzz/fast-check/pull/4041)) CI:
Ensure we use latest node in range
- ([PR#4062](https://togithub.com/dubzzz/fast-check/pull/4062)) CI:
Update devcontainer configuration
- ([PR#4065](https://togithub.com/dubzzz/fast-check/pull/4065)) CI:
Better configuration for renovate
- ([PR#4068](https://togithub.com/dubzzz/fast-check/pull/4068)) CI:
Refine configuration of renovate
- ([PR#4073](https://togithub.com/dubzzz/fast-check/pull/4073)) CI: New
attempt to configure renovate
- ([PR#4075](https://togithub.com/dubzzz/fast-check/pull/4075)) CI:
Configure renovate to bump non-package
- ([PR#4078](https://togithub.com/dubzzz/fast-check/pull/4078)) CI:
Disable nodenv bumps on renovate
- ([PR#4080](https://togithub.com/dubzzz/fast-check/pull/4080)) CI: Stop
bumping node via renovate
- ([PR#4040](https://togithub.com/dubzzz/fast-check/pull/4040)) Doc:
Prepare release note for 3.11.0
- ([PR#4087](https://togithub.com/dubzzz/fast-check/pull/4087)) Doc: Add
new contributor zbjornson
- ([PR#4059](https://togithub.com/dubzzz/fast-check/pull/4059))
Performance: Faster `decomposeFloat/Double`
- ([PR#4088](https://togithub.com/dubzzz/fast-check/pull/4088))
Performance: Drop some unneeded allocs in `ulid`
- ([PR#4091](https://togithub.com/dubzzz/fast-check/pull/4091))
Performance: Faster unmap for `ulid`
- ([PR#4092](https://togithub.com/dubzzz/fast-check/pull/4092))
Performance: Faster generation of `ulid`
- ([PR#4098](https://togithub.com/dubzzz/fast-check/pull/4098))
Performance: Faster `ulid` mapper function
- ([PR#4039](https://togithub.com/dubzzz/fast-check/pull/4039)) Script:
Add support for more gitmojis

***

</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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 18:38:52 +00:00
renovate[bot]
573fadabc9
chore(deps): update dependency eslint-config-prettier to v8.9.0 (#4399)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[eslint-config-prettier](https://togithub.com/prettier/eslint-config-prettier)
| [`8.8.0` ->
`8.9.0`](https://renovatebot.com/diffs/npm/eslint-config-prettier/8.8.0/8.9.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-config-prettier/8.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-config-prettier/8.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-config-prettier/8.8.0/8.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-config-prettier/8.8.0/8.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prettier/eslint-config-prettier
(eslint-config-prettier)</summary>

###
[`v8.9.0`](https://togithub.com/prettier/eslint-config-prettier/blob/HEAD/CHANGELOG.md#Version-890-2023-07-27)

[Compare
Source](https://togithub.com/prettier/eslint-config-prettier/compare/v8.8.0...v8.9.0)

- Added: \[vue/array-element-newline]. Thanks to
[@&#8203;xcatliu](https://togithub.com/xcatliu)!

</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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 13:33:34 +00:00
Thomas Heartman
cc9558689b
chore(#4205): add flag for segmentChangeRequests (#4401) 2023-08-03 15:20:31 +02:00
renovate[bot]
76fc25123f
chore(deps): update dependency jest to v29.6.2 (#4398)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [jest](https://jestjs.io/)
([source](https://togithub.com/facebook/jest)) | [`29.6.1` ->
`29.6.2`](https://renovatebot.com/diffs/npm/jest/29.6.1/29.6.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/jest/29.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/jest/29.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/jest/29.6.1/29.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/jest/29.6.1/29.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>facebook/jest (jest)</summary>

###
[`v29.6.2`](https://togithub.com/facebook/jest/blob/HEAD/CHANGELOG.md#2962)

[Compare
Source](https://togithub.com/facebook/jest/compare/v29.6.1...v29.6.2)

##### Fixes

- `[jest-circus]` Fix snapshot matchers in concurrent tests when nr of
tests exceeds `maxConcurrency`
([#&#8203;14335](https://togithub.com/jestjs/jest/pull/14335))
- `[@jest/core]` When running global setup and teardown, do not try to
change the `message` property of the thrown error object when the
`message` property is unwritable
([#&#8203;14113](https://togithub.com/jestjs/jest/pull/14113))
- `[jest-snapshot]` Move `@types/prettier` from `dependencies` to
`devDependencies`
([#&#8203;14328](https://togithub.com/jestjs/jest/pull/14328))
- `[jest-snapshot]` Throw an explicit error if Prettier v3 is used
([#&#8203;14367](https://togithub.com/jestjs/jest/pull/14367))
- `[jest-reporters]` Add "skipped" and "todo" symbols to Github Actions
Reporter ([#&#8203;14309](https://togithub.com/jestjs/jest/pull/14309))

##### Chore & Maintenance

- `[@jest/core]` Use `pluralize` from `jest-util` rather than own
internal ([#&#8203;14322](https://togithub.com/jestjs/jest/pull/14322))

</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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 13:16:14 +00:00
Thomas Heartman
dbc7d088f0
chore: update orval types (#4402)
Includes a lot of openapi updates + some new segment change requests models etc
2023-08-03 15:05:20 +02:00
Thomas Heartman
7cab19d9d2
#4209: add 'add to draft' button for segments. (#4400)
Note: it doesn't work yet! It just throws an error.

This PR adds some logic to conditionally display "Add to draft" button
for segments if the segment is part of a project that has change
requests enabled and the flag is enabled.

Also adds a flag (`segmentChangeRequests`) to the frontend.

Holding off on actually adding the change to a draft until the API/orval
has been updated with the most recent changes.
2023-08-03 14:34:38 +02:00
renovate[bot]
240cc2b5fa
chore(deps): update docker/build-push-action action to v4 (#4365) 2023-08-03 13:13:14 +02:00
renovate[bot]
5f516c91e7
chore(deps): update dependency replace-in-file to v7 (#4329) 2023-08-03 13:12:33 +02:00
Jaanus Sellin
f140b0253d
feat: allow trust proxy (#4396) 2023-08-03 13:47:19 +03:00
andreas-unleash
a09c6dcaea
feat: add lastSeenByEnvironment flag (#4393)
Closes:
[1-1193](https://linear.app/unleash/issue/1-1193/add-lastseenbyenvironment-flag)

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-08-03 12:59:23 +03:00
Thomas Heartman
1b320fbdec
1-1192: track the feature type and the new lifetime (#4395)
This PR adds tracking of the feature type and the new lifetime to the
existing plausible event. This allows us extra insights into what users
change it to.
2023-08-03 11:34:03 +02:00
Mateusz Kwasniewski
64b00fa52d
feat: optional change request feature (#4394) 2023-08-03 11:22:35 +02:00
Tymoteusz Czech
a01aa7e355
Update admin menu (#4389)
## About the changes
- add divider
- reorder items
- add flag for project
https://linear.app/unleash/project/[high][s][none]-improved-menu-aefaca264034

Closes https://linear.app/unleash/issue/1-1101/improved-menu-enterprise
2023-08-03 09:01:49 +02:00
Ivar Conradi Østhus
5377243afc
fix: Password hash is null should yield PasswordMissmatch (#4392)
We are giving a strange error message if the user does not have a
password_hash defined in the database.
2023-08-03 08:51:13 +02:00
Gastón Fournier
1017260c00
chore: add more debug logs (#4388)
This add more debug logs to help us trace how channels are being
filtered out
2023-08-02 15:03:51 +02:00
Mark Fulton
187ed8a39a
docs: Edge updates for docs/proxy-hosting (#4275)
docs: document edge/proxy hosting options and strategies
2023-08-02 14:32:12 +02:00
andreas-unleash
d66a56e4e8
feat: Add last_seen_at column to feature_environments (#4387)
Add last_seen_at column to feature_environments

Closes #
[1-1180](https://linear.app/unleash/issue/1-1180/migrate-last-seen-column-to-featureenvironment-table)

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-08-02 15:02:01 +03:00
Gastón Fournier
55c785c2ff
chore: Add debug information to slack addon (#4379)
Logs to help us debug the addon
2023-08-02 10:33:44 +00:00
Mateusz Kwasniewski
20b1559329
docs: strategy variants in 5.4 (#4372) 2023-08-02 12:27:24 +02:00
Arne-Christian Rundereim
8aec4a02cb
fix: EventStore#getMaxRevisionId can return null (#4384)
In a new fresh Unleash instance with cache enabled this can cause
feature toggles to never get updated.

We saw in our client that the ETag was ETag: "60e35fba:null" Which
looked incorrect for us.

I also did manual testing and if the andWhere had a value of largerThan
higher than whatever the id was then we would get back { max: null }.

This should fix that issue.
2023-08-01 23:59:09 +02:00
renovate[bot]
5b35e6f877
chore(deps): update dependency @types/nodemailer to v6.4.9 (#4382)
[![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/nodemailer](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`6.4.8` ->
`6.4.9`](https://renovatebot.com/diffs/npm/@types%2fnodemailer/6.4.8/6.4.9)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnodemailer/6.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnodemailer/6.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnodemailer/6.4.8/6.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnodemailer/6.4.8/6.4.9?slim=true)](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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 19:29:54 +00:00
renovate[bot]
d4b4d6fec5
chore(deps): update dependency vite to v4.4.7 (#4383)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://togithub.com/vitejs/vite/tree/main/#readme)
([source](https://togithub.com/vitejs/vite)) | [`4.4.6` ->
`4.4.7`](https://renovatebot.com/diffs/npm/vite/4.4.6/4.4.7) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.4.6/4.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.4.6/4.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v4.4.7`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small447-2023-07-24-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v4.4.6...v4.4.7)

- fix: `optimizeDeps.include` not working with paths inside packages
([#&#8203;13922](https://togithub.com/vitejs/vite/issues/13922))
([06e4f57](https://togithub.com/vitejs/vite/commit/06e4f57)), closes
[#&#8203;13922](https://togithub.com/vitejs/vite/issues/13922)
- fix: lightningcss fails with html-proxy
([#&#8203;13776](https://togithub.com/vitejs/vite/issues/13776))
([6b56094](https://togithub.com/vitejs/vite/commit/6b56094)), closes
[#&#8203;13776](https://togithub.com/vitejs/vite/issues/13776)
- fix: prepend `config.base` to vite/env path
([#&#8203;13941](https://togithub.com/vitejs/vite/issues/13941))
([8e6cee8](https://togithub.com/vitejs/vite/commit/8e6cee8)), closes
[#&#8203;13941](https://togithub.com/vitejs/vite/issues/13941)
- fix(html): support `import.meta.env` define replacement without quotes
([#&#8203;13425](https://togithub.com/vitejs/vite/issues/13425))
([883089c](https://togithub.com/vitejs/vite/commit/883089c)), closes
[#&#8203;13425](https://togithub.com/vitejs/vite/issues/13425)
- fix(proxy): handle error when proxy itself errors
([#&#8203;13929](https://togithub.com/vitejs/vite/issues/13929))
([4848e41](https://togithub.com/vitejs/vite/commit/4848e41)), closes
[#&#8203;13929](https://togithub.com/vitejs/vite/issues/13929)
- chore(eslint): allow type annotations
([#&#8203;13920](https://togithub.com/vitejs/vite/issues/13920))
([d1264fd](https://togithub.com/vitejs/vite/commit/d1264fd)), closes
[#&#8203;13920](https://togithub.com/vitejs/vite/issues/13920)

</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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 16:15:16 +00:00
renovate[bot]
464d1723fa
chore(deps): update dependency @swc/core to v1.3.71 (#4381)
[![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.70` ->
`1.3.71`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.70/1.3.71) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.3.71?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.3.71?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.3.70/1.3.71?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.3.70/1.3.71?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc (@&#8203;swc/core)</summary>

###
[`v1.3.71`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1371---2023-07-25)

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

##### Bug Fixes

- **(css/modules)** Preserve attr selectors used with `:global`
([#&#8203;7670](https://togithub.com/swc-project/swc/issues/7670))
([11b4679](11b4679231))

- **(es/minifier)** Only cast global `Infinity`/`undefined`/`NaN`
([#&#8203;7684](https://togithub.com/swc-project/swc/issues/7684))
([241c04a](241c04ab4a))

- **(es/minifier)** Drop line comments starting with `!`
([#&#8203;7689](https://togithub.com/swc-project/swc/issues/7689))
([951138c](951138cd13))

- **(es/minifier)** Abort seq inliner using visitor
([#&#8203;7699](https://togithub.com/swc-project/swc/issues/7699))
([a26dbce](a26dbce981))

- **(es/typescript)** Fix handling of optional chaining
([#&#8203;7660](https://togithub.com/swc-project/swc/issues/7660))
([c017874](c017874085))

##### Features

- **(css/parser)** Support `@starting-style`
([#&#8203;7677](https://togithub.com/swc-project/swc/issues/7677))
([cfb7b51](cfb7b511ee))

##### Miscellaneous Tasks

- **(ci)** Fix CI
([#&#8203;7679](https://togithub.com/swc-project/swc/issues/7679))
([57398af](57398af270))

##### Refactor

- **(es/minifier)** Respect `toplevel` and `module` options
([#&#8203;7671](https://togithub.com/swc-project/swc/issues/7671))
([9893bd2](9893bd2d43))

- **(es/minifier)** Respect top-level when invoking IIFE
([#&#8203;7690](https://togithub.com/swc-project/swc/issues/7690))
([bf72362](bf723625b0))

</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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 15:10:01 +00:00
renovate[bot]
04510c2d2b
fix(deps): update dependency unleash-client to v4.1.0 (#4373)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [unleash-client](https://togithub.com/Unleash/unleash-client-node) |
[`4.1.0-beta.5` ->
`4.1.0`](https://renovatebot.com/diffs/npm/unleash-client/4.1.0-beta.5/4.1.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/unleash-client/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/unleash-client/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/unleash-client/4.1.0-beta.5/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/unleash-client/4.1.0-beta.5/4.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>Unleash/unleash-client-node (unleash-client)</summary>

###
[`v4.1.0`](https://togithub.com/Unleash/unleash-client-node/releases/tag/v4.1.0)

[Compare
Source](https://togithub.com/Unleash/unleash-client-node/compare/v4.1.0-beta.5...v4.1.0)

#### What's Changed

- feat: strategy variants by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[https://github.com/Unleash/unleash-client-node/pull/482](https://togithub.com/Unleash/unleash-client-node/pull/482)
- fix: remove unused segment fields by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[https://github.com/Unleash/unleash-client-node/pull/489](https://togithub.com/Unleash/unleash-client-node/pull/489)
- feat: expose config type by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[https://github.com/Unleash/unleash-client-node/pull/491](https://togithub.com/Unleash/unleash-client-node/pull/491)
- fix:fetch lib with its deps by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[https://github.com/Unleash/unleash-client-node/pull/492](https://togithub.com/Unleash/unleash-client-node/pull/492)
- fix: force get variant is back by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[https://github.com/Unleash/unleash-client-node/pull/493](https://togithub.com/Unleash/unleash-client-node/pull/493)
- refactor: strategy variants inside strategy by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[https://github.com/Unleash/unleash-client-node/pull/494](https://togithub.com/Unleash/unleash-client-node/pull/494)
- feat: variant on enabled toggle metrics by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[https://github.com/Unleash/unleash-client-node/pull/495](https://togithub.com/Unleash/unleash-client-node/pull/495)
- chore(deps): update dependency nock to v13.3.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/Unleash/unleash-client-node/pull/488](https://togithub.com/Unleash/unleash-client-node/pull/488)
- chore(deps): update dependency eslint to v8.45.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/Unleash/unleash-client-node/pull/490](https://togithub.com/Unleash/unleash-client-node/pull/490)
- chore(deps): update typescript-eslint monorepo to v5.62.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/Unleash/unleash-client-node/pull/483](https://togithub.com/Unleash/unleash-client-node/pull/483)
- chore(deps): update dependency eslint-config-airbnb-typescript to
v17.1.0 by [@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/Unleash/unleash-client-node/pull/487](https://togithub.com/Unleash/unleash-client-node/pull/487)
- chore(deps): update dependency eslint-plugin-prettier to v5 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/Unleash/unleash-client-node/pull/485](https://togithub.com/Unleash/unleash-client-node/pull/485)
- feat: version bump non beta by
[@&#8203;kwasniew](https://togithub.com/kwasniew) in
[https://github.com/Unleash/unleash-client-node/pull/496](https://togithub.com/Unleash/unleash-client-node/pull/496)

**Full Changelog**:
https://github.com/Unleash/unleash-client-node/compare/v4.0.2...v4.1.0

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 14:12:26 +00:00
Thomas Heartman
452b5a6748
OpenAPI: add operation tests: require summaries and descriptions (#4377)
This PR adds an e2e test to the OpenAPI tests that checks that all
openapi operations have both summaries and descriptions. It also fixes
the few schemas that were missing one or the other.
2023-08-01 15:58:15 +02:00
Thomas Heartman
b8ab43543f
remove trailing periods (#4378)
remove trailing periods in markdown.
2023-08-01 15:20:10 +02:00
Mateusz Kwasniewski
da5e18233c
feat: segments service DI (#4376) 2023-08-01 11:20:59 +02:00
andreas-unleash
579b08be27
fix: UI improvements on CR reorder strategy (#4375)
- make the blocks that hold the constraints full width
- remove the margin-top and margin-bottom from the parent div + increase
the gap: 20px on this parent div
- remove the margin-bottom from the constraints containers
- add the strategies in a div and add a margin-bottom: 8px

![Screenshot 2023-07-31 at 15 05
51](https://github.com/Unleash/unleash/assets/104830839/68c32324-99c3-4fab-99f0-bde1bf2b43e7)

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-07-31 16:25:06 +03:00
Mateusz Kwasniewski
ce468dcdce
chore: clean client api flag removed (#4368) 2023-07-31 12:27:31 +02:00
Mateusz Kwasniewski
b34f00c2cb
feat: strategy variants alert (#4371) 2023-07-31 12:26:12 +02:00
renovate[bot]
3c8eecb413
chore(deps): update dependency node to v18.17.0 (#4326) 2023-07-31 09:17:54 +00:00
renovate[bot]
3be26b04c7
chore(deps): update dependency @uiw/react-codemirror to v4.21.8 (#4369)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror)
([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.21.7` ->
`4.21.8`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.21.7/4.21.8)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.21.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.21.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.21.7/4.21.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.21.7/4.21.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>uiwjs/react-codemirror (@&#8203;uiw/react-codemirror)</summary>

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

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


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

Documentation v4.21.8:
https://raw.githack.com/uiwjs/react-codemirror/265d393/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.21.7...v4.21.8

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

- 🌍 website: add mark decoration example.
[`528759f`](https://togithub.com/uiwjs/react-codemirror/commit/528759f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix(react-codemirror): unexpected effect called when extension is
null
([#&#8203;542](https://togithub.com/uiwjs/react-codemirror/issues/542))
[`bed5e80`](https://togithub.com/uiwjs/react-codemirror/commit/bed5e80)
[@&#8203;meowtec](https://togithub.com/meowtec)

</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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 09:11:12 +00:00
Thomas Heartman
1481c13b61
openapi: enable strict schema validation by default and fix (#4355)
Enable strict schema validation by default. It can still be overridden
by explicitly setting it to false.

I've also fixed the validation errors that appeared when turning it on.
I've opted for the simplest route and changed the schemas to comply with
the tests.
2023-07-31 11:04:13 +02:00
renovate[bot]
799387e482
chore(deps): update dependency @types/node to v16.18.39 (#4366)
[![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.38` ->
`16.18.39`](https://renovatebot.com/diffs/npm/@types%2fnode/16.18.38/16.18.39)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/16.18.39?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/16.18.39?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/16.18.38/16.18.39?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/16.18.38/16.18.39?slim=true)](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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 07:30:46 +00:00