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

8259 Commits

Author SHA1 Message Date
Gastón Fournier
ff99ffc27c
chore: rule for description on properties (#3523)
## About the changes
This rule defines that all properties should have a description

We also considered enforcing an example but we noticed that in some
cases that's not needed.
2023-04-14 13:38:58 +02:00
GitHub Actions Bot
98e536bf2c 4.23.0-beta.41 2023-04-14 10:39:34 +00:00
Mateusz Kwasniewski
c270344cff
feat: visualize adding a default strategy (#3521) 2023-04-14 12:33:04 +02:00
GitHub Actions Bot
4054b4cf3a 4.23.0-beta.40 2023-04-14 10:26:41 +00:00
Gastón Fournier
d4c24c9520
chore: amend open api tags descriptions and examples (#3519)
## About the changes
Adds descriptions and examples to tag schemas
2023-04-14 12:26:19 +02:00
GitHub Actions Bot
74986d672e 4.23.0-beta.39 2023-04-14 08:37:38 +00:00
Gastón Fournier
19982ecbc7
chore: test requirements for openapi (#3511)
## About the changes
This enables us to validate the shape of our OpenAPI schemas by defining
specific json-schema rules that will be evaluated against all our open
API schemas.

Because we know there are things we need to improve, we've added a list
of `knownExceptions`. When fixing some of the known exceptions the tests
will force us to remove the exception from the list, that way
contributing to reducing the number of violations to our own rules.

Co-authored-by: Mateusz Kwasniewski <kwasniewski.mateusz@gmail.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-04-14 10:37:17 +02:00
GitHub Actions Bot
39b53c8f2c 4.23.0-beta.38 2023-04-14 06:59:43 +00:00
Mateusz Kwasniewski
51e871da96
fix: 4 param error handler (#3520) 2023-04-14 08:59:27 +02:00
GitHub Actions Bot
5a2184ccd0 4.23.0-beta.37 2023-04-13 13:09:30 +00:00
andreas-unleash
7e5838a681
fix: remove e2e tests (#3515)
<!-- 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! ❤️ -->
After discussions around e2e tests:
- Became clear that the intention is to test core functionality only

Removing 2 test files:
- notifications.spec.ts : because all PRs are run against the same
heroku backend - no guarantee that more notifications will not happen as
other tests run - so the test is flaky
- settings.spec.ts: depends on instance being enterprise and a flag on  
## 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-13 16:04:06 +03:00
GitHub Actions Bot
0940b0aa52 4.23.0-beta.36 2023-04-13 12:52:14 +00:00
Jaanus Sellin
5dd5b4f614
feat: linkify comments (#3517) 2023-04-13 15:48:03 +03:00
GitHub Actions Bot
f55c18b475 4.23.0-beta.35 2023-04-13 12:34:06 +00:00
Jaanus Sellin
6874df66f0
feat: cr overview title (#3516) 2023-04-13 15:33:37 +03:00
GitHub Actions Bot
5d31d26530 4.23.0-beta.34 2023-04-13 11:06:20 +00:00
Nuno Góis
d2da6de7d5
feat: adds demo feature flag (#3514)
https://linear.app/unleash/issue/2-912/create-demo-feature-flag

Adds `demo` as a feature flag that controls the new interactive demo
feature.
2023-04-13 12:06:00 +01:00
GitHub Actions Bot
8270d44e40 4.23.0-beta.33 2023-04-13 09:24:49 +00:00
Jaanus Sellin
353cb8c05d
feat: CR title from review page (#3509) 2023-04-13 12:24:31 +03:00
GitHub Actions Bot
a735ad7251 4.23.0-beta.32 2023-04-13 08:09:14 +00:00
andreas-unleash
be4de289a1
fix: project api token docs (#3485)
<!-- 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! ❤️ -->
[Previous PR (has the
comments)](https://github.com/Unleash/unleash/pull/3405)

## 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-13 11:08:54 +03:00
dependabot[bot]
5ac6398c44
chore(deps): bump vm2 from 3.9.13 to 3.9.15 in /frontend (#3481)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.13 to 3.9.15.
<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.15</h2>
<p><strong>Fixes</strong></p>
<p><a
href="d534e5785f</a>:
Ensure no host objects are passed through to
<code>Error.prepareStackTrace</code>. (Thanky to Seongil Wi from KAIST
<a href="https://wsp-lab.github.io/">WSP Lab</a>)</p>
<h2>3.9.14</h2>
<p><strong>Fixes</strong></p>
<p><a
href="fe3ab68832</a>:
Support conditional export resolution with custom resolver (thanks to
nick-klaviyo).</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.15 (2023-04-06)</h2>
<p>[fix] Security fix (see <a
href="https://redirect.github.com/patriksimek/vm2/issues/515">patriksimek/vm2#515</a>).</p>
<h2>v3.9.14 (2023-02-05)</h2>
<p>[new] Support conditional export resolution with custom resolver.
(nick-klaviyo)</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="115d1644b7"><code>115d164</code></a>
Release 3.9.15</li>
<li><a
href="d534e5785f"><code>d534e57</code></a>
Wrap host objects passes through prepareStackTrace</li>
<li><a
href="e541782b7f"><code>e541782</code></a>
Merge pull request <a
href="https://redirect.github.com/patriksimek/vm2/issues/506">#506</a>
from XmiliaH/release-3.9.14</li>
<li><a
href="066afd1e62"><code>066afd1</code></a>
Release 3.9.14</li>
<li><a
href="fe3ab68832"><code>fe3ab68</code></a>
Merge pull request <a
href="https://redirect.github.com/patriksimek/vm2/issues/505">#505</a>
from NapkinHQ/fix-conditional-export-resolve</li>
<li><a
href="eefe3f1eb1"><code>eefe3f1</code></a>
update .eslintignore;update index.d.ts resolve return type</li>
<li><a
href="c70d945fc8"><code>c70d945</code></a>
add 'type':'module' in es module package.json</li>
<li><a
href="4659ce006e"><code>4659ce0</code></a>
add additional return type for resolve signature</li>
<li><a
href="1da44154ee"><code>1da4415</code></a>
add missing semicolon</li>
<li><a
href="5a86675641"><code>5a86675</code></a>
Support conditional export resolution with custom resolver</li>
<li>Additional commits viewable in <a
href="https://github.com/patriksimek/vm2/compare/3.9.13...3.9.15">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.13&new-version=3.9.15)](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-12 16:51:32 +02:00
GitHub Actions Bot
aba33e55ee 4.23.0-beta.31 2023-04-12 13:22:36 +00:00
andreas-unleash
60a2c1a996
chore: Backport 4.22.3 (#3508)
<!-- 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! ❤️ -->
Backports stickiness fixes 
## 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: Gastón Fournier <gaston@getunleash.io>
Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Mateusz Kwasniewski <kwasniewski.mateusz@gmail.com>
2023-04-12 16:22:13 +03:00
GitHub Actions Bot
014a8a2280 4.23.0-beta.30 2023-04-12 09:58:00 +00:00
Mateusz Kwasniewski
4c30a5dcac
chore: remove unused flags (#3506) 2023-04-12 09:57:43 +00:00
GitHub Actions Bot
b776589448 4.23.0-beta.29 2023-04-12 09:35:19 +00:00
Gastón Fournier
37beaa611f
chore: Improve openapi documentation for tags (#3496)
## About the changes
1. Create tag should not throw a 500 when bad data is provided
2. Added summary, description and examples to open API endpoints

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-04-12 09:34:32 +00:00
Gastón Fournier
c1a1a0fdeb
docs: open api examples for segment schemas (#3503)
## About the changes
Add additional documentation for segments

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2023-04-12 09:29:51 +00:00
GitHub Actions Bot
3231c7d00e 4.23.0-beta.28 2023-04-12 06:43:35 +00:00
Jaanus Sellin
427030c390
feat: add username to CR overview and list (#3498) 2023-04-12 09:43:05 +03:00
Mateusz Kwasniewski
15e5b983ac
feat: change request title migration (#3502) 2023-04-12 08:42:52 +02:00
GitHub Actions Bot
63043bff7e 4.23.0-beta.27 2023-04-12 06:06:01 +00:00
Mateusz Kwasniewski
84bf60ca78
feat: Catch all error handler (#3499) 2023-04-12 08:05:34 +02:00
GitHub Actions Bot
19d318d684 4.23.0-beta.26 2023-04-11 14:14:21 +00:00
Gastón Fournier
5ff883bc69
fix: security vulnerability (#3497)
This was an oversight of https://github.com/Unleash/unleash/pull/3402
2023-04-11 16:13:59 +02:00
GitHub Actions Bot
6afa52463b 4.23.0-beta.25 2023-04-11 12:50:08 +00:00
Mateusz Kwasniewski
3b1157b869
feat: skip change request in UI (#3495) 2023-04-11 14:47:54 +02:00
Mateusz Kwasniewski
536230a364
docs: adr for db changes (#3439) 2023-04-11 14:16:40 +02:00
GitHub Actions Bot
358dcf1196 4.23.0-beta.24 2023-04-11 07:20:31 +00:00
Jaanus Sellin
ac04f4331f
feat: add comment when submitting CR (#3489) 2023-04-11 10:20:10 +03:00
renovate[bot]
8f659b02f1
chore(deps): update dependency @types/react to v17.0.56 (#3492)
[![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.55` ->
`17.0.56`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.55/17.0.56)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.56/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.56/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.56/compatibility-slim/17.0.55)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/17.0.56/confidence-slim/17.0.55)](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:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-11 03:20:20 +00:00
renovate[bot]
8776c31f50
chore(deps): update dependency @xmldom/xmldom to v0.8.7 (#3491)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@xmldom/xmldom](https://togithub.com/xmldom/xmldom) | [`0.8.6` ->
`0.8.7`](https://renovatebot.com/diffs/npm/@xmldom%2fxmldom/0.8.6/0.8.7)
|
[![age](https://badges.renovateapi.com/packages/npm/@xmldom%2fxmldom/0.8.7/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@xmldom%2fxmldom/0.8.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@xmldom%2fxmldom/0.8.7/compatibility-slim/0.8.6)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@xmldom%2fxmldom/0.8.7/confidence-slim/0.8.6)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>xmldom/xmldom</summary>

###
[`v0.8.7`](https://togithub.com/xmldom/xmldom/blob/HEAD/CHANGELOG.md#&#8203;087-httpsgithubcomxmldomxmldomcompare086087)

[Compare
Source](https://togithub.com/xmldom/xmldom/compare/0.8.6...0.8.7)

##### Fixed

- properly parse closing where the last attribute has no value
[`#485`](https://togithub.com/xmldom/xmldom/pull/485) /
[`#486`](https://togithub.com/xmldom/xmldom/issues/486)

Thank you, [@&#8203;bulandent](https://togithub.com/bulandent), for your
contributions

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 22:33:36 +00:00
renovate[bot]
343e833b20
chore(deps): update dependency @uiw/react-codemirror to v4.19.11 (#3484)
[![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.10` ->
`4.19.11`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.19.10/4.19.11)
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.11/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.11/compatibility-slim/4.19.10)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.11/confidence-slim/4.19.10)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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


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

Documentation v4.19.11:
https://raw.githack.com/uiwjs/react-codemirror/79658d4/index.html\
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.10...v4.19.11

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

- 🐞 fix: fix dependencies issue.
([#&#8203;480](https://togithub.com/uiwjs/react-codemirror/issues/480))
[`3232f4c`](https://togithub.com/uiwjs/react-codemirror/commit/3232f4c)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)
- 💄 chore: update workflows config.
[`c24f120`](https://togithub.com/uiwjs/react-codemirror/commit/c24f120)
[@&#8203;jaywcjlove](https://togithub.com/jaywcjlove)

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4zNy4xIiwidXBkYXRlZEluVmVyIjoiMzUuMzcuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 17:18:28 +00:00
GitHub Actions Bot
8222f293e0 4.23.0-beta.23 2023-04-10 13:17:33 +00:00
Jaanus Sellin
6fe3d0ae5a
fix: fix path-scurry resolution (#3488) 2023-04-10 16:17:16 +03:00
GitHub Actions Bot
d0ddf72cd8 4.23.0-beta.22 2023-04-10 08:00:46 +00:00
Mateusz Kwasniewski
d9f22f4349
feat: Maintenance openapi (#3478) 2023-04-10 09:55:29 +02:00
GitHub Actions Bot
3936a30403 4.23.0-beta.21 2023-04-10 07:50:57 +00:00
Mateusz Kwasniewski
f1133556bd
refactor: switching to new stats calculations (#3477) 2023-04-10 09:50:39 +02:00