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

1730 Commits

Author SHA1 Message Date
renovate[bot]
36c7ee0525
chore(deps): update dependency @types/nodemailer to v6.4.8 (#3876)
[![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.7` ->
`6.4.8`](https://renovatebot.com/diffs/npm/@types%2fnodemailer/6.4.7/6.4.8)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fnodemailer/6.4.8/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnodemailer/6.4.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fnodemailer/6.4.8/compatibility-slim/6.4.7)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnodemailer/6.4.8/confidence-slim/6.4.7)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuNCIsInVwZGF0ZWRJblZlciI6IjM1LjEwMi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-27 06:15:49 +00:00
renovate[bot]
178ddf0c8d
chore(deps): update dependency @swc/core to v1.3.59 (#3875)
[![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.58` ->
`1.3.59`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.58/1.3.59) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.59/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.59/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.59/compatibility-slim/1.3.58)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.59/confidence-slim/1.3.58)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v1.3.59`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#&#8203;1359---2023-05-19)

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

##### Bug Fixes

- **(common)** Disable `tracing/release_max_level_info`
([#&#8203;7401](https://togithub.com/swc-project/swc/issues/7401))
([95291f2](95291f2c5d))

- **(es/codegen)** Do not create duplicate source map entry
([#&#8203;7309](https://togithub.com/swc-project/swc/issues/7309))
([40ba242](40ba242076))

- **(es/compat)** Mark reserved function names private
([#&#8203;7298](https://togithub.com/swc-project/swc/issues/7298))
([dba78a0](dba78a0031))

- **(es/minifier)** Mark all function params as potential property
mutation
([#&#8203;7409](https://togithub.com/swc-project/swc/issues/7409))
([5dbbbea](5dbbbea2ef))

- **(es/minifier)** Prevent inlining vars assigned outside current
function scope
([#&#8203;7414](https://togithub.com/swc-project/swc/issues/7414))
([40d2bf7](40d2bf7ec3))

- **(es/parser)** Fix parsing of `module` identifier
([#&#8203;7400](https://togithub.com/swc-project/swc/issues/7400))
([1d3f320](1d3f32056c))

- **(es/parser)** Fix parsing of `>` in typescript mode
([#&#8203;7407](https://togithub.com/swc-project/swc/issues/7407))
([57ad722](57ad722d06))

##### Miscellaneous Tasks

- **(plugin)** Update `rkyv` to `v0.7.42`
([#&#8203;7397](https://togithub.com/swc-project/swc/issues/7397))
([3a0565f](3a0565f377))

##### Refactor

- **(plugin/runner)** Revise cache, module loading
([#&#8203;7408](https://togithub.com/swc-project/swc/issues/7408))
([ac5ab60](ac5ab607c9))

##### Testing

- **(css/module)** Add a test for a fixed issue
([#&#8203;7399](https://togithub.com/swc-project/swc/issues/7399))
([6b92eec](6b92eecd39))

- **(es/minifier)** Enable more terser tests
([#&#8203;7396](https://togithub.com/swc-project/swc/issues/7396))
([f9cdd74](f9cdd741c2))

- **(es/parser)** Add a test for a fixed issue
([#&#8203;7398](https://togithub.com/swc-project/swc/issues/7398))
([eaba323](eaba323581))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-27 02:20:59 +00:00
Christopher Kolstad
3409b0c5a0
task: Add Unit test result check task (#3695)
After a Team Retro, one of our squads felt like we needed more data on
our test suites. This is the first effort to make our test results
easier to grab. It uses the test-reporter action to add a github check
to our main build and PR builds with our test results.

This at least should make it easier to parse which tests are failing.
However, it does not give us trends. So it does not yet make it easier
to decide which tests are flaky just from a quick view.

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-25 11:03:54 +00:00
renovate[bot]
c2870b6fc3
chore(deps): update dependency fast-check to v3.8.2 (#3850)
[![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.8.1` ->
`3.8.2`](https://renovatebot.com/diffs/npm/fast-check/3.8.1/3.8.2) |
[![age](https://badges.renovateapi.com/packages/npm/fast-check/3.8.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/fast-check/3.8.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/fast-check/3.8.2/compatibility-slim/3.8.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/fast-check/3.8.2/confidence-slim/3.8.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v3.8.2`](https://togithub.com/dubzzz/fast-check/blob/HEAD/packages/fast-check/CHANGELOG.md#&#8203;382)

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

*Rework documentation*

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

#### Fixes

- ([PR#&#8203;3780](https://togithub.com/dubzzz/fast-check/pull/3780))
CI: Do not relaunch build on new tag
- ([PR#&#8203;3792](https://togithub.com/dubzzz/fast-check/pull/3792))
CI: Remove parse5 when checking types
- ([PR#&#8203;3804](https://togithub.com/dubzzz/fast-check/pull/3804))
CI: Build documentation with LFS enabled
- ([PR#&#8203;3800](https://togithub.com/dubzzz/fast-check/pull/3800))
Doc: Add "advanced" part of the documentation
- ([PR#&#8203;3803](https://togithub.com/dubzzz/fast-check/pull/3803))
Doc: Update our-first-property-based-test.md: typo, punctuation
- ([PR#&#8203;3828](https://togithub.com/dubzzz/fast-check/pull/3828))
Doc: Fix typos in docs
- ([PR#&#8203;3820](https://togithub.com/dubzzz/fast-check/pull/3820))
Doc: First iteration on race conditions tutorial
- ([PR#&#8203;3834](https://togithub.com/dubzzz/fast-check/pull/3834))
Doc: Rework intro of race condition tutorial
- ([PR#&#8203;3836](https://togithub.com/dubzzz/fast-check/pull/3836))
Doc: Merge category and intro for race condition
- ([PR#&#8203;3837](https://togithub.com/dubzzz/fast-check/pull/3837))
Doc: Replace categories by real pages
- ([PR#&#8203;3838](https://togithub.com/dubzzz/fast-check/pull/3838))
Doc: Add video explaining race condition in UI
- ([PR#&#8203;3842](https://togithub.com/dubzzz/fast-check/pull/3842))
Doc: Note about solving race conditions
- ([PR#&#8203;3843](https://togithub.com/dubzzz/fast-check/pull/3843))
Doc: Better colors for dark theme
- ([PR#&#8203;3850](https://togithub.com/dubzzz/fast-check/pull/3850))
Doc: Points to projects in our ecosystem
- ([PR#&#8203;3852](https://togithub.com/dubzzz/fast-check/pull/3852))
Doc: List some bugs found thanks to fast-check
- ([PR#&#8203;3860](https://togithub.com/dubzzz/fast-check/pull/3860))
Doc: Use GitHub logo instead of label
- ([PR#&#8203;3858](https://togithub.com/dubzzz/fast-check/pull/3858))
Doc: Rework homepage page of fast-check.dev
- ([PR#&#8203;3863](https://togithub.com/dubzzz/fast-check/pull/3863))
Doc: Rework display of the homepage for small screens
- ([PR#&#8203;3864](https://togithub.com/dubzzz/fast-check/pull/3864))
Doc: Properly display the quick nav buttons
- ([PR#&#8203;3871](https://togithub.com/dubzzz/fast-check/pull/3871))
Doc: Update all links to new documentation
- ([PR#&#8203;3867](https://togithub.com/dubzzz/fast-check/pull/3867))
Doc: Create proper images in website/
- ([PR#&#8203;3872](https://togithub.com/dubzzz/fast-check/pull/3872))
Doc: Reference image from LFS in README
- ([PR#&#8203;3835](https://togithub.com/dubzzz/fast-check/pull/3835))
Test: Add tests for snippets in the website

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-24 16:30:48 +00:00
renovate[bot]
96db2020a1
chore(deps): update dependency @types/node to v16.18.31 (#3849)
[![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.30` ->
`16.18.31`](https://renovatebot.com/diffs/npm/@types%2fnode/16.18.30/16.18.31)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.31/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.31/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.31/compatibility-slim/16.18.30)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.31/confidence-slim/16.18.30)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-24 06:40:44 +00:00
renovate[bot]
7555f5beba
fix(deps): update dependency json-schema-to-ts to v2.8.2 (#3844) 2023-05-23 16:12:09 +02:00
renovate[bot]
e55e7feed3
chore(deps): update typescript-eslint monorepo to v5.59.6 (#3834) 2023-05-23 11:14:02 +02:00
renovate[bot]
fb95d8fcda
chore(deps): update dependency @swc/core to v1.3.58 (#3831)
[![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.57` ->
`1.3.58`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.57/1.3.58) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.58/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.58/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.58/compatibility-slim/1.3.57)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.58/confidence-slim/1.3.57)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v1.3.58`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#&#8203;1358---2023-05-15)

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

##### Bug Fixes

- **(es/minifier)** Fix remapping of vars upon inlining
([#&#8203;7362](https://togithub.com/swc-project/swc/issues/7362))
([1dced17](1dced17998))

- **(es/parser)** Fix `>=` with type instantiate
([#&#8203;7388](https://togithub.com/swc-project/swc/issues/7388))
([fa7a352](fa7a3521f5))

##### Features

- **(es/compat)** Partially support auto accessors
([#&#8203;7364](https://togithub.com/swc-project/swc/issues/7364))
([97ec259](97ec259144))

- **(es/compat)** Implement auto accessors fully
([#&#8203;7370](https://togithub.com/swc-project/swc/issues/7370))
([cad18fa](cad18fae4b))

- **(es/parser)** Implement explicit resource management
([#&#8203;7322](https://togithub.com/swc-project/swc/issues/7322))
([041b491](041b491466))

- **(plugin)** Add versioned wrapper struct
([#&#8203;7382](https://togithub.com/swc-project/swc/issues/7382))
([bba1fad](bba1fad35c))

- **(swc_core)** Allow native env plugin to use memory cache
([#&#8203;7390](https://togithub.com/swc-project/swc/issues/7390))
([e3868a7](e3868a7e00))

- **(swc_core)** Expose plugin proxy to the host env
([#&#8203;7391](https://togithub.com/swc-project/swc/issues/7391))
([05b4c11](05b4c11497))

##### Miscellaneous Tasks

- **(es)** Enable tracing spans for release builds
([#&#8203;7379](https://togithub.com/swc-project/swc/issues/7379))
([166e77c](166e77c2b3))

##### Refactor

- **(common)** Derive `ByteCheck` for `ArcString`
([#&#8203;7380](https://togithub.com/swc-project/swc/issues/7380))
([9b3a41c](9b3a41c57d))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-23 00:28:45 +00:00
renovate[bot]
2762af777c
chore(deps): update dependency @types/node to v16.18.30 (#3820)
[![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.29` ->
`16.18.30`](https://renovatebot.com/diffs/npm/@types%2fnode/16.18.29/16.18.30)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.30/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.30/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.30/compatibility-slim/16.18.29)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.30/confidence-slim/16.18.29)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 23:29:25 +00:00
renovate[bot]
dd683d9a1d
chore(deps): update dependency @types/node to v16.18.29 (#3818)
[![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.28` ->
`16.18.29`](https://renovatebot.com/diffs/npm/@types%2fnode/16.18.28/16.18.29)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.29/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.29/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.29/compatibility-slim/16.18.28)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.29/confidence-slim/16.18.28)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 12:30:59 +00:00
renovate[bot]
99c6be695a
chore(deps): update dependency semver to v7.5.1 (#3805)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

<details>
<summary>npm/node-semver</summary>

###
[`v7.5.1`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#&#8203;751-httpsgithubcomnpmnode-semvercomparev750v751-2023-05-12)

[Compare
Source](https://togithub.com/npm/node-semver/compare/v7.5.0...v7.5.1)

##### Bug Fixes

-
[`d30d25a`](d30d25a5c1)
[#&#8203;559](https://togithub.com/npm/node-semver/pull/559) show type
on invalid semver error
([#&#8203;559](https://togithub.com/npm/node-semver/issues/559))
([@&#8203;tjenkinson](https://togithub.com/tjenkinson))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 20:27:18 +00:00
renovate[bot]
116c94ae49
chore(deps): update dependency @types/node to v16.18.28 (#3791) 2023-05-18 15:43:43 +02:00
renovate[bot]
78556983f7
chore(deps): update typescript-eslint monorepo to v5.59.5 (#3799)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v5.59.5`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5595-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5594v5595-2023-05-08)

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

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

</details>

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

###
[`v5.59.5`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5595-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5594v5595-2023-05-08)

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

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-18 14:47:21 +02:00
Nuno Góis
db61a8a40c
feat: message banner (variants) (#3788)
-
https://linear.app/unleash/issue/2-546/fetch-the-payload-from-a-real-feature-flag
-
https://linear.app/unleash/issue/2-547/adapt-ui-to-use-the-feature-flag-information-were-fetching

Tackles the 2 tasks above. 

Adapts our `FlagResolver` logic to support variants, so we can use them
for our message banner project but also anything else in the future.
Also adapts MessageBanner to the new logic.

 - Add support for variants in `FlagResolver`;
 - Adapt `MessageBanner` to a variants flag;
 - Adds `sticky` support for the `MessageBanner`;
- Adds our first variants flag to `uiConfig` and `experimental`:
`messageBanner`;
- Adds a `variant-flag-schema` to make it easy to represent the variant
output that we specify in `uiConfig`;
- Adapts `experimental` to be able to represent default variants while
still maintaining type safety;
- Adds helpers to make it easy to use variants in our project, such as
`getVariantValue` and the `useVariant` hook;
 - Adapts and adds new tests in `flag-resolver.test.ts`;
 
### Notes

- ~~The `as PayloadType` assertions need
https://github.com/Unleash/unleash-client-node/pull/454 since it
includes https://github.com/Unleash/unleash-client-node/pull/452~~
(50ccf60893);
 - ~~Enterprise needs a PR that will follow soon~~;
 
 

![image](https://github.com/Unleash/unleash/assets/14320932/034ff64f-3020-4ed0-863b-ed1fd9190430)
2023-05-18 09:38:59 +01:00
renovate[bot]
0335934bf0
chore(deps): update dependency @swc/core to v1.3.57 (#3790)
[![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.56` ->
`1.3.57`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.56/1.3.57) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.57/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.57/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.57/compatibility-slim/1.3.56)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.57/confidence-slim/1.3.56)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v1.3.57`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#&#8203;1357---2023-05-09)

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

##### Bug Fixes

- **(es/compat)** Fix `is_setter` in `parameters` pass
([#&#8203;7348](https://togithub.com/swc-project/swc/issues/7348))
([e0de83e](e0de83e862))

- **(xml/codegen)** Escape `<` and `>` in child
([#&#8203;7351](https://togithub.com/swc-project/swc/issues/7351))
([b180d09](b180d09e1d))

##### Features

- **(es/compat)** Support `export class` from stage 3 decorator pass
([#&#8203;7363](https://togithub.com/swc-project/swc/issues/7363))
([9c052db](9c052db796))

- **(plugin)** Enable bytecheck
([#&#8203;7280](https://togithub.com/swc-project/swc/issues/7280))
([d2c1f45](d2c1f45f5a))

##### Refactor

- **(plugin/runner)** Refine cache location
([#&#8203;7346](https://togithub.com/swc-project/swc/issues/7346))
([91a3fbe](91a3fbe460))

##### Build

- **(cargo)** Update `wasmer` to `v3.3`
([#&#8203;7352](https://togithub.com/swc-project/swc/issues/7352))
([4e278be](4e278befcf))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-17 18:32:36 +00:00
Gastón Fournier
9e9076ce05
chore: use concurrently to run parallel builds (#3785)
## About the changes
Small improvement to speed up the build, tested locally validating the
output with and without concurrently.
**Note** this also removes copy-templates from the backend build
2023-05-16 13:38:21 +02:00
Mateusz Kwasniewski
d37bb6a790
feat: base path support for openapi (#3780) 2023-05-16 12:01:47 +02:00
Simon Hornby
bd53193dc9
fix: allow null checker to not fail if it gets no output (#3779)
## What

Patches the build scripts so that the null checker doesn't fail

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-16 10:51:27 +02:00
Gastón Fournier
37e908a455
Test build on prepare (#3774)
## About the changes
Re-adding build as part of prepare plus some debug logs for development
process (will be removed later)
2023-05-15 12:15:40 +00:00
GitHub Actions Bot
64c0093bed 5.1.0-beta.54 2023-05-15 12:12:21 +00:00
GitHub Actions Bot
e7e135b800 5.1.0-beta.53 2023-05-15 10:23:47 +00:00
GitHub Actions Bot
bbf330611c 5.1.0-beta.52 2023-05-15 07:20:14 +00:00
renovate[bot]
10ac1976be
chore(deps): update dependency @types/node to v16.18.26 (#3764)
[![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.25` ->
`16.18.26`](https://renovatebot.com/diffs/npm/@types%2fnode/16.18.25/16.18.26)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.26/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.26/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.26/compatibility-slim/16.18.25)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/16.18.26/confidence-slim/16.18.25)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 01:50:29 +00:00
renovate[bot]
341d7a8281
fix(deps): update dependency db-migrate-pg to v1.3.0 (#3744)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [db-migrate-pg](https://togithub.com/db-migrate/pg) | [`1.2.2` ->
`1.3.0`](https://renovatebot.com/diffs/npm/db-migrate-pg/1.2.2/1.3.0) |
[![age](https://badges.renovateapi.com/packages/npm/db-migrate-pg/1.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/db-migrate-pg/1.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/db-migrate-pg/1.3.0/compatibility-slim/1.2.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/db-migrate-pg/1.3.0/confidence-slim/1.2.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>db-migrate/pg</summary>

###
[`v1.3.0`](https://togithub.com/db-migrate/pg/compare/v1.2.4...v1.3.0)

[Compare
Source](https://togithub.com/db-migrate/pg/compare/v1.2.4...v1.3.0)

###
[`v1.2.4`](https://togithub.com/db-migrate/pg/compare/v1.2.3...v1.2.4)

[Compare
Source](https://togithub.com/db-migrate/pg/compare/v1.2.3...v1.2.4)

###
[`v1.2.3`](https://togithub.com/db-migrate/pg/compare/v1.2.2...v1.2.3)

[Compare
Source](https://togithub.com/db-migrate/pg/compare/v1.2.2...v1.2.3)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 23:28:47 +00:00
renovate[bot]
a9f489e923
chore(deps): update dependency openapi-enforcer to v1.22.3 (#3753)
[![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.2` ->
`1.22.3`](https://renovatebot.com/diffs/npm/openapi-enforcer/1.22.2/1.22.3)
|
[![age](https://badges.renovateapi.com/packages/npm/openapi-enforcer/1.22.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/openapi-enforcer/1.22.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/openapi-enforcer/1.22.3/compatibility-slim/1.22.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/openapi-enforcer/1.22.3/confidence-slim/1.22.2)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](72e13f2b91...5f3718155e)

##### Security

-   **Update Dependencies**

    Updated some dependencies to address security vulnerabilities.

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-12 21:12:27 +00:00
GitHub Actions Bot
eb88fe4d7f 5.1.0-beta.51 2023-05-12 18:02:09 +00:00
GitHub Actions Bot
1eaa619c9b 5.1.0-beta.50 2023-05-12 17:52:30 +00:00
GitHub Actions Bot
094d59ac4d 5.1.0-beta.49 2023-05-12 14:35:25 +00:00
GitHub Actions Bot
08a0642687 5.1.0-beta.48 2023-05-12 13:24:45 +00:00
GitHub Actions Bot
3c6691284f 5.1.0-beta.47 2023-05-12 12:14:59 +00:00
GitHub Actions Bot
c36e4abf3e 5.1.0-beta.46 2023-05-12 11:25:56 +00:00
GitHub Actions Bot
64e3609867 5.1.0-beta.45 2023-05-12 10:23:38 +00:00
Nuno Góis
a9c24e4262
chore: simplify package scripts (#3736)
# Simplify package scripts

This PR's purpose is to raise a discussion surrounding our current
package scripts.

It includes some suggestions that aim to simplify the scripts and
hopefully bring a much more straightforward approach to developing and
contributing to Unleash.

Building (prod) should only happen **explicitly** and when needed.

## Before PR (current behavior)

- Clone the project;
- Open 2 terminals: One for `unleash` and another for
`unleash/frontend`;
- On `unleash`: 
  - Run `yarn` (which will also build, for some reason?);
  - Run `yarn start:dev` to start backend in dev mode (`tsc-watch`);
- On `unleash/frontend`:
  - Run `yarn` (which will also build, for some reason?);
  - Run `yarn start` to start frontend in dev mode (`vite`);

So it seems to me like we build unnecessarily every time we install
dependencies. Neither dev scripts need to build the project, as backend
uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the
case, as building can take a very long time.


![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116)

There's also some complexity in the way we need to split the terminal to
`cd` into `frontend` and treat it as a different project. The fact that
we have different script names is also confusing (`yarn start`, `yarn
start:dev`, etc).

## After PR

- Clone the project;
- Run `yarn` to install all dependencies;
- Run `yarn dev` to get started developing Unleash;

Running `yarn` should take care of everything needed to start
developing. This includes installing dependencies for frontend as well.
It should not build projects if we are not being explicit about it,
especially since we don't need to build them at this stage.


![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1)

Running `yarn dev` should start the project in dev mode. This means
running both projects in `dev` mode, which for `backend` means running
`tsc-watch` and for `frontend` means running `vite`.

Here this PR attempts to provide a better DX by using
[concurrently](https://www.npmjs.com/package/concurrently) and
[wait-on](https://www.npmjs.com/package/wait-on) - This means both tasks
are ran simultaneously, stdout is labeled accordingly, and are stopped
together. It also means that `frontend` waits for `backend` to be
serving at `4242` before starting, since `frontend` starts pretty much
immediately with `vite` and `backend` takes a bit longer. Of course,
when the `backend` is hot-reloading you may still find some
`ECONNREFUSED`s on `frontend` stdout while it recompiles.


![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d)

No more splitting your terminal and treating `frontend` as a separate
project.

## Discussion points

Maybe there's a better alternative to `tsc-watch`? I briefly explored
some alternatives and while they had a much faster starting speed,
hot-reload was sometimes slower. IMO we should aspire to run
`src/server-dev.ts` directly and only compile when needed.

Running `dev:backend` still serves a version of the frontend (at 4242).
**Why? Can we remove that behavior?**
I can't imagine a scenario in dev where we wouldn't want to run the
latest version of the frontend with `vite`.

~~**Note:** This PR removes all other out-of-scope scripts to focus on
this revamp. If we decide to merge it, we should evaluate what other
existing scripts we still want to include. May be a good opportunity to
clean up unused ones and only include the ones we really use. This
includes scripts that our GH actions rely on.~~

**Update:** In an effort to minimize impact surface of this PR and make
it a bit more ready for merging:
- It updates some docs in
2a4ff805e8
and
1bbc488251
to reflect our new simplified flow;
- It includes the old package scripts for now in
039bc04699;
- It updates some of our GH actions to reflect the new scripts in
7782cb9b12;

Given its current status I'll promote the PR to "ready for review". 

I still think we should have a second look at our existing scripts and
GH actions to see what we really need and/or should adapt, but it should
be a team effort so we have a broader context. Maybe on a follow-up PR.

Does this require any changes to related projects (e.g. Enterprise)?

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 11:23:22 +01:00
GitHub Actions Bot
b42b18fe72 5.1.0-beta.44 2023-05-12 09:08:09 +00:00
GitHub Actions Bot
1b16fdb099 5.1.0-beta.43 2023-05-12 08:51:51 +00:00
GitHub Actions Bot
494a1e475c 5.1.0-beta.42 2023-05-11 18:01:28 +00:00
Thomas Heartman
9943179393
Clean up old errors (#3633)
This PR attempts to improve the error handling introduced in #3607.

## About the changes

## **tl;dr:**
- Make `UnleashError` constructor protected
- Make all custom errors inherit from `UnleashError`.
- Add tests to ensure that all special error cases include their
relevant data
- Remove `PasswordMismatchError` and `BadRequestError`. These don't
exist.
- Add a few new error types: `ContentTypeError`, `NotImplementedError`,
`UnauthorizedError`
- Remove the `...rest` parameter from error constructor
- Add an unexported `GenericUnleashError` class
- Move OpenAPI conversion function to `BadDataError` clas
- Remove explicit `Error.captureStackTrace`. This is done automatically.
- Extract `getPropFromString` function and add tests

### **In a more verbose fashion**

The main thing is that all our internal errors now inherit
from`UnleashError`. This allows us to simplify the `UnleashError`
constructor and error handling in general while still giving us the
extra benefits we added to that class. However, it _does_ also mean that
I've had to update **all** existing error classes.

The constructor for `UnleashError` is now protected and all places that
called that constructor directly have been updated. Because the base
error isn't available anymore, I've added three new errors to cover use
cases that we didn't already have covered: `NotImplementedError`,
`UnauthorizedError`, `ContentTypeError`. This is to stay consistent in
how we report errors to the user.

There is also an internal class, `GenericUnleashError` that inherits
from the base error. This class is only used in conversions for cases
where we don't know what the error is. It is not exported.

In making all the errors inherit, I've also removed the `...rest`
parameter from the `UnleashError` constructor. We don't need this
anymore.

Following on from the fixes with missing properties in #3638, I have
added tests for all errors that contain extra data.

Some of the error names that were originally used when creating the list
don't exist in the backend. `BadRequestError` and
`PasswordMismatchError` have been removed.

The `BadDataError` class now contains the conversion code for OpenAPI
validation errors. In doing so, I extracted and tested the
`getPropFromString` function.

### Main files

Due to the nature of the changes, there's a lot of files to look at. So
to make it easier to know where to turn your attention:

The changes in `api-error.ts` contain the main changes: protected
constructor, removal of OpenAPI conversion (moved into `BadDataError`.

`api-error.test.ts` contains tests to make sure that errors work as
expected.

Aside from `get-prop-from-string.ts` and the tests, everything else is
just the required updates to go through with the changes.

## Discussion points

I've gone for inheritance of the Error type over composition. This is in
large part because throwing actual Error instances instead of just
objects is preferable (because they collect stack traces, for instance).
However, it's quite possible that we could solve the same thing in a
more elegant fashion using composition.

## For later / suggestions for further improvements

The `api-error` files still contain a lot of code. I think it might be
beneficial to break each Error into a separate folder that includes the
error, its tests, and its schema (if required). It would help decouple
it a bit.

We don't currently expose the schema anywhere, so it's not available in
the openapi spec. We should look at exposing it too.

Finally, it would be good to go through each individual error message
and update each one to be as helpful as possible.
2023-05-11 11:10:57 +02:00
GitHub Actions Bot
6645857c17 5.1.0-beta.41 2023-05-10 13:47:21 +00:00
renovate[bot]
795e919ea6
chore(deps): update typescript-eslint monorepo to v5.59.2 (#3732)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#&#8203;5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01)

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

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

</details>

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

###
[`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#&#8203;5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01)

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

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-10 13:03:54 +00:00
GitHub Actions Bot
31693f1543 5.1.0-beta.40 2023-05-10 11:48:16 +00:00
GitHub Actions Bot
1272a110b0 5.1.0-beta.39 2023-05-10 11:32:06 +00:00
renovate[bot]
25a937dcfb
chore(deps): update dependency @babel/core to v7.21.8 (#3729)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v7.21.8`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7218-2023-05-02)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.21.5...v7.21.8)

##### 👓 Spec Compliance

-   `babel-parser`
- [#&#8203;15602](https://togithub.com/babel/babel/pull/15602) Remove
`using await` restriction in explicitResourceManagement
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 🐛 Bug Fix

- `babel-helper-create-class-features-plugin`,
`babel-helper-create-regexp-features-plugin`
- [#&#8203;15605](https://togithub.com/babel/babel/pull/15605) Fix
backward compat for semver checks in class\&regexp feat plugins
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 22:18:23 +00:00
GitHub Actions Bot
fe6410957b 5.1.0-beta.38 2023-05-09 19:34:37 +00:00
GitHub Actions Bot
be11c08f41 5.1.0-beta.37 2023-05-09 19:30:39 +00:00
GitHub Actions Bot
dd79795dcc 5.1.0-beta.36 2023-05-09 15:24:51 +00:00
GitHub Actions Bot
72f7b66bf0 5.1.0-beta.35 2023-05-09 13:40:00 +00:00
GitHub Actions Bot
b4d91f793e 5.1.0-beta.34 2023-05-09 13:02:56 +00:00
GitHub Actions Bot
6506fcc5a7 5.1.0-beta.33 2023-05-09 11:18:39 +00:00
GitHub Actions Bot
4bb7ce7761 5.1.0-beta.32 2023-05-09 10:48:18 +00:00
GitHub Actions Bot
a6aa34ece5 5.1.0-beta.31 2023-05-09 09:22:54 +00:00