Thomas Heartman
99f45b4248
docs: Add front-end API setup to the quickstart guide ( #2984 )
...
## What
This change adds instructions on how to use the front-end API for
client-side SDKs to the quickstart guide. It also organizes the content
so that this info is presented before the proxy info.
## Why
The front-end API is easier to use, so it should be preferred over the
proxy for people who are just getting started.
2023-01-25 12:11:23 +00:00
andreas-unleash
1e7636283f
ToggleTypesWidget ( #2983 )
...
Implements ToggleTypeWidget
Refactored HealthWidget to it's own component
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
<!-- 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 #
<!-- (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? -->
![Screenshot 2023-01-25 at 11 38
07](https://user-images.githubusercontent.com/104830839/214531944-c7007192-e93f-48fc-8ee1-f44930f873d2.png )
## 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-01-25 13:52:36 +02:00
Mateusz Kwasniewski
decb7f320d
feat: import stage ( #2985 )
2023-01-25 12:34:28 +01:00
Mateusz Kwasniewski
e2e7f64b5b
feat: back transition from validate to configure ( #2982 )
2023-01-25 10:11:08 +01:00
Mateusz Kwasniewski
85566b1431
fix: preload error ( #2980 )
2023-01-24 20:40:03 +01:00
Nuno Góis
c5fced89fb
feat: visualize variants diff in CR ( #2979 )
...
https://linear.app/unleash/issue/2-582/display-the-change-request-created-with-variants-in-the-ui
![image](https://user-images.githubusercontent.com/14320932/214341314-c4f1aefb-fada-4d59-9d40-86f8dce98b76.png )
Includes a basic diff visualisation on variants change requests.
It seems like components like `CodeSnippetPopover` and `PopoverDiff` are
currently very tightly coupled together with strategies, so I preferred
to follow my own approach and leave those alone for now instead of
trying to refactor them. `patchVariant` could also be renamed to a more
fitting name in the future as well, since we're now doing more of an
override than applying a patch.
`Diff` is a generic diff component that uses `EventDiff` internally and
simply takes into account a "before" and "after" state, as `preData` and
`data`.
I made some changes to `EventDiff` that made some sense to me:
- Cover edge cases where `path` is undefined and `.join` crashes, also
fallback to the diff index (or undefined);
- Leverage the key to correctly sort the change items in the diff;
2023-01-24 16:06:53 +00:00
Mateusz Kwasniewski
80c444aa99
cleanup in export and import ( #2973 )
2023-01-24 14:29:59 +01:00
dependabot[bot]
6b22e2eb61
chore(deps): bump cookiejar from 2.1.3 to 2.1.4 in /website ( #2977 )
...
[//]: # (dependabot-start)
⚠️ **Dependabot is rebasing this PR** ⚠️
Rebasing might not happen immediately, so don't worry if this takes some
time.
Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.
---
[//]: # (dependabot-end)
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar ) from 2.1.3 to
2.1.4.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/bmeck/node-cookiejar/commits ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cookiejar&package-manager=npm_and_yarn&previous-version=2.1.3&new-version=2.1.4 )](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)
- `@dependabot use these labels` will set the current labels as the
default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as
the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as
the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the
default for future PRs for this repo and language
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-01-24 14:24:12 +01:00
dependabot[bot]
fba5911c53
chore(deps): bump cookiejar from 2.1.3 to 2.1.4 ( #2972 )
...
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar ) from 2.1.3 to
2.1.4.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/bmeck/node-cookiejar/commits ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cookiejar&package-manager=npm_and_yarn&previous-version=2.1.3&new-version=2.1.4 )](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)
- `@dependabot use these labels` will set the current labels as the
default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as
the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as
the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the
default for future PRs for this repo and language
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-01-24 14:23:38 +01:00
Christopher Kolstad
c961374b24
task: changing variants blocked by cr ( #2966 )
...
## About the changes
This PR adds two new functions that is protected by CR. When used
instead of the current setVariantOnEnv and setVariantsOnEnv if the flag
UNLEASH_EXPERIMENTAL_CR_ON_VARIANTS is set, the call is blocked. This
leaves the old functions, which is used from the CR flow in place, and
adds new methods protected by CR.
Also adds e2e tests verifying that the methods will block requests if CR
is enabled for project:environment pair, as well as not block if CR is
not enabled. Tests already in place should confirm that the default
flow, without the flag enabled just works.
2023-01-24 10:43:10 +01:00
Gastón Fournier
3713764a4b
feat: add push to all button to UI ( #2969 )
...
## About the changes
This adds the push to all button to the UI
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#2254
### UI
![Screenshot from 2023-01-16
12-25-49](https://user-images.githubusercontent.com/455064/214073136-999c32f3-d119-4d55-ae29-47f6a9304e84.png )
Co-authored-by: Nuno Góis <github@nunogois.com>
2023-01-24 10:22:02 +01:00
Simon Hornby
c71c0bb3ac
fix: prevent deleting the last variable variant on the ui ( #2964 )
2023-01-24 09:48:53 +02:00
Gastón Fournier
a3c706d7ce
chore: ignore Twitter link from being checked ( #2971 )
...
## About the changes
Removing perfect match on our Twitter account URL
Closes #2958
2023-01-23 22:09:28 +01:00
Mateusz Kwasniewski
a3404328ea
validation stage ( #2970 )
2023-01-23 20:02:05 +01:00
Simon Hornby
515845edd1
chore: increase max number of environments from 15 to 50 ( #2968 )
2023-01-23 17:28:31 +02:00
GitHub Actions Bot
f0b119f2f7
4.20.0-beta.6
2023-01-23 14:28:28 +00:00
Mateusz Kwasniewski
d4a0a3c11d
Validate stage transition ( #2967 )
2023-01-23 15:04:56 +01:00
Nuno Góis
ccfc046937
feat: adds the PAT_DELETE event ( #2965 )
...
<img width="973" alt="image"
src="https://user-images.githubusercontent.com/14320932/214047789-830adae4-daf1-4761-9b77-a49c9b92d0d8.png ">
Adds the `PAT_DELETE` event so we can log the relevant information when
a PAT is deleted.
Should cover the following scenarios:
- User deletes their own PAT;
- Admin deletes another user's PAT;
- Admin deletes a Service Account token;
2023-01-23 15:11:16 +02:00
Mateusz Kwasniewski
bc627b428e
timeline component ( #2963 )
2023-01-23 13:06:24 +01:00
Mateusz Kwasniewski
bfb038c725
feat: pulsing avatar for import ( #2961 )
2023-01-23 10:44:25 +01:00
renovate[bot]
c41f888810
chore(deps): update dependency eslint-plugin-import to v2.27.4 ( #2955 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[eslint-plugin-import](https://togithub.com/import-js/eslint-plugin-import )
| [`2.26.0` ->
`2.27.4`](https://renovatebot.com/diffs/npm/eslint-plugin-import/2.26.0/2.27.4 )
|
[![age](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.27.4/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.27.4/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.27.4/compatibility-slim/2.26.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/eslint-plugin-import/2.27.4/confidence-slim/2.26.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>import-js/eslint-plugin-import</summary>
###
[`v2.27.4`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2274---2023-01-11 )
[Compare
Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.3...v2.27.4 )
##### Fixed
- `semver` should be a prod dep
(\[[#​2668](https://togithub.com/import-js/eslint-plugin-import/issues/2668 )])
###
[`v2.27.3`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2273---2023-01-11 )
[Compare
Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.2...v2.27.3 )
##### Fixed
- \[`no-empty-named-blocks`]: rewrite rule to only check import
declarations
(\[[#​2666](https://togithub.com/import-js/eslint-plugin-import/issues/2666 )])
###
[`v2.27.2`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2272---2023-01-11 )
[Compare
Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.1...v2.27.2 )
##### Fixed
- \[`no-duplicates`]: do not unconditionally require `typescript`
(\[[#​2665](https://togithub.com/import-js/eslint-plugin-import/issues/2665 )])
###
[`v2.27.1`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2271---2023-01-11 )
[Compare
Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.27.0...v2.27.1 )
##### Fixed
- `array.prototype.flatmap` should be a prod dep
(\[[#​2664](https://togithub.com/import-js/eslint-plugin-import/issues/2664 )],
thanks \[[@​cristobal](https://togithub.com/cristobal )])
###
[`v2.27.0`](https://togithub.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#​2270---2023-01-11 )
[Compare
Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.26.0...v2.27.0 )
##### Added
- \[`newline-after-import`]: add `considerComments` option
(\[[#​2399](https://togithub.com/import-js/eslint-plugin-import/issues/2399 )],
thanks \[[@​pri1311](https://togithub.com/pri1311 )])
- \[`no-cycle`]: add `allowUnsafeDynamicCyclicDependency` option
(\[[#​2387](https://togithub.com/import-js/eslint-plugin-import/issues/2387 )],
thanks \[[@​GerkinDev](https://togithub.com/GerkinDev )])
- \[`no-restricted-paths`]: support arrays for `from` and `target`
options
(\[[#​2466](https://togithub.com/import-js/eslint-plugin-import/issues/2466 )],
thanks \[[@​AdriAt360](https://togithub.com/AdriAt360 )])
- \[`no-anonymous-default-export`]: add `allowNew` option
(\[[#​2505](https://togithub.com/import-js/eslint-plugin-import/issues/2505 )],
thanks \[[@​DamienCassou](https://togithub.com/DamienCassou )])
- \[`order`]: Add `distinctGroup` option
(\[[#​2395](https://togithub.com/import-js/eslint-plugin-import/issues/2395 )],
thanks \[[@​hyperupcall](https://togithub.com/hyperupcall )])
- \[`no-extraneous-dependencies`]: Add `includeInternal` option
(\[[#​2541](https://togithub.com/import-js/eslint-plugin-import/issues/2541 )],
thanks \[[@​bdwain](https://togithub.com/bdwain )])
- \[`no-extraneous-dependencies`]: Add `includeTypes` option
(\[[#​2543](https://togithub.com/import-js/eslint-plugin-import/issues/2543 )],
thanks \[[@​bdwain](https://togithub.com/bdwain )])
- \[`order`]: new `alphabetize.orderImportKind` option to sort imports
with same path based on their kind (`type`, `typeof`)
(\[[#​2544](https://togithub.com/import-js/eslint-plugin-import/issues/2544 )],
thanks \[[@​stropho](https://togithub.com/stropho )])
- \[`consistent-type-specifier-style`]: add rule
(\[[#​2473](https://togithub.com/import-js/eslint-plugin-import/issues/2473 )],
thanks \[[@​bradzacher](https://togithub.com/bradzacher )])
- Add \[`no-empty-named-blocks`] rule
(\[[#​2568](https://togithub.com/import-js/eslint-plugin-import/issues/2568 )],
thanks \[[@​guilhermelimak](https://togithub.com/guilhermelimak )])
- \[`prefer-default-export`]: add "target" option
(\[[#​2602](https://togithub.com/import-js/eslint-plugin-import/issues/2602 )],
thanks \[[@​azyzz228](https://togithub.com/azyzz228 )])
- \[`no-absolute-path`]: add fixer
(\[[#​2613](https://togithub.com/import-js/eslint-plugin-import/issues/2613 )],
thanks \[[@​adipascu](https://togithub.com/adipascu )])
- \[`no-duplicates`]: support inline type import with `inlineTypeImport`
option
(\[[#​2475](https://togithub.com/import-js/eslint-plugin-import/issues/2475 )],
thanks \[[@​snewcomer](https://togithub.com/snewcomer )])
##### Fixed
- \[`order`]: move nested imports closer to main import entry
(\[[#​2396](https://togithub.com/import-js/eslint-plugin-import/issues/2396 )],
thanks \[[@​pri1311](https://togithub.com/pri1311 )])
- \[`no-restricted-paths`]: fix an error message
(\[[#​2466](https://togithub.com/import-js/eslint-plugin-import/issues/2466 )],
thanks \[[@​AdriAt360](https://togithub.com/AdriAt360 )])
- \[`no-restricted-paths`]: use `Minimatch.match` instead of `minimatch`
to comply with Windows Native paths
(\[[#​2466](https://togithub.com/import-js/eslint-plugin-import/issues/2466 )],
thanks \[[@​AdriAt360](https://togithub.com/AdriAt360 )])
- \[`order`]: require with member expression could not be fixed if
alphabetize.order was used
(\[[#​2490](https://togithub.com/import-js/eslint-plugin-import/issues/2490 )],
thanks \[[@​msvab](https://togithub.com/msvab )])
- \[`order`]: leave more space in rankings for consecutive path groups
(\[[#​2506](https://togithub.com/import-js/eslint-plugin-import/issues/2506 )],
thanks \[[@​Pearce-Ropion](https://togithub.com/Pearce-Ropion )])
- \[`no-cycle`]: add ExportNamedDeclaration statements to dependencies
(\[[#​2511](https://togithub.com/import-js/eslint-plugin-import/issues/2511 )],
thanks \[[@​BenoitZugmeyer](https://togithub.com/BenoitZugmeyer )])
- \[`dynamic-import-chunkname`]: prevent false report on a valid webpack
magic comment
(\[[#​2330](https://togithub.com/import-js/eslint-plugin-import/issues/2330 )],
thanks \[[@​mhmadhamster](https://togithub.com/mhmadhamster )])
- \[`export`]: do not error on TS export overloads
(\[[#​1590](https://togithub.com/import-js/eslint-plugin-import/issues/1590 )],
thanks \[[@​ljharb](https://togithub.com/ljharb )])
- \[`no-unresolved`], \[`extensions`]: ignore type only exports
(\[[#​2436](https://togithub.com/import-js/eslint-plugin-import/issues/2436 )],
thanks \[[@​Lukas-Kullmann](https://togithub.com/Lukas-Kullmann )])
- `ExportMap`: add missing param to function
(\[[#​2589](https://togithub.com/import-js/eslint-plugin-import/issues/2589 )],
thanks \[[@​Fdawgs](https://togithub.com/Fdawgs )])
- \[`no-unused-modules`]: `checkPkgFieldObject` filters boolean fields
from checks
(\[[#​2598](https://togithub.com/import-js/eslint-plugin-import/issues/2598 )],
thanks \[[@​mpint](https://togithub.com/mpint )])
- \[`no-cycle`]: accept Flow `typeof` imports, just like `type`
(\[[#​2608](https://togithub.com/import-js/eslint-plugin-import/issues/2608 )],
thanks \[[@​gnprice](https://togithub.com/gnprice )])
- \[`no-import-module-exports`]: avoid a false positive for import
variables
(\[[#​2315](https://togithub.com/import-js/eslint-plugin-import/issues/2315 )],
thanks
\[[@​BarryThePenguin](https://togithub.com/BarryThePenguin )])
##### Changed
- \[Tests] \[`named`]: Run all TypeScript test
(\[[#​2427](https://togithub.com/import-js/eslint-plugin-import/issues/2427 )],
thanks \[[@​ProdigySim](https://togithub.com/ProdigySim )])
- \[readme] note use of typescript in readme `import/extensions` section
(\[[#​2440](https://togithub.com/import-js/eslint-plugin-import/issues/2440 )],
thanks
\[[@​OutdatedVersion](https://togithub.com/OutdatedVersion )])
- \[Docs] \[`order`]: use correct default value
(\[[#​2392](https://togithub.com/import-js/eslint-plugin-import/issues/2392 )],
thanks \[[@​hyperupcall](https://togithub.com/hyperupcall )])
- \[meta] replace git.io link in comments with the original URL
(\[[#​2444](https://togithub.com/import-js/eslint-plugin-import/issues/2444 )],
thanks \[[@​liby](https://togithub.com/liby )])
- \[Docs] remove global install in readme
(\[[#​2412](https://togithub.com/import-js/eslint-plugin-import/issues/2412 )],
thanks \[[@​aladdin-add](https://togithub.com/aladdin-add )])
- \[readme] clarify `eslint-import-resolver-typescript` usage
(\[[#​2503](https://togithub.com/import-js/eslint-plugin-import/issues/2503 )],
thanks \[[@​JounQin](https://togithub.com/JounQin )])
- \[Refactor] \[`no-cycle`]: Add per-run caching of traversed paths
(\[[#​2419](https://togithub.com/import-js/eslint-plugin-import/issues/2419 )],
thanks \[[@​nokel81](https://togithub.com/nokel81 )])
- \[Performance] `ExportMap`: add caching after parsing for an ambiguous
module
(\[[#​2531](https://togithub.com/import-js/eslint-plugin-import/issues/2531 )],
thanks \[[@​stenin-nikita](https://togithub.com/stenin-nikita )])
- \[Docs] \[`no-useless-path-segments`]: fix paths
(\[[#​2424](https://togithub.com/import-js/eslint-plugin-import/issues/2424 )],
thanks \[[@​s-h-a-d-o-w](https://togithub.com/s-h-a-d-o-w )])
- \[Tests] \[`no-cycle`]: add passing test cases
(\[[#​2438](https://togithub.com/import-js/eslint-plugin-import/issues/2438 )],
thanks \[[@​georeith](https://togithub.com/georeith )])
- \[Refactor] \[`no-extraneous-dependencies`] improve performance using
cache
(\[[#​2374](https://togithub.com/import-js/eslint-plugin-import/issues/2374 )],
thanks \[[@​meowtec](https://togithub.com/meowtec )])
- \[meta] `CONTRIBUTING.md`: mention inactive PRs
(\[[#​2546](https://togithub.com/import-js/eslint-plugin-import/issues/2546 )],
thanks \[[@​stropho](https://togithub.com/stropho )])
- \[readme] make json for setting groups multiline
(\[[#​2570](https://togithub.com/import-js/eslint-plugin-import/issues/2570 )],
thanks \[[@​bertyhell](https://togithub.com/bertyhell )])
- \[Tests] \[`no-restricted-paths`]: Tests for `import type` statements
(\[[#​2459](https://togithub.com/import-js/eslint-plugin-import/issues/2459 )],
thanks \[[@​golergka](https://togithub.com/golergka )])
- \[Tests] \[`no-restricted-paths`]: fix one failing `import type` test
case, submitted by \[[@​golergka](https://togithub.com/golergka )],
thanks \[[@​azyzz228](https://togithub.com/azyzz228 )]
- \[Docs] automate docs with eslint-doc-generator
(\[[#​2582](https://togithub.com/import-js/eslint-plugin-import/issues/2582 )],
thanks \[[@​bmish](https://togithub.com/bmish )])
- \[readme] Increase clarity around typescript configuration
(\[[#​2588](https://togithub.com/import-js/eslint-plugin-import/issues/2588 )],
thanks \[[@​Nfinished](https://togithub.com/Nfinished )])
- \[Docs] update `eslint-doc-generator` to v1.0.0
(\[[#​2605](https://togithub.com/import-js/eslint-plugin-import/issues/2605 )],
thanks \[[@​bmish](https://togithub.com/bmish )])
- \[Perf] \[`no-cycle`], \[`no-internal-modules`],
\[`no-restricted-paths`]: use `anyOf` instead of `oneOf` (thanks
\[[@​ljharb](https://togithub.com/ljharb )],
\[[@​remcohaszing](https://togithub.com/remcohaszing )])
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuNCIsInVwZGF0ZWRJblZlciI6IjM0LjEwNS40In0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-20 22:20:45 +00:00
Gastón Fournier
70d8f9e58a
feat: add warning hints on potential misconfiguration ( #2948 )
...
## About the changes
Add warnings when we detect something might be wrong with the customer
configuration, in particular with regard to variants configuration
## Rationale
Moving from variants per feature to variants per environment will allow
users to have fine-grained permissions and more control over variants on
different environments: #2254
But because this requires an additional step of copying variants to
other environments, we identified the potential risk of users forgetting
to follow this step. To keep them informed about this, we're introducing
a warning sign after a toggle is enabled when we detect that:
1. The environment is enabled without variants
2. Other enabled environments have variants
This situation would be a problem if you rely on `getVariant` method
from the SDK, because without variants you'll receive the default
variant. Probably, not what you'd expect after enabling the toggle, but
there are situations where this might be correct. Because of the latter,
we thought that adding a warning and letting the user handle the
situation was the best solution.
## UI sketches
![image
(6)](https://user-images.githubusercontent.com/455064/213676353-112639f0-7781-42c0-8c9d-8c7eba316bae.png )
![Screenshot from 2023-01-19
08-55-10](https://user-images.githubusercontent.com/455064/213664639-7b11ff4b-048a-4a36-aa71-7df2f889adff.png )
Co-authored-by: Nuno Góis <github@nunogois.com>
2023-01-20 18:09:01 +01:00
Mateusz Kwasniewski
287d28e91d
Batch import styling ( #2959 )
2023-01-20 15:01:40 +01:00
Thomas Heartman
a8a910a39f
docs: don't tell users to contact support for proxy hosting ( #2933 )
...
## What
This change removes a notice from the proxy documentation saying that
users should reach out to support@getunleash.io if they want the Unleash
team to host it.
## Why
Unleash ships with the front-end API now, so we don't want people
reaching out to support for this anymore.
2023-01-20 14:26:58 +01:00
Nuno Góis
342a6f6cbe
fix: filtering environments in the project features table ( #2957 )
...
![image](https://user-images.githubusercontent.com/14320932/213686971-dc612f72-d86e-414d-afee-23856b5add1a.png )
Fixes an issue where environments were not filtered correctly on the
search, most likely due to some regression accidentally introduced with
changes in the meantime.
2023-01-20 11:47:10 +00:00
Gastón Fournier
96c65fc10d
feat: Add ability to push variants to multiple environments ( #2914 )
...
## About the changes
This PR adds the ability to push variants to multiple environments
overriding the existing variants.
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#2254
**Note:** This won't fail if there are variants in other environments, because the operation wouldn't be idempotent. It should have that property because setting variants to 1 or more environments once or twice should not make a difference
2023-01-20 10:30:20 +01:00
Mateusz Kwasniewski
a67649347a
feat: file dropzone ( #2939 )
2023-01-20 09:50:24 +01:00
Gastón Fournier
30ed92cbbb
fix: Add missing sortOrder property ( #2940 )
...
Add sortOrder property to some OpenAPI schemas
2023-01-20 08:46:01 +01:00
renovate[bot]
6e9043e2f4
chore(deps): update dependency @uiw/react-codemirror to v4.19.6 ( #2954 )
...
[![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.5` ->
`4.19.6`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.19.5/4.19.6 )
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.6/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.6/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.6/compatibility-slim/4.19.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2freact-codemirror/4.19.6/confidence-slim/4.19.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>uiwjs/react-codemirror</summary>
###
[`v4.19.6`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.19.6 )
[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.19.5...v4.19.6 )
[![](https://img.shields.io/badge/Open%20in-unpkg-blue )](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.19.6/file/README.md )
Documentation v4.19.6:
https://raw.githack.com/uiwjs/react-codemirror/97f393a/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.5...v4.19.6
```shell
npm i @​uiw/react-codemirror@4.19.6
```
- 🆎 type(theme): fix type error.
([#​444](https://togithub.com/uiwjs/react-codemirror/issues/444 ))
[`5ef84c1`](https://togithub.com/uiwjs/react-codemirror/commit/5ef84c1 )
[@​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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuNCIsInVwZGF0ZWRJblZlciI6IjM0LjEwNS40In0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-20 06:12:36 +00:00
renovate[bot]
14f2fef739
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.19.6 ( #2953 )
...
[![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.5` ->
`4.19.6`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.19.5/4.19.6 )
|
[![age](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.6/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.6/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.6/compatibility-slim/4.19.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@uiw%2fcodemirror-theme-duotone/4.19.6/confidence-slim/4.19.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>uiwjs/react-codemirror</summary>
###
[`v4.19.6`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.19.6 )
[Compare
Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.19.5...v4.19.6 )
[![](https://img.shields.io/badge/Open%20in-unpkg-blue )](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.19.6/file/README.md )
Documentation v4.19.6:
https://raw.githack.com/uiwjs/react-codemirror/97f393a/index.html \
Comparing Changes:
https://github.com/uiwjs/react-codemirror/compare/v4.19.5...v4.19.6
```shell
npm i @​uiw/react-codemirror@4.19.6
```
- 🆎 type(theme): fix type error.
([#​444](https://togithub.com/uiwjs/react-codemirror/issues/444 ))
[`5ef84c1`](https://togithub.com/uiwjs/react-codemirror/commit/5ef84c1 )
[@​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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuNCIsInVwZGF0ZWRJblZlciI6IjM0LjEwNS40In0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-20 02:50:44 +00:00
renovate[bot]
234a38134f
chore(deps): update dependency jsdom to v21 ( #2843 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [jsdom](https://togithub.com/jsdom/jsdom ) | [`20.0.3` ->
`21.0.0`](https://renovatebot.com/diffs/npm/jsdom/20.0.3/21.0.0 ) |
[![age](https://badges.renovateapi.com/packages/npm/jsdom/21.0.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/jsdom/21.0.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/jsdom/21.0.0/compatibility-slim/20.0.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/jsdom/21.0.0/confidence-slim/20.0.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>jsdom/jsdom</summary>
###
[`v21.0.0`](https://togithub.com/jsdom/jsdom/blob/HEAD/Changelog.md#​2100 )
[Compare
Source](https://togithub.com/jsdom/jsdom/compare/20.0.3...21.0.0 )
A potentially-breaking bug fix:
- Fixed the `window`, `document`, `location`, and `top` properties of
`Window` to be non-configurable. (ExE-Boss)
Other changes:
- Added support for `<input type=image>` submitting forms. (jenseng)
- Added the `location` setter to the `Window` object, which forwards to
the `location.href` setter. Setting the URL is still only implemented
for fragment navigations, however. (ExE-Boss)
- Fixed `defer=""` `<script>` elements that are added after
`DOMContentLoaded` to execute, instead of being skipped.
- Fixed `selectElement.selectedOptions` being incorrect when
`optionElement.selected` is set. This was a regression introduced in
v20.0.1. Unfortunately this also reverts the performance improvement
when appending `<option>` elements that was introduced then. (eps1lon)
- Fixed the `self`, `locationbar`, `menubar`, `personalbar`,
`scrollbars`, `statusbar`, `toolbar`, `frames`, `parent`, `external`,
`length`, and `screen` properties of `Window` to be replaceable: that
is, setting them will override their values, instead of having the new
value be ignored. (ExE-Boss)
- Fixed a few issues with `JSOM.fromURL()` in the browser build of
jsdom. (LungZeno)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuODQuMiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 23:10:39 +01:00
renovate[bot]
a6c76155e0
fix(deps): update dependency docusaurus-theme-openapi-docs to v1.5.1 ( #2934 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-theme-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`1.5.0` ->
`1.5.1`](https://renovatebot.com/diffs/npm/docusaurus-theme-openapi-docs/1.5.0/1.5.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.1/compatibility-slim/1.5.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.1/confidence-slim/1.5.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v1.5.1`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​151-Jan-10-2023 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.5.0...v1.5.1 )
High level enhancements
- Added support for x-webhooks extension
- Improvements to how Swagger 2.0 is upconverted to OpenAPI 3.0
Other enhancements and bug fixes
- \[Bug] Refactor selective sanitization of > and < symbols in generated
markdown descriptions
([#​377](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/377 ))
- fix jsonSchemaMergeAllOf options in createRequestSchema
([#​374](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/374 ))
- Add resolveInternal to swagger2openapi options
([#​375](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/375 ))
- \[Enhancement] Introduce support for webhooks extension
([#​370](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/370 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuNCIsInVwZGF0ZWRJblZlciI6IjM0LjEwNS40In0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 21:24:28 +00:00
Nuno Góis
08c1123144
fix: tooltip arrow regression after last scroll max size feat ( #2935 )
...
Fixes an issue where the `HtmlTooltip` arrow would no longer work after
a regression included with https://github.com/Unleash/unleash/pull/2891
Also adds the arrow prop to most usages of the tooltip to keep
consistency.
2023-01-19 14:46:26 +01:00
GitHub Actions Bot
aa96d9baf7
4.20.0-beta.5
2023-01-19 13:22:10 +00:00
sjaanus
53c11b8585
Add feature name to strategy schema ( #2936 )
2023-01-19 15:17:36 +02:00
Fredrik Strand Oseberg
f4d857285b
feat: status API ( #2931 )
...
Initial status API
2023-01-19 13:27:50 +01:00
sjaanus
467eb57fb8
Import first super early version of UI ( #2932 )
...
Import first super early version of UI
2023-01-19 10:42:58 +00:00
renovate[bot]
c6d62afd35
fix(deps): update dependency docusaurus-plugin-openapi-docs to v1.5.1 ( #2930 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-plugin-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`1.5.0` ->
`1.5.1`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/1.5.0/1.5.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.1/compatibility-slim/1.5.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.1/confidence-slim/1.5.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v1.5.1`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​151-Jan-10-2023 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.5.0...v1.5.1 )
High level enhancements
- Added support for x-webhooks extension
- Improvements to how Swagger 2.0 is upconverted to OpenAPI 3.0
Other enhancements and bug fixes
- \[Bug] Refactor selective sanitization of > and < symbols in generated
markdown descriptions
([#​377](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/377 ))
- fix jsonSchemaMergeAllOf options in createRequestSchema
([#​374](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/374 ))
- Add resolveInternal to swagger2openapi options
([#​375](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/375 ))
- \[Enhancement] Introduce support for webhooks extension
([#​370](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/370 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuNCIsInVwZGF0ZWRJblZlciI6IjM0LjEwNS40In0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 10:33:30 +00:00
renovate[bot]
81d369f468
chore(deps): update dependency vitest to v0.27.1 ( #2929 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest ) | [`0.27.0` ->
`0.27.1`](https://renovatebot.com/diffs/npm/vitest/0.27.0/0.27.1 ) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.27.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.27.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.27.1/compatibility-slim/0.27.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.27.1/confidence-slim/0.27.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>vitest-dev/vitest</summary>
###
[`v0.27.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.1 )
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.0...v0.27.1 )
##### 🚀 Features
- Show error, when process.exit is called - by
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/2643 ](https://togithub.com/vitest-dev/vitest/issues/2643 )
[<samp>(866f4)</samp>](https://togithub.com/vitest-dev/vitest/commit/866f4494 )
- Add more information about unhandler error - by
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/2642 ](https://togithub.com/vitest-dev/vitest/issues/2642 )
[<samp>(1ffb0)</samp>](https://togithub.com/vitest-dev/vitest/commit/1ffb0ef5 )
- Display running processes, if vitest closes with timeout - by
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/2633 ](https://togithub.com/vitest-dev/vitest/issues/2633 )
[<samp>(94968)</samp>](https://togithub.com/vitest-dev/vitest/commit/94968a6f )
##### 🐞 Bug Fixes
- Type issue with spyOn method - by
[@​samkevin1](https://togithub.com/samkevin1 ) in
[https://github.com/vitest-dev/vitest/issues/2365 ](https://togithub.com/vitest-dev/vitest/issues/2365 )
and
[https://github.com/vitest-dev/vitest/issues/2582 ](https://togithub.com/vitest-dev/vitest/issues/2582 )
[<samp>(1aaa7)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aaa79d7 )
- Add missing types in TS project when global is true - by
[@​Sneaken](https://togithub.com/Sneaken ) in
[https://github.com/vitest-dev/vitest/issues/2631 ](https://togithub.com/vitest-dev/vitest/issues/2631 )
[<samp>(4745e)</samp>](https://togithub.com/vitest-dev/vitest/commit/4745eaa2 )
- Always report failed test in junit reporter - by
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/2632 ](https://togithub.com/vitest-dev/vitest/issues/2632 )
[<samp>(83da2)</samp>](https://togithub.com/vitest-dev/vitest/commit/83da2ec4 )
- Change Vite root, if test.root is used - by
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/2637 ](https://togithub.com/vitest-dev/vitest/issues/2637 )
[<samp>(efbff)</samp>](https://togithub.com/vitest-dev/vitest/commit/efbff2a2 )
- Don't use ownKeys, when interoping a module - by
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/2629 ](https://togithub.com/vitest-dev/vitest/issues/2629 )
[<samp>(a186a)</samp>](https://togithub.com/vitest-dev/vitest/commit/a186a7e1 )
- Cut duplicate error in negated toHaveBeenCalled - by
[@​richardboehme](https://togithub.com/richardboehme ) in
[https://github.com/vitest-dev/vitest/issues/2638 ](https://togithub.com/vitest-dev/vitest/issues/2638 )
[<samp>(09d62)</samp>](https://togithub.com/vitest-dev/vitest/commit/09d62226 )
- Always update last HMR ms on a module - by
[@​sheremet-va](https://togithub.com/sheremet-va )
[<samp>(99676)</samp>](https://togithub.com/vitest-dev/vitest/commit/9967645a )
- Terminate workers, when closing process - by
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/2645 ](https://togithub.com/vitest-dev/vitest/issues/2645 )
[<samp>(ece43)</samp>](https://togithub.com/vitest-dev/vitest/commit/ece434a3 )
- **coverage**:
- Prevent c8 from crashing on invalid sourcemaps - by
[@​AriPerkkio](https://togithub.com/AriPerkkio ) in
[https://github.com/vitest-dev/vitest/issues/2634 ](https://togithub.com/vitest-dev/vitest/issues/2634 )
[<samp>(0163d)</samp>](https://togithub.com/vitest-dev/vitest/commit/0163dc80 )
- Istanbul provider to use `coverage.extension` - by
[@​AriPerkkio](https://togithub.com/AriPerkkio ) in
[https://github.com/vitest-dev/vitest/issues/2641 ](https://togithub.com/vitest-dev/vitest/issues/2641 )
[<samp>(7e388)</samp>](https://togithub.com/vitest-dev/vitest/commit/7e388903 )
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.0...v0.27.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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuNCIsInVwZGF0ZWRJblZlciI6IjM0LjEwNS40In0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 06:44:00 +00:00
renovate[bot]
5ca8772606
chore(deps): update dependency @swc/core to v1.3.26 ( #2928 )
...
[![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.25` ->
`1.3.26`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.25/1.3.26 ) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.26/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.26/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.26/compatibility-slim/1.3.25 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.26/confidence-slim/1.3.25 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>swc-project/swc</summary>
###
[`v1.3.26`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#​1326---2023-01-11 )
[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.3.25...v1.3.26 )
##### Bug Fixes
- **(common)** Mark `\r` as a line ending
([#​6752](https://togithub.com/swc-project/swc/issues/6752 ))
([26a0c13](26a0c13589
))
- **(es)** Remove useless context
([#​6777](https://togithub.com/swc-project/swc/issues/6777 ))
([ae3cfa7](ae3cfa7d2d
))
- **(es/codegen)** Fix LineCol calculation of printed files
([#​6763](https://togithub.com/swc-project/swc/issues/6763 ))
([2b503c1](2b503c16d5
))
- **(es/codegen)** Skip `lo` of a program if body is not empty
([#​6773](https://togithub.com/swc-project/swc/issues/6773 ))
([3f0f664](3f0f664c48
))
- **(es/decorator)** Fix type detection for template literal types
([#​6786](https://togithub.com/swc-project/swc/issues/6786 ))
([bbfa97a](bbfa97a475
))
- **(es/helpers)** Make ` _classPrivateFieldLooseBase ` return receiver
([#​6770](https://togithub.com/swc-project/swc/issues/6770 ))
([1d14760](1d147602c0
))
- **(es/minifier)** Make name mangler respect `toplevel`
([#​6774](https://togithub.com/swc-project/swc/issues/6774 ))
([ec7e913](ec7e913815
))
- **(es/minifier)** Don't inline conditionally initialized vars
([#​6751](https://togithub.com/swc-project/swc/issues/6751 ))
([336b1d8](336b1d8b4d
))
- **(es/minifier)** Make AST compressor respect `toplevel`
([#​6775](https://togithub.com/swc-project/swc/issues/6775 ))
([06770cf](06770cff04
))
- **(es/parser)** Allow parsing `import.meta` as an expression
([#​6783](https://togithub.com/swc-project/swc/issues/6783 ))
([ff8face](ff8facef64
))
##### Features
- **(es/minifier)** Make name mangler understand block scoping
([#​6670](https://togithub.com/swc-project/swc/issues/6670 ))
([a1ccc8a](a1ccc8afdf
))
- **(es/minifier)** Handle boolean in `Evaluator`
([#​6756](https://togithub.com/swc-project/swc/issues/6756 ))
([8a6a1cb](8a6a1cbcf1
))
- **(es/typescript)** Support const modifier on type parameters
([#​6672](https://togithub.com/swc-project/swc/issues/6672 ))
([019cf37](019cf37199
))
##### Miscellaneous Tasks
- **(ci)** Fix CI action
([#​6772](https://togithub.com/swc-project/swc/issues/6772 ))
([6d365de](6d365de9e2
))
##### Testing
- **(es)** Add a test for a fixed source map issue
([#​6768](https://togithub.com/swc-project/swc/issues/6768 ))
([6c126da](6c126da1d4
))
- **(es/module)** Add a test for invalid issue
([#​6785](https://togithub.com/swc-project/swc/issues/6785 ))
([0ef84e1](0ef84e1c00
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuNCIsInVwZGF0ZWRJblZlciI6IjM0LjEwNS40In0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 04:01:14 +00:00
renovate[bot]
ed711dab2d
chore(deps): update dependency nock to v13.3.0 ( #2920 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [nock](https://togithub.com/nock/nock ) | [`13.2.9` ->
`13.3.0`](https://renovatebot.com/diffs/npm/nock/13.2.9/13.3.0 ) |
[![age](https://badges.renovateapi.com/packages/npm/nock/13.3.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/nock/13.3.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/nock/13.3.0/compatibility-slim/13.2.9 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/nock/13.3.0/confidence-slim/13.2.9 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>nock/nock</summary>
### [`v13.3.0`](https://togithub.com/nock/nock/releases/tag/v13.3.0 )
[Compare
Source](https://togithub.com/nock/nock/compare/v13.2.9...v13.3.0 )
##### Features
- support for WHATWG URLs
([#​2437](https://togithub.com/nock/nock/issues/2437 ))
([3375382](33753828a5
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuMSIsInVwZGF0ZWRJblZlciI6IjM0LjEwNS4xIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-18 23:29:11 +00:00
Nuno Góis
7d73d772df
feat: add the account abstraction logic ( #2918 )
...
https://linear.app/unleash/issue/2-579/improve-user-like-behaviour-for-service-accounts-accounts-concept
Builds on top of https://github.com/Unleash/unleash/pull/2917 by moving
the responsibility of handling both account types from `users` to
`accounts`.
Ideally:
- `users` - Should only handle users;
- `service-accounts` - Should only handle service accounts;
- `accounts` - Should handle any type of account;
This should hopefully also provide a good building block in case we
later decide to refactor this further down the `accounts` path.
2023-01-18 16:08:07 +00:00
Ivar Conradi Østhus
bb20c6d102
fix: project feature_count should not include archived ( #2919 )
...
fixes : #2923
2023-01-18 15:58:27 +01:00
andreas-unleash
5ceab6f989
Add flag to control CASE_INSENSITIVE_IN_OPERATORS until SDKs catch up ( #2927 )
...
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
<!-- 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 #
<!-- (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-01-18 15:53:14 +02:00
Thomas Heartman
6b458fedbb
docs: add link to the Unleash help center ( #2926 )
...
## What
This change adds a link to the Unleash help center in the list of links.
## Why
To make it easier to get help for customers who require it.
## Notes
Signed off by Diego (@dsusa72) and Elise (@EliseBrevald).
2023-01-18 13:59:43 +01:00
andreas-unleash
91e20cc09a
Add support for case for IN and NOT_IN operators ( #2924 )
...
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Adds support for case for IN and NOT_IN operators
<!-- 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 #
<!-- (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? -->
<img width="1547" alt="Screenshot 2023-01-18 at 11 35 10"
src="https://user-images.githubusercontent.com/104830839/213136158-25c525c8-de82-423b-93d1-5ae6eb8469fa.png ">
## 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-01-18 14:42:26 +02:00
Fredrik Strand Oseberg
89163b8719
refactor/clean-up-get-project ( #2925 )
...
This PR moves the getProjectOverview method out from the project health
controller. It doesn't make sense that this method lives here anymore,
as over time it has grown into method that relays all information about
a single project. It makes more sense that this now lives on the root of
the project api. Also removes unwanted duplication of getProjectOverview
from the project-service and the project-health-service.
2023-01-18 13:22:58 +01:00
Nuno Góis
d63b3c69fe
feat: adapt user logic to better adapt to SAs ( #2917 )
...
https://linear.app/unleash/issue/2-579/improve-user-like-behaviour-for-service-accounts-accounts-concept
<img width="803" alt="image"
src="https://user-images.githubusercontent.com/14320932/213011584-75870595-988d-49bc-a7bf-cd1ffd146bca.png ">
Makes SAs behave more like users.
Even though they share the same `users` database table, the `is_service`
column distinguishes them. This PR makes the distinction a bit less
obvious by not filtering out SAs for some methods in the user store,
returning both account types and their respective account type
information so we can handle them properly on the UI.
We felt like this was a good enough approach for now, and a decent
compromise to move SAs forward. In the future, we may want to make a
full refactor with the `accounts` concept in mind, which we've
experimented with in the
[accounts-refactoring](https://github.com/Unleash/unleash/tree/accounts-refactoring )
branches (both OSS and Enterprise).
https://github.com/Unleash/unleash/pull/2918 - Moves this a bit further,
by introducing the account service and store.
2023-01-18 12:12:44 +00:00
GitHub Actions Bot
e0d7603eb3
4.20.0-beta.4
2023-01-18 11:15:46 +00:00
Gastón Fournier
c86d191f62
fix: add environment to event log card ( #2912 )
...
## About the changes
Some changes recorded in the event log apply only to one particular
environment. This is currently not visible in the event log card, but it
is present in the recorded event:
| Full event | Event card |
| --- | --- |
| ![Screenshot from 2023-01-17
14-22-55](https://user-images.githubusercontent.com/455064/212910227-77b5e81c-60fe-4891-bfad-e3358e5a0ba5.png )
|
![image](https://user-images.githubusercontent.com/455064/212910207-7cae700b-3f50-4035-9bcd-897de62d76d2.png )
|
This PR makes that information visible on the event card
2023-01-18 10:19:25 +01:00