1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

7994 Commits

Author SHA1 Message Date
GitHub Actions Bot
d4b40528d8 4.23.0-beta.70 2023-04-21 14:14:04 +00:00
andreas-unleash
f9b8abfe34
fix: override built in stickiness options (#3563)
<!-- 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! ❤️ -->
Created migration for updating context fields
Context fields with stickiness are now the source of truth for
stickiness options.

## About the changes
`userId` context field is updated to have stickiness on by default
`sessionId` context field is added with stickiness on by default
If `default` or `random` are not part of the context field - we add them
This will allow for the option to disable them, by creating a eg.
`random` context field with stickiness off


https://user-images.githubusercontent.com/104830839/233581147-9a514af4-1fdd-4c2e-b954-3cfa13b1a203.mov



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

<!-- Does it close an issue? Multiple? -->
Closes to #
[1-794](https://linear.app/unleash/issue/1-794/reach-out-to-yousician-for-early-beta-test)

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-04-21 17:13:42 +03:00
GitHub Actions Bot
7ad4053c9b 4.23.0-beta.69 2023-04-21 13:58:15 +00:00
andreas-unleash
2960d36664
fix: update migration bugs (#3589)
<!-- 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! ❤️ -->
fixes migration syntax bugs
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

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

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-04-21 13:57:54 +00:00
Gastón Fournier
a53457f6d0
docs: removal of event hook in v5 (#3586)
## About the changes
Make it explicit that eventHook is no longer an option in v5, the
migration should be to
https://docs.getunleash.io/reference/addons/webhook which is already
linked in the docs since v4
2023-04-21 14:33:09 +02:00
GitHub Actions Bot
949470b709 4.23.0-beta.68 2023-04-21 11:27:14 +00:00
andreas-unleash
193c12acd8
chore: docs for public signup token tag (#3486)
<!-- 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
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #
[1-863](https://linear.app/unleash/issue/1-836/update-endpoints-for-tag-public-signup-tokens)

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-21 11:26:54 +00:00
renovate[bot]
67a69b7d82
chore(deps): update dependency qs to v6.11.1 (#3581)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [qs](https://togithub.com/ljharb/qs) | [`6.11.0` ->
`6.11.1`](https://renovatebot.com/diffs/npm/qs/6.11.0/6.11.1) |
[![age](https://badges.renovateapi.com/packages/npm/qs/6.11.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/qs/6.11.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/qs/6.11.1/compatibility-slim/6.11.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/qs/6.11.1/confidence-slim/6.11.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ljharb/qs</summary>

###
[`v6.11.1`](https://togithub.com/ljharb/qs/blob/HEAD/CHANGELOG.md#&#8203;6111)

[Compare
Source](https://togithub.com/ljharb/qs/compare/v6.11.0...v6.11.1)

- \[Fix] `stringify`: encode comma values more consistently
([#&#8203;463](https://togithub.com/ljharb/qs/issues/463))
- \[readme] add usage of `filter` option for injecting custom
serialization, i.e. of custom types
([#&#8203;447](https://togithub.com/ljharb/qs/issues/447))
- \[meta] remove extraneous code backticks
([#&#8203;457](https://togithub.com/ljharb/qs/issues/457))
-   \[meta] fix changelog markdown
-   \[actions] update checkout action
-   \[actions] restrict action permissions
- \[Dev Deps] update `@ljharb/eslint-config`, `aud`, `object-inspect`,
`tape`

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-21 11:11:15 +00:00
GitHub Actions Bot
d960693dfa 4.23.0-beta.67 2023-04-21 10:49:03 +00:00
Nuno Góis
0b4df3f53c
feat: add demo guide finish dialog (#3578)
https://linear.app/unleash/issue/2-925/add-final-tutorial-complete-dialog

Adds the finish dialog, similar to
https://github.com/Unleash/unleash/pull/3574

Also includes some fixes and improvements identified in the meantime.

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537


![image](https://user-images.githubusercontent.com/14320932/233421564-447c559b-db70-4f72-a1d2-b6b5bef3707f.png)

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-04-21 11:48:44 +01:00
GitHub Actions Bot
23223e6775 4.23.0-beta.66 2023-04-21 09:42:53 +00:00
Gastón Fournier
4dd4d43cce
chore: remove deprecated strategies and allow deprecate default (#3575)
## About the changes
Improvements around strategies to steer users toward using [strategy
constraints](https://docs.getunleash.io/reference/strategy-constraints)
instead of [custom
strategies](https://docs.getunleash.io/reference/custom-activation-strategies)


Related to #1265 

Important changes:
1.[ Ability to deprecate default
strategy](https://github.com/Unleash/unleash/pull/3575/files#diff-3b49e566565b01580ff7a15f662d2cb824547fdfb3935d0a0baa7fae326d28d6L232-L235)
2. [Remove strategies that were deprecated in v4 only if they're not
used](https://github.com/Unleash/unleash/pull/3575/files#diff-a04de7adf327c48d54b030bed70d9b1d62ff14df3efc668eb6897a210124ebe0R7-R10)
3. [Fresh Unleash installations will not include deprecated strategies
from
v4](https://github.com/Unleash/unleash/pull/3575/files#diff-46265b0d51725a5acbf251589b98a8970e45d3a1c6f3d7ea77bdcc3714e672d8L31-L78)
4. [Deprecate userWithId
strategy](https://github.com/Unleash/unleash/pull/3575/files#diff-a04de7adf327c48d54b030bed70d9b1d62ff14df3efc668eb6897a210124ebe0R13)
(note: if in use it will continue to work, it'll be not listed when
selecting strategies for a feature toggle).
5. [Switch the order of strategies to make gradual rollout first and
change the comment to suggest using gradual rollout instead of other
existing
strategies](https://github.com/Unleash/unleash/pull/3575/files#diff-a04de7adf327c48d54b030bed70d9b1d62ff14df3efc668eb6897a210124ebe0R16-R18)
2023-04-21 11:42:36 +02:00
andreas-unleash
097dd8ae56
Feat/enable disable strategies (#3566)
<!-- 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! ❤️ -->
Adds enabled field to feature strategies
Filter out disabled strategies when returning/evaluating

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

<!-- Does it close an issue? Multiple? -->
Closes #
[1-865](https://linear.app/unleash/issue/1-865/allow-for-enablingdisabling-strategies-in-place-backend)

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-04-21 12:09:07 +03:00
Gastón Fournier
29907d8d9f
doc: update link to new import/export (#3584)
## About the changes
Add correct link to new import/export
2023-04-21 08:49:05 +00:00
GitHub Actions Bot
d61bbb6342 4.23.0-beta.65 2023-04-21 08:26:04 +00:00
Gastón Fournier
ab4a6f5c92
chore: GA project specific segments (#3583)
## About the changes
General availability of project-specific segments 

Now new permissions can be assigned to non-admin users to allow them to
create segments specifically bounded to a project (note that unique
naming restriction applies across projects, this limitation can be
lifted later).

![image](https://user-images.githubusercontent.com/455064/233579161-40ab25c5-a306-4fbc-82e5-8d09b3cb6a5f.png)

This enables a section in the project configuration to add
project-specific segments

![image](https://user-images.githubusercontent.com/455064/233578924-7056c626-ff1f-4dad-b00c-7fbd851158a6.png)
2023-04-21 10:25:40 +02:00
dependabot[bot]
f266297892
chore(deps): bump vm2 from 3.9.16 to 3.9.17 in /frontend (#3576)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.16 to 3.9.17.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/patriksimek/vm2/releases">vm2's
releases</a>.</em></p>
<blockquote>
<h2>3.9.17</h2>
<p><strong>Fixes</strong></p>
<p><a
href="4b22e87b10</a>:
Fix issue in catch block protection. (Thanky to <a
href="https://twitter.com/0x10n">Xion</a> (SeungHyun Lee) of <a
href="https://kaist-hacking.github.io/">KAIST Hacking Lab</a>.)
<a
href="f3db4dee4d</a>:
Fix issue with host exceptions thrown in async functions leaking though
the Promise.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md">vm2's
changelog</a>.</em></p>
<blockquote>
<h2>v3.9.17 (2023-04-17)</h2>
<p>[fix] Multiple security fixes.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4f63dc23fe"><code>4f63dc2</code></a>
Release 3.9.17</li>
<li><a
href="f3db4dee4d"><code>f3db4de</code></a>
Handle host errors captured in Promises</li>
<li><a
href="4b22e87b10"><code>4b22e87</code></a>
Ensure every catch block is protected</li>
<li>See full diff in <a
href="https://github.com/patriksimek/vm2/compare/3.9.16...3.9.17">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vm2&package-manager=npm_and_yarn&previous-version=3.9.16&new-version=3.9.17)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 09:49:18 +02:00
Gastón Fournier
ca01a79f71
chore: drop event hook (#3565)
## About the changes
Ref:
https://docs.getunleash.io/reference/deploy/configuring-unleash#further-customization
> **eventHook** (`function(event, data)`) - (_deprecated in Unleash 4.3_
in favor of the [Webhook addon](../addons/webhook.md)) If provided, this
function will be invoked whenever a feature is mutated. The possible
values for `event` are `'feature-created'`, `'feature-archived'` and
`'feature-revived'`. The `data` argument contains information about the
mutation. Its fields are `type` (string) - the event type (same as
`event`); `createdBy` (string) - the user who performed the mutation;
`data` - the contents of the change. The contents in `data` differs
based on the event type; For `'feature-archived'` and
`'feature-revived'`, the only field will be `name` - the name of the
feature. For `'feature-created'` the data follows a schema defined in
the code
[here](7b7f0b84e8/src/lib/schema/feature-schema.ts (L77)).
See an [api here](/reference/api/legacy/unleash/admin/events).


Related to: https://github.com/Unleash/unleash/issues/1265
2023-04-21 09:44:18 +02:00
GitHub Actions Bot
96633f1a34 4.23.0-beta.64 2023-04-21 07:39:48 +00:00
andreas-unleash
b38a0c911d
chore: add mode and defaultStickiness to project docs (#3487)
<!-- 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! ❤️ -->
Adds `mode` and `defaultStickiness` to the project form.
Adds a new img

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

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

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-21 07:32:42 +00:00
GitHub Actions Bot
9798a325ab 4.23.0-beta.63 2023-04-21 07:25:31 +00:00
Gastón Fournier
53275966a9
chore: update node-version file (#3562)
## About the changes
There are a few version managers for node.js respecting .node-version
file so it makes sense to also update it

---------

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2023-04-21 09:25:10 +02:00
Gastón Fournier
b593bdd404
docs: deprecation notice on state api (#3561)
## About the changes
Update documentation about the deprecation of state API.

Related to https://github.com/Unleash/unleash/issues/1265
2023-04-21 09:19:22 +02:00
renovate[bot]
824c3e4f4d
chore(deps): update dependency @swc/core to v1.3.50 (#3577)
[![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.49` ->
`1.3.50`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.49/1.3.50) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.50/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.50/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.50/compatibility-slim/1.3.49)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.50/confidence-slim/1.3.49)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v1.3.50`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#&#8203;1350---2023-04-13)

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

##### Bug Fixes

- **(es)** Fix a crash related to an empty source map
([#&#8203;7229](https://togithub.com/swc-project/swc/issues/7229))
([c665918](c6659183a6))

- **(es/codegen)** Respect `ascii_only` for identifiers
([#&#8203;7247](https://togithub.com/swc-project/swc/issues/7247))
([e35097f](e35097fd8c))

- **(es/compat)** Handle export function in `reserved_word`
([#&#8203;7251](https://togithub.com/swc-project/swc/issues/7251))
([2e947e7](2e947e7aeb))

- **(es/minifier)** Fix handling of optional chaining when `hoist_props`
is enabled
([#&#8203;7246](https://togithub.com/swc-project/swc/issues/7246))
([a44fea1](a44fea1ec8))

- **(es/parser)** Use a hard error for missing r-paren in an if stmt
([#&#8203;7223](https://togithub.com/swc-project/swc/issues/7223))
([b1c40a4](b1c40a411f))

- **(es/parser)** Reset ctx for cond while parsing a stmt
([#&#8203;7232](https://togithub.com/swc-project/swc/issues/7232))
([01db30f](01db30f91e))

- **(es/parser)** Parse `const` type parameters in arrow function
expressions
([#&#8203;7242](https://togithub.com/swc-project/swc/issues/7242))
([6614886](6614886192))

##### Features

- **(es)** Provide more information when loading of input source map
failed
([#&#8203;7249](https://togithub.com/swc-project/swc/issues/7249))
([f0e3b1d](f0e3b1d09a))

- **(es)** Use `minify.format.ascii_only` if `output.charset` is not
specified
([#&#8203;7258](https://togithub.com/swc-project/swc/issues/7258))
([1fe5c3a](1fe5c3a803))

- **(es/minifier)** Support `PURE` comment of seq exprs
([#&#8203;7245](https://togithub.com/swc-project/swc/issues/7245))
([559d120](559d1202bc))

- **(plugin)** Enable validation
([#&#8203;7250](https://togithub.com/swc-project/swc/issues/7250))
([efad714](efad714983))

##### Refactor

- **(plugin)** Remove `bytecheck` flag
([#&#8203;7256](https://togithub.com/swc-project/swc/issues/7256))
([6bd58cb](6bd58cbcfd))

- **(plugin/runner)** Fix clippy warnings
([#&#8203;7244](https://togithub.com/swc-project/swc/issues/7244))
([70b86db](70b86dbe37))

##### Testing

- **(es/plugin)** Enable E2E test again
([#&#8203;7236](https://togithub.com/swc-project/swc/issues/7236))
([695ce06](695ce060e9))

##### Build

- **(plugin)** Update `rkyv`
([#&#8203;7257](https://togithub.com/swc-project/swc/issues/7257))
([ff3decc](ff3decc7db))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-21 01:00:04 +00:00
renovate[bot]
c417e39858
chore(deps): update dependency @types/react to v17.0.58 (#3570)
[![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/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`17.0.57` ->
`17.0.58`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.57/17.0.58)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.58/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.58/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.58/compatibility-slim/17.0.57)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.58/confidence-slim/17.0.57)](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 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:eyJjcmVhdGVkSW5WZXIiOiIzNS40OS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 19:43:23 +00:00
renovate[bot]
606cffa44f
chore(deps): update dependency @uiw/react-codemirror to v4.19.16 (#3557)
[![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.19.11` ->
`4.19.16`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.19.11/4.19.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.16/compatibility-slim/4.19.11)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.16/confidence-slim/4.19.11)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.16:
https://raw.githack.com/uiwjs/react-codemirror/b0072ad/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.15...v4.19.16

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

- 📖 doc: Update README.md
[`85c3468`](https://togithub.com/uiwjs/react-codemirror/commit/85c3468)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix editable/readOnly props.
([#&#8203;488](https://togithub.com/uiwjs/react-codemirror/issues/488))
[`606a5a1`](https://togithub.com/uiwjs/react-codemirror/commit/606a5a1)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.15:
https://raw.githack.com/uiwjs/react-codemirror/904a7d8/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.14...v4.19.15

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

- 🌟 feat(CodeMirrorMerge): add `orientation`, `revertControls`,
`highlightChanges`, `gutter` props.
[`3198a3c`](https://togithub.com/uiwjs/react-codemirror/commit/3198a3c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.14:
https://raw.githack.com/uiwjs/react-codemirror/996d43e/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.13...v4.19.14

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

- 🐞 fix(react-codemirror-merge): fix `ref` issue.
([#&#8203;455](https://togithub.com/uiwjs/react-codemirror/issues/455))
[`9f90348`](https://togithub.com/uiwjs/react-codemirror/commit/9f90348)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix bundle file name.
[`60fba4f`](https://togithub.com/uiwjs/react-codemirror/commit/60fba4f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.13:
https://raw.githack.com/uiwjs/react-codemirror/4745c35/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.12...v4.19.13

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

- 🐞 fix(react-codemirror-merge): fix extensions props issue.
([#&#8203;455](https://togithub.com/uiwjs/react-codemirror/issues/455))
[`eb6b780`](https://togithub.com/uiwjs/react-codemirror/commit/eb6b780)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.12:
https://raw.githack.com/uiwjs/react-codemirror/5ce6bf4/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.11...v4.19.12

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

- 📖 - 📖 docs: fix indentWithTab prop description
([#&#8203;483](https://togithub.com/uiwjs/react-codemirror/issues/483))
[`ff629d7`](https://togithub.com/uiwjs/react-codemirror/commit/ff629d7)
[@&#8203;lloydlobo](https://togithub.com/lloydlobo)
- 💄 chore(deps): update dependency tsbb to v4
[#&#8203;481](https://togithub.com/uiwjs/react-codemirror/issues/481)
[`83f1d1f`](https://togithub.com/uiwjs/react-codemirror/commit/83f1d1f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat: add react-codemirror-merge component
([#&#8203;455](https://togithub.com/uiwjs/react-codemirror/issues/455)).
[`ba3d076`](https://togithub.com/uiwjs/react-codemirror/commit/ba3d076)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

```jsx
import CodeMirrorMerge from 'react-codemirror-merge';
import { EditorView } from 'codemirror';
import { EditorState } from '@&#8203;codemirror/state';

const Original = CodeMirrorMerge.Original;
const Modified = CodeMirrorMerge.Modified;
let doc = `one
two
three
four
five`;

export const Example = () => {
  return (
    <CodeMirrorMerge orientation="b-a">
      <Original value={doc} />
      <Modified
        value={doc.replace(/t/g, 'T') + 'Six'}
        extensions={[EditorView.editable.of(false), EditorState.readOnly.of(true)]}
      />
    </CodeMirrorMerge>
  );
};
```

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 15:32:50 +00:00
GitHub Actions Bot
1389d44af6 4.23.0-beta.62 2023-04-20 15:32:46 +00:00
Nuno Góis
2cf6e689ee
feat: add demo guide welcome dialog (#3574)
https://linear.app/unleash/issue/2-923/add-initial-getting-started-dialog

Adds the welcome dialog with the static QR code pointing to our demo
website. Also changes how the run logic works a bit, so that we have
better control over it (only start demo steps once we click the start
button, etc).

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537


![image](https://user-images.githubusercontent.com/14320932/233395897-133edc18-371f-424f-a276-9ca0c9ec5b49.png)
2023-04-20 16:32:26 +01:00
GitHub Actions Bot
23487f143d 4.23.0-beta.61 2023-04-20 10:29:50 +00:00
Simon Hornby
3b42e866ec
feat: root roles from groups (#3559)
feat: adds a way to specify a root role on a group, which will cause any user entering into that group to take on the permissions of that root role

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-04-20 12:29:30 +02:00
GitHub Actions Bot
163791a094 4.23.0-beta.60 2023-04-20 09:38:18 +00:00
Gastón Fournier
44b19e92ee
fix: seed setup and remove admin/features call (#3567)
## About the changes
Seed setup fails because of compilation errors, we need to skip errors
until we fix them. Also, this removes one usage of `/api/admin/features`
that was used only for testing
2023-04-20 11:37:56 +02:00
Gastón Fournier
551c00b6b2
fix: compilation issues from event-store (#3568)
## About the changes
Reduce compilation errors on event-store
2023-04-20 11:37:38 +02:00
renovate[bot]
b1d73ba47c
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.19.16 (#3555)
[![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.19.11` ->
`4.19.16`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.19.11/4.19.16)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.16/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.16/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.16/compatibility-slim/4.19.11)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.16/confidence-slim/4.19.11)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.16:
https://raw.githack.com/uiwjs/react-codemirror/b0072ad/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.15...v4.19.16

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

- 📖 doc: Update README.md
[`85c3468`](https://togithub.com/uiwjs/react-codemirror/commit/85c3468)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix editable/readOnly props.
([#&#8203;488](https://togithub.com/uiwjs/react-codemirror/issues/488))
[`606a5a1`](https://togithub.com/uiwjs/react-codemirror/commit/606a5a1)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.15:
https://raw.githack.com/uiwjs/react-codemirror/904a7d8/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.14...v4.19.15

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

- 🌟 feat(CodeMirrorMerge): add `orientation`, `revertControls`,
`highlightChanges`, `gutter` props.
[`3198a3c`](https://togithub.com/uiwjs/react-codemirror/commit/3198a3c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.14:
https://raw.githack.com/uiwjs/react-codemirror/996d43e/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.13...v4.19.14

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

- 🐞 fix(react-codemirror-merge): fix `ref` issue.
([#&#8203;455](https://togithub.com/uiwjs/react-codemirror/issues/455))
[`9f90348`](https://togithub.com/uiwjs/react-codemirror/commit/9f90348)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🐞 fix: fix bundle file name.
[`60fba4f`](https://togithub.com/uiwjs/react-codemirror/commit/60fba4f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.13:
https://raw.githack.com/uiwjs/react-codemirror/4745c35/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.12...v4.19.13

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

- 🐞 fix(react-codemirror-merge): fix extensions props issue.
([#&#8203;455](https://togithub.com/uiwjs/react-codemirror/issues/455))
[`eb6b780`](https://togithub.com/uiwjs/react-codemirror/commit/eb6b780)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

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

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


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

Documentation v4.19.12:
https://raw.githack.com/uiwjs/react-codemirror/5ce6bf4/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.11...v4.19.12

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

- 📖 - 📖 docs: fix indentWithTab prop description
([#&#8203;483](https://togithub.com/uiwjs/react-codemirror/issues/483))
[`ff629d7`](https://togithub.com/uiwjs/react-codemirror/commit/ff629d7)
[@&#8203;lloydlobo](https://togithub.com/lloydlobo)
- 💄 chore(deps): update dependency tsbb to v4
[#&#8203;481](https://togithub.com/uiwjs/react-codemirror/issues/481)
[`83f1d1f`](https://togithub.com/uiwjs/react-codemirror/commit/83f1d1f)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 🌟 feat: add react-codemirror-merge component
([#&#8203;455](https://togithub.com/uiwjs/react-codemirror/issues/455)).
[`ba3d076`](https://togithub.com/uiwjs/react-codemirror/commit/ba3d076)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

```jsx
import CodeMirrorMerge from 'react-codemirror-merge';
import { EditorView } from 'codemirror';
import { EditorState } from '@&#8203;codemirror/state';

const Original = CodeMirrorMerge.Original;
const Modified = CodeMirrorMerge.Modified;
let doc = `one
two
three
four
five`;

export const Example = () => {
  return (
    <CodeMirrorMerge orientation="b-a">
      <Original value={doc} />
      <Modified
        value={doc.replace(/t/g, 'T') + 'Six'}
        extensions={[EditorView.editable.of(false), EditorState.readOnly.of(true)]}
      />
    </CodeMirrorMerge>
  );
};
```

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 00:20:18 +00:00
GitHub Actions Bot
b44363a8ee 4.23.0-beta.59 2023-04-19 18:40:48 +00:00
Nuno Góis
58fb1a21fd
feat: implement demo guide steps (#3569)
https://linear.app/unleash/issue/2-924/implement-the-guide-steps

While https://github.com/Unleash/unleash/pull/3528 implemented the basic
guide logic with some example steps, this PR adds the guide steps as per
the current demo, along with any necessary changes and features that
were needed to accomplish this.

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537


https://user-images.githubusercontent.com/14320932/233133252-a3790f11-ec5d-4ee3-952d-88348212bd3c.mp4
2023-04-19 19:40:29 +01:00
Tymoteusz Czech
169b2bd0c5
Strategy title frontend (#3556)
Ability to add a title to a strategy
2023-04-19 17:27:23 +00:00
GitHub Actions Bot
cd734428ff 4.23.0-beta.58 2023-04-19 12:10:30 +00:00
Christopher Kolstad
4f7fd46623
fix: return 404 when gettings tags for a non existing feature (#3560)
From the discussion here
https://github.com/Unleash/unleash/pull/3496#discussion_r1163745860

This PR checks the existence of the feature before trying to get tags
for the feature. Doing so by stealing the exists method from the feature
store, since that's what we need to know exists, and avoiding having the
feature store as a dependency to the featureTagStore seemed reasonable.
2023-04-19 14:10:13 +02:00
Gastón Fournier
0e80484068
docs: update documentation and dev server use of passord (#3564)
## About the changes
Update `passord` documentation with `password`. Note this was not a typo
but just Norwegian:
https://dictionary.cambridge.org/dictionary/english-norwegian/password
```shell
grep passord * -R -l | grep -v .git | grep -v dist | grep -v v3 | xargs sed -i 's/passord/password/g'
```
The script above avoids updating v3 because of legacy reasons

Related to #1265
2023-04-19 13:29:18 +02:00
GitHub Actions Bot
833d283004 4.23.0-beta.57 2023-04-19 07:08:14 +00:00
andreas-unleash
9e1241d728
fix: migration (#3558)
<!-- 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! ❤️ -->
Fixes `down` migration  for add_title_to_strategy
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

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

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

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


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-04-19 10:07:56 +03:00
renovate[bot]
d10623e0b6
chore(deps): update dependency @types/react to v17.0.57 (#3547)
[![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/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`17.0.56` ->
`17.0.57`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.56/17.0.57)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.57/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.57/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.57/compatibility-slim/17.0.56)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.57/confidence-slim/17.0.56)](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 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:eyJjcmVhdGVkSW5WZXIiOiIzNS40OC4yIiwidXBkYXRlZEluVmVyIjoiMzUuNDguMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 22:46:59 +00:00
GitHub Actions Bot
058b27bf90 4.23.0-beta.56 2023-04-18 16:34:30 +00:00
Gastón Fournier
008d9b8bb6
feat: deprecate state api (#3551)
## About the changes
This deprecates state API in favor of the new batch import/export
2023-04-18 18:34:12 +02:00
GitHub Actions Bot
8840b430ef 4.23.0-beta.55 2023-04-18 15:16:59 +00:00
Jaanus Sellin
592b40f8c0
feat: deletion confirmation spelling (#3548) 2023-04-18 17:10:34 +02:00
renovate[bot]
4a734e0e50
fix(deps): update dependency json-schema-to-ts to v2.7.2 (#3238)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[json-schema-to-ts](https://togithub.com/ThomasAribart/json-schema-to-ts)
| [`2.6.0` ->
`2.7.2`](https://renovatebot.com/diffs/npm/json-schema-to-ts/2.6.0/2.7.2)
|
[![age](https://badges.renovateapi.com/packages/npm/json-schema-to-ts/2.7.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/json-schema-to-ts/2.7.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/json-schema-to-ts/2.7.2/compatibility-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/json-schema-to-ts/2.7.2/confidence-slim/2.6.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ThomasAribart/json-schema-to-ts</summary>

###
[`v2.7.2`](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.7.1...v2.7.2)

[Compare
Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.7.1...v2.7.2)

###
[`v2.7.1`](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.7.0...v2.7.1)

[Compare
Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.7.0...v2.7.1)

###
[`v2.7.0`](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.6.2...v2.7.0)

[Compare
Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.6.2...v2.7.0)

###
[`v2.6.2`](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.6.1...v2.6.2)

[Compare
Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.6.1...v2.6.2)

###
[`v2.6.1`](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.6.0...v2.6.1)

[Compare
Source](https://togithub.com/ThomasAribart/json-schema-to-ts/compare/v2.6.0...v2.6.1)

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 16:32:25 +02:00
Gastón Fournier
201c86838f
Test npm publish (#3554)
## About the changes

https://github.blog/changelog/2022-10-24-npm-v9-0-0-released/ introduced
a breaking change in the way they handle files inside package.json which
caused some issues with the way we pack and distribute Unleash:

> npm pack now follows a strict order of operations when applying ignore
rules. If a files array is present in the package.json, then rules in
.gitignore and .npmignore files from the root will be ignored.

What we discovered is that when having a nested .gitignore (the one we
have inside frontend), `npm publish` was taking that nested .gitignore
into account (despite the fact that we also have a package.json with
files inside the same folder). We tricked this by removing the `build`
folder from `frontend/.gitignore` and instead adding it into the root
`.gitignore` which is being ignored by `npm publish` following what's
stated in the release note above.

-----------------

Co-authored-by: Gard Rimestad <gard@getunleash.io>
2023-04-18 15:44:19 +02:00
GitHub Actions Bot
2e4126c6f7 4.23.0-beta.54 2023-04-18 12:43:07 +00:00