Nuno Góis
538bbe7105
fix: make the tags column have a fixed width ( #2451 )
...
By setting a fixed width in the tags column we can save some extra
space.
2022-11-16 16:05:17 +00:00
Mateusz Kwasniewski
e25a108ea8
add comment with current user avatar ( #2452 )
2022-11-16 17:03:05 +01:00
Fredrik Strand Oseberg
978674e33a
feat: update strategy segments with edit / create strategy ( #2420 )
...
* Refactors how we add / edit segments to make it more ergonomic to work with in regards to change requests
2022-11-16 15:35:39 +01:00
Mateusz Kwasniewski
51ad239553
first draft of the comments ui ( #2440 )
2022-11-16 11:45:27 +01:00
renovate[bot]
8dac08c5aa
chore(deps): update dependency @swc/core to v1.3.18 ( #2445 )
...
[![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.17` ->
`1.3.18`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.17/1.3.18 ) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.18/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.18/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.18/compatibility-slim/1.3.17 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.18/confidence-slim/1.3.17 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>swc-project/swc</summary>
###
[`v1.3.18`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#​1318---2022-11-16 )
[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.3.17...v1.3.18 )
##### Bug Fixes
- **(es/minifier)** Fix code for dropping unreachable statements
([#​6429](https://togithub.com/swc-project/swc/issues/6429 ))
([bb544ba](bb544ba2f5
))
- **(es/modules)** Fix `jsc.paths`
([#​6454](https://togithub.com/swc-project/swc/issues/6454 ))
([05d185d](05d185d59b
))
- **(es/plugins/proxy)** Adjust import with compile time flags
([#​6451](https://togithub.com/swc-project/swc/issues/6451 ))
([f14b156](f14b156a60
))
- **(html/minifier)** Fix script/style merging
([#​6443](https://togithub.com/swc-project/swc/issues/6443 ))
([1dfd8ce](1dfd8cef88
))
- **(xml/parser)** Fix parsing of pi
([#​6450](https://togithub.com/swc-project/swc/issues/6450 ))
([6388920](638892071a
))
##### Features
- **(css/parser)** Add `parse_string_input`
([#​6441](https://togithub.com/swc-project/swc/issues/6441 ))
([9600308](9600308108
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNi4wIiwidXBkYXRlZEluVmVyIjoiMzQuMjYuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 10:12:00 +00:00
andreas-unleash
48c340585b
Copy strategy bug fix ( #2444 )
...
<!-- 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! ❤️ -->
This PR fixes a bug where when you copy a strategy, instead of the
strategy being copied to the target environment, it was copied to the
source environment
## 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? -->
2022-11-16 09:43:23 +02:00
renovate[bot]
5761aabb76
chore(deps): update dependency msw to v0.48.3 ( #2443 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io/ ) ([source](https://togithub.com/mswjs/msw )) |
[`0.48.2` ->
`0.48.3`](https://renovatebot.com/diffs/npm/msw/0.48.2/0.48.3 ) |
[![age](https://badges.renovateapi.com/packages/npm/msw/0.48.3/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/msw/0.48.3/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/msw/0.48.3/compatibility-slim/0.48.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/msw/0.48.3/confidence-slim/0.48.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mswjs/msw</summary>
### [`v0.48.3`](https://togithub.com/mswjs/msw/releases/tag/v0.48.3 )
[Compare
Source](https://togithub.com/mswjs/msw/compare/v0.48.2...v0.48.3 )
#### v0.48.3 (2022-11-15)
##### Bug Fixes
- **SetupApi:** validate given request handlers
([#​1460](https://togithub.com/mswjs/msw/issues/1460 ))
([`a06a944`](a06a9447d0
))
[@​kettanaito](https://togithub.com/kettanaito )
- inline `statuses` dependency during the build
([#​1458](https://togithub.com/mswjs/msw/issues/1458 ))
([`99d49f9`](99d49f9b1e
))
[@​mattcosta7](https://togithub.com/mattcosta7 )
[@​kettanaito](https://togithub.com/kettanaito )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 04:56:29 +00:00
renovate[bot]
e29b7d6738
chore(deps): update material-ui monorepo ( #2432 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@mui/icons-material](https://mui.com/material-ui/material-icons/ )
([source](https://togithub.com/mui/material-ui )) | [`5.10.9` ->
`5.10.14`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.10.9/5.10.14 )
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/compatibility-slim/5.10.9 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2ficons-material/5.10.14/confidence-slim/5.10.9 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [@mui/lab](https://mui.com/material-ui/about-the-lab/ )
([source](https://togithub.com/mui/material-ui )) | [`5.0.0-alpha.107` ->
`5.0.0-alpha.108`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.107/5.0.0-alpha.108 )
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/compatibility-slim/5.0.0-alpha.107 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2flab/5.0.0-alpha.108/confidence-slim/5.0.0-alpha.107 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [@mui/material](https://mui.com/material-ui/getting-started/overview/ )
([source](https://togithub.com/mui/material-ui )) | [`5.10.13` ->
`5.10.14`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.10.13/5.10.14 )
|
[![age](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/compatibility-slim/5.10.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mui%2fmaterial/5.10.14/confidence-slim/5.10.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mui/material-ui (@​mui/icons-material)</summary>
###
[`v5.10.14`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#v51014 )
[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.10.9...v5.10.14 )
<!-- generated comparing v5.10.13..master -->
*Nov 14, 2022*
A big thanks to the 17 contributors who made this release possible. Here
are some highlights ✨ :
- 🚀 [@​siriwatknp](https://togithub.com/siriwatknp ) added the
Autocomplete component to the Joy UI
([#​34315](https://togithub.com/mui/material-ui/issues/34315 ))
- ♿ [@​sfavello](https://togithub.com/sfavello ) improved the
accessibility of the Material UI's Autocomplete by adding support for
the Delete key
([#​33822](https://togithub.com/mui/material-ui/issues/33822 ))
- Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure
improvements.
##### `@mui/material@5.10.14`
- \[Material UI] Add `palette.background.defaultChannel` token
([#​35061](https://togithub.com/mui/material-ui/issues/35061 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- \[Autocomplete] Remove tags with the Delete key
([#​33822](https://togithub.com/mui/material-ui/issues/33822 ))
[@​sfavello](https://togithub.com/sfavello )
- \[IconButton] custom color causes type error
([#​34521](https://togithub.com/mui/material-ui/issues/34521 ))
[@​kushagra010](https://togithub.com/kushagra010 )
##### `@mui/system@5.10.14`
- \[Unstable_Gridv2] sorted responsize keys based on breakpoint value
([#​34987](https://togithub.com/mui/material-ui/issues/34987 ))
[@​sai6855](https://togithub.com/sai6855 )
##### `@mui/joy@5.0.0-alpha.54`
- \[Joy] Export `FormControl`, `LinearProgress` and `ListSubheader`
components from `@mui/joy`
([#​35003](https://togithub.com/mui/material-ui/issues/35003 ))
[@​Studio384](https://togithub.com/Studio384 )
- \[Joy] Miscellaneous fixes
([#​35044](https://togithub.com/mui/material-ui/issues/35044 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- \[Joy] Add `Autocomplete` component
([#​34315](https://togithub.com/mui/material-ui/issues/34315 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- \[Joy] Saturate a bit the gray palette
([#​35148](https://togithub.com/mui/material-ui/issues/35148 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- \[Autocomplete]\[joy] Fix types
([#​35153](https://togithub.com/mui/material-ui/issues/35153 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
##### Docs
- \[blog] Fix font size of code blocks on iOS
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs] Accessibility - increase default contrastThreshold for WCAG AA
compliance
([#​34901](https://togithub.com/mui/material-ui/issues/34901 ))
[@​kennethbigler](https://togithub.com/kennethbigler )
- \[docs] Correct the keepMounted section on the Drawer page
([#​35076](https://togithub.com/mui/material-ui/issues/35076 ))
[@​michaldudak](https://togithub.com/michaldudak )
- \[docs] Fix code editor styles mismatches
([#​35108](https://togithub.com/mui/material-ui/issues/35108 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs] Allows to access the next MUI-X
([#​34798](https://togithub.com/mui/material-ui/issues/34798 ))
[@​alexfauquette](https://togithub.com/alexfauquette )
- \[docs] Fix bugs with live edit demos
([#​35106](https://togithub.com/mui/material-ui/issues/35106 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs] Fix `MarkdownElement` regression from adding CSS variables
([#​35096](https://togithub.com/mui/material-ui/issues/35096 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- \[docs] Add a new gold sponsor
([#​35089](https://togithub.com/mui/material-ui/issues/35089 ))
[@​hbjORbj](https://togithub.com/hbjORbj )
- \[docs] Fix scroll issue on expanded live demos
([#​35064](https://togithub.com/mui/material-ui/issues/35064 ))
[@​bharatkashyap](https://togithub.com/bharatkashyap )
- \[docs] Improve alignment of the sponsors
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs] Improve code font family v2
([#​35053](https://togithub.com/mui/material-ui/issues/35053 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs] Upgrade to Next.js 13
([#​35001](https://togithub.com/mui/material-ui/issues/35001 ))
[@​mnajdova](https://togithub.com/mnajdova )
- \[docs] Fix typo in changelog
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs] Update Joy UI templates to use latest components
([#​35058](https://togithub.com/mui/material-ui/issues/35058 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- \[website] Fix design kits showcase throwing an error
([#​35093](https://togithub.com/mui/material-ui/issues/35093 ))
[@​cherniavskii](https://togithub.com/cherniavskii )
- \[website] Fix margin bug on CTA
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[website] Link respective repositories in product pages
([#​35046](https://togithub.com/mui/material-ui/issues/35046 ))
[@​sidtohan](https://togithub.com/sidtohan )
- \[website] Migrate blog pages to use CSS theme variables
([#​34976](https://togithub.com/mui/material-ui/issues/34976 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- \[website] Update DoiT International logo and links with new brand
([#​35030](https://togithub.com/mui/material-ui/issues/35030 ))
[@​ofir5300](https://togithub.com/ofir5300 )
- \[website] Improve visual design app bar
([#​35111](https://togithub.com/mui/material-ui/issues/35111 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
##### Core
- \[core] Convert scripts to ES modules
([#​35036](https://togithub.com/mui/material-ui/issues/35036 ))
[@​michaldudak](https://togithub.com/michaldudak )
- \[core] Show the whole version to make blame easier
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[core] Polish GitHub Action version
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[core] Ignore icons to speed up CodeQL
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[core] Feedback on branch protection
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[core] Revert CI
([#​35098](https://togithub.com/mui/material-ui/issues/35098 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- \[core] Fix job name to match the CI
([#​35097](https://togithub.com/mui/material-ui/issues/35097 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- \[core] ESLint fixes for tests
([#​34924](https://togithub.com/mui/material-ui/issues/34924 ))
[@​Janpot](https://togithub.com/Janpot )
- \[core] Ignore unrelated folders from github actions
([#​35028](https://togithub.com/mui/material-ui/issues/35028 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- \[core] Use pretty-quick instead of custom script
([#​34062](https://togithub.com/mui/material-ui/issues/34062 ))
[@​Janpot](https://togithub.com/Janpot )
All contributors of this release in alphabetical order:
[@​alexfauquette](https://togithub.com/alexfauquette ),
[@​bharatkashyap](https://togithub.com/bharatkashyap ),
[@​cherniavskii](https://togithub.com/cherniavskii ),
[@​danilo-leal](https://togithub.com/danilo-leal ),
[@​hbjORbj](https://togithub.com/hbjORbj ),
[@​Janpot](https://togithub.com/Janpot ),
[@​kennethbigler](https://togithub.com/kennethbigler ),
[@​kushagra010](https://togithub.com/kushagra010 ),
[@​michaldudak](https://togithub.com/michaldudak ),
[@​mnajdova](https://togithub.com/mnajdova ),
[@​ofir5300](https://togithub.com/ofir5300 ),
[@​oliviertassinari](https://togithub.com/oliviertassinari ),
[@​sai6855](https://togithub.com/sai6855 ),
[@​sfavello](https://togithub.com/sfavello ),
[@​sidtohan](https://togithub.com/sidtohan ),
[@​siriwatknp](https://togithub.com/siriwatknp ),
[@​Studio384](https://togithub.com/Studio384 )
</details>
<details>
<summary>mui/material-ui (@​mui/lab)</summary>
###
[`v5.0.0-alpha.108`](2f4c2190d1...c2da6de1c5
)
[Compare
Source](2f4c2190d1...c2da6de1c5
)
</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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 02:07:58 +00:00
renovate[bot]
3638f0d09a
chore(deps): update dependency @codemirror/state to v6.1.4 ( #2441 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@codemirror/state](https://togithub.com/codemirror/state ) | [`6.1.3`
->
`6.1.4`](https://renovatebot.com/diffs/npm/@codemirror%2fstate/6.1.3/6.1.4 )
|
[![age](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.4/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.4/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.4/compatibility-slim/6.1.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.4/confidence-slim/6.1.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>codemirror/state</summary>
###
[`v6.1.4`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#​614-2022-11-15 )
[Compare
Source](https://togithub.com/codemirror/state/compare/6.1.3...6.1.4 )
##### Bug fixes
Fix a bug that caused the `openStart` value passed to span iterators to
be incorrect around widgets in some circumstances.
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 22:27:26 +00:00
renovate[bot]
c1abac2a18
chore(deps): update dependency vite to v3.2.4 ( #2437 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite](https://togithub.com/vitejs/vite/tree/main/#readme )
([source](https://togithub.com/vitejs/vite )) | [`3.2.3` ->
`3.2.4`](https://renovatebot.com/diffs/npm/vite/3.2.3/3.2.4 ) |
[![age](https://badges.renovateapi.com/packages/npm/vite/3.2.4/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/vite/3.2.4/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/vite/3.2.4/compatibility-slim/3.2.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/vite/3.2.4/confidence-slim/3.2.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>vitejs/vite</summary>
### [`v3.2.4`](https://togithub.com/vitejs/vite/releases/tag/v3.2.4 )
[Compare
Source](https://togithub.com/vitejs/vite/compare/v3.2.3...v3.2.4 )
Please refer to
[CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v3.2.4/packages/vite/CHANGELOG.md )
for details.
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 18:37:33 +00:00
renovate[bot]
3628258dbf
chore(deps): update dependency @swc/core to v1.3.17 ( #2431 )
...
[![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.16` ->
`1.3.17`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.16/1.3.17 ) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.17/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.17/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.17/compatibility-slim/1.3.16 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.17/confidence-slim/1.3.16 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>swc-project/swc</summary>
###
[`v1.3.17`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#​1317---2022-11-15 )
[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.3.16...v1.3.17 )
##### Bug Fixes
- **(bindings)** Revert
[#​6436](https://togithub.com/swc-project/swc/issues/6436 )
([#​6444](https://togithub.com/swc-project/swc/issues/6444 ))
([948e35b](948e35bcd6
))
- **(css/parser)** Fix a bug with scope in block
([#​6402](https://togithub.com/swc-project/swc/issues/6402 ))
([3d7545d](3d7545d89b
))
- **(es/compat)** Improve `destructuring` pass
([#​6412](https://togithub.com/swc-project/swc/issues/6412 ))
([6728603](67286032b1
))
- **(es/compat)** Fix span hygiene of function naming pass
([#​6345](https://togithub.com/swc-project/swc/issues/6345 ))
([81a4bb3](81a4bb304a
))
- **(es/minifier)** Preserve op of the op-assignments in seq inliner
([#​6428](https://togithub.com/swc-project/swc/issues/6428 ))
([5fd7ab8](5fd7ab87b6
))
- **(es/minifier)** Change the default of `mangle.toplevel` to false
([#​6439](https://togithub.com/swc-project/swc/issues/6439 ))
([99934b0](99934b09f7
))
- **(es/modules)** Fix `jsc.paths` of `.ts` imports
([#​6431](https://togithub.com/swc-project/swc/issues/6431 ))
([9c9c3eb](9c9c3ebd2c
))
##### Miscellaneous Tasks
- **(ci)** Ensure to honor node package manager
([#​6437](https://togithub.com/swc-project/swc/issues/6437 ))
([8ca3cc7](8ca3cc7875
))
##### Refactor
- **(bindings)** Deprecate `JsValue::*_serde`
([#​6436](https://togithub.com/swc-project/swc/issues/6436 ))
([1dd8b3d](1dd8b3d9d5
))
- **(es/plugins)** Simplify `read_result_*`
([#​6426](https://togithub.com/swc-project/swc/issues/6426 ))
([7a1c2a1](7a1c2a1e2c
))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 15:34:23 +00:00
kwasniew
99fd4e831e
4.18.0-beta.7
2022-11-15 13:23:59 +01:00
sjaanus
3ef0ca580a
Remove change request api protection ( #2434 )
...
Remove change request api protection
2022-11-15 14:13:09 +02:00
Nuno Góis
e32b6ad576
fix: update text in environments ( #2433 )
...
Updates the text in some places related with the new environments
updates. Hopefully this makes things even clearer 🙂
2022-11-15 11:08:41 +00:00
Nuno Góis
1ddc46011c
Feature toggles: Filtering by tags ( #2396 )
...
https://linear.app/unleash/issue/UNL-140/experiment-with-filtering-feature-toggles-by-tags-on-the-ui
Going with a naïve approach for now, tags can be searchable the same way
we search for text. The tags column only shows up if at least one toggle
has tags set. There's a simple highlightable component that lets us know
a match was found and then shows all the tags on a tooltip:
<img width="1289" alt="image"
src="https://user-images.githubusercontent.com/14320932/201155093-b8605ff2-5bf7-45c5-b240-a33da254c278.png ">
2022-11-15 10:24:36 +00:00
sjaanus
b891d1ec4f
4.18.0-beta.6
2022-11-15 11:08:31 +02:00
Tymoteusz Czech
a191313956
refactor: remove public signup link feature flag ( #2423 )
...
## About the changes
Cleanup: remove feature flag.
Closes
[1-356/remove-feature-flag-from-the-code](https://linear.app/unleash/issue/1-356/remove-feature-flag-from-the-code )
2022-11-15 10:03:20 +01:00
Tymoteusz Czech
8b057a1466
Show conflicts in change requests ( #2389 )
...
## About the changes
Show warnings about incompatible changes in changesets.
Closes
[1-352/display-conflicts](https://linear.app/unleash/issue/1-352/display-conflicts )
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#2251
2022-11-15 09:53:38 +01:00
Fredrik Strand Oseberg
89f2d81253
fix: copy strategy change request ( #2430 )
...
* Fixes a bug where turning off change requests would not turn off change request for copy strategy
2022-11-15 09:49:44 +01:00
Tymoteusz Czech
49fc31883c
change request help popover ( #2388 )
...
## About the changes
<img width="667" alt="image"
src="https://user-images.githubusercontent.com/2625371/201094916-52d9de4e-36a5-4c1e-894d-b9cb2296f612.png ">
2022-11-15 09:42:29 +01:00
Mateusz Kwasniewski
4f65ad555f
Changeset comments schema ( #2425 )
2022-11-15 09:15:56 +01:00
renovate[bot]
ca328d6bcf
chore(deps): update dependency @types/jest to v29.2.3 ( #2427 )
...
[![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/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped )) |
[`29.2.2` ->
`29.2.3`](https://renovatebot.com/diffs/npm/@types%2fjest/29.2.2/29.2.3 )
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/compatibility-slim/29.2.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/confidence-slim/29.2.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMy4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjMuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-15 01:59:36 +00:00
renovate[bot]
8da1b5628c
chore(deps): update dependency vitest to v0.25.2 ( #2421 )
...
[![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.25.1` ->
`0.25.2`](https://renovatebot.com/diffs/npm/vitest/0.25.1/0.25.2 ) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.25.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.25.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.25.2/compatibility-slim/0.25.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.25.2/confidence-slim/0.25.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>vitest-dev/vitest</summary>
###
[`v0.25.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.2 )
[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.1...v0.25.2 )
##### 🐞 Bug Fixes
- Dates are equal, if both are invalid - by
[@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/2326 ](https://togithub.com/vitest-dev/vitest/issues/2326 )
- Don't ignore properties, when put on a default function in CJS context
- by [@​sheremet-va](https://togithub.com/sheremet-va ) in
[https://github.com/vitest-dev/vitest/issues/2325 ](https://togithub.com/vitest-dev/vitest/issues/2325 )
##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.1...v0.25.2 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMy4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjMuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-14 19:55:34 +00:00
renovate[bot]
b5f969cc42
chore(deps): update dependency copy-to-clipboard to v3.3.3 ( #2413 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [copy-to-clipboard](https://togithub.com/sudodoki/copy-to-clipboard ) |
[`3.3.2` ->
`3.3.3`](https://renovatebot.com/diffs/npm/copy-to-clipboard/3.3.2/3.3.3 )
|
[![age](https://badges.renovateapi.com/packages/npm/copy-to-clipboard/3.3.3/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/copy-to-clipboard/3.3.3/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/copy-to-clipboard/3.3.3/compatibility-slim/3.3.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/copy-to-clipboard/3.3.3/confidence-slim/3.3.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>sudodoki/copy-to-clipboard</summary>
###
[`v3.3.3`](https://togithub.com/sudodoki/copy-to-clipboard/compare/v3.3.2...ca33966a5e030c7d18bd3b193654eb2e59c86e04 )
[Compare
Source](https://togithub.com/sudodoki/copy-to-clipboard/compare/v3.3.2...ca33966a5e030c7d18bd3b193654eb2e59c86e04 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMy4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjMuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-14 16:27:49 +00:00
sjaanus
131ebb931a
Permission guards in existing endpoints interacting with feature toggle configuration ( #2418 )
...
This PR adds permission guards for operations.
1. Toggling feature flag
2. Adding a strategy
3. Updating a strategy
4. Deleting a strategy
2022-11-14 15:05:26 +02:00
Simon Hornby
3624cdc21f
docs: move sso how to guides to the how-to folder ( #2323 )
...
We're in the process of moving how-to guides into the how-to folder,
where they belong. This continues that work and shifts the how to guides
for SSO to the correct place and gives them appropriate names
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-14 14:11:27 +02:00
Fredrik Strand Oseberg
900c50b8c8
fix: remove uneccesary code ( #2417 )
...
* Removes dead code from the ProjectOverview.tsx component
2022-11-14 12:54:41 +01:00
Fredrik Strand Oseberg
4689705f45
feat: update hook to use change request settings ( #2406 )
...
* Refactors the hook to use the change request settings from the API
2022-11-14 12:34:38 +01:00
Gard Rimestad
a425bcb3b8
feat: upload main branch builds to cdn ( #2415 )
...
This enables us to run tip of main builds of enterprise pointing to the
newest frontend builds.
2022-11-14 11:01:07 +01:00
Ivar Conradi Østhus
309ba68a31
Update import-export.md
2022-11-14 10:24:20 +01:00
Nuno Góis
bd686eb246
fix: improve drag behaviour when using handle ( #2407 )
...
Fixes a small bug that caused the item to be draggable when clicking
outside of the handle, when using a handle. Basically resets the
draggable state when (re)entering the container.
2022-11-14 08:25:20 +00:00
Thomas Heartman
29da625195
chore: update docusaurus/openapi integration to stable version ( #2414 )
...
## What
This PR updates the version of the docusaurus-openapi plugin we depend
on for openapi docs generation from canary version 0.0.0-514 to stable
release 1.4.4.
Also removes the manual file cleanup that was created as a workaround to
solve the issues we were having.
## Why
When we set the canary version before the weekend it was because it
contained a fix of some of the issues we were having with our docs.
That issue (and the one about file cleanup) have now been released in
v1.4.4, so we can upgrade to a stable version and remove now-redundant
cleanup code.
2022-11-14 08:52:46 +01:00
renovate[bot]
d04b41fce4
chore(deps): update dependency @swc/core to v1.3.16 ( #2412 )
...
[![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.15` ->
`1.3.16`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.15/1.3.16 ) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.16/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.16/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.16/compatibility-slim/1.3.15 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.16/confidence-slim/1.3.15 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>swc-project/swc</summary>
###
[`v1.3.16`](https://togithub.com/swc-project/swc/compare/v1.3.15...v1.3.16 )
[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.3.15...v1.3.16 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMy4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjMuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-13 17:34:57 +00:00
renovate[bot]
e378e08644
chore(deps): update dependency msw to v0.48.2 ( #2411 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [msw](https://mswjs.io/ ) ([source](https://togithub.com/mswjs/msw )) |
[`0.48.1` ->
`0.48.2`](https://renovatebot.com/diffs/npm/msw/0.48.1/0.48.2 ) |
[![age](https://badges.renovateapi.com/packages/npm/msw/0.48.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/msw/0.48.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/msw/0.48.2/compatibility-slim/0.48.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/msw/0.48.2/confidence-slim/0.48.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mswjs/msw</summary>
### [`v0.48.2`](https://togithub.com/mswjs/msw/releases/tag/v0.48.2 )
[Compare
Source](https://togithub.com/mswjs/msw/compare/v0.48.1...v0.48.2 )
#### v0.48.2 (2022-11-13)
##### Bug Fixes
- resolve absolute worker url against the current path
([#​1456](https://togithub.com/mswjs/msw/issues/1456 ))
([`f8d15b4`](f8d15b41a9
))
[@​kettanaito](https://togithub.com/kettanaito )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMy4xIiwidXBkYXRlZEluVmVyIjoiMzQuMjMuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-13 06:00:48 +00:00
renovate[bot]
e33c9728d3
chore(deps): update dependency @swc/core to v1.3.15 ( #2410 )
...
[![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.14` ->
`1.3.15`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.14/1.3.15 ) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.15/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.15/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.15/compatibility-slim/1.3.14 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.15/confidence-slim/1.3.14 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>swc-project/swc</summary>
###
[`v1.3.15`](https://togithub.com/swc-project/swc/compare/v1.3.14...v1.3.15 )
[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.3.14...v1.3.15 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuMjEuNiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 12:29:37 +00:00
renovate[bot]
ca2c96de52
chore(deps): update dependency @babel/core to v7.20.2 ( #2371 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core )
([source](https://togithub.com/babel/babel )) | [`7.19.6` ->
`7.20.2`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.19.6/7.20.2 )
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.2/compatibility-slim/7.19.6 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.2/confidence-slim/7.19.6 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel</summary>
###
[`v7.20.2`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7202-2022-11-04 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.19.6...v7.20.2 )
##### 🐛 Bug Fix
- `babel-core`, `babel-helper-create-class-features-plugin`,
`babel-helper-module-transforms`, `babel-helper-plugin-utils`,
`babel-helper-simple-access`, `babel-node`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-react-constant-elements`, `babel-preset-env`,
`babel-standalone`, `babel-types`
- [#​15124](https://togithub.com/babel/babel/pull/15124 ) fix:
`@babel/node` repl and enable `no-use-before-define` rule
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-plugin-transform-typescript`
- [#​15121](https://togithub.com/babel/babel/pull/15121 ) fix:
`tsSatisfiesExpression` check with different duplicated `@babel/types`
versions ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-parser`
- [#​15094](https://togithub.com/babel/babel/pull/15094 ) fix:
`parser` typings for plugins
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-generator`
- [#​15118](https://togithub.com/babel/babel/pull/15118 ) Improve
printing of \[no LineTerminator here] with comments
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-plugin-proposal-decorators`,
`babel-plugin-proposal-object-rest-spread`,
`babel-plugin-transform-jscript`
- [#​15113](https://togithub.com/babel/babel/pull/15113 ) fix: wrap
anonymous class expression within statement
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-plugin-transform-destructuring`
- [#​15104](https://togithub.com/babel/babel/pull/15104 ) fix:
Destructuring exceptions ` for ( let { } = 0 ; 0 ; ) `
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 08:24:41 +00:00
renovate[bot]
5988148e13
fix(deps): update dependency docusaurus-theme-openapi-docs to v0.0.0-514 ( #2409 )
...
[![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 )
| [`0.0.0-507` ->
`0.0.0-514`](https://renovatebot.com/diffs/npm/docusaurus-theme-openapi-docs/0.0.0-507/0.0.0-514 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/0.0.0-514/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/0.0.0-514/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/0.0.0-514/compatibility-slim/0.0.0-507 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/0.0.0-514/confidence-slim/0.0.0-507 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v0.0.0-514`](795da2f81a...a8ae6e77f4
)
[Compare
Source](795da2f81a...a8ae6e77f4
)
###
[`v0.0.0-513`](e32c9361d2...795da2f81a
)
[Compare
Source](e32c9361d2...795da2f81a
)
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuMjEuNiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 05:54:51 +00:00
renovate[bot]
167ad82a4f
chore(deps): update react-router monorepo to v6.4.3 ( #2368 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router ) | [`6.4.2`
-> `6.4.3`](https://renovatebot.com/diffs/npm/react-router/6.4.2/6.4.3 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.4.3/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.4.3/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.4.3/compatibility-slim/6.4.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.4.3/confidence-slim/6.4.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.4.2` ->
`6.4.3`](https://renovatebot.com/diffs/npm/react-router-dom/6.4.2/6.4.3 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.3/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.3/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.3/compatibility-slim/6.4.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.3/confidence-slim/6.4.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.4.3`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​643 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.4.2...react-router@6.4.3 )
##### Patch Changes
- `useRoutes` should be able to return `null` when passing `locationArg`
([#​9485](https://togithub.com/remix-run/react-router/pull/9485 ))
- fix `initialEntries` type in `createMemoryRouter`
([#​9498](https://togithub.com/remix-run/react-router/pull/9498 ))
- Updated dependencies:
- `@remix-run/router@1.0.3`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.4.3`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​643 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.4.2...react-router-dom@6.4.3 )
##### Patch Changes
- Fix hrefs generated for `createHashRouter`
([#​9409](https://togithub.com/remix-run/react-router/pull/9409 ))
- fix encoding/matching issues with special chars
([#​9477](https://togithub.com/remix-run/react-router/pull/9477 ),
[#​9496](https://togithub.com/remix-run/react-router/pull/9496 ))
- Properly support `index` routes with a `path` in `useResolvedPath`
([#​9486](https://togithub.com/remix-run/react-router/pull/9486 ))
- Respect `relative=path` prop on `NavLink`
([#​9453](https://togithub.com/remix-run/react-router/pull/9453 ))
- Fix `NavLink` behavior for root urls
([#​9497](https://togithub.com/remix-run/react-router/pull/9497 ))
- Updated dependencies:
- `@remix-run/router@1.0.3`
- `react-router@6.4.3`
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 03:27:44 +00:00
renovate[bot]
e924d9da57
fix(deps): update dependency docusaurus-plugin-openapi-docs to v0.0.0-514 ( #2408 )
...
[![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 )
| [`0.0.0-507` ->
`0.0.0-514`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/0.0.0-507/0.0.0-514 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/0.0.0-514/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/0.0.0-514/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/0.0.0-514/compatibility-slim/0.0.0-507 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/0.0.0-514/confidence-slim/0.0.0-507 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v0.0.0-514`](795da2f81a...a8ae6e77f4
)
[Compare
Source](795da2f81a...a8ae6e77f4
)
###
[`v0.0.0-513`](e32c9361d2...795da2f81a
)
[Compare
Source](e32c9361d2...795da2f81a
)
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuMjEuNiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 00:16:33 +00:00
Thomas Heartman
0cd04fc882
chore: fix broken docs build / remove unused tag files ( #2402 )
...
## Issue
So, we've got an issue with our docs build not working. When building
for production, we get an error that looks a little bit like this:
```
$ docusaurus build
[INFO] [en] Creating an optimized production build...
✔ Client
✖ Server
Compiled with some errors in 40.85s
TypeError: source_default(...).bold is not a function
TypeError: source_default(...).bold is not a function
[ERROR] Unable to build website for locale en.
[ERROR] Error: Failed to compile with errors.
at /Users/thomas/projects/work/unleash/website/node_modules/@docusaurus/core/lib/webpack/utils.js:180:24
at /Users/thomas/projects/work/unleash/website/node_modules/webpack/lib/MultiCompiler.js:554:14
at processQueueWorker (/Users/thomas/projects/work/unleash/website/node_modules/webpack/lib/MultiCompiler.js:491:6)
at processTicksAndRejections (node:internal/process/task_queues:78:11)
[INFO] Docusaurus version: 2.2.0
Node version: v16.14.0
error Command failed with exit code 1.
```
Which isn't very helpful at all. If you go into
`/node_modules/@docusaurus/core/lib/client/serverEntry.js` and modify
the `render` function to log the actual error and remove anything
chalk-related, you get this instead:
```
$ docusaurus build
[INFO] [en] Creating an optimized production build...
✔ Client
✖ Server
Compiled with some errors in 44.62s
Actual error: Error: Unexpected: cant find current sidebar in context
at useCurrentSidebarCategory (main:11618:247)
at MDXContent (main:38139:1593)
at Fb (main:149154:44)
at Ib (main:149156:254)
at W (main:149162:89)
at Jb (main:149165:98)
at Ib (main:149157:145)
at W (main:149162:89)
at Jb (main:149165:98)
at Ib (main:149157:145)
Actual error: Error: Unexpected: cant find current sidebar in context
at useCurrentSidebarCategory (main:11618:247)
at MDXContent (main:38513:1469)
at Fb (main:149154:44)
at Ib (main:149156:254)
at W (main:149162:89)
at Jb (main:149165:98)
at Ib (main:149157:145)
at W (main:149162:89)
at Jb (main:149165:98)
at Ib (main:149157:145)
Error: Unexpected: cant find current sidebar in context
Error: Unexpected: cant find current sidebar in context
[ERROR] Unable to build website for locale en.
[ERROR] Error: Failed to compile with errors.
at /Users/thomas/projects/work/unleash/website/node_modules/@docusaurus/core/lib/webpack/utils.js:180:24
at /Users/thomas/projects/work/unleash/website/node_modules/webpack/lib/MultiCompiler.js:554:14
at processQueueWorker (/Users/thomas/projects/work/unleash/website/node_modules/webpack/lib/MultiCompiler.js:491:6)
at processTicksAndRejections (node:internal/process/task_queues:78:11)
[INFO] Docusaurus version: 2.2.0
Node version: v16.14.0
error Command failed with exit code 1.
```
That's better, but it's still not very clear.
## Getting more info
We've had problems with a similar error message before. Last time it was
caused by an empty file that docusaurus couldn't process.
A similar issue has also been described in [ this docusaurus GitHub
issue ](https://github.com/facebook/docusaurus/issues/7686 ). That's also
what gave me the idea of changing the logging in the dependency.
I'm currently unsure whether this is caused by the openapi docs or
something else. I've been in touch with the [openapi plugin
maintainer](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/issues/323 )
and he has been able to see the same error when building for prod
locally, but it was due to some old generated files.
Worth noting: this only seems to affect the prod build. Building for dev
(`yarn docusaurus start`) works just fine. It also fails locally **and**
in CI, so it _is_ an issue.
## Updating the logging
To get better logging, you can go into the
`/node_modules/@docusaurus/core/lib/client/serverEntry.js` file and
update the `render` function from
```js
export default async function render(locals) {
try {
return await doRender(locals);
}
catch (err) {
// We are not using logger in this file, because it seems to fail with some
// compilers / some polyfill methods. This is very likely a bug, but in the
// long term, when we output native ES modules in SSR, the bug will be gone.
// prettier-ignore
console.error(chalk.red(`${chalk.bold('[ERROR]')} Docusaurus server-side rendering could not render static page with path ${chalk.cyan.underline(locals.path)}.`));
const isNotDefinedErrorRegex = /(?:window|document|localStorage|navigator|alert|location|buffer|self) is not defined/i;
if (isNotDefinedErrorRegex.test(err.message)) {
// prettier-ignore
console.info(`${chalk.cyan.bold('[INFO]')} It looks like you are using code that should run on the client-side only.
To get around it, try using ${chalk.cyan('`<BrowserOnly>`')} (${chalk.cyan.underline('https://docusaurus.io/docs/docusaurus-core/#browseronly ')}) or ${chalk.cyan('`ExecutionEnvironment`')} (${chalk.cyan.underline('https://docusaurus.io/docs/docusaurus-core/#executionenvironment ')}).
It might also require to wrap your client code in ${chalk.cyan('`useEffect`')} hook and/or import a third-party library dynamically (if any).`);
}
throw err;
}
}
```
to
```js
export default async function render(locals) {
try {
return await doRender(locals);
}
catch (err) {
console.error(err)
throw err;
}
}
```
That'll yield the errors about the current sidebar in context.
## Root cause
Found the issue! 🙋🏼 It's explained in [this comment on the openapi docs
integration](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/issues/323#issuecomment-1311549864 )
for now, but in short: we have tags defined that we don't use. They're
being picked up by docusaurus, but don't have the proper context. That's
causing this.
The previously mentioned comment is included here for easy finding in
the future:
### Root cause explanation
The OpenAPI spec we use to generate the docs has a number of tags listed
at the root level. This is necessary for this plugin to pick up tag
categories and is, as far as I can tell, also how it _should_ be done.
However, not all of those tags are in use. Specifically, there's 2 tags
that are not.
When the plugin generates docs from the spec, it generates pages for all
endpoints and all tags and groups them by tag. However, it seems likely
that if a tag doesn't have any associated endpoints, then it won't get
added to the sidebar because there's no endpoint that references it.
But the doc files for these tags do end up lying around in the directory
regardless, and when docusaurus tries to pick up the files in the
generated directory, it also tries to pick up the unused tag files. But
because they're not part of a sidebar, they end up throwing errors
because they can't find the sidebar context.
### How I found it
The fact that I got more instances of the error message without the
sidebar ref than with it made me pay more attention to the number of
errors. I decided to check how many files were in the generated
directory and how many files were referenced from the generated sidebar.
Turns out the difference there was **2**: there were two generated files
in the directory that the sidebar didn't reference.
At this point, it was easy enough to try and delete those files before
rebuilding, and wouldn't you know: it worked!
### Our use case
Now, why do we have tags that are unused in the root spec? Can't we just
remove them?
That's a good question with a bit of a complicated answer. Unleash uses
an open core model and the OpenAPI integration is part of that open
core. The closed-source parts of Unleash are located in another repo and
extend the open-source distribution.
Because the OpenAPI spec is configured in the open-source part,
enterprise-only tags etc also need to be configured there. Then, when
the changes are absorbed into enterprise, we can use the tags there.
It gets more complicated because we use an enterprise instance to
generate the docs (because we want enterprise-endpoints to be listed
too). The instance uses the latest released instance of Unleash to have
the docs most accurately reflect the current state of things.
So, in this case, the tags have been added, but not yet used by any
endpoints, which suddenly causes this build failure. We can add the tags
to the enterprise-version, but the spec wouldn't be updated before the
next release regardless, which will probably be in a week or so.
This isn't an ideal setup, but .. it is what it is.
## Solutions and workarounds
As mentioned in the previous section, the reason the build was failing
was that there were unused tag files that docusaurus tried to include in
the build. Because they don't belong to a sidebar, the compilation
failed.
I've reported the issue to the openapi plugin maintainers and am waiting
for a response.
However, it seems that having unused root tags declared is invalid
according to the spec, so it's something we should look into fixing in
the future.
### Current workaround: cleaning script
The current workaround is to extend the api cleaning script to manually
remove the unused tag files.
### Ideal solution: filter root-level tags
Ideally, we shouldn't list unused OpenAPI tags on the root level at all.
However, because of the way we add root-level tags (as a predefined,
static lists, refer to `src/lib/openapi/index.ts`) and endpoints
(dynamically added at runtime) today, we don't really have a clear way
to filter the list of tags. This gets even more complicated when taking
the enterprise functionality and the potential extra tags they must
have.
This is, however, something that should definitely be looked into.
Working with OpenAPI across multipile repos is already troublesome, so
this is just yet another thing to look into.
2022-11-11 15:01:54 +02:00
renovate[bot]
47f991830b
chore(deps): update dependency @codemirror/state to v6.1.3 ( #2394 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@codemirror/state](https://togithub.com/codemirror/state ) | [`6.1.2`
->
`6.1.3`](https://renovatebot.com/diffs/npm/@codemirror%2fstate/6.1.2/6.1.3 )
|
[![age](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.3/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.3/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.3/compatibility-slim/6.1.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@codemirror%2fstate/6.1.3/confidence-slim/6.1.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>codemirror/state</summary>
###
[`v6.1.3`](https://togithub.com/codemirror/state/blob/HEAD/CHANGELOG.md#​613-2022-11-10 )
[Compare
Source](https://togithub.com/codemirror/state/compare/6.1.2...6.1.3 )
##### Bug fixes
Avoid unnecessary calls to computed facet getters when a state is
reconfigured but no dependencies of the computed facet change.
Fix an infinite loop in `RangeSet.eq` when the `to` parameter isn't
given.
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuMjEuNiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-11 13:54:09 +01:00
sjaanus
6ba30a0e31
Merge branch 'main' of https://github.com/Unleash/unleash
2022-11-11 14:25:15 +02:00
sjaanus
a01fab5ff6
4.18.0-beta.5
2022-11-11 14:24:39 +02:00
Fredrik Strand Oseberg
89e5043f32
fix: add discard actions ( #2405 )
...
* Updates the sidebar with discarded actions
2022-11-11 13:24:06 +01:00
andreas-unleash
c57baeb35e
integrate change request settings be ( #2403 )
...
<!-- 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! ❤️ -->
Integrates frontend with the change request settings backedn
## 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? -->
2022-11-11 14:03:30 +02:00
Fredrik Strand Oseberg
70e020ffeb
fix: project access table ( #2404 )
...
* Tweaks the project access table so it fits with the new design
2022-11-11 12:09:04 +01:00
Nuno Góis
2fa154a3e4
Update environments ( #2339 )
...
https://linear.app/unleash/issue/2-357/update-environments-pages
2022-11-11 10:24:56 +00:00
Fredrik Strand Oseberg
b9db7952fb
feat: add permission buttons for change requests ( #2392 )
...
* Adds permission buttons for change requests
2022-11-11 11:04:59 +01:00
andreas-unleash
74c5189159
Feat/add change request settings ( #2390 )
...
<!-- 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! ❤️ -->
Add change_request_settings table
Remove change_request_enabled column
## 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? -->
2022-11-11 10:09:25 +02:00
Thomas Heartman
665638b9da
fix: Fix broken OpenAPI ( #2379 )
...
## What
This change removes the use of double quotes in the
'addPublicSignupTokenUser' endpoint summary. It also changes the
original summary to a description and adds a new, shorter summary.
## Why
The OpenAPI / docusaurus integration errors out (refer to [this failed
build](https://github.com/Unleash/unleash/actions/runs/3434792557/jobs/5726445104 ))
if the frontmatter contains invalid characters. In this case, it's
because the automatic sidebar label contains double quotes, which it
interprets as a new key having been declared:
```
Error: Error while parsing Markdown front matter.
This can happen if you use special characters in front matter values (try using double quotes around that value).
Error: Loading of version failed for version current
Error: Unable to build website for locale en.
Error: YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 4, column 12:
description: "Create a user with the 'viewe ...
^
```
For some reason, I cannot reproduce this error locally. Instead, the
generation goes as expected.
---
Regarding using description instead of summary: summaries should be very
short and sweet, especially because they're also used in the generated
sidebar. Descriptions can be a bit wordier, so I added a shorter summary
for going forward.
## Generated output
This is what the old configuration would generate. Notice the
`sidedar_label` key on line 2:
```md
---
id: add-public-signup-token-user
sidebar_label: Create a user with the "viewer" root role and link them to a signup token
hide_title: true
hide_table_of_contents: true
api: {'tags': ['Public signup tokens'], 'operationId': 'addPublicSignupTokenUser', 'requestBody': {'description': 'createInvitedUserSchema', 'required': true, 'content': {'application/json': {'schema': {'type': 'object', 'additionalProperties': false, 'required': ['email', 'name', 'password'], 'properties': {'username': { 'type': 'string' }, 'email': { 'type': 'string' }, 'name': { 'type': 'string' }, 'password': { 'type': 'string' },},},},},}, 'responses': {'200': {'description': 'userSchema', 'content': {'application/json': {'schema': {'type': 'object', 'additionalProperties': false, 'required': ['id'], 'properties': {'id': {'type': 'number',}, 'isAPI': {'type': 'boolean',}, 'name': {'type': 'string',}, 'email': {'type': 'string',}, 'username': {'type': 'string',}, 'imageUrl': {'type': 'string',}, 'inviteLink': {'type': 'string',}, 'loginAttempts': {'type': 'number',}, 'emailSent': {'type': 'boolean',}, 'rootRole': {'type': 'number',}, 'seenAt': {'type': 'string', 'format': 'date-time', 'nullable': true,}, 'createdAt': {'type': 'string', 'format': 'date-time',},},},},},}, '400': {'description': 'The request data does not match what we expect.',}, '409': {'description': 'The provided resource can not be created or updated because it would conflict with the current state of the resource or with an already existing resource, respectively.',},}, 'parameters': [{'name': 'token', 'in': 'path', 'required': true, 'schema': { 'type': 'string' },},], 'description': 'Create a user with the "viewer" root role and link them to a signup token', 'method': 'post', 'path': '/invite/{token}/signup', 'servers': [{ 'url': '<your-unleash-url>' }], 'security': [{ 'apiKey': [] }], 'securitySchemes': {'apiKey': {'type': 'apiKey', 'in': 'header', 'name': 'Authorization',},}, 'jsonRequestBodyExample': {'username': 'string', 'email': 'string', 'name': 'string', 'password': 'string',}, 'info': { 'title': 'Unleash API', 'version': '4.17.2' }, 'postman': {'name': 'Create a user with the "viewer" root role and link them to a signup token', 'description': { 'type': 'text/plain' }, 'url': {'path': ['invite', ':token', 'signup'], 'host': ['{{baseUrl}}'], 'query': [], 'variable': [{'disabled': false, 'description': {'content': '(Required) ', 'type': 'text/plain',}, 'type': 'any', 'value': '', 'key': 'token',},],}, 'header': [{ 'key': 'Content-Type', 'value': 'application/json' }, { 'key': 'Accept', 'value': 'application/json' },], 'method': 'POST', 'body': {'mode': 'raw', 'raw': '""', 'options': { 'raw': { 'language': 'json' } }}}}
sidebar_class_name: 'post api-method'
info_path: docs/reference/api/unleash/unleash-api
---
import ApiTabs from "@theme/ApiTabs"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; import SchemaItem from "@theme/SchemaItem" import SchemaTabs from "@theme/SchemaTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; import TabItem from "@theme/TabItem";
## Create a user with the "viewer" root role and link them to a signup token
Create a user with the "viewer" root role and link them to a signup token
<!-- And much much more! -->
```
2022-11-10 22:55:01 +01:00