Nnenna Ndukwe
1f7c7940b4
Feature Flags with Python Tutorial ( #6016 )
...
<!-- 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. -->
A new tutorial to get developers to implement feature flags into a
Python Flask app.
We have steps that guide them through the process using a simple
full-stack survey app.
Based off of a reviewed [Google Doc
here](https://docs.google.com/document/d/1YlG-TyQcMEyUrMjiWlYrd-J5DXog5ErbvSKAyuzKAnU/edit#heading=h.ryvmv14764i3 )
The tutorial can go live in the docs nav in a new Python section, where
the Python examples will follow.
### 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? -->
`website/docs/feature-flag-tutorials/python/implementing-feature-flags.md`
## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
---------
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2024-01-24 08:00:33 -05:00
Maximilian Edison
e087f4226f
Docs: Getting Started Self-Hosting unleash ( #6019 )
...
## About the changes
put UNLEASH_DEFAULT_ADMIN_PASSWORD inside ``
2024-01-24 13:06:01 +04:00
Ivar Conradi Østhus
3957abf0f6
docs: Minor typos ( #6014 )
...
Some minor typos in our docs.
2024-01-23 20:19:06 +01:00
Nicholas Haley
ab24264df9
docs: spelling and grammar ( #6007 )
...
<!-- 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. -->
This is a demo that uses [Floe](https://www.floe.dev/ ) to review the
`how-to` directory using the `spelling-and-grammar` rule.
You can read more about the tool here: https://www.floe.dev/docs
2024-01-23 19:52:10 +01:00
Mark Fulton
e9d49d68fd
Docs/license keys ( #5959 )
...
New docs page for the beta license keys feature introduced in Unleash
5.8 for self-hosted enterprise users.
---------
Co-authored-by: Ivar Conradi Østhus <ivar@getunleash.io>
2024-01-23 12:17:10 -05:00
Christopher Kolstad
0515b424cd
docs: Added the new more fine-grained project permissions to the docs ( #6000 )
...
This adds documentation for the 8 new permissions added last week, in
preparation for including them in the 5.9.0 release.
Related
* https://github.com/Unleash/unleash/pull/5932
* https://github.com/Unleash/unleash/pull/5974
* https://github.com/ivarconr/unleash-enterprise/pull/1000
---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2024-01-23 14:13:03 +01:00
Simon Prickett
8458619d82
Small typo fix. ( #5993 )
...
## About the changes
Fixed a small typo "Learnings Paths" -> "Learning Paths".
2024-01-23 11:21:45 +04:00
Mark Fulton
b6a219dd36
docs/improve website README.md with local docs server installation step ( #5956 )
...
Minor addition to set correct local dir context in terminal when setting
up a local docs instance
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-01-22 09:44:31 -05:00
renovate[bot]
277e3e0afd
chore(deps): update react-router monorepo to v6.21.2 ( #5961 )
...
[![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 )
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router ))
| [`6.21.1` ->
`6.21.2`](https://renovatebot.com/diffs/npm/react-router/6.21.1/6.21.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.21.1/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.21.1/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router )
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ))
| [`6.21.1` ->
`6.21.2`](https://renovatebot.com/diffs/npm/react-router-dom/6.21.1/6.21.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.21.1/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.21.1/6.21.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.21.2`](https://togithub.com/remix-run/react-router/compare/react-router@6.21.1...react-router@6.21.2 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.21.1...react-router@6.21.2 )
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.21.2`](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.21.1...react-router-dom@6.21.2 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.21.1...react-router-dom@6.21.2 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 21:18:26 +00:00
Nnenna Ndukwe
b64f8ad800
React examples doc with images and relative links ( #5921 )
...
<!-- 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. -->
This is a large PR with all of the React examples building on top of the
original tutorial.
Based off of this Google Doc:
https://docs.google.com/document/d/1m3ujgyrkJTCGLsEsBr1_eq4HQKqsf-lfvGFDJobns44/edit
I also included updates to the React tutorial links so they are relative
paths, not full URL paths.
I propose we make fast-follow updates to this piece of documentation for
changes we need to make in order to release and iterate on minor
updates.
### 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? -->
website/docs/feature-flag-tutorials/react/examples.md
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-01-18 11:39:25 -05:00
Christopher Kolstad
043beca616
docs: add deprecation notice to Admin tokens ( #5909 )
...
We want to deprecate and eventually remove the option for admin tokens.
This PR updates the docs to inform readers about the deprecation as well
as recommending what they can use instead.
2024-01-18 09:58:40 +01:00
renovate[bot]
d1ea959486
chore(deps): update react-router monorepo to v6.21.1 ( #5886 )
...
[![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 )
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router ))
| [`6.20.1` ->
`6.21.1`](https://renovatebot.com/diffs/npm/react-router/6.20.1/6.21.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.20.1/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.20.1/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router )
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ))
| [`6.20.1` ->
`6.21.1`](https://renovatebot.com/diffs/npm/react-router-dom/6.20.1/6.21.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.20.1/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.20.1/6.21.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.21.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6211 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.21.0...react-router@6.21.1 )
##### Patch Changes
- Fix bug with `route.lazy` not working correctly on initial SPA load
when `v7_partialHydration` is specified
([#​11121](https://togithub.com/remix-run/react-router/pull/11121 ))
- Updated dependencies:
- `@remix-run/router@1.14.1`
###
[`v6.21.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6210 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.20.1...react-router@6.21.0 )
##### Minor Changes
- Add a new `future.v7_relativeSplatPath` flag to implement a breaking
bug fix to relative routing when inside a splat route.
([#​11087](https://togithub.com/remix-run/react-router/pull/11087 ))
This fix was originally added in
[#​10983](https://togithub.com/remix-run/react-router/issues/10983 )
and was later reverted in
[#​11078](https://togithub.com/remix-run/react-router/pull/11078 )
because it was determined that a large number of existing applications
were relying on the buggy behavior (see
[#​11052](https://togithub.com/remix-run/react-router/issues/11052 ))
**The Bug**
The buggy behavior is that without this flag, the default behavior when
resolving relative paths is to *ignore* any splat (`*`) portion of the
current route path.
**The Background**
This decision was originally made thinking that it would make the
concept of nested different sections of your apps in `<Routes>` easier
if relative routing would *replace* the current splat:
```jsx
<BrowserRouter>
<Routes>
<Route path="/" element={<Home />} />
<Route path="dashboard/*" element={<Dashboard />} />
</Routes>
</BrowserRouter>
```
Any paths like `/dashboard`, `/dashboard/team`, `/dashboard/projects`
will match the `Dashboard` route. The dashboard component itself can
then render nested `<Routes>`:
```jsx
function Dashboard() {
return (
<div>
<h2>Dashboard</h2>
<nav>
<Link to="/">Dashboard Home</Link>
<Link to="team">Team</Link>
<Link to="projects">Projects</Link>
</nav>
<Routes>
<Route path="/" element={<DashboardHome />} />
<Route path="team" element={<DashboardTeam />} />
<Route path="projects" element={<DashboardProjects />} />
</Routes>
</div>
);
}
```
Now, all links and route paths are relative to the router above them.
This makes code splitting and compartmentalizing your app really easy.
You could render the `Dashboard` as its own independent app, or embed it
into your large app without making any changes to it.
**The Problem**
The problem is that this concept of ignoring part of a path breaks a lot
of other assumptions in React Router - namely that `"."` always means
the current location pathname for that route. When we ignore the splat
portion, we start getting invalid paths when using `"."`:
```jsx
// If we are on URL /dashboard/team, and we want to link to
/dashboard/team:
function DashboardTeam() {
// ❌ This is broken and results in <a href="/dashboard">
return <Link to=".">A broken link to the Current URL</Link>;
// ✅ This is fixed but super unintuitive since we're already at
/dashboard/team!
return <Link to="./team">A broken link to the Current URL</Link>;
}
```
We've also introduced an issue that we can no longer move our
`DashboardTeam` component around our route hierarchy easily - since it
behaves differently if we're underneath a non-splat route, such as
`/dashboard/:widget`. Now, our `"."` links will, properly point to
ourself *inclusive of the dynamic param value* so behavior will break
from it's corresponding usage in a `/dashboard/*` route.
Even worse, consider a nested splat route configuration:
```jsx
<BrowserRouter>
<Routes>
<Route path="dashboard">
<Route path="*" element={<Dashboard />} />
</Route>
</Routes>
</BrowserRouter>
```
Now, a `<Link to=".">` and a `<Link to="..">` inside the `Dashboard`
component go to the same place! That is definitely not correct!
Another common issue arose in Data Routers (and Remix) where any
`<Form>` should post to it's own route `action` if you the user doesn't
specify a form action:
```jsx
let router = createBrowserRouter({
path: "/dashboard",
children: [
{
path: "*",
action: dashboardAction,
Component() {
// ❌ This form is broken! It throws a 405 error when it submits because
// it tries to submit to /dashboard (without the splat value) and the
parent
// `/dashboard` route doesn't have an action
return <Form method="post">...</Form>;
},
},
],
});
```
This is just a compounded issue from the above because the default
location for a `Form` to submit to is itself (`"."`) - and if we ignore
the splat portion, that now resolves to the parent route.
**The Solution**
If you are leveraging this behavior, it's recommended to enable the
future flag, move your splat to it's own route, and leverage `../` for
any links to "sibling" pages:
```jsx
<BrowserRouter>
<Routes>
<Route path="dashboard">
<Route index path="*" element={<Dashboard />} />
</Route>
</Routes>
</BrowserRouter>
function Dashboard() {
return (
<div>
<h2>Dashboard</h2>
<nav>
<Link to="..">Dashboard Home</Link>
<Link to="../team">Team</Link>
<Link to="../projects">Projects</Link>
</nav>
<Routes>
<Route path="/" element={<DashboardHome />} />
<Route path="team" element={<DashboardTeam />} />
<Route path="projects" element={<DashboardProjects />} />
</Router>
</div>
);
}
```
This way, `.` means "the full current pathname for my route" in all
cases (including static, dynamic, and splat routes) and `..` always
means "my parents pathname".
##### Patch Changes
- Properly handle falsy error values in ErrorBoundary's
([#​11071](https://togithub.com/remix-run/react-router/pull/11071 ))
- Updated dependencies:
- `@remix-run/router@1.14.0`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.21.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6211 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.21.0...react-router-dom@6.21.1 )
##### Patch Changes
- Updated dependencies:
- `react-router@6.21.1`
- `@remix-run/router@1.14.1`
###
[`v6.21.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6210 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.20.1...react-router-dom@6.21.0 )
##### Minor Changes
- Add a new `future.v7_relativeSplatPath` flag to implement a breaking
bug fix to relative routing when inside a splat route.
([#​11087](https://togithub.com/remix-run/react-router/pull/11087 ))
This fix was originally added in
[#​10983](https://togithub.com/remix-run/react-router/issues/10983 )
and was later reverted in
[#​11078](https://togithub.com/remix-run/react-router/pull/11078 )
because it was determined that a large number of existing applications
were relying on the buggy behavior (see
[#​11052](https://togithub.com/remix-run/react-router/issues/11052 ))
**The Bug**
The buggy behavior is that without this flag, the default behavior when
resolving relative paths is to *ignore* any splat (`*`) portion of the
current route path.
**The Background**
This decision was originally made thinking that it would make the
concept of nested different sections of your apps in `<Routes>` easier
if relative routing would *replace* the current splat:
```jsx
<BrowserRouter>
<Routes>
<Route path="/" element={<Home />} />
<Route path="dashboard/*" element={<Dashboard />} />
</Routes>
</BrowserRouter>
```
Any paths like `/dashboard`, `/dashboard/team`, `/dashboard/projects`
will match the `Dashboard` route. The dashboard component itself can
then render nested `<Routes>`:
```jsx
function Dashboard() {
return (
<div>
<h2>Dashboard</h2>
<nav>
<Link to="/">Dashboard Home</Link>
<Link to="team">Team</Link>
<Link to="projects">Projects</Link>
</nav>
<Routes>
<Route path="/" element={<DashboardHome />} />
<Route path="team" element={<DashboardTeam />} />
<Route path="projects" element={<DashboardProjects />} />
</Routes>
</div>
);
}
```
Now, all links and route paths are relative to the router above them.
This makes code splitting and compartmentalizing your app really easy.
You could render the `Dashboard` as its own independent app, or embed it
into your large app without making any changes to it.
**The Problem**
The problem is that this concept of ignoring part of a path breaks a lot
of other assumptions in React Router - namely that `"."` always means
the current location pathname for that route. When we ignore the splat
portion, we start getting invalid paths when using `"."`:
```jsx
// If we are on URL /dashboard/team, and we want to link to
/dashboard/team:
function DashboardTeam() {
// ❌ This is broken and results in <a href="/dashboard">
return <Link to=".">A broken link to the Current URL</Link>;
// ✅ This is fixed but super unintuitive since we're already at
/dashboard/team!
return <Link to="./team">A broken link to the Current URL</Link>;
}
```
We've also introduced an issue that we can no longer move our
`DashboardTeam` component around our route hierarchy easily - since it
behaves differently if we're underneath a non-splat route, such as
`/dashboard/:widget`. Now, our `"."` links will, properly point to
ourself *inclusive of the dynamic param value* so behavior will break
from it's corresponding usage in a `/dashboard/*` route.
Even worse, consider a nested splat route configuration:
```jsx
<BrowserRouter>
<Routes>
<Route path="dashboard">
<Route path="*" element={<Dashboard />} />
</Route>
</Routes>
</BrowserRouter>
```
Now, a `<Link to=".">` and a `<Link to="..">` inside the `Dashboard`
component go to the same place! That is definitely not correct!
Another common issue arose in Data Routers (and Remix) where any
`<Form>` should post to it's own route `action` if you the user doesn't
specify a form action:
```jsx
let router = createBrowserRouter({
path: "/dashboard",
children: [
{
path: "*",
action: dashboardAction,
Component() {
// ❌ This form is broken! It throws a 405 error when it submits because
// it tries to submit to /dashboard (without the splat value) and the
parent
// `/dashboard` route doesn't have an action
return <Form method="post">...</Form>;
},
},
],
});
```
This is just a compounded issue from the above because the default
location for a `Form` to submit to is itself (`"."`) - and if we ignore
the splat portion, that now resolves to the parent route.
**The Solution**
If you are leveraging this behavior, it's recommended to enable the
future flag, move your splat to it's own route, and leverage `../` for
any links to "sibling" pages:
```jsx
<BrowserRouter>
<Routes>
<Route path="dashboard">
<Route index path="*" element={<Dashboard />} />
</Route>
</Routes>
</BrowserRouter>
function Dashboard() {
return (
<div>
<h2>Dashboard</h2>
<nav>
<Link to="..">Dashboard Home</Link>
<Link to="../team">Team</Link>
<Link to="../projects">Projects</Link>
</nav>
<Routes>
<Route path="/" element={<DashboardHome />} />
<Route path="team" element={<DashboardTeam />} />
<Route path="projects" element={<DashboardProjects />} />
</Router>
</div>
);
}
```
This way, `.` means "the full current pathname for my route" in all
cases (including static, dynamic, and splat routes) and `..` always
means "my parents pathname".
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.14.0`
- `react-router@6.21.0`
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 22:46:33 +00:00
Thomas Heartman
b1d7c27124
docs: add a note about suspended change request schedules ( #5874 )
...
This PR describes in closer detail what happens when the user who
scheduled a change request is deleted. It mentions the new suspended
state and what the user can do to get out of it.
2024-01-12 13:18:30 +05:30
renovate[bot]
0210bbba5d
chore(deps): update dependency replace-in-file to v7.1.0 ( #5864 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [replace-in-file](https://togithub.com/adamreisnz/replace-in-file ) |
[`7.0.2` ->
`7.1.0`](https://renovatebot.com/diffs/npm/replace-in-file/7.0.2/7.1.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/replace-in-file/7.1.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/replace-in-file/7.1.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/replace-in-file/7.0.2/7.1.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/replace-in-file/7.0.2/7.1.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>adamreisnz/replace-in-file (replace-in-file)</summary>
###
[`v7.1.0`](40a3b59894...2bec5b78f8
)
[Compare
Source](40a3b59894...2bec5b78f8
)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 21:09:11 +00:00
Thomas Heartman
17d5ac4db5
docs: remove white background from images + zoomed images ( #5846 )
...
This PR does the following:
1. Replaces all images in the anatomy of Unleash doc with new versions
that don't have text on transparent backgrounds. This makes the images
work on both light and dark backgrounds.
2. Removes the white background from images in the docs. This was only
there to make sure the anatomy images worked in dark mode too.
3. Uses the general docs background color (based on your preferred
theme) when zooming in on images.
2024-01-11 09:56:57 +02:00
Thomas Heartman
cb5ed951eb
docs: describe frontend API tokens ( #5784 )
...
This change adds a mention of frontend API tokens to the docs. We've
had this functionality for a while, but it appears not to have been
documented.
Realized this as part of triaging #3005 .
2024-01-09 19:09:02 +01:00
Nnenna Ndukwe
2590b4eaea
React v3 updates from offsite ( #5787 )
...
## About the changes
Adding in all adjustments from the offsite feedback ahead of the
advanced react examples docs.
https://docs.google.com/document/d/1CftjvAo-us23Dub_Z9cDxEVm9GroQf9CtMdbIEUO39E/edit
2024-01-09 08:59:10 -06:00
dependabot[bot]
c81f3c3948
chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /website ( #5797 )
...
Bumps
[follow-redirects](https://github.com/follow-redirects/follow-redirects )
from 1.15.2 to 1.15.4.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="65858205e5
"><code>6585820</code></a>
Release version 1.15.4 of the npm package.</li>
<li><a
href="7a6567e16d
"><code>7a6567e</code></a>
Disallow bracketed hostnames.</li>
<li><a
href="05629af696
"><code>05629af</code></a>
Prefer native URL instead of deprecated url.parse.</li>
<li><a
href="1cba8e85fa
"><code>1cba8e8</code></a>
Prefer native URL instead of legacy url.resolve.</li>
<li><a
href="72bc2a4229
"><code>72bc2a4</code></a>
Simplify _processResponse error handling.</li>
<li><a
href="3d42aecdca
"><code>3d42aec</code></a>
Add bracket tests.</li>
<li><a
href="bcbb096b32
"><code>bcbb096</code></a>
Do not directly set Error properties.</li>
<li><a
href="192dbe7ce6
"><code>192dbe7</code></a>
Release version 1.15.3 of the npm package.</li>
<li><a
href="bd8c81e4f3
"><code>bd8c81e</code></a>
Fix resource leak on destroy.</li>
<li><a
href="9c728c314b
"><code>9c728c3</code></a>
Split linting and testing.</li>
<li>Additional commits viewable in <a
href="https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=follow-redirects&package-manager=npm_and_yarn&previous-version=1.15.2&new-version=1.15.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 15:03:29 +01:00
Ivar Conradi Østhus
1333ea7d63
docs: add redirect for python SDK docs
2024-01-09 11:02:25 +01:00
Ivar Conradi Østhus
5c0cc48ec6
docs: change CNAME for github pages to gh.getunleash.io
2024-01-09 10:27:56 +01:00
Ivar Conradi Østhus
9f12404e4a
docs: fix typo in helm-charts rewrite
2024-01-09 10:09:58 +01:00
Ivar Conradi Østhus
82b16bc74a
docs: add raw rewrites for helm chart
2024-01-09 09:57:07 +01:00
Ivar Conradi Østhus
b8231e6dd6
docs: added robots.txt
2024-01-09 09:53:29 +01:00
Thomas Heartman
a71b513e9a
docs: add image zoom to docs ( #5778 )
...
This PR adds a zoom feature to the docs.
Interact with the images to blow them up to fill the screen. It leaves the header in place and offsets images. It has some problems with particularly large images, but they seem to be edge cases.
2024-01-09 10:23:56 +05:30
renovate[bot]
51d9386548
chore(deps): update dependency browserslist to v4.22.2 ( #5793 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [browserslist](https://togithub.com/browserslist/browserslist ) |
[`4.22.1` ->
`4.22.2`](https://renovatebot.com/diffs/npm/browserslist/4.22.1/4.22.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/browserslist/4.22.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/browserslist/4.22.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/browserslist/4.22.1/4.22.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/browserslist/4.22.1/4.22.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>browserslist/browserslist (browserslist)</summary>
###
[`v4.22.2`](https://togithub.com/browserslist/browserslist/compare/4.22.1...80e045442f16c622643ee5ff6b8b765713b75044 )
[Compare
Source](https://togithub.com/browserslist/browserslist/compare/4.22.1...80e045442f16c622643ee5ff6b8b765713b75044 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 22:22:52 +00:00
Ivar Conradi Østhus
be05974907
docs: fix vercel formatting error
2024-01-08 20:51:17 +01:00
Ivar Conradi Østhus
f040e25377
docs: add helm-charts rewrites
2024-01-08 20:49:04 +01:00
Drew Gorton
02e230f402
Docs: Remove Community Party Banner ( #5789 )
...
Remove banner from docs site: Build passes, banner is removed. Merging
2024-01-08 08:08:30 -06:00
Ivar Conradi Østhus
0258ff5269
docs: test helm redirect x3
2024-01-06 10:01:37 +01:00
renovate[bot]
e91c9f2366
chore(deps): update dependency @babel/core to v7.23.7 ( #5781 )
...
[![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/tree/HEAD/packages/babel-core ))
| [`7.23.6` ->
`7.23.7`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.23.6/7.23.7 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.23.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.23.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.23.6/7.23.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.23.6/7.23.7?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel (@​babel/core)</summary>
###
[`v7.23.7`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7237-2023-12-29 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.23.6...v7.23.7 )
##### 🐛 Bug Fix
- `babel-traverse`
- [#​16191](https://togithub.com/babel/babel/pull/16191 ) fix:
Crash when removing without `Program`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-helpers`, `babel-plugin-proposal-decorators`
- [#​16180](https://togithub.com/babel/babel/pull/16180 ) fix:
Class decorator `ctx.kind` is wrong
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-plugin-proposal-decorators`
- [#​16170](https://togithub.com/babel/babel/pull/16170 ) Fix
decorator initProto usage in derived classes
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-core`
- [#​16167](https://togithub.com/babel/babel/pull/16167 ) Avoid
unpreventable `unhandledRejection` events
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🏠 Internal
- `babel-helper-create-class-features-plugin`
- [#​16186](https://togithub.com/babel/babel/pull/16186 ) chore:
Update deps ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`
- [#​16177](https://togithub.com/babel/babel/pull/16177 ) Merge
decorators into class features
([@​JLHwung](https://togithub.com/JLHwung ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-05 21:36:13 +00:00
Ivar Conradi Østhus
7894d6b554
docs: test helm redirects
2024-01-05 20:50:15 +01:00
Ivar Conradi Østhus
7fc9913c4e
docs: test helm redirects
2024-01-05 20:33:43 +01:00
Ivar Conradi Østhus
093ac96428
docs: enable clean urls in vercel
2024-01-05 19:48:09 +01:00
Jaanus Sellin
d779faf56d
feat: add private collaboration mode docs ( #5750 )
2024-01-04 10:48:02 +02:00
Antonio Ruiz
ea0f2fa7ce
doc: C++ client supports now feature toggle variants. ( #5733 )
2023-12-28 10:22:36 +01:00
Drew Gorton
9683dda8ec
Vercel redirects ( #5728 )
...
Converting Docusaurus redirects (client side) to Vercel server side
format.
Will commit to main for testing on Vercel.
Build works. Merging to main to test at https://docs-new.getunleash.io/
2023-12-22 09:43:54 -06:00
Thomas Heartman
b5f89d357b
docs: schedule change request docs, take 1 ( #5358 )
...
This commit updates the change request docs to talk about how the new
scheduled state works.
The subsection is marked as "in development", saying that it can
change at any moment until the feature is released.
2023-12-22 15:43:47 +01:00
Nnenna Ndukwe
c44601b33c
React Tutorial Improvements ( #5657 )
...
<!-- 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. -->
We've made some first round updates to the React tutorial:
- making it more SEO-friendly with ordered lists, sequential language,
description of the JS library
- Switched over the demo app to point to an open source project:
[Cypress Real World
App](https://github.com/cypress-io/cypress-realworld-app )
- included best practice considerations for client-side development
- updated URL path to point to `/feature-flag-tutorials/react` for
simplification
## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
Would love feedback on if there's a need for more screenshots? Don't
want to be too screenshot-heavy though I imagine.
And need feedback on the descriptions of "Considerations for using
feature flags in react"
https://github.com/Unleash/unleash/compare/react-improvements?expand=1#diff-96d4956f49f80cd76489a72d4d88c2956ce9dcc695f66fe014ad1185e37cb589R21
Want to make sure that what I described makes sense or if it could use
some tweaking to convey the right message clearly.
2023-12-21 10:15:22 -06:00
renovate[bot]
4ab12f92c6
chore(deps): update dependency @babel/core to v7.23.6 ( #5708 )
...
[![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/tree/HEAD/packages/babel-core ))
| [`7.23.3` ->
`7.23.6`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.23.3/7.23.6 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.23.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.23.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.23.3/7.23.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.23.3/7.23.6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel (@​babel/core)</summary>
###
[`v7.23.6`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7236-2023-12-11 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.23.5...v7.23.6 )
##### 👓 Spec Compliance
- `babel-generator`, `babel-parser`, `babel-types`
- [#​16154](https://togithub.com/babel/babel/pull/16154 ) Remove
`TSPropertySignature.initializer`
([@​fisker](https://togithub.com/fisker ))
- `babel-helpers`, `babel-plugin-proposal-decorators`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-class-static-block`,
`babel-plugin-transform-runtime`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`,
`babel-types`
- [#​16139](https://togithub.com/babel/babel/pull/16139 ) Apply
`toPropertyKey` on decorator context name
([@​JLHwung](https://togithub.com/JLHwung ))
##### 🐛 Bug Fix
- `babel-generator`
- [#​16166](https://togithub.com/babel/babel/pull/16166 ) fix:
Correctly indenting when `retainLines` is enabled
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`
- [#​16150](https://togithub.com/babel/babel/pull/16150 ) `using`:
Allow looking up `Symbol.dispose` on a function
([@​odinho](https://togithub.com/odinho ))
- `babel-plugin-proposal-decorators`,
`babel-plugin-transform-class-properties`
- [#​16161](https://togithub.com/babel/babel/pull/16161 ) Ensure
the `[[@​@​toPrimitive]]` call of a decorated class member
key is invoked once ([@​JLHwung](https://togithub.com/JLHwung ))
- [#​16148](https://togithub.com/babel/babel/pull/16148 ) Support
named evaluation for decorated anonymous class exp
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-plugin-transform-for-of`, `babel-preset-env`
- [#​16011](https://togithub.com/babel/babel/pull/16011 ) fix: `for
of` with `iterableIsArray` and shadowing variable
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-helpers`, `babel-plugin-proposal-decorators`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#​16144](https://togithub.com/babel/babel/pull/16144 ) Set
function name for decorated private non-field elements
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-plugin-transform-typescript`
- [#​16137](https://togithub.com/babel/babel/pull/16137 ) Fix
references to enum values with merging
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🔬 Output optimization
- `babel-helper-create-class-features-plugin`,
`babel-plugin-transform-class-properties`
- [#​16159](https://togithub.com/babel/babel/pull/16159 ) Reuse
computed key memoiser ([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-helpers`, `babel-plugin-proposal-decorators`
- [#​16160](https://togithub.com/babel/babel/pull/16160 ) Optimize
decorator helper size
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
###
[`v7.23.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7235-2023-11-29 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.23.3...v7.23.5 )
##### 👓 Spec Compliance
- `babel-plugin-proposal-decorators`
- [#​16138](https://togithub.com/babel/babel/pull/16138 ) Class
binding is in TDZ during decorators initialization
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-helpers`, `babel-plugin-proposal-decorators`
- [#​16132](https://togithub.com/babel/babel/pull/16132 ) Allow
addInitializer in field decorator context
([@​JLHwung](https://togithub.com/JLHwung ))
##### 🚀 New Feature
- [#​16023](https://togithub.com/babel/babel/pull/16023 ) Add
`@babel/eslint-plugin/no-undef` for accessor props
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🐛 Bug Fix
- `babel-traverse`, `babel-types`
- [#​16131](https://togithub.com/babel/babel/pull/16131 ) Do not
remove bindings when removing assignment expression path
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-plugin-transform-classes`
- [#​16135](https://togithub.com/babel/babel/pull/16135 ) Require
class properties transform when compiling class with private fields
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-generator`
- [#​16122](https://togithub.com/babel/babel/pull/16122 ) fix:
Missing parentheses after line break
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-helpers`
- [#​16130](https://togithub.com/babel/babel/pull/16130 ) Fix
helpers internal fns names conflict resolution
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-typescript`
- [#​16123](https://togithub.com/babel/babel/pull/16123 ) Simplify
class fields injetion after `super()`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-generator`, `babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-typescript`, `babel-traverse`
- [#​16110](https://togithub.com/babel/babel/pull/16110 ) fix:
Unexpected duplication of comments
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
##### 🔬 Output optimization
- `babel-helpers`
- [#​16129](https://togithub.com/babel/babel/pull/16129 ) Optimize
`decorator` helper size
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 18:18:19 +00:00
renovate[bot]
53eb1f6b92
chore(deps): update react-router monorepo to v6.20.1 ( #5536 )
...
[![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 )
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router ))
| [`6.16.0` ->
`6.20.1`](https://renovatebot.com/diffs/npm/react-router/6.16.0/6.20.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.20.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.20.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.16.0/6.20.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.16.0/6.20.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router )
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ))
| [`6.16.0` ->
`6.20.1`](https://renovatebot.com/diffs/npm/react-router-dom/6.16.0/6.20.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.20.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.20.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.16.0/6.20.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.16.0/6.20.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.20.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6201 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.20.0...react-router@6.20.1 )
##### Patch Changes
- Revert the `useResolvedPath` fix for splat routes due to a large
number of applications that were relying on the buggy behavior (see
[https://github.com/remix-run/react-router/issues/11052#issuecomment-1836589329 ](https://togithub.com/remix-run/react-router/issues/11052#issuecomment-1836589329 )).
We plan to re-introduce this fix behind a future flag in the next minor
version.
([#​11078](https://togithub.com/remix-run/react-router/pull/11078 ))
- Updated dependencies:
- `@remix-run/router@1.13.1`
###
[`v6.20.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6200 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.19.0...react-router@6.20.0 )
##### Minor Changes
- Export the `PathParam` type from the public API
([#​10719](https://togithub.com/remix-run/react-router/pull/10719 ))
##### Patch Changes
- Fix bug with `resolveTo` in splat routes
([#​11045](https://togithub.com/remix-run/react-router/pull/11045 ))
- This is a follow up to
[#​10983](https://togithub.com/remix-run/react-router/pull/10983 )
to handle the few other code paths using `getPathContributingMatches`
- This removes the `UNSAFE_getPathContributingMatches` export from
`@remix-run/router` since we no longer need this in the
`react-router`/`react-router-dom` layers
- Updated dependencies:
- `@remix-run/router@1.13.0`
###
[`v6.19.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6190 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.18.0...react-router@6.19.0 )
##### Minor Changes
- Add `unstable_flushSync` option to
`useNavigate`/`useSumbit`/`fetcher.load`/`fetcher.submit` to opt-out of
`React.startTransition` and into `ReactDOM.flushSync` for state updates
([#​11005](https://togithub.com/remix-run/react-router/pull/11005 ))
- Remove the `unstable_` prefix from the
[`useBlocker`](https://reactrouter.com/en/main/hooks/use-blocker ) hook
as it's been in use for enough time that we are confident in the API. We
do not plan to remove the prefix from `unstable_usePrompt` due to
differences in how browsers handle `window.confirm` that prevent React
Router from guaranteeing consistent/correct behavior.
([#​10991](https://togithub.com/remix-run/react-router/pull/10991 ))
##### Patch Changes
- Fix `useActionData` so it returns proper contextual action data and
not *any* action data in the tree
([#​11023](https://togithub.com/remix-run/react-router/pull/11023 ))
- Fix bug in `useResolvedPath` that would cause `useResolvedPath(".")`
in a splat route to lose the splat portion of the URL path.
([#​10983](https://togithub.com/remix-run/react-router/pull/10983 ))
- ⚠️ This fixes a quite long-standing bug specifically for `"."` paths
inside a splat route which incorrectly dropped the splat portion of the
URL. If you are relative routing via `"."` inside a splat route in your
application you should double check that your logic is not relying on
this buggy behavior and update accordingly.
- Updated dependencies:
- `@remix-run/router@1.12.0`
###
[`v6.18.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6180 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.17.0...react-router@6.18.0 )
##### Patch Changes
- Fix the `future` prop on `BrowserRouter`, `HashRouter` and
`MemoryRouter` so that it accepts a `Partial<FutureConfig>` instead of
requiring all flags to be included.
([#​10962](https://togithub.com/remix-run/react-router/pull/10962 ))
- Updated dependencies:
- `@remix-run/router@1.11.0`
###
[`v6.17.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6170 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.16.0...react-router@6.17.0 )
##### Patch Changes
- Fix `RouterProvider` `future` prop type to be a
`Partial<FutureConfig>` so that not all flags must be specified
([#​10900](https://togithub.com/remix-run/react-router/pull/10900 ))
- Updated dependencies:
- `@remix-run/router@1.10.0`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.20.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6201 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.20.0...react-router-dom@6.20.1 )
##### Patch Changes
- Revert the `useResolvedPath` fix for splat routes due to a large
number of applications that were relying on the buggy behavior (see
[https://github.com/remix-run/react-router/issues/11052#issuecomment-1836589329 ](https://togithub.com/remix-run/react-router/issues/11052#issuecomment-1836589329 )).
We plan to re-introduce this fix behind a future flag in the next minor
version.
([#​11078](https://togithub.com/remix-run/react-router/pull/11078 ))
- Updated dependencies:
- `react-router@6.20.1`
- `@remix-run/router@1.13.1`
###
[`v6.20.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6200 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.19.0...react-router-dom@6.20.0 )
##### Minor Changes
- Export the `PathParam` type from the public API
([#​10719](https://togithub.com/remix-run/react-router/pull/10719 ))
##### Patch Changes
- Updated dependencies:
- `react-router@6.20.0`
- `@remix-run/router@1.13.0`
###
[`v6.19.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6190 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.18.0...react-router-dom@6.19.0 )
##### Minor Changes
- Add `unstable_flushSync` option to
`useNavigate`/`useSumbit`/`fetcher.load`/`fetcher.submit` to opt-out of
`React.startTransition` and into `ReactDOM.flushSync` for state updates
([#​11005](https://togithub.com/remix-run/react-router/pull/11005 ))
- Allow `unstable_usePrompt` to accept a `BlockerFunction` in addition
to a `boolean`
([#​10991](https://togithub.com/remix-run/react-router/pull/10991 ))
##### Patch Changes
- Fix issue where a changing fetcher `key` in a `useFetcher` that
remains mounted wasn't getting picked up
([#​11009](https://togithub.com/remix-run/react-router/pull/11009 ))
- Fix `useFormAction` which was incorrectly inheriting the `?index`
query param from child route `action` submissions
([#​11025](https://togithub.com/remix-run/react-router/pull/11025 ))
- Fix `NavLink` `active` logic when `to` location has a trailing slash
([#​10734](https://togithub.com/remix-run/react-router/pull/10734 ))
- Updated dependencies:
- `react-router@6.19.0`
- `@remix-run/router@1.12.0`
###
[`v6.18.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6180 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.17.0...react-router-dom@6.18.0 )
##### Minor Changes
- Add support for manual fetcher key specification via `useFetcher({
key: string })` so you can access the same fetcher instance from
different components in your application without prop-drilling
([RFC](https://togithub.com/remix-run/remix/discussions/7698 ))
([#​10960](https://togithub.com/remix-run/react-router/pull/10960 ))
- Fetcher keys are now also exposed on the fetchers returned from
`useFetchers` so that they can be looked up by `key`
- Add `navigate`/`fetcherKey` params/props to `useSumbit`/`Form` to
support kicking off a fetcher submission under the hood with an
optionally user-specified `key`
([#​10960](https://togithub.com/remix-run/react-router/pull/10960 ))
- Invoking a fetcher in this way is ephemeral and stateless
- If you need to access the state of one of these fetchers, you will
need to leverage `useFetcher({ key })` to look it up elsewhere
##### Patch Changes
- Adds a fetcher context to `RouterProvider` that holds completed
fetcher data, in preparation for the upcoming future flag that will
change the fetcher persistence/cleanup behavior
([#​10961](https://togithub.com/remix-run/react-router/pull/10961 ))
- Fix the `future` prop on `BrowserRouter`, `HashRouter` and
`MemoryRouter` so that it accepts a `Partial<FutureConfig>` instead of
requiring all flags to be included.
([#​10962](https://togithub.com/remix-run/react-router/pull/10962 ))
- Updated dependencies:
- `@remix-run/router@1.11.0`
- `react-router@6.18.0`
###
[`v6.17.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6170 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.16.0...react-router-dom@6.17.0 )
##### Minor Changes
- Add experimental support for the [View Transitions
API](https://developer.mozilla.org/en-US/docs/Web/API/ViewTransition )
via `document.startViewTransition` to enable CSS animated transitions on
SPA navigations in your application.
([#​10916](https://togithub.com/remix-run/react-router/pull/10916 ))
The simplest approach to enabling a View Transition in your React Router
app is via the new `<Link unstable_viewTransition>` prop. This will
cause the navigation DOM update to be wrapped in
`document.startViewTransition` which will enable transitions for the DOM
update. Without any additional CSS styles, you'll get a basic cross-fade
animation for your page.
If you need to apply more fine-grained styles for your animations, you
can leverage the `unstable_useViewTransitionState` hook which will tell
you when a transition is in progress and you can use that to apply
classes or styles:
```jsx
function ImageLink(to, src, alt) {
let isTransitioning = unstable_useViewTransitionState(to);
return (
<Link to={to} unstable_viewTransition>
<img
src={src}
alt={alt}
style={{
viewTransitionName: isTransitioning ? "image-expand" : "",
}}
/>
</Link>
);
}
```
You can also use the `<NavLink unstable_viewTransition>` shorthand which
will manage the hook usage for you and automatically add a
`transitioning` class to the `<a>` during the transition:
```css
a.transitioning img {
view-transition-name: "image-expand";
}
```
```jsx
<NavLink to={to} unstable_viewTransition>
<img src={src} alt={alt} />
</NavLink>
```
For an example usage of View Transitions with React Router, check out
[our fork](https://togithub.com/brophdawg11/react-router-records ) of the
[Astro Records](https://togithub.com/Charca/astro-records ) demo.
For more information on using the View Transitions API, please refer to
the [Smooth and simple transitions with the View Transitions
API](https://developer.chrome.com/docs/web-platform/view-transitions/ )
guide from the Google Chrome team.
Please note, that because the `ViewTransition` API is a DOM API, we now
export a specific `RouterProvider` from `react-router-dom` with this
functionality. If you are importing `RouterProvider` from
`react-router`, then it will not support view transitions.
([#​10928](https://togithub.com/remix-run/react-router/pull/10928 )
##### Patch Changes
- Log a warning and fail gracefully in `ScrollRestoration` when
`sessionStorage` is unavailable
([#​10848](https://togithub.com/remix-run/react-router/pull/10848 ))
- Updated dependencies:
- `@remix-run/router@1.10.0`
- `react-router@6.17.0`
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, 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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 10:10:10 +01:00
Ivar Conradi Østhus
637b1b05e0
docs: Validate vercel.docs and build
2023-12-19 20:16:14 +01:00
Ivar Conradi Østhus
9e95a6547e
docs: add vercel.json
2023-12-18 15:34:25 +01:00
Pedro Papadopolis
24c2a70138
feat: Make compression middleware optional ( #5306 )
...
## Why
Currently AWS API Gateway doesn't have compression enabled by default,
this PR will make it easier to for example deploy Unleash over to AWS
Lambda without further configuration in API Gateway, frameworks like
Serverless requires a bit more work to set up compression and some times
one might not need compression at all.
## How
Create a new config flag called `disableCompression` which will not
include `compression` middleware in express' instance when set as true.
2023-12-16 08:06:26 +01:00
Drew Gorton
d41e86771f
Add Banner for New Years Community Party ( #5661 )
...
Link to website signup page
2023-12-16 07:36:08 +01:00
Gard Rimestad
d886c910da
docs: Compare front-end api to edge, not proxy ( #5617 )
...
Proxy is superseeded by edge, lets compare to edge instead of the old
proxy.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-12-14 09:04:44 +01:00
Mateusz Kwasniewski
e32fa396fc
docs: ADR with handling tables ( #5561 )
2023-12-13 11:09:55 +01:00
Gard Rimestad
d6afe80bab
feat: datadog integration - link to valid source type names ( #5608 )
...
Datadog only supports know source_type_names, lets make that easy to
figure out for the user.
2023-12-12 14:37:41 +01:00
Gard Rimestad
685489b9ad
docs: Clarify edge proximity to users ( #5601 )
...
A benefit of hosting your own edge instance is that it will be as close
to end users as you are.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-12-12 12:35:57 +01:00
Gard Rimestad
b9748e0ad6
docs: proxy-hosting link to what frontend api is ( #5602 )
...
Adding links to definition of what frontend api is. Can be confusing for
new users to read without seing what it is.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-12-12 12:35:09 +01:00
Nnenna Ndukwe
7d40ded3c3
Intro React Tutorial ( #5579 )
...
## About the changes
Adding in an initial React tutorial with Unleash! This includes
installing Unleash, creating a React application with Vite, then
integrating Unleash to use with a CSS-focused feature toggle.
### Important files
- New File:
`website/docs/feature-flag-tutorials/react/implementing-feature-flags.md`
- Added new tutorial to navigation in `sidebars.js` and
`docusaurus.config.js`
There is a lot of room to make more advanced use case additions to this
React tutorial. For example, addressing SSR.
I think that'd be good for a future iteration to be helpful to the
community.
2023-12-11 12:07:50 -06:00
Thomas Heartman
0060697c01
docs: document how segment conflicts are handled ( #5577 )
...
As discovered in the recent segments breakathon, the docs aren't very
clear about how conflicts are handled. This PR better documents when
they can't be deleted or moved. It also mentions the edge case where a
segment is used in an archived flag (it still can't be deleted, so you
must either delete the flag, or revive it and remove the segment)
2023-12-11 11:47:23 +01:00
Drew Gorton
87f03ea088
Docs: add redirect to docusaurus.config.js ( #5516 )
...
Docs: Add redirect from '/advanced/groups' to
'/reference/rbac'
2023-12-01 11:18:17 -06:00
Nuno Góis
44d85c0dcd
fix: UI navigation (reverts #5506 ) ( #5512 )
...
Latest version had a UI navigation bug where we wouldn't correctly
navigate to the tab and instead it would add infinitely to the
breadcrumbs / URL:
https://github.com/Unleash/unleash/assets/14320932/509fa528-7f9e-4476-a945-f74393e99dd5
This fixes the UI navigation by reverting
https://github.com/Unleash/unleash/pull/5506
2023-11-30 09:13:16 +00:00
Nuno Góis
2b5efd3883
docs: ADR: Specificity in database column references ( #5499 )
...
https://linear.app/unleash/issue/2-1680/adr-specify-tables-when-querying-columns
This PR includes my suggestion of a "Specificity in database column
references" ADR.
The ADR proposes a standard for explicitly specifying the full table
name or alias for each column in our SQL queries, especially for queries
with joins between multiple tables. This decision is a direct response
to recent ambiguity errors encountered due to a database migration,
emphasizing the need for clearer SQL query standards in complex joins
and schema changes.
---------
Co-authored-by: Mateusz Kwasniewski <kwasniewski.mateusz@gmail.com>
2023-11-30 08:36:44 +00:00
renovate[bot]
108a00a98c
chore(deps): update react-router monorepo to v6.20.0 ( #5506 )
...
[![Mend Renovate logo
banner](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.16.0` ->
`6.20.0`](https://renovatebot.com/diffs/npm/react-router/6.16.0/6.20.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.20.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.20.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.16.0/6.20.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.16.0/6.20.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.16.0` ->
`6.20.0`](https://renovatebot.com/diffs/npm/react-router-dom/6.16.0/6.20.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.20.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.20.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.16.0/6.20.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.16.0/6.20.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.20.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6200 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.19.0...react-router@6.20.0 )
##### Minor Changes
- Export the `PathParam` type from the public API
([#​10719](https://togithub.com/remix-run/react-router/pull/10719 ))
##### Patch Changes
- Fix bug with `resolveTo` in splat routes
([#​11045](https://togithub.com/remix-run/react-router/pull/11045 ))
- This is a follow up to
[#​10983](https://togithub.com/remix-run/react-router/pull/10983 )
to handle the few other code paths using `getPathContributingMatches`
- This removes the `UNSAFE_getPathContributingMatches` export from
`@remix-run/router` since we no longer need this in the
`react-router`/`react-router-dom` layers
- Updated dependencies:
- `@remix-run/router@1.13.0`
###
[`v6.19.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6190 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.18.0...react-router@6.19.0 )
##### Minor Changes
- Add `unstable_flushSync` option to
`useNavigate`/`useSumbit`/`fetcher.load`/`fetcher.submit` to opt-out of
`React.startTransition` and into `ReactDOM.flushSync` for state updates
([#​11005](https://togithub.com/remix-run/react-router/pull/11005 ))
- Remove the `unstable_` prefix from the
[`useBlocker`](https://reactrouter.com/en/main/hooks/use-blocker ) hook
as it's been in use for enough time that we are confident in the API. We
do not plan to remove the prefix from `unstable_usePrompt` due to
differences in how browsers handle `window.confirm` that prevent React
Router from guaranteeing consistent/correct behavior.
([#​10991](https://togithub.com/remix-run/react-router/pull/10991 ))
##### Patch Changes
- Fix `useActionData` so it returns proper contextual action data and
not *any* action data in the tree
([#​11023](https://togithub.com/remix-run/react-router/pull/11023 ))
- Fix bug in `useResolvedPath` that would cause `useResolvedPath(".")`
in a splat route to lose the splat portion of the URL path.
([#​10983](https://togithub.com/remix-run/react-router/pull/10983 ))
- ⚠️ This fixes a quite long-standing bug specifically for `"."` paths
inside a splat route which incorrectly dropped the splat portion of the
URL. If you are relative routing via `"."` inside a splat route in your
application you should double check that your logic is not relying on
this buggy behavior and update accordingly.
- Updated dependencies:
- `@remix-run/router@1.12.0`
###
[`v6.18.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6180 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.17.0...react-router@6.18.0 )
##### Patch Changes
- Fix the `future` prop on `BrowserRouter`, `HashRouter` and
`MemoryRouter` so that it accepts a `Partial<FutureConfig>` instead of
requiring all flags to be included.
([#​10962](https://togithub.com/remix-run/react-router/pull/10962 ))
- Updated dependencies:
- `@remix-run/router@1.11.0`
###
[`v6.17.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6170 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.16.0...react-router@6.17.0 )
##### Patch Changes
- Fix `RouterProvider` `future` prop type to be a
`Partial<FutureConfig>` so that not all flags must be specified
([#​10900](https://togithub.com/remix-run/react-router/pull/10900 ))
- Updated dependencies:
- `@remix-run/router@1.10.0`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.20.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6200 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.19.0...react-router-dom@6.20.0 )
##### Minor Changes
- Export the `PathParam` type from the public API
([#​10719](https://togithub.com/remix-run/react-router/pull/10719 ))
##### Patch Changes
- Updated dependencies:
- `react-router@6.20.0`
- `@remix-run/router@1.13.0`
###
[`v6.19.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6190 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.18.0...react-router-dom@6.19.0 )
##### Minor Changes
- Add `unstable_flushSync` option to
`useNavigate`/`useSumbit`/`fetcher.load`/`fetcher.submit` to opt-out of
`React.startTransition` and into `ReactDOM.flushSync` for state updates
([#​11005](https://togithub.com/remix-run/react-router/pull/11005 ))
- Allow `unstable_usePrompt` to accept a `BlockerFunction` in addition
to a `boolean`
([#​10991](https://togithub.com/remix-run/react-router/pull/10991 ))
##### Patch Changes
- Fix issue where a changing fetcher `key` in a `useFetcher` that
remains mounted wasn't getting picked up
([#​11009](https://togithub.com/remix-run/react-router/pull/11009 ))
- Fix `useFormAction` which was incorrectly inheriting the `?index`
query param from child route `action` submissions
([#​11025](https://togithub.com/remix-run/react-router/pull/11025 ))
- Fix `NavLink` `active` logic when `to` location has a trailing slash
([#​10734](https://togithub.com/remix-run/react-router/pull/10734 ))
- Updated dependencies:
- `react-router@6.19.0`
- `@remix-run/router@1.12.0`
###
[`v6.18.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6180 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.17.0...react-router-dom@6.18.0 )
##### Minor Changes
- Add support for manual fetcher key specification via `useFetcher({
key: string })` so you can access the same fetcher instance from
different components in your application without prop-drilling
([RFC](https://togithub.com/remix-run/remix/discussions/7698 ))
([#​10960](https://togithub.com/remix-run/react-router/pull/10960 ))
- Fetcher keys are now also exposed on the fetchers returned from
`useFetchers` so that they can be looked up by `key`
- Add `navigate`/`fetcherKey` params/props to `useSumbit`/`Form` to
support kicking off a fetcher submission under the hood with an
optionally user-specified `key`
([#​10960](https://togithub.com/remix-run/react-router/pull/10960 ))
- Invoking a fetcher in this way is ephemeral and stateless
- If you need to access the state of one of these fetchers, you will
need to leverage `useFetcher({ key })` to look it up elsewhere
##### Patch Changes
- Adds a fetcher context to `RouterProvider` that holds completed
fetcher data, in preparation for the upcoming future flag that will
change the fetcher persistence/cleanup behavior
([#​10961](https://togithub.com/remix-run/react-router/pull/10961 ))
- Fix the `future` prop on `BrowserRouter`, `HashRouter` and
`MemoryRouter` so that it accepts a `Partial<FutureConfig>` instead of
requiring all flags to be included.
([#​10962](https://togithub.com/remix-run/react-router/pull/10962 ))
- Updated dependencies:
- `@remix-run/router@1.11.0`
- `react-router@6.18.0`
###
[`v6.17.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6170 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.16.0...react-router-dom@6.17.0 )
##### Minor Changes
- Add experimental support for the [View Transitions
API](https://developer.mozilla.org/en-US/docs/Web/API/ViewTransition )
via `document.startViewTransition` to enable CSS animated transitions on
SPA navigations in your application.
([#​10916](https://togithub.com/remix-run/react-router/pull/10916 ))
The simplest approach to enabling a View Transition in your React Router
app is via the new `<Link unstable_viewTransition>` prop. This will
cause the navigation DOM update to be wrapped in
`document.startViewTransition` which will enable transitions for the DOM
update. Without any additional CSS styles, you'll get a basic cross-fade
animation for your page.
If you need to apply more fine-grained styles for your animations, you
can leverage the `unstable_useViewTransitionState` hook which will tell
you when a transition is in progress and you can use that to apply
classes or styles:
```jsx
function ImageLink(to, src, alt) {
let isTransitioning = unstable_useViewTransitionState(to);
return (
<Link to={to} unstable_viewTransition>
<img
src={src}
alt={alt}
style={{
viewTransitionName: isTransitioning ? "image-expand" : "",
}}
/>
</Link>
);
}
```
You can also use the `<NavLink unstable_viewTransition>` shorthand which
will manage the hook usage for you and automatically add a
`transitioning` class to the `<a>` during the transition:
```css
a.transitioning img {
view-transition-name: "image-expand";
}
```
```jsx
<NavLink to={to} unstable_viewTransition>
<img src={src} alt={alt} />
</NavLink>
```
For an example usage of View Transitions with React Router, check out
[our fork](https://togithub.com/brophdawg11/react-router-records ) of the
[Astro Records](https://togithub.com/Charca/astro-records ) demo.
For more information on using the View Transitions API, please refer to
the [Smooth and simple transitions with the View Transitions
API](https://developer.chrome.com/docs/web-platform/view-transitions/ )
guide from the Google Chrome team.
Please note, that because the `ViewTransition` API is a DOM API, we now
export a specific `RouterProvider` from `react-router-dom` with this
functionality. If you are importing `RouterProvider` from
`react-router`, then it will not support view transitions.
([#​10928](https://togithub.com/remix-run/react-router/pull/10928 )
##### Patch Changes
- Log a warning and fail gracefully in `ScrollRestoration` when
`sessionStorage` is unavailable
([#​10848](https://togithub.com/remix-run/react-router/pull/10848 ))
- Updated dependencies:
- `@remix-run/router@1.10.0`
- `react-router@6.17.0`
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 21:35:51 +00:00
renovate[bot]
cc2750f820
chore(deps): update dependency async to v3.2.5 ( #5480 )
...
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [async](https://caolan.github.io/async/ )
([source](https://togithub.com/caolan/async )) | [`3.2.4` ->
`3.2.5`](https://renovatebot.com/diffs/npm/async/3.2.4/3.2.5 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/async/3.2.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/async/3.2.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/async/3.2.4/3.2.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/async/3.2.4/3.2.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>caolan/async (async)</summary>
###
[`v3.2.5`](https://togithub.com/caolan/async/blob/HEAD/CHANGELOG.md#v325 )
[Compare
Source](https://togithub.com/caolan/async/compare/v3.2.4...v3.2.5 )
- Ensure `Error` objects such as `AggregateError` are propagated without
modification
([#​1920](https://togithub.com/caolan/async/issues/1920 ))
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 19:40:53 +00:00
Drew Gorton
aeb86590c6
Update docusaurus.config.js ( #5370 )
...
Add missing redirects for 404s configuring v3 of Unleash
2023-11-28 10:03:32 +01:00
Mateusz Kwasniewski
80fff20bd4
docs: fix go and php versions with dependent flags support ( #5420 )
2023-11-27 13:04:54 +01:00
renovate[bot]
713d69fc7a
chore(deps): update dependency @babel/core to v7.23.3 ( #5422 )
...
[![Mend Renovate logo
banner](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.23.2` ->
`7.23.3`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.23.2/7.23.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.23.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.23.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.23.2/7.23.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.23.2/7.23.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel (@​babel/core)</summary>
###
[`v7.23.3`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7233-2023-11-09 )
[Compare
Source](https://togithub.com/babel/babel/compare/@babel/core@7.23.2...v7.23.3 )
##### 🐛 Bug Fix
- `babel-plugin-transform-typescript`
- [#​16071](https://togithub.com/babel/babel/pull/16071 ) Strip
type-only TS namespaces
([@​colinaaa](https://togithub.com/colinaaa ))
- `babel-generator`
- [#​16078](https://togithub.com/babel/babel/pull/16078 ) Fix
indentation when generating comments with `concise: true`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-compat-data`,
`babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`,
`babel-preset-env`
- [#​14295](https://togithub.com/babel/babel/pull/14295 ) Add a
bugfix plugin for https://crbug.com/v8/12421
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-plugin-transform-object-super`
- [#​15948](https://togithub.com/babel/babel/pull/15948 ) fix:
`super.x` in a loop
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-helper-module-transforms`,
`babel-plugin-transform-modules-amd`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-modules-umd`
- [#​16015](https://togithub.com/babel/babel/pull/16015 ) fix:
handle `__proto__` exports name in CJS/AMD/UMD
([@​magic-akari](https://togithub.com/magic-akari ))
##### 📝 Documentation
- [#​16044](https://togithub.com/babel/babel/pull/16044 ) docs:
Update links in
[@​babel/eslint-parser](https://togithub.com/babel/eslint-parser )
README ([@​aryehb](https://togithub.com/aryehb ))
##### 🏠 Internal
- `babel-core`, `babel-preset-env`
- [#​15988](https://togithub.com/babel/babel/pull/15988 ) Refactor
handling of modules plugins in `preset-env`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🏃♀️ Performance
- `babel-generator`
- [#​16061](https://togithub.com/babel/babel/pull/16061 ) perf:
Improve `@babel/generator` performance
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-traverse`
- [#​16060](https://togithub.com/babel/babel/pull/16060 ) Avoid
dynamic dispatch when calling wrapCheck
([@​yepitschunked](https://togithub.com/yepitschunked ))
##### 🔬 Output optimization
- `babel-plugin-transform-computed-properties`
- [#​6652](https://togithub.com/babel/babel/pull/6652 ) Optimize
computed properties output (byte-wise)
([@​Andarist](https://togithub.com/Andarist ))
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 09:12:23 +00:00
Christopher Kolstad
a6cde07af0
Updated scripts to use owner ( #5341 )
...
See [Linear issue
2-1627](https://linear.app/unleash/issue/2-1627/db-permissions-update-docs-and-migration-guides ).
Since we now use functions, we need more permissions than just GRANT ALL
PERMISSIONS ON DATBASE. In addition we need to be allowed to create
functions in the schema that's actually being used. This PR takes the
easy way out and say that we need OWNER privileges on the database. That
guarantees that we can do all we do in our migration scripts.
### Discussion points
We might encounter some pushback on this, if so, we'll need to say that
we need
`GRANT ALL PRIVILEGES ON ALL FUNCTIONS IN <schema>` in addition to GRANT
ALL PRIVILEGES ON DATABASE, where <schema> is the schema selected in
their configuration.
2023-11-27 07:55:03 +00:00
Christopher Kolstad
24d111c4c5
docs: Update recommended postgres to 14 ( #5240 )
...
We've been caught out here, we added a migration that used PG>=11
syntax, but our docs still state that we support v10, when it reached
EoL Nov 2022. This updates our docs to state v14 and newer, v14 came out
in 2021 and as such won't be EoL until 2026 according to [Postgres 5
year versioning scheme
support](https://www.postgresql.org/support/versioning/ )
2023-11-25 09:27:11 +01:00
Mateusz Kwasniewski
7a8c8c8d29
docs: variants reassignment ( #5372 )
2023-11-21 10:24:35 +01:00
Drew Gorton
fd099e242e
Add redirects from 404 logs ( #5356 )
...
Add more redirects from the docs refactor
2023-11-17 09:38:33 -06:00
Thomas Heartman
dab3dca1e1
chore: Update strategy-constraints.md ( #5360 )
...
Fix a typo: explored -> explore
2023-11-17 13:01:48 +00:00
Gastón Fournier
142e322589
docs: POST and PUT body handling ( #5319 )
...
## About the changes
While working on Terraform I identified some issues with how our backend
handled some requests. This happened because the Terraform client was
unaware of new fields and was not sending them. This resulted in bad
behavior as some of those missing fields were treated in the backend as
`null` and removed existing data from the DB.
This ADR aims to shed some light on the problem and specifies how our
server should handle these requests.
---------
Co-authored-by: Nuno Góis <github@nunogois.com>
2023-11-14 07:56:58 -06:00
Nuno Góis
a001fc1b57
docs: troubleshooting email service ( #5333 )
...
https://linear.app/unleash/issue/SR-173/discussion-question-notification-from-email-doesnt-work
Adds a troubleshooting guide for [email
service](https://docs.getunleash.io/using-unleash/deploy/email-service ),
which includes some knowledge shared in this discussion:
https://github.com/orgs/Unleash/discussions/5323#discussioncomment-7554431
2023-11-14 12:53:34 +00:00
Nuno Góis
0b9e11629d
docs: remove password note ( #5316 )
...
I think this note may no longer make sense.
2023-11-10 08:02:57 +00:00
Victor M
312999066b
fix(docs) small docs typo ( #5283 )
...
## About the changes
- Small typo fix on the docs
Closes #5284
2023-11-06 15:03:21 +00:00
Nuno Góis
f96554fc9c
docs: add slack app redirect ( #5282 )
...
Adds a redirect rule for the Slack App integration (fix current broken
link).
2023-11-06 16:20:00 +02:00
renovate[bot]
75d91360b3
chore(deps): update dependency replace-in-file to v7.0.2 ( #5278 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [replace-in-file](https://togithub.com/adamreisnz/replace-in-file ) |
[`7.0.1` ->
`7.0.2`](https://renovatebot.com/diffs/npm/replace-in-file/7.0.1/7.0.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/replace-in-file/7.0.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/replace-in-file/7.0.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/replace-in-file/7.0.1/7.0.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/replace-in-file/7.0.1/7.0.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>adamreisnz/replace-in-file (replace-in-file)</summary>
###
[`v7.0.2`](a8619da2db...40a3b59894
)
[Compare
Source](a8619da2db...40a3b59894
)
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-06 12:39:01 +00:00
Tommaso A
a10e91238b
chore: fix typos in how-to-add-sso-open-id-connect.md ( #5270 )
2023-11-06 12:19:29 +00:00
dependabot[bot]
0bc2ff928b
chore(deps): Bump postcss from 8.4.19 to 8.4.31 in /website ( #5271 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.19 to
8.4.31.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/postcss/postcss/releases ">postcss's
releases</a>.</em></p>
<blockquote>
<h2>8.4.31</h2>
<ul>
<li>Fixed <code>\r</code> parsing to fix CVE-2023-44270.</li>
</ul>
<h2>8.4.30</h2>
<ul>
<li>Improved source map performance (by <a
href="https://github.com/romainmenke "><code>@romainmenke</code></a>).</li>
</ul>
<h2>8.4.29</h2>
<ul>
<li>Fixed <code>Node#source.offset</code> (by <a
href="https://github.com/idoros "><code>@idoros</code></a>).</li>
<li>Fixed docs (by <a
href="https://github.com/coliff "><code>@coliff</code></a>).</li>
</ul>
<h2>8.4.28</h2>
<ul>
<li>Fixed <code>Root.source.end</code> for better source map (by <a
href="https://github.com/romainmenke "><code>@romainmenke</code></a>).</li>
<li>Fixed <code>Result.root</code> types when <code>process()</code> has
no parser.</li>
</ul>
<h2>8.4.27</h2>
<ul>
<li>Fixed <code>Container</code> clone methods types.</li>
</ul>
<h2>8.4.26</h2>
<ul>
<li>Fixed clone methods types.</li>
</ul>
<h2>8.4.25</h2>
<ul>
<li>Improve stringify performance (by <a
href="https://github.com/romainmenke "><code>@romainmenke</code></a>).</li>
<li>Fixed docs (by <a
href="https://github.com/vikaskaliramna07 "><code>@vikaskaliramna07</code></a>).</li>
</ul>
<h2>8.4.24</h2>
<ul>
<li>Fixed <code>Plugin</code> types.</li>
</ul>
<h2>8.4.23</h2>
<ul>
<li>Fixed warnings in TypeDoc.</li>
</ul>
<h2>8.4.22</h2>
<ul>
<li>Fixed TypeScript support with <code>node16</code> (by <a
href="https://github.com/remcohaszing "><code>@remcohaszing</code></a>).</li>
</ul>
<h2>8.4.21</h2>
<ul>
<li>Fixed <code>Input#error</code> types (by <a
href="https://github.com/hudochenkov "><code>@hudochenkov</code></a>).</li>
</ul>
<h2>8.4.20</h2>
<ul>
<li>Fixed source map generation for childless at-rules like
<code>@layer</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/postcss/postcss/blob/main/CHANGELOG.md ">postcss's
changelog</a>.</em></p>
<blockquote>
<h2>8.4.31</h2>
<ul>
<li>Fixed <code>\r</code> parsing to fix CVE-2023-44270.</li>
</ul>
<h2>8.4.30</h2>
<ul>
<li>Improved source map performance (by Romain Menke).</li>
</ul>
<h2>8.4.29</h2>
<ul>
<li>Fixed <code>Node#source.offset</code> (by Ido Rosenthal).</li>
<li>Fixed docs (by Christian Oliff).</li>
</ul>
<h2>8.4.28</h2>
<ul>
<li>Fixed <code>Root.source.end</code> for better source map (by Romain
Menke).</li>
<li>Fixed <code>Result.root</code> types when <code>process()</code> has
no parser.</li>
</ul>
<h2>8.4.27</h2>
<ul>
<li>Fixed <code>Container</code> clone methods types.</li>
</ul>
<h2>8.4.26</h2>
<ul>
<li>Fixed clone methods types.</li>
</ul>
<h2>8.4.25</h2>
<ul>
<li>Improve stringify performance (by Romain Menke).</li>
<li>Fixed docs (by <a
href="https://github.com/vikaskaliramna07 "><code>@vikaskaliramna07</code></a>).</li>
</ul>
<h2>8.4.24</h2>
<ul>
<li>Fixed <code>Plugin</code> types.</li>
</ul>
<h2>8.4.23</h2>
<ul>
<li>Fixed warnings in TypeDoc.</li>
</ul>
<h2>8.4.22</h2>
<ul>
<li>Fixed TypeScript support with <code>node16</code> (by Remco
Haszing).</li>
</ul>
<h2>8.4.21</h2>
<ul>
<li>Fixed <code>Input#error</code> types (by Aleks Hudochenkov).</li>
</ul>
<h2>8.4.20</h2>
<ul>
<li>Fixed source map generation for childless at-rules like
<code>@layer</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="90208de880
"><code>90208de</code></a>
Release 8.4.31 version</li>
<li><a
href="58cc860b4c
"><code>58cc860</code></a>
Fix carrier return parsing</li>
<li><a
href="4fff8e4cdc
"><code>4fff8e4</code></a>
Improve pnpm test output</li>
<li><a
href="cd43ed1232
"><code>cd43ed1</code></a>
Update dependencies</li>
<li><a
href="caa916bdcb
"><code>caa916b</code></a>
Update dependencies</li>
<li><a
href="8972f76923
"><code>8972f76</code></a>
Typo</li>
<li><a
href="11a5286f78
"><code>11a5286</code></a>
Typo</li>
<li><a
href="45c5501777
"><code>45c5501</code></a>
Release 8.4.30 version</li>
<li><a
href="bc3c341f58
"><code>bc3c341</code></a>
Update linter</li>
<li><a
href="b2be58a2eb
"><code>b2be58a</code></a>
Merge pull request <a
href="https://redirect.github.com/postcss/postcss/issues/1881 ">#1881</a>
from romainmenke/improve-sourcemap-performance--phil...</li>
<li>Additional commits viewable in <a
href="https://github.com/postcss/postcss/compare/8.4.19...8.4.31 ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=postcss&package-manager=npm_and_yarn&previous-version=8.4.19&new-version=8.4.31 )](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 13:15:50 +01:00
Thomas Heartman
edb15f5d00
docs: fix an issue where it goes into an infinite loop when building ( #4596 )
...
This change sets `noRuntimeDownloads` to `true` for
`plugin-remote-content'` to avoid the infinite loop issue mentioned in
https://github.com/rdilweb/docusaurus-plugin-remote-content/issues/51 ,
as described in
https://github.com/rdilweb/docusaurus-plugin-remote-content#noruntimedownloads .
It also updates some of the yarn scripts to generate the required files before `yarn start`, `yarn build`, and `yarn deploy`.
To manually generate the files, run:
```bash
yarn docusaurus download-remote-content-external
yarn docusaurus download-remote-content-sdks
```
2023-11-06 13:13:58 +01:00
Nicolae Socaciu
5c3fe631f0
Updating the docs - how to add strategy constraints ( #5256 )
...
- Adding a new image to indicate that you also need to save the strategy
after you add a constraint
- Adding a new image showing how the edit constraint section looks like
- Update a bit the text to match the new images
2023-11-06 10:24:52 +01:00
Mark Fulton
ba9a217e8f
Docs: Client-side feature flag querying behavior update ( #5244 )
...
Added a detailed explanation into how frontend / client-side SDKs behave
with regards to fetching multiple feature flags and network
connectivity.
Content has been reviewed/approved by engineering rotation team (Simon
and Chris).
2023-11-02 09:43:39 -04:00
Thomas Heartman
5b41abff97
fix(docs): lowercase internal markdown links ( #4963 )
...
Markdown generators (including GitHub) tend to lowercase the titles
when they create anchor links. It appears that the intra-doc links might
not work correctly if they're incorrectly cased.
This fixes the issue by lowercasing any links we find to internal
headers in external documents (such as the SDKs and Edge/Proxy docs).
## Discussion point
Now, there is one potential issue with this: if someone creates an
explicit link in the SDKs that uses uppercase letters, then this might
break the docs build in the future.
However, I think this is unlikely to happen any time soon, and I would
think that it's more likely that people will incorrectly case the header
link.
2023-11-02 10:45:47 +01:00
Drew Gorton
cb2ffdd796
Redirect /unleash-academy/ to /unleash-academy/introduction ( #5234 )
...
Fix redirect
2023-10-31 10:17:50 -05:00
Drew Gorton
b2b19e4970
Navigation refactor ( #5227 )
...
## About the changes
Refactor the main nav, with the following goals:
* Communicate the value of each section vs the format (ex:
“Understanding Unleash” vs “Topic Guides”)
* Make space for the Feature Flag tutorials section that we’re starting
to build
* Scope updates to navigation and pages that need updates based on new
URLs & organization
* Update URLs to follow the new hierarchy without breaking links (adding
redirects & editing internal links between pages as needed)
### Important files
sidebar.js
docusaurus.config.js
## Discussion points
* Redirects can't be tested out of prod, which is a bummer :/
* Some URLs have been preserved untouched while we monitor for potential
negative SEO impact of client-side redirects
* It's a large PR (sorry). Nav changes and file movements impacted lots
of files.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-10-31 09:38:03 -05:00
Gastón Fournier
94916bc46d
docs: improve troubleshooting ( #5233 )
...
## About the changes
Adding details based on customer struggles
2023-10-31 15:00:25 +01:00
dependabot[bot]
dd9343df14
chore(deps): Bump browserify-sign from 4.2.1 to 4.2.2 in /website ( #5176 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 15:53:14 +01:00
dependabot[bot]
3ccefce08a
chore(deps): Bump crypto-js from 4.1.1 to 4.2.0 in /website ( #5152 )
...
Bumps [crypto-js](https://github.com/brix/crypto-js ) from 4.1.1 to
4.2.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="808f499ec7
"><code>808f499</code></a>
Merge branch 'release/4.2.0'</li>
<li><a
href="d5af3ae413
"><code>d5af3ae</code></a>
Update release notes.</li>
<li><a
href="9496e07c9a
"><code>9496e07</code></a>
Bump version.</li>
<li><a
href="421dd538b2
"><code>421dd53</code></a>
Change default hash algorithm and iteration's for PBKDF2 to prevent weak
secu...</li>
<li><a
href="d1f4f4daec
"><code>d1f4f4d</code></a>
Update grunt.</li>
<li><a
href="c7552897a4
"><code>c755289</code></a>
Discontinued</li>
<li><a
href="1da3dabf93
"><code>1da3dab</code></a>
Discontinued</li>
<li><a
href="4dcaa7afd0
"><code>4dcaa7a</code></a>
Merge pull request <a
href="https://redirect.github.com/brix/crypto-js/issues/380 ">#380</a>
from Alanscut/dev</li>
<li><a
href="762feb23a5
"><code>762feb2</code></a>
chore: rename BF to Blowfish</li>
<li><a
href="fb81418583
"><code>fb81418</code></a>
feat: blowfish support</li>
<li>Additional commits viewable in <a
href="https://github.com/brix/crypto-js/compare/4.1.1...4.2.0 ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=crypto-js&package-manager=npm_and_yarn&previous-version=4.1.1&new-version=4.2.0 )](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 15:52:06 +01:00
renovate[bot]
a596077d2c
chore(deps): update dependency @tsconfig/docusaurus to v2.0.2 ( #5178 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tsconfig/docusaurus](https://togithub.com/tsconfig/bases ) | [`2.0.1`
->
`2.0.2`](https://renovatebot.com/diffs/npm/@tsconfig%2fdocusaurus/2.0.1/2.0.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tsconfig%2fdocusaurus/2.0.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tsconfig%2fdocusaurus/2.0.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tsconfig%2fdocusaurus/2.0.1/2.0.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tsconfig%2fdocusaurus/2.0.1/2.0.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>tsconfig/bases (@​tsconfig/docusaurus)</summary>
###
[`v2.0.2`](67905a4200...031273b815
)
[Compare
Source](a1bf7c0fa2...8c9ae60cf2
)
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 16:03:18 +00:00
Nuno Góis
d3bd591b1d
docs: banners ( #5173 )
...
https://linear.app/unleash/issue/2-1486/docs-document-the-new-internal-message-banner-feature
Adds documentation for the "Banners" feature.
- [Banners
reference](https://unleash-docs-git-docs-banners-unleash-team.vercel.app/reference/banners )
- ["How to create and display banners"
guide](https://unleash-docs-git-docs-banners-unleash-team.vercel.app/how-to/how-to-create-and-display-banners )
![image](https://github.com/Unleash/unleash/assets/14320932/66d03dd8-4ae0-48dd-a7a2-aa364123cbf9 )
2023-10-27 09:16:56 -05:00
renovate[bot]
e69ccdc993
chore(deps): update dependency @babel/core to v7.23.2 ( #5175 )
...
[![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.23.0` ->
`7.23.2`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.23.0/7.23.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.23.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.23.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.23.0/7.23.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.23.0/7.23.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel (@​babel/core)</summary>
###
[`v7.23.2`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7232-2023-10-11 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.23.0...@babel/core@7.23.2 )
##### 🐛 Bug Fix
- `babel-traverse`
- [#​16033](https://togithub.com/babel/babel/pull/16033 ) Only
evaluate own String/Number/Math methods
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-preset-typescript`
- [#​16022](https://togithub.com/babel/babel/pull/16022 ) Rewrite
`.tsx` extension when using `rewriteImportExtensions`
([@​jimmydief](https://togithub.com/jimmydief ))
- `babel-helpers`
- [#​16017](https://togithub.com/babel/babel/pull/16017 ) Fix:
fallback to typeof when toString is applied to incompatible object
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-helpers`, `babel-plugin-transform-modules-commonjs`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#​16025](https://togithub.com/babel/babel/pull/16025 ) Avoid
override mistake in namespace imports
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 12:23:00 +00:00
Nuno Góis
496f6bb90c
docs: update availability due to 5.6 release ( #5167 )
...
Maybe we should update availability in our docs, now that 5.6 is
released.
2023-10-27 10:04:17 +01:00
Christopher Kolstad
1bba76413f
feat: make all internal rate limits configurable ( #5095 )
...
### What
This PR makes the rate limit for user creation and simple login (our
password based login) configurable in the same way you can do
metricsRateLimiting.
### Worth noting
In addition this PR adds a `rate_limit{endpoint, method}` prometheus
gauge, which gets the data from the UnleashConfig.
2023-10-26 09:20:29 +02:00
Mark Fulton
34395d3ef9
docs/academy-learning-path-graphic ( #5117 )
...
Added learning path visualization graphic to Academy landing page
2023-10-20 13:51:48 -05:00
Mark Fulton
cb9b6f468b
Docs - Formatting fix academy-advanced-for-devs.md ( #5116 )
...
Minor formatting fix for embedded play info box not displaying correctly
2023-10-20 09:59:55 -04:00
Pranshu Khanna
b5dd8f132f
docs: Added Flutter and Next.js Tutorials
2023-10-19 17:40:00 +02:00
Jaanus Sellin
f3a7bfd470
chore: remove storybook ( #5091 )
2023-10-19 10:22:20 +03:00
Christopher Kolstad
b06613d1b0
feat: Adds rate limiting to metric POST endpoints ( #5075 )
...
### What
The heaviest requests we serve are the register and metrics POSTs from
our SDKs/clients.
This PR adds ratelimiting to /api/client/register, /api/client/metrics,
/api/frontend/register and /api/frontend/metrics with a default set to
6000 requests per minute (or 100 rps) for each of the endpoints.
It will be overrideable by the environment variables documented.
### Points of discussion
@kwasniew already suggested using featuretoggles with variants to
control the rate per clientId. I struggled to see if we could
dynamically update the middleware after initialisation, so this attempt
will need a restart of the pod to update the request limit.
2023-10-18 13:00:44 +02:00
Mateusz Kwasniewski
4dd01c1765
docs: dependent features ( #5058 )
2023-10-18 08:57:04 +02:00
dependabot[bot]
1c09027f2c
chore(deps): bump @babel/traverse from 7.20.1 to 7.23.2 in /website ( #5064 )
...
Bumps
[@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse )
from 7.20.1 to 7.23.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/babel/babel/releases "><code>@babel/traverse</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v7.23.2 (2023-10-11)</h2>
<p><strong>NOTE</strong>: This release also re-publishes
<code>@babel/core</code>, even if it does not appear in the linked
release commit.</p>
<p>Thanks <a
href="https://github.com/jimmydief "><code>@jimmydief</code></a> for
your first PR!</p>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-traverse</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16033 ">#16033</a>
Only evaluate own String/Number/Math methods (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-preset-typescript</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16022 ">#16022</a>
Rewrite <code>.tsx</code> extension when using
<code>rewriteImportExtensions</code> (<a
href="https://github.com/jimmydief "><code>@jimmydief</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16017 ">#16017</a>
Fix: fallback to typeof when toString is applied to incompatible object
(<a href="https://github.com/JLHwung "><code>@JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>,
<code>babel-plugin-transform-modules-commonjs</code>,
<code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>,
<code>babel-runtime</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16025 ">#16025</a>
Avoid override mistake in namespace imports (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 5</h4>
<ul>
<li>Babel Bot (<a
href="https://github.com/babel-bot "><code>@babel-bot</code></a>)</li>
<li>Huáng Jùnliàng (<a
href="https://github.com/JLHwung "><code>@JLHwung</code></a>)</li>
<li>James Diefenderfer (<a
href="https://github.com/jimmydief "><code>@jimmydief</code></a>)</li>
<li>Nicolò Ribaudo (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
<li><a
href="https://github.com/liuxingbaoyu "><code>@liuxingbaoyu</code></a></li>
</ul>
<h2>v7.23.1 (2023-09-25)</h2>
<p>Re-publishing <code>@babel/helpers</code> due to a publishing error
in 7.23.0.</p>
<h2>v7.23.0 (2023-09-25)</h2>
<p>Thanks <a
href="https://github.com/lorenzoferre "><code>@lorenzoferre</code></a>
and <a
href="https://github.com/RajShukla1 "><code>@RajShukla1</code></a> for
your first PRs!</p>
<h4>🚀 New Feature</h4>
<ul>
<li><code>babel-plugin-proposal-import-wasm-source</code>,
<code>babel-plugin-syntax-import-source</code>,
<code>babel-plugin-transform-dynamic-import</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15870 ">#15870</a>
Support transforming <code>import source</code> for wasm (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-module-transforms</code>,
<code>babel-helpers</code>,
<code>babel-plugin-proposal-import-defer</code>,
<code>babel-plugin-syntax-import-defer</code>,
<code>babel-plugin-transform-modules-commonjs</code>,
<code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>,
<code>babel-runtime</code>, <code>babel-standalone</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15878 ">#15878</a>
Implement <code>import defer</code> proposal transform support (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>, <code>babel-parser</code>,
<code>babel-types</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15845 ">#15845</a>
Implement <code>import defer</code> parsing support (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
<li><a
href="https://redirect.github.com/babel/babel/pull/15829 ">#15829</a> Add
parsing support for the "source phase imports" proposal (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>,
<code>babel-helper-module-transforms</code>, <code>babel-parser</code>,
<code>babel-plugin-transform-dynamic-import</code>,
<code>babel-plugin-transform-modules-amd</code>,
<code>babel-plugin-transform-modules-commonjs</code>,
<code>babel-plugin-transform-modules-systemjs</code>,
<code>babel-traverse</code>, <code>babel-types</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15682 ">#15682</a> Add
<code>createImportExpressions</code> parser option (<a
href="https://github.com/JLHwung "><code>@JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-standalone</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15671 ">#15671</a>
Pass through nonce to the transformed script element (<a
href="https://github.com/JLHwung "><code>@JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-function-name</code>,
<code>babel-helper-member-expression-to-functions</code>,
<code>babel-helpers</code>, <code>babel-parser</code>,
<code>babel-plugin-proposal-destructuring-private</code>,
<code>babel-plugin-proposal-optional-chaining-assign</code>,
<code>babel-plugin-syntax-optional-chaining-assign</code>,
<code>babel-plugin-transform-destructuring</code>,
<code>babel-plugin-transform-optional-chaining</code>,
<code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>,
<code>babel-runtime</code>, <code>babel-standalone</code>,
<code>babel-types</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15751 ">#15751</a> Add
support for optional chain in assignments (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>,
<code>babel-plugin-proposal-decorators</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15895 ">#15895</a>
Implement the "decorator metadata" proposal (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-traverse</code>, <code>babel-types</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15893 ">#15893</a> Add
<code>t.buildUndefinedNode</code> (<a
href="https://github.com/liuxingbaoyu "><code>@liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-preset-typescript</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/babel/babel/blob/main/CHANGELOG.md "><code>@babel/traverse</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>v7.23.2 (2023-10-11)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-traverse</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16033 ">#16033</a>
Only evaluate own String/Number/Math methods (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-preset-typescript</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16022 ">#16022</a>
Rewrite <code>.tsx</code> extension when using
<code>rewriteImportExtensions</code> (<a
href="https://github.com/jimmydief "><code>@jimmydief</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16017 ">#16017</a>
Fix: fallback to typeof when toString is applied to incompatible object
(<a href="https://github.com/JLHwung "><code>@JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>,
<code>babel-plugin-transform-modules-commonjs</code>,
<code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>,
<code>babel-runtime</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/16025 ">#16025</a>
Avoid override mistake in namespace imports (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.23.0 (2023-09-25)</h2>
<h4>🚀 New Feature</h4>
<ul>
<li><code>babel-plugin-proposal-import-wasm-source</code>,
<code>babel-plugin-syntax-import-source</code>,
<code>babel-plugin-transform-dynamic-import</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15870 ">#15870</a>
Support transforming <code>import source</code> for wasm (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-module-transforms</code>,
<code>babel-helpers</code>,
<code>babel-plugin-proposal-import-defer</code>,
<code>babel-plugin-syntax-import-defer</code>,
<code>babel-plugin-transform-modules-commonjs</code>,
<code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>,
<code>babel-runtime</code>, <code>babel-standalone</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15878 ">#15878</a>
Implement <code>import defer</code> proposal transform support (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>, <code>babel-parser</code>,
<code>babel-types</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15845 ">#15845</a>
Implement <code>import defer</code> parsing support (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
<li><a
href="https://redirect.github.com/babel/babel/pull/15829 ">#15829</a> Add
parsing support for the "source phase imports" proposal (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>,
<code>babel-helper-module-transforms</code>, <code>babel-parser</code>,
<code>babel-plugin-transform-dynamic-import</code>,
<code>babel-plugin-transform-modules-amd</code>,
<code>babel-plugin-transform-modules-commonjs</code>,
<code>babel-plugin-transform-modules-systemjs</code>,
<code>babel-traverse</code>, <code>babel-types</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15682 ">#15682</a> Add
<code>createImportExpressions</code> parser option (<a
href="https://github.com/JLHwung "><code>@JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-standalone</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15671 ">#15671</a>
Pass through nonce to the transformed script element (<a
href="https://github.com/JLHwung "><code>@JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-function-name</code>,
<code>babel-helper-member-expression-to-functions</code>,
<code>babel-helpers</code>, <code>babel-parser</code>,
<code>babel-plugin-proposal-destructuring-private</code>,
<code>babel-plugin-proposal-optional-chaining-assign</code>,
<code>babel-plugin-syntax-optional-chaining-assign</code>,
<code>babel-plugin-transform-destructuring</code>,
<code>babel-plugin-transform-optional-chaining</code>,
<code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>,
<code>babel-runtime</code>, <code>babel-standalone</code>,
<code>babel-types</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15751 ">#15751</a> Add
support for optional chain in assignments (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>,
<code>babel-plugin-proposal-decorators</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15895 ">#15895</a>
Implement the "decorator metadata" proposal (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-traverse</code>, <code>babel-types</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15893 ">#15893</a> Add
<code>t.buildUndefinedNode</code> (<a
href="https://github.com/liuxingbaoyu "><code>@liuxingbaoyu</code></a>)</li>
</ul>
</li>
<li><code>babel-preset-typescript</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15913 ">#15913</a> Add
<code>rewriteImportExtensions</code> option to TS preset (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15896 ">#15896</a>
Allow TS tuples to have both labeled and unlabeled elements (<a
href="https://github.com/yukukotani "><code>@yukukotani</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-block-scoping</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15962 ">#15962</a>
fix: <code>transform-block-scoping</code> captures the variables of the
method in the loop (<a
href="https://github.com/liuxingbaoyu "><code>@liuxingbaoyu</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-traverse</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15797 ">#15797</a>
Expand evaluation of global built-ins in <code>@babel/traverse</code>
(<a
href="https://github.com/lorenzoferre "><code>@lorenzoferre</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-proposal-explicit-resource-management</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15985 ">#15985</a>
Improve source maps for blocks with <code>using</code> declarations (<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🔬 Output optimization</h4>
<ul>
<li><code>babel-core</code>,
<code>babel-helper-module-transforms</code>,
<code>babel-plugin-transform-async-to-generator</code>,
<code>babel-plugin-transform-classes</code>,
<code>babel-plugin-transform-dynamic-import</code>,
<code>babel-plugin-transform-function-name</code>,
<code>babel-plugin-transform-modules-amd</code>,
<code>babel-plugin-transform-modules-commonjs</code>,
<code>babel-plugin-transform-modules-umd</code>,
<code>babel-plugin-transform-parameters</code>,
<code>babel-plugin-transform-react-constant-elements</code>,
<code>babel-plugin-transform-react-inline-elements</code>,
<code>babel-plugin-transform-runtime</code>,
<code>babel-plugin-transform-typescript</code>,
<code>babel-preset-env</code>
<ul>
<li><a
href="https://redirect.github.com/babel/babel/pull/15984 ">#15984</a>
Inline <code>exports.XXX =</code> update in simple variable declarations
(<a
href="https://github.com/nicolo-ribaudo "><code>@nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.22.20 (2023-09-16)</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b4b9942a6c
"><code>b4b9942</code></a>
v7.23.2</li>
<li><a
href="b13376b346
"><code>b13376b</code></a>
Only evaluate own String/Number/Math methods (<a
href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16033 ">#16033</a>)</li>
<li><a
href="ca58ec15cb
"><code>ca58ec1</code></a>
v7.23.0</li>
<li><a
href="0f333dafcf
"><code>0f333da</code></a>
Add <code>createImportExpressions</code> parser option (<a
href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/15682 ">#15682</a>)</li>
<li><a
href="3744545649
"><code>3744545</code></a>
Fix linting</li>
<li><a
href="c7e6806e21
"><code>c7e6806</code></a>
Add <code>t.buildUndefinedNode</code> (<a
href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/15893 ">#15893</a>)</li>
<li><a
href="38ee8b4dd6
"><code>38ee8b4</code></a>
Expand evaluation of global built-ins in <code>@babel/traverse</code>
(<a
href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/15797 ">#15797</a>)</li>
<li><a
href="9f3dfd9021
"><code>9f3dfd9</code></a>
v7.22.20</li>
<li><a
href="3ed28b29c1
"><code>3ed28b2</code></a>
Fully support <code>||</code> and <code>&&</code> in
<code>pluginToggleBooleanFlag</code> (<a
href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/15961 ">#15961</a>)</li>
<li><a
href="77b0d73599
"><code>77b0d73</code></a>
v7.22.19</li>
<li>Additional commits viewable in <a
href="https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@babel/traverse&package-manager=npm_and_yarn&previous-version=7.20.1&new-version=7.23.2 )](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 21:07:57 +02:00
Drew Gorton
34038ca1de
Update how-to-create-and-assign-custom-project-roles.md ( #5060 )
...
Separate videos - put them with the same written content
2023-10-17 09:05:06 -05:00
Thomas Heartman
65d95e96df
meta: add note to generate openapi docs before starting local dev ( #4976 )
...
This PR adds a small note to generate docs before running the docs
locally.
2023-10-16 07:49:42 -05:00
renovate[bot]
191f0c3cf1
chore(deps): update dependency @storybook/testing-library to v0.2.2 ( #5027 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@storybook/testing-library](https://togithub.com/storybookjs/testing-library )
| [`0.2.1` ->
`0.2.2`](https://renovatebot.com/diffs/npm/@storybook%2ftesting-library/0.2.1/0.2.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2ftesting-library/0.2.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2ftesting-library/0.2.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2ftesting-library/0.2.1/0.2.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2ftesting-library/0.2.1/0.2.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>storybookjs/testing-library
(@​storybook/testing-library)</summary>
###
[`v0.2.2`](https://togithub.com/storybookjs/testing-library/releases/tag/v0.2.2 )
[Compare
Source](https://togithub.com/storybookjs/testing-library/compare/v0.2.1...v0.2.2 )
##### 🐛 Bug Fix
- Revert: Temporarily fix user-event to 14.4.0 to avoid compatibility
issues
[#​57](https://togithub.com/storybookjs/testing-library/pull/57 )
([@​yannbf](https://togithub.com/yannbf ))
##### Authors: 1
- Yann Braga ([@​yannbf](https://togithub.com/yannbf ))
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNy44LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-14 19:03:25 +00:00
Mark Fulton
2754c26f2e
docs/video embed, academy video embed fixes ( #5005 )
...
PR contains the following:
1) New video embeds for the following docs:
- website/docs/reference/deploy/environment-import-export.mdx
- website/docs/reference/playground.mdx
- website/docs/reference/strategy-constraints.md
- website/docs/topics/a-b-testing.md
2) Improvements to the Academy course playlist embedding for the three
Academy courses. Tested the standard method of embedding video, and it
seems this works well for playlists too.
Switching to the native Docusaurus embed solves the issue with dynamic
resizing. Rather than a static embed size the video will now scale to
the browser window size.
2023-10-11 14:20:16 -05:00
Mark Fulton
7ea7c08654
Docs/academy video player ( #5002 )
...
Added explanative text to three courses on embedded playlist video
player usage
2023-10-11 13:22:56 +00:00
Mark Fulton
a3b4e9db5f
docs: updated sidebars and added missing doc ID ( #4993 )
...
Updated `sidebars.js` to incorporate `Getting Started` as top level doc,
with Unleash Academy in child structure (order as discussed with
@dgorton ). See screenshot.
Also added missing `id` to `getting-started.md`
![image](https://github.com/Unleash/unleash/assets/128738155/52881918-a38b-4e6a-b6c8-bbeb1cd0a232 )
2023-10-10 16:18:59 -05:00
Mark Fulton
053a4637e1
initial docs for Unleash Academy ( #4992 )
...
Set of four docs for Unleash Academy, with overview page and three
course pages. Navigation to be updated separately.
2023-10-10 15:05:13 -05:00
Sebastian Bury
9a62f6a64f
create getting-started and remove quickstart ( #4991 )
...
<!-- 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? -->
---------
Co-authored-by: Drew Gorton <dgorton@users.noreply.github.com>
Co-authored-by: Mark Fulton <128738155+markunl@users.noreply.github.com>
2023-10-10 15:03:17 -05:00
Nuno Góis
b0eba109d3
docs: add feature availability troubleshooting guide ( #4989 )
...
Adds a small troubleshooting guide for Unleash features availability.
This is not specific to features that have a visual component in the
admin UI, but that's the most common scenario.
2023-10-10 11:17:06 -05:00
Thomas Heartman
4bc9908287
docs: add a custom_edit_url for sdks and edge/proxy ( #4985 )
...
This change adds custom edit urls for all the external readmes (sdks,
edge, proxy) that we put in the docs. This makes it so that following
the "edit this document" link takes you to the correct location, instead
of to a file that doesn't exist in the main Unleash repo.
Important caveat: this will only work for repos where the readme is
called `README.md` (capitalization matters). Currently, this is all our
repos, but it's something to be aware of for later.
We don't currently record what the readme files are called directly in
the docs, so to know that for sure, we'd have to build an extra
integration to check and fix that automatically. It may be worth doing
in the future, but for now, I think it's fine. We could also just rename
the readme files if we find any issues.
2023-10-10 11:11:54 -05:00
Thomas Heartman
fa4d6b211a
docs: make videos bigger ( #4980 )
...
This PR changes the `VideoContent` component to:
- remove the extra text; keeps only videos
- makes videos take up the full article width
- multiple videos stack vertically (this may or may not be the best way
to handle it, but we don't have any instances of using multiple videos
as of right now, so we shouldn't touch this until we do).
By chance, it also removes a lot of trailing whitespace in files. I
suggest checking out the diff with whitespace hidden.
Before (single video):
![image](https://github.com/Unleash/unleash/assets/17786332/e47e8827-93e9-4dbc-bdfb-cdb1665fae98 )
Before (if there were multiple videos):
![image](https://github.com/Unleash/unleash/assets/17786332/f41ab11f-649f-4369-96fe-70a5d66ced40 )
After (single video):
![image](https://github.com/Unleash/unleash/assets/17786332/0df9d3fd-3935-4567-93d0-470682fe4bb3 )
After (if there are multiple videos):
![image](https://github.com/Unleash/unleash/assets/17786332/98b4a590-c03c-40a1-880f-93ad05090c5e )
2023-10-10 11:42:25 +02:00
Simon Hornby
4c22287a21
docs: rollback docusaurus upgrade so the docs work ( #4965 )
2023-10-09 11:57:05 +02:00
renovate[bot]
2746bd1517
chore(deps): update dependency @babel/core to v7.23.0 ( #4955 )
...
[![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.22.20` ->
`7.23.0`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.22.20/7.23.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.23.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.23.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.22.20/7.23.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.22.20/7.23.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel (@​babel/core)</summary>
###
[`v7.23.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7230-2023-09-25 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.20...v7.23.0 )
##### 🚀 New Feature
- `babel-plugin-proposal-import-wasm-source`,
`babel-plugin-syntax-import-source`,
`babel-plugin-transform-dynamic-import`
- [#​15870](https://togithub.com/babel/babel/pull/15870 ) Support
transforming `import source` for wasm
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-helper-module-transforms`, `babel-helpers`,
`babel-plugin-proposal-import-defer`,
`babel-plugin-syntax-import-defer`,
`babel-plugin-transform-modules-commonjs`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`, `babel-runtime`, `babel-standalone`
- [#​15878](https://togithub.com/babel/babel/pull/15878 ) Implement
`import defer` proposal transform support
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-generator`, `babel-parser`, `babel-types`
- [#​15845](https://togithub.com/babel/babel/pull/15845 ) Implement
`import defer` parsing support
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- [#​15829](https://togithub.com/babel/babel/pull/15829 ) Add
parsing support for the "source phase imports" proposal
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-generator`, `babel-helper-module-transforms`, `babel-parser`,
`babel-plugin-transform-dynamic-import`,
`babel-plugin-transform-modules-amd`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-modules-systemjs`, `babel-traverse`,
`babel-types`
- [#​15682](https://togithub.com/babel/babel/pull/15682 ) Add
`createImportExpressions` parser option
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-standalone`
- [#​15671](https://togithub.com/babel/babel/pull/15671 ) Pass
through nonce to the transformed script element
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-helper-function-name`,
`babel-helper-member-expression-to-functions`, `babel-helpers`,
`babel-parser`, `babel-plugin-proposal-destructuring-private`,
`babel-plugin-proposal-optional-chaining-assign`,
`babel-plugin-syntax-optional-chaining-assign`,
`babel-plugin-transform-destructuring`,
`babel-plugin-transform-optional-chaining`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`, `babel-runtime`, `babel-standalone`,
`babel-types`
- [#​15751](https://togithub.com/babel/babel/pull/15751 ) Add
support for optional chain in assignments
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-helpers`, `babel-plugin-proposal-decorators`
- [#​15895](https://togithub.com/babel/babel/pull/15895 ) Implement
the "decorator metadata" proposal
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-traverse`, `babel-types`
- [#​15893](https://togithub.com/babel/babel/pull/15893 ) Add
`t.buildUndefinedNode`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-preset-typescript`
- [#​15913](https://togithub.com/babel/babel/pull/15913 ) Add
`rewriteImportExtensions` option to TS preset
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-parser`
- [#​15896](https://togithub.com/babel/babel/pull/15896 ) Allow TS
tuples to have both labeled and unlabeled elements
([@​yukukotani](https://togithub.com/yukukotani ))
##### 🐛 Bug Fix
- `babel-plugin-transform-block-scoping`
- [#​15962](https://togithub.com/babel/babel/pull/15962 ) fix:
`transform-block-scoping` captures the variables of the method in the
loop ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
##### 💅 Polish
- `babel-traverse`
- [#​15797](https://togithub.com/babel/babel/pull/15797 ) Expand
evaluation of global built-ins in `@babel/traverse`
([@​lorenzoferre](https://togithub.com/lorenzoferre ))
- `babel-plugin-proposal-explicit-resource-management`
- [#​15985](https://togithub.com/babel/babel/pull/15985 ) Improve
source maps for blocks with `using` declarations
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🔬 Output optimization
- `babel-core`, `babel-helper-module-transforms`,
`babel-plugin-transform-async-to-generator`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-dynamic-import`,
`babel-plugin-transform-function-name`,
`babel-plugin-transform-modules-amd`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-modules-umd`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-react-constant-elements`,
`babel-plugin-transform-react-inline-elements`,
`babel-plugin-transform-runtime`, `babel-plugin-transform-typescript`,
`babel-preset-env`
- [#​15984](https://togithub.com/babel/babel/pull/15984 ) Inline
`exports.XXX =` update in simple variable declarations
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-06 08:51:26 +00:00
Jonas Strømsodd
80c4a8277c
feat: allow defining initial admin user as env variable ( #4927 )
...
Closes #4560
2023-10-06 09:07:06 +02:00
Drew Gorton
ab51a495aa
Update more instances of "toggle" with "flag" ( #4821 )
...
Landing page + sidebar nav + main 'How to create flags' page
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-10-02 12:37:53 -05:00
renovate[bot]
cad0f3f2d8
fix(deps): update docusaurus monorepo to v2.4.3 ( #4895 )
...
[![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/core](https://togithub.com/facebook/docusaurus ) |
[`2.3.1` ->
`2.4.3`](https://renovatebot.com/diffs/npm/@docusaurus%2fcore/2.3.1/2.4.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2fcore/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2fcore/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2fcore/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2fcore/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@docusaurus/module-type-aliases](https://togithub.com/facebook/docusaurus )
| [`2.3.1` ->
`2.4.3`](https://renovatebot.com/diffs/npm/@docusaurus%2fmodule-type-aliases/2.3.1/2.4.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2fmodule-type-aliases/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2fmodule-type-aliases/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2fmodule-type-aliases/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2fmodule-type-aliases/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@docusaurus/plugin-client-redirects](https://togithub.com/facebook/docusaurus )
| [`2.3.1` ->
`2.4.3`](https://renovatebot.com/diffs/npm/@docusaurus%2fplugin-client-redirects/2.3.1/2.4.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2fplugin-client-redirects/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2fplugin-client-redirects/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2fplugin-client-redirects/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2fplugin-client-redirects/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@docusaurus/plugin-google-analytics](https://togithub.com/facebook/docusaurus )
| [`2.3.1` ->
`2.4.3`](https://renovatebot.com/diffs/npm/@docusaurus%2fplugin-google-analytics/2.3.1/2.4.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2fplugin-google-analytics/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2fplugin-google-analytics/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2fplugin-google-analytics/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2fplugin-google-analytics/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [@docusaurus/preset-classic](https://togithub.com/facebook/docusaurus )
| [`2.3.1` ->
`2.4.3`](https://renovatebot.com/diffs/npm/@docusaurus%2fpreset-classic/2.3.1/2.4.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2fpreset-classic/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2fpreset-classic/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2fpreset-classic/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2fpreset-classic/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@docusaurus/remark-plugin-npm2yarn](https://togithub.com/facebook/docusaurus )
| [`2.3.1` ->
`2.4.3`](https://renovatebot.com/diffs/npm/@docusaurus%2fremark-plugin-npm2yarn/2.3.1/2.4.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2fremark-plugin-npm2yarn/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2fremark-plugin-npm2yarn/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2fremark-plugin-npm2yarn/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2fremark-plugin-npm2yarn/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [@docusaurus/theme-mermaid](https://togithub.com/facebook/docusaurus )
| [`2.3.1` ->
`2.4.3`](https://renovatebot.com/diffs/npm/@docusaurus%2ftheme-mermaid/2.3.1/2.4.3 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@docusaurus%2ftheme-mermaid/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@docusaurus%2ftheme-mermaid/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@docusaurus%2ftheme-mermaid/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@docusaurus%2ftheme-mermaid/2.3.1/2.4.3?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>facebook/docusaurus (@​docusaurus/core)</summary>
###
[`v2.4.3`](https://togithub.com/facebook/docusaurus/blob/HEAD/CHANGELOG.md#243-2023-09-20 )
[Compare
Source](https://togithub.com/facebook/docusaurus/compare/v2.4.1...v2.4.3 )
##### 🐛 Bug Fix
- `docusaurus-plugin-content-docs`
- [#​9107](https://togithub.com/facebook/docusaurus/pull/9107 )
fix(content-docs): sidebar generator should return customProps for doc
items ([@​TheCatLady](https://togithub.com/TheCatLady ))
- `docusaurus-theme-classic`
- [#​9108](https://togithub.com/facebook/docusaurus/pull/9108 )
feat(theme-classic): add description & keywords microdata to blog posts
([@​TheCatLady](https://togithub.com/TheCatLady ))
- [#​9099](https://togithub.com/facebook/docusaurus/pull/9099 )
fix(theme): only set classname on ul elements if they have an existing
class ([@​homotechsual](https://togithub.com/homotechsual ))
- [#​9243](https://togithub.com/facebook/docusaurus/pull/9243 )
fix(theme-common): ThemedComponent should display something when JS is
disabled ([@​slorber](https://togithub.com/slorber ))
- `docusaurus-theme-classic`, `docusaurus-theme-common`
- [#​9130](https://togithub.com/facebook/docusaurus/pull/9130 )
fix(theme): canonical url should be not change after hydration if url
accessed with/without trailing slash
([@​ori-shalom](https://togithub.com/ori-shalom ))
##### Committers: 4
- Mikey O'Toole
([@​homotechsual](https://togithub.com/homotechsual ))
- Ori Shalom ([@​ori-shalom](https://togithub.com/ori-shalom ))
- Sébastien Lorber ([@​slorber](https://togithub.com/slorber ))
- [@​TheCatLady](https://togithub.com/TheCatLady )
###
[`v2.4.1`](https://togithub.com/facebook/docusaurus/blob/HEAD/CHANGELOG.md#241-2023-05-15 )
[Compare
Source](https://togithub.com/facebook/docusaurus/compare/v2.4.0...v2.4.1 )
##### 🐛 Bug Fix
- `docusaurus-theme-classic`, `docusaurus-theme-common`
- [#​8971](https://togithub.com/facebook/docusaurus/pull/8971 )
fix(theme): fix collapsible sidebar behavior when prefers-reduced-motion
([@​slorber](https://togithub.com/slorber ))
- `docusaurus-theme-translations`
- [#​8933](https://togithub.com/facebook/docusaurus/pull/8933 )
fix(theme-translations): fix Turkish translation for aria label "Enter
key"
([@​LiberaTeMetuMortis](https://togithub.com/LiberaTeMetuMortis ))
- `docusaurus`
- [#​8908](https://togithub.com/facebook/docusaurus/pull/8908 )
fix(core): Correct yarn upgrade command for yarn 2.x
([@​andrewnicols](https://togithub.com/andrewnicols ))
- `docusaurus-plugin-content-blog`, `docusaurus-theme-common`,
`docusaurus-utils-common`, `docusaurus`
- [#​8909](https://togithub.com/facebook/docusaurus/pull/8909 )
fix(theme): add \__ prefix to technical anchors, search crawlers
(Algolia) should ignore them
([@​slorber](https://togithub.com/slorber ))
- `docusaurus-theme-common`
- [#​8906](https://togithub.com/facebook/docusaurus/pull/8906 )
fix(theme-common): fix collapsible component with prefers-reduced-motion
([@​slorber](https://togithub.com/slorber ))
- [#​8873](https://togithub.com/facebook/docusaurus/pull/8873 )
fix(theme-common): fix confusing theme error message: bad sidebar id
suggestions ([@​slorber](https://togithub.com/slorber ))
- `docusaurus-utils`
- [#​8874](https://togithub.com/facebook/docusaurus/pull/8874 )
fix(utils): handle Markdown links with spaces to route correctly
([@​morsko1](https://togithub.com/morsko1 ))
- `docusaurus-theme-classic`, `docusaurus-theme-translations`
- [#​8842](https://togithub.com/facebook/docusaurus/pull/8842 )
fix(theme-translations): remove redundant navigation text in aria label
([@​tarunrajput](https://togithub.com/tarunrajput ))
- `create-docusaurus`
- [#​8831](https://togithub.com/facebook/docusaurus/pull/8831 )
fix(create): add missing await
([@​SACHINnANYAKKARA](https://togithub.com/SACHINnANYAKKARA ))
##### 💅 Polish
- `docusaurus-theme-classic`
- [#​8862](https://togithub.com/facebook/docusaurus/pull/8862 )
refactor(theme): expose copy, success and word-wrap icons as standalone
components ([@​armano2](https://togithub.com/armano2 ))
##### Committers: 7
- Aleksandr Vladykin ([@​morsko1](https://togithub.com/morsko1 ))
- Andrew Lyons
([@​andrewnicols](https://togithub.com/andrewnicols ))
- Armano ([@​armano2](https://togithub.com/armano2 ))
- MetuMortis
([@​LiberaTeMetuMortis](https://togithub.com/LiberaTeMetuMortis ))
- Sachin Nanayakkara
([@​SACHINnANYAKKARA](https://togithub.com/SACHINnANYAKKARA ))
- Sébastien Lorber ([@​slorber](https://togithub.com/slorber ))
- Tarun Chauhan
([@​tarunrajput](https://togithub.com/tarunrajput ))
###
[`v2.4.0`](https://togithub.com/facebook/docusaurus/blob/HEAD/CHANGELOG.md#240-2023-03-23 )
[Compare
Source](https://togithub.com/facebook/docusaurus/compare/v2.3.1...v2.4.0 )
##### 🚀 New Feature
- `docusaurus-plugin-content-docs`, `docusaurus-theme-classic`
- [#​8236](https://togithub.com/facebook/docusaurus/pull/8236 )
feat(content-docs): add support for sidebar item category/link
descriptions in generated index page
([@​ZarakiKanzaki](https://togithub.com/ZarakiKanzaki ))
- `docusaurus-theme-classic`
- [#​8708](https://togithub.com/facebook/docusaurus/pull/8708 )
feat(theme): allow to load a Docusaurus page with theme from
query-string: ?docusaurus-theme=dark
([@​slorber](https://togithub.com/slorber ))
- [#​8616](https://togithub.com/facebook/docusaurus/pull/8616 )
feat(theme): add ability to translate navbar+footer logo alt text
([@​Mysterious-Dev](https://togithub.com/Mysterious-Dev ))
- `docusaurus-remark-plugin-npm2yarn`
- [#​8690](https://togithub.com/facebook/docusaurus/pull/8690 )
feat(npm-to-yarn): add support for PnPm and custom converters
([@​armano2](https://togithub.com/armano2 ))
- `docusaurus`
- [#​8677](https://togithub.com/facebook/docusaurus/pull/8677 )
feat(core): add script env variables: NODE_ENV + BABEL_ENV +
DOCUSAURUS_CURRENT_LOCALE (temporary i18n workaround)
([@​slorber](https://togithub.com/slorber ))
- `docusaurus-theme-classic`, `docusaurus-theme-common`
- [#​8674](https://togithub.com/facebook/docusaurus/pull/8674 )
feat(theme-classic): respect `prefers-reduced-motion: reduce`
mediaquery, bump Infima to alpha.43
([@​slorber](https://togithub.com/slorber ))
- `docusaurus-theme-translations`
- [#​8668](https://togithub.com/facebook/docusaurus/pull/8668 )
feat(theme-translations): add Hungarian theme translations
([@​trueqap](https://togithub.com/trueqap ))
- [#​8631](https://togithub.com/facebook/docusaurus/pull/8631 )
feat(theme-translations): add Norwegian (Bokmål) theme translation
([@​dr0nn1](https://togithub.com/dr0nn1 ))
- `docusaurus-theme-common`
- [#​8656](https://togithub.com/facebook/docusaurus/pull/8656 )
feat(theme-common): allow passing a string for details summary
([@​pReya](https://togithub.com/pReya ))
- `docusaurus-plugin-google-gtag`
- [#​8620](https://togithub.com/facebook/docusaurus/pull/8620 )
feat(gtag-plugin): gtag should support multiple tracking ids, notably
for the UA => GA4 transition
([@​slorber](https://togithub.com/slorber ))
##### 🐛 Bug Fix
- `docusaurus-theme-classic`
- [#​8803](https://togithub.com/facebook/docusaurus/pull/8803 )
fix(theme): codeblock buttons should be kept on the right when using RTL
locale ([@​Vishruta-Patil](https://togithub.com/Vishruta-Patil ))
- [#​8615](https://togithub.com/facebook/docusaurus/pull/8615 )
fix(theme): improve color toggle when using dark navbar
([@​dewanshDT](https://togithub.com/dewanshDT ))
- [#​8699](https://togithub.com/facebook/docusaurus/pull/8699 )
fix(theme-classic): fix tab focus bug in dropdown
([#​8697](https://togithub.com/facebook/docusaurus/issues/8697 ))
([@​kagankan](https://togithub.com/kagankan ))
- `docusaurus-theme-classic`, `docusaurus-theme-common`
- [#​8801](https://togithub.com/facebook/docusaurus/pull/8801 )
fix(theme): allow tabs children to be falsy
([@​Josh-Cena](https://togithub.com/Josh-Cena ))
- `docusaurus-theme-common`, `docusaurus-theme-search-algolia`
- [#​8757](https://togithub.com/facebook/docusaurus/pull/8757 )
fix(search): search page should react to querystring changes +
cleanup/refactor ([@​slorber](https://togithub.com/slorber ))
- `docusaurus`
- [#​8746](https://togithub.com/facebook/docusaurus/pull/8746 )
fix(core): baseUrl error banner link anchor case
([@​slorber](https://togithub.com/slorber ))
- `docusaurus-theme-translations`
- [#​8744](https://togithub.com/facebook/docusaurus/pull/8744 )
fix(theme-translations): fix wrong arabic words (tip/next)
([@​Anasqx](https://togithub.com/Anasqx ))
##### 💅 Polish
- `create-docusaurus`
- [#​8712](https://togithub.com/facebook/docusaurus/pull/8712 )
polish(create-docusaurus): the starter template should use a navbar item
"docSidebar" instead of "doc" (less fragile on updates)
([@​biplavmz](https://togithub.com/biplavmz ))
- `docusaurus-theme-classic`, `docusaurus-theme-common`,
`docusaurus-utils-common`, `docusaurus`
- [#​8735](https://togithub.com/facebook/docusaurus/pull/8735 )
polish(theme): better error messages on navbar item rendering failures +
ErrorCauseBoundary API
([@​tannerdolby](https://togithub.com/tannerdolby ))
- `docusaurus-theme-classic`, `docusaurus-theme-common`, `docusaurus`
- [#​8736](https://togithub.com/facebook/docusaurus/pull/8736 )
polish(core): better styling for error screens
([@​tannerdolby](https://togithub.com/tannerdolby ))
##### Committers: 14
- Anas ([@​Anasqx](https://togithub.com/Anasqx ))
- Armano ([@​armano2](https://togithub.com/armano2 ))
- Davide Donadio
([@​ZarakiKanzaki](https://togithub.com/ZarakiKanzaki ))
- Dewansh Thakur ([@​dewanshDT](https://togithub.com/dewanshDT ))
- Joshua Chen ([@​Josh-Cena](https://togithub.com/Josh-Cena ))
- Kagan ([@​kagankan](https://togithub.com/kagankan ))
- Moritz Stückler ([@​pReya](https://togithub.com/pReya ))
- Mysterious_Dev
([@​Mysterious-Dev](https://togithub.com/Mysterious-Dev ))
- Petter Drønnen ([@​dr0nn1](https://togithub.com/dr0nn1 ))
- Sébastien Lorber ([@​slorber](https://togithub.com/slorber ))
- Tanner Dolby ([@​tannerdolby](https://togithub.com/tannerdolby ))
- TrueQAP ([@​trueqap](https://togithub.com/trueqap ))
- Vishruta Patil
([@​Vishruta-Patil](https://togithub.com/Vishruta-Patil ))
- [@​biplavmz](https://togithub.com/biplavmz )
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 06:44:49 +00:00
renovate[bot]
89ee341888
chore(deps): update react-router monorepo to v6.16.0 ( #4893 )
...
[![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.15.0` ->
`6.16.0`](https://renovatebot.com/diffs/npm/react-router/6.15.0/6.16.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.15.0/6.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.15.0/6.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.15.0` ->
`6.16.0`](https://renovatebot.com/diffs/npm/react-router-dom/6.15.0/6.16.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.15.0/6.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.15.0/6.16.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.16.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6160 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.15.0...react-router@6.16.0 )
##### Minor Changes
- In order to move towards stricter TypeScript support in the future,
we're aiming to replace current usages of `any` with `unknown` on
exposed typings for user-provided data. To do this in Remix v2 without
introducing breaking changes in React Router v6, we have added generics
to a number of shared types. These continue to default to `any` in React
Router and are overridden with `unknown` in Remix. In React Router v7 we
plan to move these to `unknown` as a breaking change.
([#​10843](https://togithub.com/remix-run/react-router/pull/10843 ))
- `Location` now accepts a generic for the `location.state` value
-
`ActionFunctionArgs`/`ActionFunction`/`LoaderFunctionArgs`/`LoaderFunction`
now accept a generic for the `context` parameter (only used in SSR
usages via `createStaticHandler`)
- The return type of `useMatches` (now exported as `UIMatch`) accepts
generics for `match.data` and `match.handle` - both of which were
already set to `unknown`
- Move the `@private` class export `ErrorResponse` to an
`UNSAFE_ErrorResponseImpl` export since it is an implementation detail
and there should be no construction of `ErrorResponse` instances in
userland. This frees us up to export a `type ErrorResponse` which
correlates to an instance of the class via `InstanceType`. Userland code
should only ever be using `ErrorResponse` as a type and should be
type-narrowing via `isRouteErrorResponse`.
([#​10811](https://togithub.com/remix-run/react-router/pull/10811 ))
- Export `ShouldRevalidateFunctionArgs` interface
([#​10797](https://togithub.com/remix-run/react-router/pull/10797 ))
- Removed private/internal APIs only required for the Remix v1 backwards
compatibility layer and no longer needed in Remix v2
(`_isFetchActionRedirect`, `_hasFetcherDoneAnything`)
([#​10715](https://togithub.com/remix-run/react-router/pull/10715 ))
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.9.0`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.16.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6160 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.15.0...react-router-dom@6.16.0 )
##### Minor Changes
- Updated dependencies:
- `@remix-run/router@1.9.0`
- `react-router@6.16.0`
##### Patch Changes
- Properly encode rendered URIs in server rendering to avoid hydration
errors
([#​10769](https://togithub.com/remix-run/react-router/pull/10769 ))
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 04:39:54 +00:00
renovate[bot]
f1b993d042
chore(deps): update dependency browserslist to v4.21.11 ( #4881 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [browserslist](https://togithub.com/browserslist/browserslist ) |
[`4.21.10` ->
`4.21.11`](https://renovatebot.com/diffs/npm/browserslist/4.21.10/4.21.11 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/browserslist/4.21.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/browserslist/4.21.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/browserslist/4.21.10/4.21.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/browserslist/4.21.10/4.21.11?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>browserslist/browserslist (browserslist)</summary>
###
[`v4.21.11`](https://togithub.com/browserslist/browserslist/blob/HEAD/CHANGELOG.md#42111 )
[Compare
Source](https://togithub.com/browserslist/browserslist/compare/4.21.10...4.21.11 )
- Added warning to `--update-db` to move to new CLI (by Ivan Vasilev).
- Fixed docs (by Tatsunori Uchino).
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-30 06:16:56 +00:00
Nuno Góis
521cc24a22
feat: add more events in integrations ( #4815 )
...
https://linear.app/unleash/issue/2-1253/add-support-for-more-events-in-the-slack-app-integration
Adds support for a lot more events in our integrations. Here is how the
full list looks like:
- ADDON_CONFIG_CREATED
- ADDON_CONFIG_DELETED
- ADDON_CONFIG_UPDATED
- API_TOKEN_CREATED
- API_TOKEN_DELETED
- CHANGE_ADDED
- CHANGE_DISCARDED
- CHANGE_EDITED
- CHANGE_REQUEST_APPLIED
- CHANGE_REQUEST_APPROVAL_ADDED
- CHANGE_REQUEST_APPROVED
- CHANGE_REQUEST_CANCELLED
- CHANGE_REQUEST_CREATED
- CHANGE_REQUEST_DISCARDED
- CHANGE_REQUEST_REJECTED
- CHANGE_REQUEST_SENT_TO_REVIEW
- CONTEXT_FIELD_CREATED
- CONTEXT_FIELD_DELETED
- CONTEXT_FIELD_UPDATED
- FEATURE_ARCHIVED
- FEATURE_CREATED
- FEATURE_DELETED
- FEATURE_ENVIRONMENT_DISABLED
- FEATURE_ENVIRONMENT_ENABLED
- FEATURE_ENVIRONMENT_VARIANTS_UPDATED
- FEATURE_METADATA_UPDATED
- FEATURE_POTENTIALLY_STALE_ON
- FEATURE_PROJECT_CHANGE
- FEATURE_REVIVED
- FEATURE_STALE_OFF
- FEATURE_STALE_ON
- FEATURE_STRATEGY_ADD
- FEATURE_STRATEGY_REMOVE
- FEATURE_STRATEGY_UPDATE
- FEATURE_TAGGED
- FEATURE_UNTAGGED
- GROUP_CREATED
- GROUP_DELETED
- GROUP_UPDATED
- PROJECT_CREATED
- PROJECT_DELETED
- SEGMENT_CREATED
- SEGMENT_DELETED
- SEGMENT_UPDATED
- SERVICE_ACCOUNT_CREATED
- SERVICE_ACCOUNT_DELETED
- SERVICE_ACCOUNT_UPDATED
- USER_CREATED
- USER_DELETED
- USER_UPDATED
I added the events that I thought were relevant based on my own
discretion. Know of any event we should add? Let me know and I'll add it
🙂
For now I only added these events to the new Slack App integration, but
we can add them to the other integrations as well since they are now
supported.
The event formatter was refactored and changed quite a bit in order to
make it easier to maintain and add new events in the future. As a
result, events are now posted with different text. Do we consider this a
breaking change? If so, I can keep the old event formatter around,
create a new one and only use it for the new Slack App integration.
I noticed we don't have good 404 behaviors in the UI for things that are
deleted in the meantime, that's why I avoided some links to specific
resources (like feature strategies, integration configurations, etc),
but we could add them later if we improve this.
This PR also tries to add some consistency to the the way we log events.
2023-09-29 16:11:59 +01:00
renovate[bot]
1f222ef5cc
chore(deps): update dependency @tsconfig/docusaurus to v2.0.1 ( #4868 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tsconfig/docusaurus](https://togithub.com/tsconfig/bases ) | [`2.0.0`
->
`2.0.1`](https://renovatebot.com/diffs/npm/@tsconfig%2fdocusaurus/2.0.0/2.0.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tsconfig%2fdocusaurus/2.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tsconfig%2fdocusaurus/2.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tsconfig%2fdocusaurus/2.0.0/2.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tsconfig%2fdocusaurus/2.0.0/2.0.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>tsconfig/bases (@​tsconfig/docusaurus)</summary>
###
[`v2.0.1`](014e8927b7...a1bf7c0fa2
)
[Compare
Source](014e8927b7...a1bf7c0fa2
)
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 13:00:36 +00:00
renovate[bot]
a4e1d05d2a
chore(deps): update dependency @babel/core to v7.22.20 ( #4866 )
...
[![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.22.17` ->
`7.22.20`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.22.17/7.22.20 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.22.20?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.22.20?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.22.17/7.22.20?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.22.17/7.22.20?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel (@​babel/core)</summary>
###
[`v7.22.20`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72220-2023-09-16 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.19...v7.22.20 )
##### 🏠 Internal
- `babel-helper-validator-identifier`
- [#​15973](https://togithub.com/babel/babel/pull/15973 ) Remove
special-casing of U+200C and U+200D
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-plugin-transform-dotall-regex`
- [#​15974](https://togithub.com/babel/babel/pull/15974 ) Update
Unicode test fixtures ([@​JLHwung](https://togithub.com/JLHwung ))
##### ↩️ Revert
- `babel-helper-remap-async-to-generator`, `babel-helper-wrap-function`,
`babel-plugin-proposal-explicit-resource-management`,
`babel-plugin-proposal-function-sent`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-async-to-generator`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-classes`, `babel-plugin-transform-parameters`,
`babel-plugin-transform-runtime`, `babel-preset-env`
- [#​15979](https://togithub.com/babel/babel/pull/15979 ) Revert
"Improve output when wrapping functions"
([@​jjonescz](https://togithub.com/jjonescz ))
### [`v7.22.19`](https://togithub.com/babel/babel/releases/tag/v7.22.19 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.18...v7.22.19 )
#### v7.22.19 (2023-09-14)
Re-published 7.22.18, due to a releasing error.
###
[`v7.22.18`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72218-2023-09-14 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.17...v7.22.18 )
##### 🐛 Bug Fix
- `babel-helper-validator-identifier`
- [#​15957](https://togithub.com/babel/babel/pull/15957 ) Update
identifier name definitions to Unicode 15.1
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-helper-module-transforms`,
`babel-plugin-transform-modules-amd`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-modules-umd`
- [#​15898](https://togithub.com/babel/babel/pull/15898 ) Fix
transform of named import with shadowed namespace import
([@​dhlolo](https://togithub.com/dhlolo ))
##### ↩️ Revert
- [#​15965](https://togithub.com/babel/babel/pull/15965 ) Revert
Node.js 20.6.0 bug workaround
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 12:21:14 +00:00
renovate[bot]
9925556606
chore(deps): update dependency @storybook/testing-library to v0.2.1 ( #4867 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@storybook/testing-library](https://togithub.com/storybookjs/testing-library )
| [`0.2.0` ->
`0.2.1`](https://renovatebot.com/diffs/npm/@storybook%2ftesting-library/0.2.0/0.2.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@storybook%2ftesting-library/0.2.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@storybook%2ftesting-library/0.2.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@storybook%2ftesting-library/0.2.0/0.2.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@storybook%2ftesting-library/0.2.0/0.2.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>storybookjs/testing-library
(@​storybook/testing-library)</summary>
###
[`v0.2.1`](https://togithub.com/storybookjs/testing-library/releases/tag/v0.2.1 )
[Compare
Source](https://togithub.com/storybookjs/testing-library/compare/v0.2.0...v0.2.1 )
🎉 This release contains work from a new contributor! 🎉
Thank you, Valentin Palkovic
([@​valentinpalkovic](https://togithub.com/valentinpalkovic )), for
all your work!
##### 🐛 Bug Fix
- Temporarily fix user-event to 14.4.0 to avoid compatibility issues
[#​53](https://togithub.com/storybookjs/testing-library/pull/53 )
([@​yannbf](https://togithub.com/yannbf ))
##### Authors: 2
- Valentin Palkovic
([@​valentinpalkovic](https://togithub.com/valentinpalkovic ))
- Yann Braga ([@​yannbf](https://togithub.com/yannbf ))
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 12:19:49 +00:00
Mark Fulton
d0e9e33573
docs: add video to SDK overview reference ( #4855 )
...
Added video embed into the SDK overview reference doc:
https://docs.getunleash.io/reference/sdks
2023-09-27 14:06:41 -05:00
Mark Fulton
a7040a29c4
doc: Strategy variants video update ( #4854 )
...
Added video embed for Strategy Variants reference
2023-09-27 13:50:57 -05:00
David Leek
0938b2e545
docs: improve datadog integration docs ( #4802 )
...
## About the changes
Improvement to the description of the datadog integration. Adds 2
missing event types, removes an event type that is deprecated and about
to be completely removed, adds missing description of extra json headers
and source type name, and adds description for the new configuration
option for JSON body support
---------
Co-authored-by: Nuno Góis <github@nunogois.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-09-26 11:15:22 +01:00
Nuno Góis
b9946ee35c
docs: Unleash Slack App integration ( #4801 )
...
https://linear.app/unleash/issue/2-1235/docs-slack-app-integration-documentation
This adds a new reference doc for the new Unleash Slack App integration
and marks the previous Slack integration as deprecated.
As a side-effect this PR also fixes an issue where we wouldn't be able
to delete tags with special characters.
---------
Co-authored-by: David Leek <david@getunleash.io>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-09-22 23:19:17 +01:00
Michael Ferranti
e197934fa4
docs:Add Feature Flag Migration guide to docs ( #4792 )
...
I'm adding a Feature Flag Migration tutorial written by Customer Success
to the docs.
The content should live in the Topic Guide section
Topic Guides
Feature Flags Migration Best Practices index page with subpages for
* Define scope
* Make business case
* Planning
* Execution
* Onboarding users
---------
Co-authored-by: Thomas Heartman <thomasheartman+github@gmail.com>
Co-authored-by: Gastón Fournier <gastonfournier@gmail.com>
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
Co-authored-by: Mark Fulton <128738155+markunl@users.noreply.github.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-09-22 16:41:11 +02:00
Michael Ferranti
4f5f1f347c
docs: Create feature-flag-best-practices.md ( #4804 )
...
<!-- 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? -->
---------
Co-authored-by: Ivar Conradi Østhus <ivar@getunleash.io>
2023-09-22 14:09:41 +02:00
Bolaji Ayodeji
d28e7e5a69
docs: update the bulleted list case in about-the-docs.md ( #4811 )
...
## About the changes
While exploring the [About the docs](https://docs.getunleash.io ) page
for the first time, I observed the first bulleted list started with
lowercase, which isn't consistent with other sections of the page. This
minor PR capitalizes the first letter of the bullet lists in the
"Documentation structure" section. This ensures the list follows the
existing style across the page and the stable rule of written language
([reference](https://www.purchase.edu/editorial-style-guide/general-style-preferences/punctuation/bulleted-and-numbered-lists/#C )).
2023-09-22 11:06:41 +02:00
Thomas Heartman
5799d0c90f
docs: add info on how to troubleshoot and better errors ( #4803 )
...
This PR adds some troubleshooting information to the website readme and
also makes it so that we get more readable errors in the build logs when
something goes wrong.
2023-09-21 11:46:39 +02:00
renovate[bot]
237b59b939
chore(deps): update dependency @babel/core to v7.22.17 ( #4780 )
...
[![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.22.15` ->
`7.22.17`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.22.15/7.22.17 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.22.17?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.22.17?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.22.15/7.22.17?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.22.15/7.22.17?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel (@​babel/core)</summary>
###
[`v7.22.17`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72217-2023-09-08 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.15...v7.22.17 )
##### 🐛 Bug Fix
- `babel-core`
- [#​15947](https://togithub.com/babel/babel/pull/15947 ) Fix
compatibility with Node.js 20.6
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-helper-module-transforms`,
`babel-plugin-transform-modules-commonjs`
- [#​15941](https://togithub.com/babel/babel/pull/15941 ) Fix
compiling duplicate ns imports to lazy CommonJS
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-types`
- [#​15920](https://togithub.com/babel/babel/pull/15920 ) Make
`ClassDeclaration["id"]` optional in babel-types
([@​jordanbtucker](https://togithub.com/jordanbtucker ))
##### 🔬 Output optimization
- `babel-helper-remap-async-to-generator`, `babel-helper-wrap-function`,
`babel-plugin-proposal-explicit-resource-management`,
`babel-plugin-proposal-function-sent`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-async-to-generator`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-classes`, `babel-plugin-transform-parameters`,
`babel-plugin-transform-runtime`, `babel-preset-env`
- [#​15922](https://togithub.com/babel/babel/pull/15922 ) Improve
output when wrapping functions (e.g. `async` functions)
([@​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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 01:20:25 +00:00
Ivar Conradi Østhus
013efac46b
feat: open-source segments 🚀 ( #4690 )
...
We love all open-source Unleash users. in 2022 we built the [segment
capability](https://docs.getunleash.io/reference/segments ) (v4.13) as an
enterprise feature, simplify life for our customers.
Now it is time to contribute it to the world 🌏
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-09-19 11:24:26 +00:00
Thomas Heartman
53c40372dd
Update webhook.md ( #4739 )
...
fix a couple typos
2023-09-15 11:15:50 +02:00
Thomas Heartman
1539d1955f
docs(1-1262): Change addons -> integrations ( #4523 )
...
This PR replaces references to _addons_ in the docs with references to
_integrations_.
In doing so, I have also:
- moved `/reference/addons` documents into `/reference/integrations`
- combined the previous "Addons" and "Integrations" categories into a
new "Integrations" category
- added redirects from all the old addons pages to their new locations
I have updated the wording, but have not changed things such as API
paths, event names, etc, because these will not change at the moment
(maybe a breaking change to schedule for v6?).
---------
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2023-09-14 15:27:51 +02:00
Tymoteusz Czech
e8d5f0cf56
fix: integrations text review ( #4706 )
...
## About the changes
Update copy
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-09-14 12:01:29 +00:00
Tymoteusz Czech
66c790fbf1
fix: Integrations quality updates ( #4677 )
...
Fix issues uncovered when reviewing integrations list and form.
- YouTube CSP
- Text content and formatting
- Margins
- Update old integration icons
- Fix headers in dark theme
2023-09-14 10:17:33 +02:00
Thomas Heartman
85f03ba567
Update webhook.md ( #4684 )
...
fix a typo
2023-09-14 08:09:39 +02:00
renovate[bot]
501d274ad2
chore(deps): update dependency @babel/core to v7.22.15 ( #4691 )
...
[![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.22.10` ->
`7.22.15`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.22.10/7.22.15 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.22.15?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.22.15?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.22.10/7.22.15?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.22.10/7.22.15?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel (@​babel/core)</summary>
###
[`v7.22.15`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72215-2023-09-04 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.11...v7.22.15 )
##### 🐛 Bug Fix
- `babel-core`
- [#​15923](https://togithub.com/babel/babel/pull/15923 ) Only
perform config loading re-entrancy check for cjs
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🏠 Internal
- `babel-cli`, `babel-core`, `babel-generator`,
`babel-helper-builder-binary-assignment-operator-visitor`,
`babel-helper-compilation-targets`,
`babel-helper-create-class-features-plugin`,
`babel-helper-create-regexp-features-plugin`,
`babel-helper-member-expression-to-functions`,
`babel-helper-module-imports`, `babel-helper-module-transforms`,
`babel-helper-transform-fixture-test-runner`,
`babel-helper-validator-identifier`, `babel-helper-validator-option`,
`babel-helpers`, `babel-node`, `babel-parser`,
`babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`,
`babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-destructuring-private`,
`babel-plugin-proposal-pipeline-operator`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-destructuring`, `babel-plugin-transform-for-of`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-object-rest-spread`,
`babel-plugin-transform-optional-chaining`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-property-mutators`,
`babel-plugin-transform-react-jsx`, `babel-plugin-transform-runtime`,
`babel-plugin-transform-typescript`, `babel-preset-env`,
`babel-preset-flow`, `babel-preset-react`, `babel-preset-typescript`,
`babel-register`, `babel-standalone`, `babel-template`,
`babel-traverse`, `babel-types`
- [#​15892](https://togithub.com/babel/babel/pull/15892 ) Add
explicit `.ts`/`.js` extension to all imports in `src`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
###
[`v7.22.11`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72211-2023-08-24 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.10...v7.22.11 )
##### 🐛 Bug Fix
- `babel-plugin-transform-typescript`
- [#​15882](https://togithub.com/babel/babel/pull/15882 ) Fix:
fully remove TS nested type-only exported namespaces
([@​yangguansen](https://togithub.com/yangguansen ))
- `babel-types`
- [#​15867](https://togithub.com/babel/babel/pull/15867 ) fix:
definition of TS function type params
([@​danez](https://togithub.com/danez ))
- `babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-class-static-block`,
`babel-plugin-transform-dynamic-import`,
`babel-plugin-transform-export-namespace-from`,
`babel-plugin-transform-json-strings`,
`babel-plugin-transform-logical-assignment-operators`,
`babel-plugin-transform-nullish-coalescing-operator`,
`babel-plugin-transform-numeric-separator`,
`babel-plugin-transform-object-rest-spread`,
`babel-plugin-transform-optional-catch-binding`,
`babel-plugin-transform-optional-chaining`,
`babel-plugin-transform-private-property-in-object`
- [#​15858](https://togithub.com/babel/babel/pull/15858 )
fix(standalone): strip archived syntax plugins
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-core`
- [#​15850](https://togithub.com/babel/babel/pull/15850 ) Support
configuring cache in ESM configs
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🏠 Internal
- `babel-parser`
- [#​10940](https://togithub.com/babel/babel/pull/10940 ) Do not
record trailing comma pos when `maybeAsyncArrow: false`
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-core`, `babel-helper-compilation-targets`, `babel-parser`,
`babel-plugin-proposal-destructuring-private`,
`babel-plugin-syntax-decorators`, `babel-preset-env`,
`babel-preset-react`, `babel-register`, `babel-traverse`, `babel-types`
- [#​15872](https://togithub.com/babel/babel/pull/15872 ) enable
jest/no-standalone-expect
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-core`, `babel-helpers`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-regenerator`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#​15833](https://togithub.com/babel/babel/pull/15833 ) bump
json5, terser and webpack, further minimize babel helpers
([@​JLHwung](https://togithub.com/JLHwung ))
- Other
- [#​15846](https://togithub.com/babel/babel/pull/15846 ) Use Babel
8.0 alpha to build babel
([@​JLHwung](https://togithub.com/JLHwung ))
- [#​15856](https://togithub.com/babel/babel/pull/15856 ) Exclude
redundant files from publish process
([@​JLHwung](https://togithub.com/JLHwung ))
##### 🔬 Output optimization
- `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-optional-chaining`, `babel-preset-env`
- [#​15871](https://togithub.com/babel/babel/pull/15871 ) Simplify
`?.` output when chain result is ignored
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-13 19:57:48 +00:00
Thomas Heartman
44db4fb0c3
1-1360: explain implicit ^ and $ in docs ( #4668 )
...
Update docs to explain that ^ and $ are implicit in the regexes used.
2023-09-12 14:23:19 +02:00
Nuno Góis
c6af38b12b
docs: add mention of multiple project roles ( #4648 )
...
https://linear.app/unleash/issue/2-1130/documentation-about-multiple-project-roles
- Adds a section for the feature in the "Role-based Access control"
reference doc;
- Removes the mention that "Groups that *do* have a root role can't be
assigned to a project." which is no longer true;
- Adds a reference to multiple project roles in the "How to create and
assign custom project roles" guide;
- Fixes a wrong sentence in the "Assigning custom project roles" section
of the aforementioned guide;
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-09-11 14:41:47 +01:00
Thomas Heartman
4de3ff3d2f
docs: feature flag naming patterns ( #4632 )
...
This PR adds a reference doc and a how-to doc for feature flag naming
patterns.
Extra thanks to @sebastian-bury for the draft from the offsite 👏🏼
2023-09-11 15:28:10 +02:00
Simon Hornby
2b210a85fd
docs: update compatibility matrix with strategy variants ( #4626 )
2023-09-08 10:34:04 +02:00
Nuno Góis
1ae700a027
feat: add request logger env variable ( #4614 )
...
Adds a new env variable for request logger.
---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-09-05 15:32:20 +01:00
Gastón Fournier
ea00ea9d56
docs: troubleshooting guides ( #4592 )
...
## About the changes
Adds troubleshooting guides for some common problems under the how-to
area (following the [diataxis framework](https://diataxis.fr/ )).
This is part of Unleash 2023 offsite challenge
---------
Co-authored-by: Drew Gorton <drew.gorton@getunleash.io>
Co-authored-by: Diego Susa <diego@getunleash.io>
Co-authored-by: Michael Vittiglio <michael.vittiglio@getunleash.io>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-09-01 15:39:23 +02:00
Mateusz Kwasniewski
3ebeea4d64
docs: strategy variants ruby and dotnet sdk versions ( #4570 )
2023-08-25 08:28:47 +02:00
Tymoteusz Czech
573518e48d
Integrations - frontend adjustments ( #4527 )
...
## About the changes
- [x] Create a feature flag
- [x] Rename page title
- [x] Rename menu item
- [x] Update frontend URL (add redirect from old one)
https://linear.app/unleash/issue/1-1263/integrations-frontend-adjustments
2023-08-22 14:40:38 +02:00
renovate[bot]
26e7267c5e
chore(deps): update react-router monorepo to v6.15.0 ( #4532 )
...
[![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.14.2` ->
`6.15.0`](https://renovatebot.com/diffs/npm/react-router/6.14.2/6.15.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.14.2/6.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.14.2/6.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.14.2` ->
`6.15.0`](https://renovatebot.com/diffs/npm/react-router-dom/6.14.2/6.15.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.14.2/6.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.14.2/6.15.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.15.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6150 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.14.2...react-router@6.15.0 )
##### Minor Changes
- Add's a new `redirectDocument()` function which allows users to
specify that a redirect from a `loader`/`action` should trigger a
document reload (via `window.location`) instead of attempting to
navigate to the redirected location via React Router
([#​10705](https://togithub.com/remix-run/react-router/pull/10705 ))
##### Patch Changes
- Ensure `useRevalidator` is referentially stable across re-renders if
revalidations are not actively occurring
([#​10707](https://togithub.com/remix-run/react-router/pull/10707 ))
- Updated dependencies:
- `@remix-run/router@1.8.0`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.15.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6150 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.14.2...react-router-dom@6.15.0 )
##### Minor Changes
- Add's a new `redirectDocument()` function which allows users to
specify that a redirect from a `loader`/`action` should trigger a
document reload (via `window.location`) instead of attempting to
navigate to the redirected location via React Router
([#​10705](https://togithub.com/remix-run/react-router/pull/10705 ))
##### Patch Changes
- Fixes an edge-case affecting web extensions in Firefox that use
`URLSearchParams` and the `useSearchParams` hook.
([#​10620](https://togithub.com/remix-run/react-router/pull/10620 ))
- Do not include hash in `useFormAction()` for unspecified actions since
it cannot be determined on the server and causes hydration issues
([#​10758](https://togithub.com/remix-run/react-router/pull/10758 ))
- Reorder effects in `unstable_usePrompt` to avoid throwing an exception
if the prompt is unblocked and a navigation is performed synchronously
([#​10687](https://togithub.com/remix-run/react-router/pull/10687 ),
[#​10718](https://togithub.com/remix-run/react-router/pull/10718 ))
- Updated dependencies:
- `@remix-run/router@1.8.0`
- `react-router@6.15.0`
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 18:52:04 +00:00
Drew Gorton
ebf35790fe
Update docs README.md to include yarn generate
( #4519 )
...
Add missing `yarn generate` command to docs
2023-08-17 10:32:57 -05:00
Drew Gorton
da7829daca
Update quickstart.md ( #4474 )
...
Introduce 'Feature Flag' language and replace most instances of 'Feature
Toggle'
<!-- 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
Introduce 'Feature Flag' language and replace most instances of 'toggle'
with 'flag' on Quickstart
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-08-16 15:57:02 +02:00
Mateusz Kwasniewski
a2bd7d42a1
feat: change request reject docs and step update ( #4493 )
2023-08-16 09:46:05 +02:00
renovate[bot]
057ed49cf3
chore(deps): update dependency browserslist to v4.21.10 ( #4501 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [browserslist](https://togithub.com/browserslist/browserslist ) |
[`4.21.9` ->
`4.21.10`](https://renovatebot.com/diffs/npm/browserslist/4.21.9/4.21.10 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/browserslist/4.21.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/browserslist/4.21.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/browserslist/4.21.9/4.21.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/browserslist/4.21.9/4.21.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>browserslist/browserslist (browserslist)</summary>
###
[`v4.21.10`](https://togithub.com/browserslist/browserslist/blob/HEAD/CHANGELOG.md#42110 )
[Compare
Source](https://togithub.com/browserslist/browserslist/compare/4.21.9...4.21.10 )
- Updated Firefox ESR.
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 09:08:29 +02:00
renovate[bot]
d77ed0664e
fix(deps): update dependency @svgr/webpack to v8 ( #4407 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@svgr/webpack](https://react-svgr.com )
([source](https://togithub.com/gregberge/svgr )) | [`6.5.1` ->
`8.1.0`](https://renovatebot.com/diffs/npm/@svgr%2fwebpack/6.5.1/8.1.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@svgr%2fwebpack/8.1.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@svgr%2fwebpack/8.1.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@svgr%2fwebpack/6.5.1/8.1.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@svgr%2fwebpack/6.5.1/8.1.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>gregberge/svgr (@​svgr/webpack)</summary>
###
[`v8.1.0`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#810-2023-08-15 )
[Compare
Source](https://togithub.com/gregberge/svgr/compare/v8.0.1...v8.1.0 )
##### Bug Fixes
- **cli:** fix default dimensions, prettier & svgo
([571d5c8](571d5c8bd1
))
- **config:** prefer cli config over rc config
([#​845](https://togithub.com/gregberge/svgr/issues/845 ))
([8b97248](8b97248426
))
- **react-native:** fix duplicate import
([#​894](https://togithub.com/gregberge/svgr/issues/894 ))
([e612b6a](e612b6a1a4
))
##### Features
- **esm:** add support for svgo.config.cjs
([#​879](https://togithub.com/gregberge/svgr/issues/879 ))
([ae91e2e](ae91e2eacb
))
####
[8.0.1](https://togithub.com/gregberge/svgr/compare/v8.0.0...v8.0.1 )
(2023-05-09)
##### Bug Fixes
- fix peer dependencies
([2e05255](2e0525546e
))
###
[`v8.0.1`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#801-2023-05-09 )
[Compare
Source](https://togithub.com/gregberge/svgr/compare/v8.0.0...v8.0.1 )
##### Bug Fixes
- fix peer dependencies
([2e05255](2e0525546e
))
###
[`v8.0.0`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#800-2023-05-09 )
[Compare
Source](https://togithub.com/gregberge/svgr/compare/v7.0.0...v8.0.0 )
##### Bug Fixes
- parseObject error causes website broken
([05f2946](05f2946d90
))
##### Features
- add snake_case filename option
([#​857](https://togithub.com/gregberge/svgr/issues/857 ))
([428b0c7](428b0c7f4c
))
- make index template more flexible
([#​861](https://togithub.com/gregberge/svgr/issues/861 ))
([003009c](003009c7b2
))
- **types:** change `SVGProps` from import to import type
([#​853](https://togithub.com/gregberge/svgr/issues/853 ))
([095f021](095f021628
))
##### BREAKING CHANGES
- index template now receives an array of objects containing both the
created
component path (`path`) and the original SVG path (`originalPath`)
###
[`v7.0.0`](https://togithub.com/gregberge/svgr/blob/HEAD/CHANGELOG.md#700-2023-03-24 )
[Compare
Source](https://togithub.com/gregberge/svgr/compare/v6.5.1...v7.0.0 )
##### Features
- allow specifying `jsxRuntimeImport` in config
([86bb86f](86bb86f477
)),
closes [#​801](https://togithub.com/gregberge/svgr/issues/801 )
[#​801](https://togithub.com/gregberge/svgr/issues/801 )
- remove [@​svgr/plugin-jsx](https://togithub.com/svgr/plugin-jsx )
from core
([a0f078d](a0f078db13
))
- upgrade to svgo v3
([#​798](https://togithub.com/gregberge/svgr/issues/798 ))
([21b6209](21b6209ef3
))
##### BREAKING CHANGES
- plugin-jsx is no longer included by default in core
- svgr now requires Node.js v14+
####
[6.5.1](https://togithub.com/gregberge/svgr/compare/v6.5.0...v6.5.1 )
(2022-10-27)
##### Reverts
- Revert "feat(a11y): add attribute role="img" to the svg element
([#​750](https://togithub.com/gregberge/svgr/issues/750 ))"
([1382232](138223284a
)),
closes [#​750](https://togithub.com/gregberge/svgr/issues/750 )
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 08:31:27 +02:00
renovate[bot]
6edab6cbbc
chore(deps): update dependency @babel/core to v7.22.10 ( #4498 )
...
[![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.22.9` ->
`7.22.10`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.22.9/7.22.10 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.22.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.22.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.22.9/7.22.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.22.9/7.22.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel (@​babel/core)</summary>
###
[`v7.22.10`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72210-2023-08-07 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.9...v7.22.10 )
##### 🐛 Bug Fix
- `babel-plugin-transform-typescript`
- [#​15799](https://togithub.com/babel/babel/pull/15799 ) \[ts]
Strip type-only namespaces
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- [#​15798](https://togithub.com/babel/babel/pull/15798 ) \[ts] Fix
compiling extended exported nested namespace
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-destructuring-private`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-class-static-block`,
`babel-plugin-transform-new-target`,
`babel-plugin-transform-private-methods`, `babel-preset-env`
- [#​15701](https://togithub.com/babel/babel/pull/15701 ) Memoize
class binding when compiling private methods and static elements
([@​JLHwung](https://togithub.com/JLHwung ))
##### 💅 Polish
- `babel-cli`
- [#​15824](https://togithub.com/babel/babel/pull/15824 ) Add
`meta` object to `@babel/eslint-plugin`
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-traverse`, `babel-types`
- [#​15661](https://togithub.com/babel/babel/pull/15661 ) Improve
the type definition of `path.isX`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-generator`, `babel-types`
- [#​15776](https://togithub.com/babel/babel/pull/15776 ) improve
SourceLocation typing ([@​JLHwung](https://togithub.com/JLHwung ))
##### 🏠 Internal
- Other
- [#​15818](https://togithub.com/babel/babel/pull/15818 ) build:
generate flow typings in prepublish job
([@​JLHwung](https://togithub.com/JLHwung ))
- [#​15777](https://togithub.com/babel/babel/pull/15777 ) chore:
bump dev dependencies and remove .eslintignore
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-cli`, `babel-core`, `babel-generator`,
`babel-helper-builder-react-jsx`, `babel-preset-env`, `babel-standalone`
- [#​15794](https://togithub.com/babel/babel/pull/15794 ) Enable
`@typescript-eslint/no-redundant-type-constituents` rule
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-helper-compilation-targets`
- [#​15811](https://togithub.com/babel/babel/pull/15811 ) Remove
`@babel/core` peerDep from `helper-compilation-targets`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-parser`
- [#​15793](https://togithub.com/babel/babel/pull/15793 ) Use const
enum in babel-parser ([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-plugin-transform-runtime`, `babel-traverse`, `babel-types`
- [#​15716](https://togithub.com/babel/babel/pull/15716 ) chore:
Use `typescript-eslint@v6` with reworked configs
([@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg ))
##### 🔬 Output optimization
- `babel-plugin-transform-block-scoping`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-regenerator`
- [#​15746](https://togithub.com/babel/babel/pull/15746 ) Reduce
`transform-block-scoping` loops output size
([@​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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-15 19:19:23 +00:00
Mateusz Kwasniewski
90f5af6b61
docs: change requests for segments ( #4476 )
2023-08-11 09:48:37 +02:00
Nuno Góis
95f4f641b5
docs: custom root roles ( #4451 )
...
https://linear.app/unleash/issue/2-1136/custom-root-roles-documentation
- [Adds documentation referencing custom root
roles](https://unleash-docs-git-docs-custom-root-roles-unleash-team.vercel.app/reference/rbac );
- [Adds a "How to create and assign custom root roles" how-to
guide](https://unleash-docs-git-docs-custom-root-roles-unleash-team.vercel.app/how-to/how-to-create-and-assign-custom-root-roles );
- Standardizes "global" roles to "root" roles;
- Standardizes "standard" roles to "predefined" roles to better reflect
their behavior and what is shown in our UI;
- Updates predefined role descriptions and makes them consistent;
- Updates the side panel description of the user form;
- Includes some boy scouting with some tiny fixes of things identified
along the way (e.g. the role form was persisting old data when closed
and re-opened);
Questions:
- Is it worth expanding the "Assigning custom root roles" section in the
"How to create and assign custom root roles" guide to include the steps
for assigning a root role for each entity (user, service account,
group)?
- Should this PR include an update to the existing "How to create and
assign custom project roles" guide? We've since updated the UI;
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-08-10 08:21:58 +01:00
Mateusz Kwasniewski
c549280e31
fix: Performance improvements for demo and docs update ( #4454 )
2023-08-09 12:58:03 +02:00
Mateusz Kwasniewski
f889eba6e9
docs: update strategy variants sdks and add sidebar link ( #4436 )
2023-08-07 14:53:13 +02:00
renovate[bot]
5f516c91e7
chore(deps): update dependency replace-in-file to v7 ( #4329 )
2023-08-03 13:12:33 +02:00
Mark Fulton
187ed8a39a
docs: Edge updates for docs/proxy-hosting ( #4275 )
...
docs: document edge/proxy hosting options and strategies
2023-08-02 14:32:12 +02:00
Mateusz Kwasniewski
20b1559329
docs: strategy variants in 5.4 ( #4372 )
2023-08-02 12:27:24 +02:00
Thomas Heartman
b8ab43543f
remove trailing periods ( #4378 )
...
remove trailing periods in markdown.
2023-08-01 15:20:10 +02:00
renovate[bot]
2269fc30e7
chore(deps): update dependency babel-loader to v9.1.3 ( #4293 )
2023-07-31 07:19:46 +00:00
renovate[bot]
0e8ae729a5
chore(deps): update react-router monorepo to v6.14.2 ( #4360 )
...
[![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.14.1` ->
`6.14.2`](https://renovatebot.com/diffs/npm/react-router/6.14.1/6.14.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.14.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.14.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.14.1/6.14.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.14.1/6.14.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.14.1` ->
`6.14.2`](https://renovatebot.com/diffs/npm/react-router-dom/6.14.1/6.14.2 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.14.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.14.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.14.1/6.14.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.14.1/6.14.2?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.14.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6142 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.14.1...react-router@6.14.2 )
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.7.2`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.14.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6142 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.14.1...react-router-dom@6.14.2 )
##### Patch Changes
- Properly decode element id when emulating hash scrolling via
`<ScrollRestoration>`
([#​10682](https://togithub.com/remix-run/react-router/pull/10682 ))
- Add missing `<Form state>` prop to populate `history.state` on
submission navigations
([#​10630](https://togithub.com/remix-run/react-router/pull/10630 ))
- Support proper hydration of `Error` subclasses such as
`ReferenceError`/`TypeError`
([#​10633](https://togithub.com/remix-run/react-router/pull/10633 ))
- Updated dependencies:
- `@remix-run/router@1.7.2`
- `react-router@6.14.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 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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-28 13:31:23 +00:00
renovate[bot]
26fd0e3bf6
chore(deps): update dependency trim-newlines to v5 ( #4330 )
2023-07-28 10:32:02 +00:00
Mateusz Kwasniewski
55148eb549
docs: strategy variants ( #4289 )
2023-07-25 15:35:29 +02:00
renovate[bot]
ae6a6868ed
chore(deps): update react-router monorepo to v6.14.1 ( #4320 )
...
[![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.13.0` ->
`6.14.1`](https://renovatebot.com/diffs/npm/react-router/6.13.0/6.14.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.14.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.14.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.13.0/6.14.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.13.0/6.14.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.13.0` ->
`6.14.1`](https://renovatebot.com/diffs/npm/react-router-dom/6.13.0/6.14.1 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.14.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.14.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.13.0/6.14.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.13.0/6.14.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.14.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6141 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.14.0...react-router@6.14.1 )
##### Patch Changes
- Fix loop in `unstable_useBlocker` when used with an unstable blocker
function
([#​10652](https://togithub.com/remix-run/react-router/pull/10652 ))
- Fix issues with reused blockers on subsequent navigations
([#​10656](https://togithub.com/remix-run/react-router/pull/10656 ))
- Updated dependencies:
- `@remix-run/router@1.7.1`
###
[`v6.14.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6140 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.13.0...react-router@6.14.0 )
##### Patch Changes
- Strip `basename` from locations provided to `unstable_useBlocker`
functions to match `useLocation`
([#​10573](https://togithub.com/remix-run/react-router/pull/10573 ))
- Fix `generatePath` when passed a numeric `0` value parameter
([#​10612](https://togithub.com/remix-run/react-router/pull/10612 ))
- Fix `unstable_useBlocker` key issues in `StrictMode`
([#​10573](https://togithub.com/remix-run/react-router/pull/10573 ))
- Fix `tsc --skipLibCheck:false` issues on React 17
([#​10622](https://togithub.com/remix-run/react-router/pull/10622 ))
- Upgrade `typescript` to 5.1
([#​10581](https://togithub.com/remix-run/react-router/pull/10581 ))
- Updated dependencies:
- `@remix-run/router@1.7.0`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.14.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6141 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.14.0...react-router-dom@6.14.1 )
##### Patch Changes
- Updated dependencies:
- `react-router@6.14.1`
- `@remix-run/router@1.7.1`
###
[`v6.14.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6140 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.13.0...react-router-dom@6.14.0 )
##### Minor Changes
- Add support for `application/json` and `text/plain` encodings for
`useSubmit`/`fetcher.submit`. To reflect these additional types,
`useNavigation`/`useFetcher` now also contain
`navigation.json`/`navigation.text` and `fetcher.json`/`fetcher.text`
which include the json/text submission if applicable
([#​10413](https://togithub.com/remix-run/react-router/pull/10413 ))
```jsx
// The default behavior will still serialize as FormData
function Component() {
let navigation = useNavigation();
let submit = useSubmit();
submit({ key: "value" }, { method: "post" });
// navigation.formEncType => "application/x-www-form-urlencoded"
// navigation.formData => FormData instance
}
async function action({ request }) {
// request.headers.get("Content-Type") =>
"application/x-www-form-urlencoded"
// await request.formData() => FormData instance
}
```
```js
// Opt-into JSON encoding with `encType: "application/json"`
function Component() {
let navigation = useNavigation();
let submit = useSubmit();
submit({ key: "value" }, { method: "post", encType: "application/json"
});
// navigation.formEncType => "application/json"
// navigation.json => { key: "value" }
}
async function action({ request }) {
// request.headers.get("Content-Type") => "application/json"
// await request.json() => { key: "value" }
}
```
```js
// Opt-into text encoding with `encType: "text/plain"`
function Component() {
let navigation = useNavigation();
let submit = useSubmit();
submit("Text submission", { method: "post", encType: "text/plain" });
// navigation.formEncType => "text/plain"
// navigation.text => "Text submission"
}
async function action({ request }) {
// request.headers.get("Content-Type") => "text/plain"
// await request.text() => "Text submission"
}
```
##### Patch Changes
- When submitting a form from a `submitter` element, prefer the built-in
`new FormData(form, submitter)` instead of the previous manual approach
in modern browsers (those that support the new `submitter` parameter)
([#​9865](https://togithub.com/remix-run/react-router/pull/9865 ),
[#​10627](https://togithub.com/remix-run/react-router/pull/10627 ))
- For browsers that don't support it, we continue to just append the
submit button's entry to the end, and we also add rudimentary support
for `type="image"` buttons
- If developers want full spec-compliant support for legacy browsers,
they can use the `formdata-submitter-polyfill`
- Call `window.history.pushState/replaceState` before updating React
Router state (instead of after) so that `window.location` matches
`useLocation` during synchronous React 17 rendering
([#​10448](https://togithub.com/remix-run/react-router/pull/10448 ))
- ⚠️ However, generally apps should not be relying on `window.location`
and should always reference `useLocation` when possible, as
`window.location` will not be in sync 100% of the time (due to
`popstate` events, concurrent mode, etc.)
- Fix `tsc --skipLibCheck:false` issues on React 17
([#​10622](https://togithub.com/remix-run/react-router/pull/10622 ))
- Upgrade `typescript` to 5.1
([#​10581](https://togithub.com/remix-run/react-router/pull/10581 ))
- Updated dependencies:
- `react-router@6.14.0`
- `@remix-run/router@1.7.0`
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-21 19:11:33 +00:00
renovate[bot]
39162dd8d2
chore(deps): update dependency semver to v7.5.4 ( #4296 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [semver](https://togithub.com/npm/node-semver ) | [`7.5.3` ->
`7.5.4`](https://renovatebot.com/diffs/npm/semver/7.5.3/7.5.4 ) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/semver/7.5.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/semver/7.5.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/semver/7.5.3/7.5.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/semver/7.5.3/7.5.4?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>npm/node-semver (semver)</summary>
###
[`v7.5.4`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#754-2023-07-07 )
[Compare
Source](https://togithub.com/npm/node-semver/compare/v7.5.3...v7.5.4 )
##### Bug Fixes
-
[`cc6fde2`](cc6fde2d34
)
[#​588](https://togithub.com/npm/node-semver/pull/588 ) trim each
range set before parsing
([@​lukekarrys](https://togithub.com/lukekarrys ))
-
[`99d8287`](99d8287516
)
[#​583](https://togithub.com/npm/node-semver/pull/583 ) correctly
parse long build ids as valid
([#​583](https://togithub.com/npm/node-semver/issues/583 ))
([@​lukekarrys](https://togithub.com/lukekarrys ))
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 19:00:36 +00:00
renovate[bot]
9f2ce86712
chore(deps): update dependency @babel/core to v7.22.9 ( #4288 )
...
[![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.22.5` ->
`7.22.9`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.22.5/7.22.9 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.22.9?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.22.9?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.22.5/7.22.9?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.22.5/7.22.9?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel (@​babel/core)</summary>
###
[`v7.22.9`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7229-2023-07-12 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.8...v7.22.9 )
##### 🐛 Bug Fix
- `babel-plugin-transform-typescript`
- [#​15774](https://togithub.com/babel/babel/pull/15774 ) fix:
`Infinity` in enums
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
##### 💅 Polish
- `babel-generator`
- [#​15757](https://togithub.com/babel/babel/pull/15757 )
`recordAndTupleSyntaxType` defaults to `"hash"`
([@​coderaiser](https://togithub.com/coderaiser ))
##### 🏠 Internal
- [#​15748](https://togithub.com/babel/babel/pull/15748 ) Migrate
to `eslint.config.js` ([@​JLHwung](https://togithub.com/JLHwung ))
- [#​15758](https://togithub.com/babel/babel/pull/15758 ) Use
Prettier 3 stable
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
###
[`v7.22.8`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7228-2023-07-06 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.7...v7.22.8 )
##### ↩️ Revert
- `babel-core`, `babel-traverse`
- [#​15754](https://togithub.com/babel/babel/pull/15754 ) Revert
"Use `NodePath#hub` as part of the paths cache key"
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
###
[`v7.22.7`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7227-2023-07-06 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.6...v7.22.7 )
##### 🐛 Bug Fix
- `babel-generator`
- [#​15719](https://togithub.com/babel/babel/pull/15719 ) fix:
Avoid internally generating negative source maps columns
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-core`, `babel-traverse`
- [#​15725](https://togithub.com/babel/babel/pull/15725 ) Use
`NodePath#hub` as part of the paths cache key
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- Other
- [#​15747](https://togithub.com/babel/babel/pull/15747 ) fix:
export `meta` from `eslint-parser/experimental-worker`
([@​JLHwung](https://togithub.com/JLHwung ))
##### 🏠 Internal
- `babel-core`, `babel-traverse`
- [#​15702](https://togithub.com/babel/babel/pull/15702 ) Refactor
visitors merging
([@​nullableVoidPtr](https://togithub.com/nullableVoidPtr ))
###
[`v7.22.6`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7226-2023-07-04 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.5...v7.22.6 )
##### 🐛 Bug Fix
- `babel-compat-data`, `babel-helper-compilation-targets`,
`babel-preset-env`
- [#​15727](https://togithub.com/babel/babel/pull/15727 ) Add opera
mobile compat data ([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-plugin-transform-optional-chaining`
- [#​15739](https://togithub.com/babel/babel/pull/15739 ) Fix
transform of `delete a?.b` in function params
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-helper-split-export-declaration`,
`babel-plugin-transform-modules-commonjs`
- [#​15736](https://togithub.com/babel/babel/pull/15736 ) fix:
Default export for duplicate names
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-compat-data`, `babel-preset-env`
- [#​15726](https://togithub.com/babel/babel/pull/15726 ) update
compat-data sources ([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`,
`babel-runtime-corejs3`, `babel-runtime`
- [#​15705](https://togithub.com/babel/babel/pull/15705 ) Fix
handling of sync error in `@@​asyncDispose`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-standalone`
- [#​15707](https://togithub.com/babel/babel/pull/15707 ) fix:
Support transforming Explicit Resource Management in `stage-2`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-core`
- [#​15626](https://togithub.com/babel/babel/pull/15626 ) fix:
Works correctly with `--frozen-intrinsics`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
##### 🏠 Internal
- `babel-helper-create-class-features-plugin`,
`babel-plugin-transform-classes`
- [#​15700](https://togithub.com/babel/babel/pull/15700 ) Minor
class transform cleanups
([@​JLHwung](https://togithub.com/JLHwung ))
##### 🔬 Output optimization
- `babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-optional-chaining`,
`babel-plugin-transform-typescript`
- [#​15740](https://togithub.com/babel/babel/pull/15740 ) Compress
output for optional chain with multiple `?.`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-plugin-proposal-destructuring-private`,
`babel-plugin-proposal-do-expressions`,
`babel-plugin-proposal-pipeline-operator`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-nullish-coalescing-operator`,
`babel-plugin-transform-optional-chaining`,
`babel-plugin-transform-private-property-in-object`, `babel-traverse`
- [#​15741](https://togithub.com/babel/babel/pull/15741 ) Inject
tmp vars in the params list of IIFEs when possible
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 14:05:18 +00:00
renovate[bot]
7a40da5a50
chore(deps): update dependency @tsconfig/docusaurus to v2 ( #4107 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tsconfig/docusaurus](https://togithub.com/tsconfig/bases ) | [`1.0.7`
->
`2.0.0`](https://renovatebot.com/diffs/npm/@tsconfig%2fdocusaurus/1.0.7/2.0.0 )
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tsconfig%2fdocusaurus/2.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tsconfig%2fdocusaurus/2.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tsconfig%2fdocusaurus/1.0.7/2.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tsconfig%2fdocusaurus/1.0.7/2.0.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>tsconfig/bases (@​tsconfig/docusaurus)</summary>
###
[`v2.0.0`](5063f71ee6...821d9aa0b2
)
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjM2LjguMTEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 13:47:45 +00:00
dependabot[bot]
051cd8b3e5
chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /website ( #4285 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3
to 1.2.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jonschlinkert/word-wrap/releases ">word-wrap's
releases</a>.</em></p>
<blockquote>
<h2>1.2.4</h2>
<h2>What's Changed</h2>
<ul>
<li>Remove default indent by <a
href="https://github.com/mohd-akram "><code>@mohd-akram</code></a> in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/24 ">jonschlinkert/word-wrap#24</a></li>
<li>🔒 fix: CVE 2023 26115 (2) by <a
href="https://github.com/OlafConijn "><code>@OlafConijn</code></a> in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/41 ">jonschlinkert/word-wrap#41</a></li>
<li>🔒 fix: CVE-2023-26115 by <a
href="https://github.com/aashutoshrathi "><code>@aashutoshrathi</code></a>
in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/33 ">jonschlinkert/word-wrap#33</a></li>
<li>chore: publish workflow by <a
href="https://github.com/OlafConijn "><code>@OlafConijn</code></a> in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/42 ">jonschlinkert/word-wrap#42</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/mohd-akram "><code>@mohd-akram</code></a> made
their first contribution in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/24 ">jonschlinkert/word-wrap#24</a></li>
<li><a
href="https://github.com/OlafConijn "><code>@OlafConijn</code></a> made
their first contribution in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/41 ">jonschlinkert/word-wrap#41</a></li>
<li><a
href="https://github.com/aashutoshrathi "><code>@aashutoshrathi</code></a>
made their first contribution in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/33 ">jonschlinkert/word-wrap#33</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 ">https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f64b188c72
"><code>f64b188</code></a>
run verb to generate README</li>
<li><a
href="03ea08256b
"><code>03ea082</code></a>
Merge pull request <a
href="https://redirect.github.com/jonschlinkert/word-wrap/issues/42 ">#42</a>
from jonschlinkert/chore/publish-workflow</li>
<li><a
href="420dce9a24
"><code>420dce9</code></a>
Merge pull request <a
href="https://redirect.github.com/jonschlinkert/word-wrap/issues/41 ">#41</a>
from jonschlinkert/fix/CVE-2023-26115-2</li>
<li><a
href="bfa694edf5
"><code>bfa694e</code></a>
Update .github/workflows/publish.yml</li>
<li><a
href="ace0b3c78f
"><code>ace0b3c</code></a>
chore: bump version to 1.2.4</li>
<li><a
href="6fd7275946
"><code>6fd7275</code></a>
chore: add publish workflow</li>
<li><a
href="30d6daf60f
"><code>30d6daf</code></a>
chore: fix test</li>
<li><a
href="655929cabe
"><code>655929c</code></a>
chore: remove package-lock</li>
<li><a
href="49e08bbc32
"><code>49e08bb</code></a>
chore: added an additional testcase</li>
<li><a
href="9f626935f3
"><code>9f62693</code></a>
fix: cve 2023-26115</li>
<li>Additional commits viewable in <a
href="https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=word-wrap&package-manager=npm_and_yarn&previous-version=1.2.3&new-version=1.2.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 will merge this PR once it's up-to-date and CI passes on it,
as requested by @gastonfournier.
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 13:07:01 +00:00
Thomas Heartman
60b9431b67
docs: document feature potentially stale on events ( #4278 )
...
Document new "feature-potentially-stale-on" events.
Relates to #4205
2023-07-19 15:20:01 +02:00
Thomas Heartman
6ac430ff2d
docs( #4205 ): update feature toggle types doc to add lifetime info ( #4273 )
...
This change updates the existing feature toggle types document to add
a new `expected lifetime` section. This section explains better what
lifetimes are, where they come from, and that admins can (soon) change
the expected lifetimes for feature toggles.
2023-07-19 11:27:02 +02:00
Thomas Heartman
ea5b26c7a3
Chore: move event types into a separate reference doc. ( #4268 )
...
Remove the list from the events API page and instead point to the new
doc.
The new page is listed as "event types" under "unleash concepts"
2023-07-19 11:25:27 +02:00
Simon Hornby
4fc0f61753
docs: update postgres ssl docs to accurately use ca over key ( #4271 )
2023-07-18 14:11:25 +02:00
Thomas Heartman
35fbd8f271
docs: update playground docs to mention advanced features ( #4266 )
...
This change updates the playground reference docs with some new images
and an explanation of how the results work now.
I have not removed any of the old images because I think they still
illustrate well how the playground works. And because they're not
direct screenshots anyway, that sounds like a fair trade-off to me.
2023-07-18 12:59:19 +02:00
sebastian-bury
3e98e1743f
update to add Edge to overview
2023-07-13 17:34:30 +02:00
David Leek
eb1df78383
docs: add description of how to install jira cloud plugin ( #4197 )
2023-07-13 09:36:38 +02:00
Gastón Fournier
dfca41c5a0
docs: highlight unleash edge ( #4229 )
...
Highlight edge in the first paragraph.
Not sure if we should suggest that it should be the preferred choice,
but at least this helps to realize there's an alternative already in the
first paragraph.
2023-07-13 09:24:27 +02:00
Gastón Fournier
96bc5ccd94
docs: suggest to use strategy constraints instead of custom strategies ( #4215 )
...
## About the changes
Custom activation strategies are still the recommended way to go in our
documentation, but now most of the use cases for custom activation
strategies can be covered by strategy constraints (released with Unleash
4.16)
With this change, we try to drive people to use strategy constraints.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-07-11 11:35:58 +02:00
Christopher Kolstad
4007ebfffb
docs: Update proxy hosting to point to Frontend API ( #4191 )
...
### What
We had a customer wonder why `/api/proxy/development` wasn't configured
for them. After some digging it was found that they'd followed our
documentation and assumed that the proxy was configured for them.
However, since we no longer host proxies, this was not the case. This PR
updates the documentation to point out that "Unleash hosts everything"
now means that our clients should use Frontend API keys and the
`/api/frontend` endpoint to get what they used to get from embedded
proxies.
## Missing
We should make a new illustration in the same vein as the other
illustrations on this page to demonstrate what the Frontend API really
is. This PR removes the reference to the picture of the topology of
having Unleash hosting proxies.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-07-11 10:55:54 +02:00
Christopher Kolstad
ff1af03f0e
docs: add impression events as supported in the java sdk ( #4213 )
...
## What
A very small change flagging impression events as supported in the Java
SDK
2023-07-11 10:54:49 +02:00
Ivar Conradi Østhus
ec1bc9bb4e
fix: do not include rio server-side
2023-07-07 14:08:50 +02:00
Ivar Conradi Østhus
9e204efbd0
fix: only load if document present
2023-07-07 13:33:24 +02:00
Ivar Conradi Østhus
f995a0ed6c
chore: add reo to docs
2023-07-07 12:52:46 +02:00
Mateusz Kwasniewski
3ebf3c05f8
docs: project overview ( #4176 )
2023-07-07 11:50:54 +02:00
Mateusz Kwasniewski
79b34121a4
feat: openapi schema for user admin ( #4146 )
2023-07-06 08:24:46 +02:00
renovate[bot]
321265e0ed
chore(deps): update dependency got to v13 ( #3952 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [got](https://togithub.com/sindresorhus/got ) | [`^11.8.5` ->
`^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0 ) |
[![age](https://badges.renovateapi.com/packages/npm/got/13.0.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/got/13.0.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/got/13.0.0/compatibility-slim/11.8.6 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/got/13.0.0/confidence-slim/11.8.6 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
###
[`v13.0.0`](https://togithub.com/sindresorhus/got/releases/tag/v13.0.0 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.6.1...v13.0.0 )
As a reminder, Got continues to require ESM. For TypeScript users, this
includes having [`"module": "node16", "moduleResolution": "node16"` in
your
tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm ).
##### Breaking
- Require Node.js 16
[`52a1063`](https://togithub.com/sindresorhus/got/commit/52a1063 )
- Change the
[`enableUnixSockets`](https://togithub.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets )
option to be `false` by default
[`852c312`](https://togithub.com/sindresorhus/got/commit/852c312 )
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options
([#​2258](https://togithub.com/sindresorhus/got/issues/2258 ))
[`1cefe8b`](https://togithub.com/sindresorhus/got/commit/1cefe8b )
###
[`v12.6.1`](https://togithub.com/sindresorhus/got/releases/tag/v12.6.1 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.6.0...v12.6.1 )
- Fix `get-stream` import statement
([#​2266](https://togithub.com/sindresorhus/got/issues/2266 ))
[`67d5039`](https://togithub.com/sindresorhus/got/commit/67d5039 )
###
[`v12.6.0`](https://togithub.com/sindresorhus/got/releases/tag/v12.6.0 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.5.3...v12.6.0 )
- Update dependencies
[`88c88fb`](https://togithub.com/sindresorhus/got/commit/88c88fb )
[`979272e`](https://togithub.com/sindresorhus/got/commit/979272e )
- Loosen URL validation strictness
([#​2200](https://togithub.com/sindresorhus/got/issues/2200 ))
[`0ca0b7f`](https://togithub.com/sindresorhus/got/commit/0ca0b7f )
###
[`v12.5.3`](https://togithub.com/sindresorhus/got/releases/tag/v12.5.3 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.5.2...v12.5.3 )
- Fix abort event listeners not always being cleaned up
([#​2162](https://togithub.com/sindresorhus/got/issues/2162 ))
[`3cc40b5`](https://togithub.com/sindresorhus/got/commit/3cc40b5 )
###
[`v12.5.2`](https://togithub.com/sindresorhus/got/releases/tag/v12.5.2 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.5.1...v12.5.2 )
- Improve TypeScript 4.9 compatibility
([#​2163](https://togithub.com/sindresorhus/got/issues/2163 ))
[`39f83b6`](https://togithub.com/sindresorhus/got/commit/39f83b6 )
###
[`v12.5.1`](https://togithub.com/sindresorhus/got/releases/tag/v12.5.1 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.5.0...v12.5.1 )
- Fix compatibility with TypeScript and ESM
[`3b3ea67`](https://togithub.com/sindresorhus/got/commit/3b3ea67 )
- Fix request body not being properly cached
([#​2150](https://togithub.com/sindresorhus/got/issues/2150 ))
[`3e9d3af`](https://togithub.com/sindresorhus/got/commit/3e9d3af )
###
[`v12.5.0`](https://togithub.com/sindresorhus/got/releases/tag/v12.5.0 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.4.1...v12.5.0 )
- Disable method rewriting on 307 and 308 status codes
([#​2145](https://togithub.com/sindresorhus/got/issues/2145 ))
[`e049e94`](https://togithub.com/sindresorhus/got/commit/e049e94 )
- Upgrade dependencies
[`8630815`](https://togithub.com/sindresorhus/got/commit/8630815 )
[`f0ac0b3`](https://togithub.com/sindresorhus/got/commit/f0ac0b3 )
[`4c3762a`](https://togithub.com/sindresorhus/got/commit/4c3762a )
###
[`v12.4.1`](https://togithub.com/sindresorhus/got/releases/tag/v12.4.1 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.4.0...v12.4.1 )
##### Fixes
- Fix `options.context` being not extensible
[`b671480`](b671480715
)
- Don't emit `uploadProgress` after promise cancelation
[`693de21`](693de217b0
)
###
[`v12.4.0`](https://togithub.com/sindresorhus/got/releases/tag/v12.4.0 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.3.1...v12.4.0 )
##### Improvements
- Support FormData without known length
([#​2120](https://togithub.com/sindresorhus/got/issues/2120 ))
[`850773c`](https://togithub.com/sindresorhus/got/commit/850773c )
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the
`throwHttpErrors` option is `false`
([#​2104](https://togithub.com/sindresorhus/got/issues/2104 ))
[`3927348`](https://togithub.com/sindresorhus/got/commit/3927348 )
###
[`v12.3.1`](https://togithub.com/sindresorhus/got/releases/tag/v12.3.1 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.3.0...v12.3.1 )
- Don't freeze signal when freezing Options
([#​2100](https://togithub.com/sindresorhus/got/issues/2100 ))
[`43b1467`](https://togithub.com/sindresorhus/got/commit/43b1467 )
###
[`v12.3.0`](https://togithub.com/sindresorhus/got/releases/tag/v12.3.0 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.2.0...v12.3.0 )
- Add `.off()` method for events
([#​2092](https://togithub.com/sindresorhus/got/issues/2092 ))
[`88056be`](https://togithub.com/sindresorhus/got/commit/88056be )
###
[`v12.2.0`](https://togithub.com/sindresorhus/got/releases/tag/v12.2.0 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.1.0...v12.2.0 )
- [Support
`AbortController`](https://togithub.com/sindresorhus/got/blob/main/documentation/2-options.md#signal )
([#​2020](https://togithub.com/sindresorhus/got/issues/2020 ))
[`6a6d2a9`](https://togithub.com/sindresorhus/got/commit/6a6d2a9 )
- Add
[`enableUnixSockets`](https://togithub.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets )
option
([#​2062](https://togithub.com/sindresorhus/got/issues/2062 ))
[`461b3d4`](https://togithub.com/sindresorhus/got/commit/461b3d4 )
###
[`v12.1.0`](https://togithub.com/sindresorhus/got/releases/tag/v12.1.0 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.0.4...v12.1.0 )
##### Improvements
- Add `response.ok`
([#​2043](https://togithub.com/sindresorhus/got/issues/2043 ))
[`22d58fb`](https://togithub.com/sindresorhus/got/commit/22d58fb )
- This is only useful if you have [`{throwHttpErrors:
false}`](https://togithub.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors )
##### Fixes
- Do not redirect to UNIX sockets
([#​2047](https://togithub.com/sindresorhus/got/issues/2047 ))
[`861ccd9`](https://togithub.com/sindresorhus/got/commit/861ccd9 )
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987 )
- [Also back ported to
v11](https://togithub.com/sindresorhus/got/releases/tag/v11.8.5 )
###
[`v12.0.4`](https://togithub.com/sindresorhus/got/releases/tag/v12.0.4 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.0.3...v12.0.4 )
- Remove stream lock - unreliable since Node 17.3.0
[`bb8eca9`](bb8eca924c
)
###
[`v12.0.3`](https://togithub.com/sindresorhus/got/releases/tag/v12.0.3 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.0.2...v12.0.3 )
- Allow more types in the `json` option
([#​2015](https://togithub.com/sindresorhus/got/issues/2015 ))
[`eb045bf`](https://togithub.com/sindresorhus/got/commit/eb045bf )
###
[`v12.0.2`](https://togithub.com/sindresorhus/got/releases/tag/v12.0.2 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.0.1...v12.0.2 )
- Fix `encoding` option with `{responseType: 'json'}`
([#​1996](https://togithub.com/sindresorhus/got/issues/1996 ))
[`0703318`](https://togithub.com/sindresorhus/got/commit/0703318 )
###
[`v12.0.1`](https://togithub.com/sindresorhus/got/releases/tag/v12.0.1 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v12.0.0...v12.0.1 )
- Fix `nock` compatibility
([#​1959](https://togithub.com/sindresorhus/got/issues/1959 ))
[`bf39d2c`](https://togithub.com/sindresorhus/got/commit/bf39d2c )
- Fix missing export of `Request` TypeScript type
([#​1940](https://togithub.com/sindresorhus/got/issues/1940 ))
[`0f9f2b8`](https://togithub.com/sindresorhus/got/commit/0f9f2b8 )
###
[`v12.0.0`](https://togithub.com/sindresorhus/got/releases/tag/v12.0.0 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v11.8.6...v12.0.0 )
##### Introducing Got v12.0.0 🎉
Long time no see! The latest Got version (v11.8.2) was released just in
February ❄️
We have been working hard on squashing bugs and improving overall
experience.
If you find Got useful, you might want to [sponsor the Got
maintainers](https://togithub.com/sindresorhus/got?sponsor=1 ).
##### This package is now pure ESM
**Please [read
this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c ).**
Also see
[https://github.com/sindresorhus/got/issues/1789 ](https://togithub.com/sindresorhus/got/issues/1789 ).
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use
import to load ES Module` errors.** This is a problem with your setup,
not Got.
- Please don't open issues about using Got with Jest. Jest does not
fully support ESM.
- Pretty much any problem with loading this package is a problem with
your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until
TypeScript 4.6 is out.
[Why.](https://togithub.com/microsoft/TypeScript/issues/46452 )
- If you use a bundler, make sure it supports ESM and that you have
correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite
build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed
workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code
would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we
decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it
on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or
above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces
([#​1491](https://togithub.com/sindresorhus/got/issues/1491 ))
[`49c16ee`](49c16ee54f
)
- Remove automatic `content-length` on ReadStream
([#​1510](https://togithub.com/sindresorhus/got/issues/1510 ))
[`472b8ef`](472b8ef9d9
)
- Fix promise shortcuts in case of error status code
([#​1543](https://togithub.com/sindresorhus/got/issues/1543 ))
[`ff918fb`](ff918fb6de
)
[`1107cc6`](1107cc625e
)
- Invert the `methodRewriting` option
[`51d88a0`](51d88a0efe
)
- Fix `url` not being reused on retry in rare case
([#​1487](https://togithub.com/sindresorhus/got/issues/1487 ))
[`462bc63`](462bc63001
)
- Fix hanging promise on HTTP/2 timeout
([#​1492](https://togithub.com/sindresorhus/got/issues/1492 ))
[`a59fac4`](a59fac415a
)
- Prevent uncaught ParseErrors on initial successful response
([#​1527](https://togithub.com/sindresorhus/got/issues/1527 ))
[`77df9c3`](77df9c33db
)
- Throw an error when retrying with consumed body
([#​1507](https://togithub.com/sindresorhus/got/issues/1507 ))
[`62305d7`](62305d77d3
)
- Fix a Node.js 16 bug that hangs Got streams
[`06a2d3d`](06a2d3d7d8
)
- Fix default pagination handling for empty Link header
([#​1768](https://togithub.com/sindresorhus/got/issues/1768 ))
[`1e1e506`](1e1e50647e
)
- Fix incorrect `response.complete` when using cache
[`9e15d88`](9e15d887da
)
- Fix `Cannot call end` error when `request` returns a `Writable`
[`226cc39`](226cc3995f
)
- Fix Request options not being reused on retry
[`3c23eea`](3c23eea5a0
)
- Fix types being not compatible with CommonJS
[`3c23eea`](3c23eea5a0
)
- Fix `got.paginate does not call init hooks`
([#​1574](https://togithub.com/sindresorhus/got/issues/1574 ))
[`3c23eea`](3c23eea5a0
)
- Generate a new object when passing options to the native `https`
module
([#​1567](https://togithub.com/sindresorhus/got/issues/1567 ))
[`3c23eea`](3c23eea5a0
)
- Remove stream reuse check
([#​1803](https://togithub.com/sindresorhus/got/issues/1803 ))
[`9ecc5ee`](9ecc5ee76f
)
- Fix merging `searchParams`
([#​1814](https://togithub.com/sindresorhus/got/issues/1814 ))
[`1018c20`](1018c2029e
)
[`732e9bd`](732e9bd940
)
- Fix unhandled exception when lookup returns invalid IP early
([#​1737](https://togithub.com/sindresorhus/got/issues/1737 ))
[`2453e5e`](2453e5e421
)
- Fix relative URLs when paginating
[`439fb82`](439fb82d2a
)
- Require url to be an instance of URL when paginating
([#​1818](https://togithub.com/sindresorhus/got/issues/1818 ))
[`eda69ff`](eda69ff924
)
- Fix `username` and `password` encoding in URL
([#​1169](https://togithub.com/sindresorhus/got/issues/1169 )
[#​1317](https://togithub.com/sindresorhus/got/issues/1317 ))
[`d65d0ca`](d65d0caf62
)
- Clone raw options
[`1c4cefc`](1c4cefc9b4
)
- Fix invalid `afterResponse` return check
[`cbc8902`](https://togithub.com/sindresorhus/got/commit/cbc8902 )
- Fix `https.alpnProtocols` not having an effect
[`e1099fb`](https://togithub.com/sindresorhus/got/commit/e1099fb )
##### Improvements
- Make the `context` option mergeable
([#​1459](https://togithub.com/sindresorhus/got/issues/1459 ))
[`2b8ed1f`](2b8ed1f5a1
)
- Add generic argument to AfterResponseHook TypeScript type
([#​1589](https://togithub.com/sindresorhus/got/issues/1589 ))
[`6fc04a9`](6fc04a9b92
)
- Add read timeout
([#​1518](https://togithub.com/sindresorhus/got/issues/1518 ))
[`e943672`](e9436720fc
)
*(blocked by
[https://github.com/nodejs/node/issues/35923 ](https://togithub.com/nodejs/node/issues/35923 ))*
- Improve the pagination API
([#​1644](https://togithub.com/sindresorhus/got/issues/1644 ))
[`2675046`](2675046a83
)
- Change the stackAllItems option to be false by default
([#​1645](https://togithub.com/sindresorhus/got/issues/1645 ))
[`1120370`](1120370e05
)
- Throw when afterResponse hook returns an invalid value
[`4f21eb3`](4f21eb3db7
)
- Add `retry.backoffLimit` option
[`41c4136`](41c4136632
)
- Add `noise` retry option
[`e830077`](e830077046
)
- Enable more HTTPS options
[`83575d5`](83575d590a
)
[`fe723a0`](fe723a0477
)
(thanks [@​Giotino](https://togithub.com/Giotino ))
- Define `error.code`
[`f27e8d3`](f27e8d3316
)
- Set `options.url` even if some options are invalid
[`8d6a680`](8d6a680788
)
- Improve memory usage when merging options
[`2db5ec5`](2db5ec5d36
)
- Support async generators as body
[`854430f`](854430f013
)
[`3df52f3`](3df52f38ed
)
- Add missing `once` types for Stream API
[`3c23eea`](3c23eea5a0
)
- New error type: `RetryError` which always triggers a new retry when
thrown
[`3c23eea`](3c23eea5a0
)
- `error.options` is now enumerable
[`3c23eea`](3c23eea5a0
)
- `defaults.handlers` don't need a default handler now
[`3c23eea`](3c23eea5a0
)
- Add a parser for the `Link` header
[`3c23eea`](3c23eea5a0
)
- General code improvements
[`a5dd9aa`](a5dd9aa37e
)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse
and validate Got options.
It is made of setters and getters that provide fast normalization and
more consistent behavior.
When passing an option does not exist, Got will throw an error. In order
to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything ', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to
an `Options` instance.
In order to define your own options, you have to move them to
`options.context` in an [`init`
hook](https://togithub.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization )
or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object
explicitly.
```diff
- await got('https://example.com '); // this will *not* trigger the init hooks
+ await got('https://example.com ', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and
`Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like
[#​1450](https://togithub.com/sindresorhus/got/issues/1450 )
- Legacy `Url` instances are not supported anymore. You need to use
WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com ', {timeout: 5000})
+ await got('https://example.com ', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com ', {retry: 5})
+ await got('https://example.com ', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com ', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com ', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com ', {lookup: cacheable.lookup})
+ await got('https://example.com ', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and
`retryCount`
```diff
await got('https://example.com ', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible
via `error.options`. All modifications on `error.options` will be
reflected in the next requests (no behavior change, same as with Got
11).
- The `beforeRedirect` hook's first argument (options) is now a cloned
instance of the Request options.
This was done to make retrieving the original options possible:
`plainResponse.request.options`.
```diff
await got('http://szmarczak.com ', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order:
`updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol
instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json ')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no
longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last
function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`,
`https` and `http2`.
```diff
await got('https://example.com ', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an
absolute URL - the `prefixUrl` option is always reset from now on. The
same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was
counterintuitive if used with the Pagination API. For example, it worked
fine if the server replied with a relative URL, but if it was an
absolute URL then the `prefixUrl` would end up duplicated. In order to
fix this, Got now requires an absolute URL - no `prefixUrl` will be
applied.
- `got.extend(…)` will throw when passing some options that don't accept
undefined - undefined no longer retains the old value, as setting
undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find
exactly what you are looking for. We hope you like it ❤️
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-05 13:25:45 +02:00
Ivar Conradi Østhus
71be28c1df
semver: pin at ^7.5.3
2023-07-04 16:55:40 +02:00
Thomas Heartman
9c7eadded0
docs: switch order of api doc sidebar items; put legacy docs under legacy header ( #4135 )
...
Also adds a caution admonition to the legacy doc index page
2023-07-04 14:19:34 +02:00
Gastón Fournier
13def9a3a3
docs: Documentation around metrics API ( #4134 )
...
## About the changes
Mark some legacy endpoints as deprecated (they are long deprecated but
documentation was out of date) and fix some of the URLs
2023-07-04 11:16:05 +02:00
Mateusz Kwasniewski
d3b3652984
docs: not on latest unleash with openapi enabeld ( #4024 )
2023-07-03 13:48:46 +02:00
John Farrar
65995b238a
Update index.md, 2 grammar updates ( #4086 )
...
Included a library from the ColdBox Open Source team.
More detail here if needed.
https://forgebox.io/view/unleashsdk
I cheated on the grammar. Grammarly helps me out there.
2023-06-29 10:02:27 +00:00
renovate[bot]
9c3c40b801
chore(deps): update dependency @storybook/testing-library to v0.2.0 ( #4103 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@storybook/testing-library](https://togithub.com/storybookjs/testing-library )
| [`0.1.0` ->
`0.2.0`](https://renovatebot.com/diffs/npm/@storybook%2ftesting-library/0.1.0/0.2.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2ftesting-library/0.2.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2ftesting-library/0.2.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2ftesting-library/0.2.0/compatibility-slim/0.1.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2ftesting-library/0.2.0/confidence-slim/0.1.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>storybookjs/testing-library
(@​storybook/testing-library)</summary>
###
[`v0.2.0`](https://togithub.com/storybookjs/testing-library/releases/tag/v0.2.0 )
[Compare
Source](https://togithub.com/storybookjs/testing-library/compare/v0.1.0...v0.2.0 )
🎉 This release contains work from a new contributor! 🎉
Thank you, Vanessa Yuen
([@​vanessayuenn](https://togithub.com/vanessayuenn )), for all
your work!
##### Release Notes
##### Upgrade user-event to v14 and testing-library to v9
([#​43](https://togithub.com/storybookjs/testing-library/pull/43 ))
`@storybook/testing-library` now uses `@testing-library/dom` **version
9** and `@testing-library/user-event` **version 14**! 🎉
To refer to new features and bugfixes and you can check them in the
[user-event release
page](https://togithub.com/testing-library/user-event/releases/tag/v14.0.0 )
and [testing-library dom release
page](https://togithub.com/testing-library/dom-testing-library/releases/tag/v9.0.0 ).
***
##### 🚀 Enhancement
- Release 0.2.0
[#​46](https://togithub.com/storybookjs/testing-library/pull/46 )
([@​yannbf](https://togithub.com/yannbf )
[@​ndelangen](https://togithub.com/ndelangen )
[@​vanessayuenn](https://togithub.com/vanessayuenn ))
- Upgrade user-event to v14 and testing-library to v9
[#​43](https://togithub.com/storybookjs/testing-library/pull/43 )
([@​yannbf](https://togithub.com/yannbf ))
- migrate to tsup (again)
[#​38](https://togithub.com/storybookjs/testing-library/pull/38 )
([@​ndelangen](https://togithub.com/ndelangen ))
##### 🐛 Bug Fix
- Lower testing library dependency range
[#​47](https://togithub.com/storybookjs/testing-library/pull/47 )
([@​yannbf](https://togithub.com/yannbf ))
- Change Storybook dependencies from `future` npm tag to `next`
[#​44](https://togithub.com/storybookjs/testing-library/pull/44 )
([@​yannbf](https://togithub.com/yannbf ))
- Revert "migrate to tsup"
[#​37](https://togithub.com/storybookjs/testing-library/pull/37 )
([@​ndelangen](https://togithub.com/ndelangen ))
- migrate to tsup
[#​36](https://togithub.com/storybookjs/testing-library/pull/36 )
([@​ndelangen](https://togithub.com/ndelangen ))
##### Authors: 3
- Norbert de Langen
([@​ndelangen](https://togithub.com/ndelangen ))
- Vanessa Yuen
([@​vanessayuenn](https://togithub.com/vanessayuenn ))
- Yann Braga ([@​yannbf](https://togithub.com/yannbf ))
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjM1LjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 00:30:22 +00:00
renovate[bot]
c69e5d03af
chore(deps): update react-router monorepo to v6.13.0 ( #4066 )
...
[![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.11.2` ->
`6.13.0`](https://renovatebot.com/diffs/npm/react-router/6.11.2/6.13.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.13.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.13.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.13.0/compatibility-slim/6.11.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.13.0/confidence-slim/6.11.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.11.2` ->
`6.13.0`](https://renovatebot.com/diffs/npm/react-router-dom/6.11.2/6.13.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.13.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.13.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.13.0/compatibility-slim/6.11.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.13.0/confidence-slim/6.11.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.13.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​6130 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.12.1...react-router@6.13.0 )
##### Minor Changes
- Move
[`React.startTransition`](https://react.dev/reference/react/startTransition )
usage behind a [future
flag](https://reactrouter.com/en/main/guides/api-development-strategy )
to avoid issues with existing incompatible `Suspense` usages. We
recommend folks adopting this flag to be better compatible with React
concurrent mode, but if you run into issues you can continue without the
use of `startTransition` until v7. Issues usually boils down to creating
net-new promises during the render cycle, so if you run into issues you
should either lift your promise creation out of the render cycle or put
it behind a `useMemo`.
([#​10596](https://togithub.com/remix-run/react-router/pull/10596 ))
Existing behavior will no longer include `React.startTransition`:
```jsx
<BrowserRouter>
<Routes>{/*...*/}</Routes>
</BrowserRouter>
<RouterProvider router={router} />
```
If you wish to enable `React.startTransition`, pass the future flag to
your component:
```jsx
<BrowserRouter future={{ v7_startTransition: true }}>
<Routes>{/*...*/}</Routes>
</BrowserRouter>
<RouterProvider router={router} future={{ v7_startTransition: true }}/>
```
##### Patch Changes
- Work around webpack/terser `React.startTransition` minification bug in
production mode
([#​10588](https://togithub.com/remix-run/react-router/pull/10588 ))
###
[`v6.12.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​6121 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.12.0...react-router@6.12.1 )
> **Warning**
> Please use version `6.13.0` or later instead of `6.12.1`. This version
suffers from a `webpack`/`terser` minification issue resulting in
invalid minified code in your resulting production bundles which can
cause issues in your application. See
[#​10579](https://togithub.com/remix-run/react-router/issues/10579 )
for more details.
##### Patch Changes
- Adjust feature detection of `React.startTransition` to fix webpack +
react 17 compilation error
([#​10569](https://togithub.com/remix-run/react-router/pull/10569 ))
###
[`v6.12.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​6120 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.11.2...react-router@6.12.0 )
##### Minor Changes
- Wrap internal router state updates with `React.startTransition` if it
exists
([#​10438](https://togithub.com/remix-run/react-router/pull/10438 ))
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.6.3`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.13.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​6130 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.12.1...react-router-dom@6.13.0 )
##### Minor Changes
- Move
[`React.startTransition`](https://react.dev/reference/react/startTransition )
usage behind a [future
flag](https://reactrouter.com/en/main/guides/api-development-strategy )
to avoid issues with existing incompatible `Suspense` usages. We
recommend folks adopting this flag to be better compatible with React
concurrent mode, but if you run into issues you can continue without the
use of `startTransition` until v7. Issues usually boils down to creating
net-new promises during the render cycle, so if you run into issues you
should either lift your promise creation out of the render cycle or put
it behind a `useMemo`.
([#​10596](https://togithub.com/remix-run/react-router/pull/10596 ))
Existing behavior will no longer include `React.startTransition`:
```jsx
<BrowserRouter>
<Routes>{/*...*/}</Routes>
</BrowserRouter>
<RouterProvider router={router} />
```
If you wish to enable `React.startTransition`, pass the future flag to
your component:
```jsx
<BrowserRouter future={{ v7_startTransition: true }}>
<Routes>{/*...*/}</Routes>
</BrowserRouter>
<RouterProvider router={router} future={{ v7_startTransition: true }}/>
```
##### Patch Changes
- Work around webpack/terser `React.startTransition` minification bug in
production mode
([#​10588](https://togithub.com/remix-run/react-router/pull/10588 ))
- Updated dependencies:
- `react-router@6.13.0`
###
[`v6.12.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​6121 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.12.0...react-router-dom@6.12.1 )
> **Warning**
> Please use version `6.13.0` or later instead of `6.12.1`. This version
suffers from a `webpack`/`terser` minification issue resulting in
invalid minified code in your resulting production bundles which can
cause issues in your application. See
[#​10579](https://togithub.com/remix-run/react-router/issues/10579 )
for more details.
##### Patch Changes
- Adjust feature detection of `React.startTransition` to fix webpack +
react 17 compilation error
([#​10569](https://togithub.com/remix-run/react-router/pull/10569 ))
- Updated dependencies:
- `react-router@6.12.1`
###
[`v6.12.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​6120 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.11.2...react-router-dom@6.12.0 )
##### Minor Changes
- Wrap internal router state updates with `React.startTransition` if it
exists
([#​10438](https://togithub.com/remix-run/react-router/pull/10438 ))
##### Patch Changes
- Re-throw `DOMException` (`DataCloneError`) when attempting to perform
a `PUSH` navigation with non-serializable state.
([#​10427](https://togithub.com/remix-run/react-router/pull/10427 ))
- Updated dependencies:
- `@remix-run/router@1.6.3`
- `react-router@6.12.0`
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 21:44:19 +00:00
Even Brenden
be1e63508a
docs: Add reference to Haskell SDK ( #3752 )
...
Hi! Adding a link to a some-batteries-included Haskell Unleash SDK. It
uses a "core" library underneath that adheres to your [Client
Specifications](https://github.com/Unleash/client-specification ). Could
add a link to that too, but from what I can tell, it's overlapped by
your Yggdrasil project. We have been using the SDK for a handful of
months now and we're happy with how it works. Hope you'll have it :)
Co-authored-by: Even Brenden <evenbrenden@users.noreply.github.com>
2023-06-27 08:08:04 +01:00
Ivar Conradi Østhus
72657a60a0
feat: expose kapi as part of docs ( #3996 )
...
Small poc to add ask kapi.ai to our docs. UI not great yet.
![image](https://github.com/Unleash/unleash/assets/158948/68a5b60f-0262-4fe3-89d8-3fcf30d23029 )
And this is the widget in action:
![image](https://github.com/Unleash/unleash/assets/158948/63b0bcdd-b164-46dc-89ea-7f7f80aa364a )
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-06-23 13:55:59 +02:00
andreas-unleash
7a5c77376a
chore: Document default strategy ( #4010 )
...
<!-- 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! ❤️ -->
Documenting Default Strategy
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->
<!-- Does it close an issue? Multiple? -->
Closes #
[1-1023](https://linear.app/unleash/issue/1-1023/document-strategy-improvements )
<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#
-->
### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->
## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-06-22 15:42:07 +00:00
renovate[bot]
f01b94c846
chore(deps): update dependency enhanced-resolve to v5.15.0 ( #4054 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [enhanced-resolve](https://togithub.com/webpack/enhanced-resolve ) |
[`5.14.1` ->
`5.15.0`](https://renovatebot.com/diffs/npm/enhanced-resolve/5.14.1/5.15.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.15.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.15.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.15.0/compatibility-slim/5.14.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.15.0/confidence-slim/5.14.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>webpack/enhanced-resolve</summary>
###
[`v5.15.0`](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.15.0 )
[Compare
Source](https://togithub.com/webpack/enhanced-resolve/compare/v5.14.1...v5.15.0 )
#### New Features
- Ignore `false`/`null`/`undefined` plugins by
[@​alexander-akait](https://togithub.com/alexander-akait ) in
[https://github.com/webpack/enhanced-resolve/pull/389 ](https://togithub.com/webpack/enhanced-resolve/pull/389 )
#### Dependencies & Maintenance
- GitHub Workflows security hardening by
[@​sashashura](https://togithub.com/sashashura ) in
[https://github.com/webpack/enhanced-resolve/pull/370 ](https://togithub.com/webpack/enhanced-resolve/pull/370 )
- Add cSpell commit hook by
[@​nschonni](https://togithub.com/nschonni ) in
[https://github.com/webpack/enhanced-resolve/pull/327 ](https://togithub.com/webpack/enhanced-resolve/pull/327 )
#### New Contributors
- [@​sashashura](https://togithub.com/sashashura ) made their first
contribution in
[https://github.com/webpack/enhanced-resolve/pull/370 ](https://togithub.com/webpack/enhanced-resolve/pull/370 )
**Full Changelog**:
https://github.com/webpack/enhanced-resolve/compare/v5.14.1...v5.15.0
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 15:27:09 +00:00
Simon Hornby
8443eb2649
docs: add note about how to handle more than 150 groups in Azure SSO ( #4044 )
2023-06-22 09:18:19 +02:00
renovate[bot]
d47939de61
chore(deps): update dependency browserslist to v4.21.8 ( #4049 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [browserslist](https://togithub.com/browserslist/browserslist ) |
[`4.21.7` ->
`4.21.8`](https://renovatebot.com/diffs/npm/browserslist/4.21.7/4.21.8 )
|
[![age](https://badges.renovateapi.com/packages/npm/browserslist/4.21.8/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/browserslist/4.21.8/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/browserslist/4.21.8/compatibility-slim/4.21.7 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/browserslist/4.21.8/confidence-slim/4.21.7 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>browserslist/browserslist</summary>
###
[`v4.21.8`](https://togithub.com/browserslist/browserslist/blob/HEAD/CHANGELOG.md#​4218 )
[Compare
Source](https://togithub.com/browserslist/browserslist/compare/4.21.7...4.21.8 )
- Fixed `supports` query and `mobileToDesktop` (by Steve Repsher).
</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://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 23:19:20 +00:00
Simon Hornby
8a8116d13b
docs: document how and why we collect data when using Unleash ( #4020 )
2023-06-21 09:17:35 +02:00
Christopher Kolstad
fa081e9014
task: Make keepalive configurable via an environment variable ( #4015 )
...
As requested in
[Linear](https://linear.app/unleash/issue/2-1147/unleash-cloud-make-keepalive-configurable )
this PR makes the serverKeepAliveTimeout configurable via the
SERVER_KEEPALIVE_TIMEOUT environment variable. This was already
configurable when starting Unleash programmatically, but it's nice to
have as an env variable as well
2023-06-20 12:10:05 +02:00
renovate[bot]
211d445c4d
chore(deps): update dependency @babel/core to v7.22.5 ( #4013 )
...
[![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.22.1` ->
`7.22.5`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.22.1/7.22.5 )
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.5/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.5/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.5/compatibility-slim/7.22.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.5/confidence-slim/7.22.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel</summary>
###
[`v7.22.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7225-2023-06-08 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.1...v7.22.5 )
##### 🐛 Bug Fix
- `babel-preset-env`, `babel-standalone`
- [#​15675](https://togithub.com/babel/babel/pull/15675 ) Fix using
`syntax-unicode-sets-regex` in standalone
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 💅 Polish
- `babel-core`
- [#​15683](https://togithub.com/babel/babel/pull/15683 ) Suggest
`-transform-` when resolving missing plugins
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMzEuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 22:30:36 +00:00
Mateusz Kwasniewski
2356b5774b
docs: encourage feedback for sync ( #4003 )
2023-06-19 14:32:57 +02:00
yuri-karelics
331f0f27fa
docs: angular unleash proxy client ( #3897 )
...
List of community unleash proxy clients extended with new Angular
library
## About the changes
Relates to
[discussion](https://github.com/orgs/Unleash/discussions/3621 )
2023-06-16 17:54:37 +00:00
Mateusz Kwasniewski
dec32810c1
docs: how to synchronize unleash instances ( #3977 )
2023-06-14 10:05:54 +02:00
Jaanus Sellin
41370be591
feat: update predefined strategies tooltip ( #3964 )
2023-06-14 08:46:15 +03:00
andreas-unleash
8daab71219
Docs: update stickiness docs ( #3928 )
...
<!-- 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>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-06-13 11:26:12 +03:00
renovate[bot]
6cb4f60e47
chore(deps): update dependency @babel/core to v7.22.1 ( #3935 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core )
([source](https://togithub.com/babel/babel )) | [`7.21.8` ->
`7.22.1`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.21.8/7.22.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.1/compatibility-slim/7.21.8 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.22.1/confidence-slim/7.21.8 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel</summary>
###
[`v7.22.1`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7221-2023-05-26 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.22.0...v7.22.1 )
##### 🐛 Bug Fix
- `babel-preset-env`
- [#​15658](https://togithub.com/babel/babel/pull/15658 )
Workaround for broken babel-preset-react-app
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
###
[`v7.22.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7220-2023-05-26 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.21.8...v7.22.0 )
##### 🚀 New Feature
- `babel-parser`, `babel-plugin-transform-typescript`
- [#​15497](https://togithub.com/babel/babel/pull/15497 ) \[ts]
Support `import ... =` and `export =` in scripts
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-compat-data`, `babel-core`,
`babel-plugin-proposal-unicode-sets-regex`,
`babel-plugin-transform-unicode-sets-regex`, `babel-preset-env`,
`babel-standalone`
- [#​15636](https://togithub.com/babel/babel/pull/15636 ) Add
`unicode-sets-regex` transform to `preset-env`
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`,
`babel-plugin-transform-runtime`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`, `babel-runtime`, `babel-standalone`
- [#​15633](https://togithub.com/babel/babel/pull/15633 ) Implement
transform support for `using` declarations
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-plugin-proposal-import-attributes-to-assertions`
- [#​15620](https://togithub.com/babel/babel/pull/15620 ) Create
`@babel/plugin-proposal-import-attributes-to-assertions`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-core`, `babel-generator`, `babel-parser`,
`babel-plugin-syntax-import-attributes`, `babel-preset-env`,
`babel-standalone`, `babel-types`
- [#​15536](https://togithub.com/babel/babel/pull/15536 ) Add
support for the updated import attributes proposal
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-generator`, `babel-parser`, `babel-traverse`, `babel-types`
- [#​15520](https://togithub.com/babel/babel/pull/15520 ) Parse
`await using` declarations
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-core`, `babel-helper-create-regexp-features-plugin`,
`babel-parser`
- [#​15638](https://togithub.com/babel/babel/pull/15638 ) Enable
regexp unicode sets parsing by default
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-helpers`, `babel-plugin-proposal-decorators`,
`babel-plugin-syntax-decorators`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`, `babel-runtime`
- [#​15570](https://togithub.com/babel/babel/pull/15570 ) Add
decorators version `2023-05`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 💅 Polish
- `babel-plugin-transform-react-constant-elements`,
`babel-plugin-transform-react-jsx`, `babel-traverse`, `babel-types`
- [#​15549](https://togithub.com/babel/babel/pull/15549 ) Improve
type definitions for validators
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
##### 🏠 Internal
- `babel-parser`
- [#​15630](https://togithub.com/babel/babel/pull/15630 ) Unify
parsing of import/export modifiers (type/typeof/module)
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-compat-data`, `babel-helper-transform-fixture-test-runner`,
`babel-node`, `babel-plugin-proposal-decorators`,
`babel-plugin-proposal-duplicate-named-capturing-groups-regex`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-named-capturing-groups-regex`,
`babel-plugin-transform-runtime`, `babel-preset-env`,
`babel-runtime-corejs3`
- [#​15531](https://togithub.com/babel/babel/pull/15531 ) Allow
polyfill providers to specify custom `@babel/runtime` pkg
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-core`, `babel-plugin-proposal-async-generator-functions`,
`babel-plugin-proposal-class-properties`,
`babel-plugin-proposal-class-static-block`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-dynamic-import`,
`babel-plugin-proposal-export-namespace-from`,
`babel-plugin-proposal-function-sent`,
`babel-plugin-proposal-json-strings`,
`babel-plugin-proposal-logical-assignment-operators`,
`babel-plugin-proposal-nullish-coalescing-operator`,
`babel-plugin-proposal-numeric-separator`,
`babel-plugin-proposal-object-rest-spread`,
`babel-plugin-proposal-optional-catch-binding`,
`babel-plugin-proposal-optional-chaining`,
`babel-plugin-proposal-pipeline-operator`,
`babel-plugin-proposal-private-methods`,
`babel-plugin-proposal-private-property-in-object`,
`babel-plugin-proposal-unicode-property-regex`, `babel-preset-env`,
`babel-standalone`
- [#​15614](https://togithub.com/babel/babel/pull/15614 ) Rename
`-proposal-`s that became standard to `-transform-`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-09 09:18:24 +00:00
renovate[bot]
1209103e53
chore(deps): update dependency enhanced-resolve to v5.14.1 ( #3930 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [enhanced-resolve](https://togithub.com/webpack/enhanced-resolve ) |
[`5.14.0` ->
`5.14.1`](https://renovatebot.com/diffs/npm/enhanced-resolve/5.14.0/5.14.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.14.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.14.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.14.1/compatibility-slim/5.14.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.14.1/confidence-slim/5.14.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>webpack/enhanced-resolve</summary>
###
[`v5.14.1`](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.14.1 )
[Compare
Source](https://togithub.com/webpack/enhanced-resolve/compare/v5.14.0...v5.14.1 )
#### Bugfixes
- TypeScript `strict` mode is now enabled for `enhanced-resolve` by
[@​alexander-akait](https://togithub.com/alexander-akait ) in
[https://github.com/webpack/enhanced-resolve/pull/381 ](https://togithub.com/webpack/enhanced-resolve/pull/381 )
#### Dependencies & Maintenance
- Migrate to Jest by [@​snitin315](https://togithub.com/snitin315 )
in
[https://github.com/webpack/enhanced-resolve/pull/379 ](https://togithub.com/webpack/enhanced-resolve/pull/379 )
- Bump minimatch from 3.0.4 to 3.1.2 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/webpack/enhanced-resolve/pull/383 ](https://togithub.com/webpack/enhanced-resolve/pull/383 )
- Add Badges in README by
[@​snitin315](https://togithub.com/snitin315 ) in
[https://github.com/webpack/enhanced-resolve/pull/386 ](https://togithub.com/webpack/enhanced-resolve/pull/386 )
**Full Changelog**:
https://github.com/webpack/enhanced-resolve/compare/v5.14.0...v5.14.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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 23:05:27 +00:00
renovate[bot]
ccdd7469fb
chore(deps): update dependency browserslist to v4.21.7 ( #3927 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [browserslist](https://togithub.com/browserslist/browserslist ) |
[`4.21.5` ->
`4.21.7`](https://renovatebot.com/diffs/npm/browserslist/4.21.5/4.21.7 )
|
[![age](https://badges.renovateapi.com/packages/npm/browserslist/4.21.7/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/browserslist/4.21.7/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/browserslist/4.21.7/compatibility-slim/4.21.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/browserslist/4.21.7/confidence-slim/4.21.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>browserslist/browserslist</summary>
###
[`v4.21.7`](https://togithub.com/browserslist/browserslist/blob/HEAD/CHANGELOG.md#​4217 )
[Compare
Source](https://togithub.com/browserslist/browserslist/compare/4.21.6...4.21.7 )
- Fixed last queries for Android (by Steve Repsher).
###
[`v4.21.6`](https://togithub.com/browserslist/browserslist/blob/HEAD/CHANGELOG.md#​4216 )
[Compare
Source](https://togithub.com/browserslist/browserslist/compare/4.21.5...4.21.6 )
- Fixed time queries with `mobileToDesktop` (by Steve Repsher).
- Fixed docs (by Tatsunori Uchino, Will Stone, and Dominik
Pschenitschni).
</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-08 18:19:04 +00:00
Nuno Góis
6b4efb9a9d
docs: ADR: Separation of Request and Response schemas ( #3869 )
...
https://linear.app/unleash/issue/2-943/adr-separate-request-and-response-types-in-apis
During the updating of our OpenAPI documentation, we've seen several
times that our schemas are either way too wide for a response or way to
strict for a request. This is usually due to us reusing the same schema
for both request and response. We should write an ADR where we reason
about the usefulness of code duplication and keeping separate response
and request schemas.
Based on our needs, this PR adds my suggested ADR.
---------
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2023-06-05 11:41:34 +01:00
renovate[bot]
5878f9dda5
fix(deps): update dependency unleash-proxy-client to v2.5.0 ( #3889 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[unleash-proxy-client](https://togithub.com/unleash/unleash-proxy-client-js )
| [`2.4.3` ->
`2.5.0`](https://renovatebot.com/diffs/npm/unleash-proxy-client/2.4.3/2.5.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.5.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.5.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.5.0/compatibility-slim/2.4.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.5.0/confidence-slim/2.4.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>unleash/unleash-proxy-client-js</summary>
###
[`v2.5.0`](https://togithub.com/Unleash/unleash-proxy-client-js/releases/tag/v2.5.0 )
[Compare
Source](https://togithub.com/unleash/unleash-proxy-client-js/compare/v2.4.3...v2.5.0 )
-
[`857363a`](857363abbc
)
- docs: clarify `environment`
([#​144](https://togithub.com/unleash/unleash-proxy-client-js/issues/144 ))
-
[`f86d918`](f86d91878f
)
- fix: Update tests
([#​147](https://togithub.com/unleash/unleash-proxy-client-js/issues/147 ))
-
[`e0fd9f3`](e0fd9f3b22
)
- chore(deps): bump json5 from 2.2.0 to 2.2.3
([#​132](https://togithub.com/unleash/unleash-proxy-client-js/issues/132 ))
-
[`d697ae7`](d697ae7796
)
- fix: use custom headers for metrics requests too
([#​148](https://togithub.com/unleash/unleash-proxy-client-js/issues/148 ))
-
[`5a75ec4`](5a75ec4fd1
)
- Bump version to 2.4.4-beta.0
([#​149](https://togithub.com/unleash/unleash-proxy-client-js/issues/149 ))
-
[`1c34d61`](1c34d61bc2
)
- feat: report metrics for variants
([#​150](https://togithub.com/unleash/unleash-proxy-client-js/issues/150 ))
-
[`fe58003`](fe58003fea
)
- 2.4.4-beta.1
([#​151](https://togithub.com/unleash/unleash-proxy-client-js/issues/151 ))
-
[`3dc15e3`](3dc15e31ea
)
- 2.5.0
</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-28 22:16:31 +00:00
renovate[bot]
16209dabf4
chore(deps): update react-router monorepo to v6.11.2 ( #3862 )
...
[![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.11.1` ->
`6.11.2`](https://renovatebot.com/diffs/npm/react-router/6.11.1/6.11.2 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.11.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.11.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.11.2/compatibility-slim/6.11.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.11.2/confidence-slim/6.11.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.11.1` ->
`6.11.2`](https://renovatebot.com/diffs/npm/react-router-dom/6.11.1/6.11.2 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.2/compatibility-slim/6.11.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.2/confidence-slim/6.11.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.11.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​6112 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.11.1...react-router@6.11.2 )
##### Patch Changes
- Fix `basename` duplication in descendant `<Routes>` inside a
`<RouterProvider>`
([#​10492](https://togithub.com/remix-run/react-router/pull/10492 ))
- Updated dependencies:
- `@remix-run/router@1.6.2`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.11.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​6112 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.11.1...react-router-dom@6.11.2 )
##### Patch Changes
- Export `SetURLSearchParams` type
([#​10444](https://togithub.com/remix-run/react-router/pull/10444 ))
- Updated dependencies:
- `react-router@6.11.2`
- `@remix-run/router@1.6.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC40IiwidXBkYXRlZEluVmVyIjoiMzUuOTguNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-25 15:25:49 +02:00
Thomas Heartman
6951f6b877
docs: remove "docs under restructuring note" ( #3864 )
...
They've been thoroughly restructured now. It's time to let this
admonition go 🕊️
2023-05-25 10:12:38 +02:00
Sebastian Bury
282de2477f
docs: azure sso guide ( #3431 )
...
## About the changes
Added Azure SSO SAML 2.0 instructions based off of testing/user
feedback.
<!-- Does it close an issue? Multiple? -->
Not on GH, internally yes
### Important files
website>docs>how-to>how-to-add-sso-azure-saml.md
website>docs>static>img (added images for docs)
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: sighphyre <liquidwicked64@gmail.com>
2023-05-25 08:37:39 +02:00
Mateusz Kwasniewski
78715e3374
docs: maintanance mode impact ( #3858 )
2023-05-25 08:28:05 +02:00
renovate[bot]
3423b35219
chore(deps): update dependency qs to v6.11.2 ( #3832 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [qs](https://togithub.com/ljharb/qs ) | [`6.11.1` ->
`6.11.2`](https://renovatebot.com/diffs/npm/qs/6.11.1/6.11.2 ) |
[![age](https://badges.renovateapi.com/packages/npm/qs/6.11.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/qs/6.11.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/qs/6.11.2/compatibility-slim/6.11.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/qs/6.11.2/confidence-slim/6.11.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>ljharb/qs</summary>
###
[`v6.11.2`](https://togithub.com/ljharb/qs/blob/HEAD/CHANGELOG.md#​6112 )
[Compare
Source](https://togithub.com/ljharb/qs/compare/v6.11.1...v6.11.2 )
- \[Fix] `parse`: Fix parsing when the global Object prototype is frozen
([#​473](https://togithub.com/ljharb/qs/issues/473 ))
- \[Tests] add passing test cases with empty keys
([#​473](https://togithub.com/ljharb/qs/issues/473 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC4wIiwidXBkYXRlZEluVmVyIjoiMzUuOTguMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-23 03:33:54 +00:00
renovate[bot]
4345585288
chore(deps): update dependency enhanced-resolve to v5.14.0 ( #3819 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [enhanced-resolve](https://togithub.com/webpack/enhanced-resolve ) |
[`5.13.0` ->
`5.14.0`](https://renovatebot.com/diffs/npm/enhanced-resolve/5.13.0/5.14.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.14.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.14.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.14.0/compatibility-slim/5.13.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.14.0/confidence-slim/5.13.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>webpack/enhanced-resolve</summary>
###
[`v5.14.0`](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.14.0 )
[Compare
Source](https://togithub.com/webpack/enhanced-resolve/compare/v5.13.0...v5.14.0 )
#### Features
- Replace deprecated String.prototype.substr() by
[@​CommanderRoot](https://togithub.com/CommanderRoot ) in
[https://github.com/webpack/enhanced-resolve/pull/336 ](https://togithub.com/webpack/enhanced-resolve/pull/336 )
#### Bugfixes
- Significantly improve type coverage & definitions for `resolve` by
[@​43081j](https://togithub.com/43081j ) in
[https://github.com/webpack/enhanced-resolve/pull/357 ](https://togithub.com/webpack/enhanced-resolve/pull/357 )
- Fix bug where `aliasFields` was not being applied to package `exports`
field by [@​alexander-akait](https://togithub.com/alexander-akait )
in
[https://github.com/webpack/enhanced-resolve/pull/380 ](https://togithub.com/webpack/enhanced-resolve/pull/380 )
#### Dependencies & Maintenance
- Update `checkout`, `setup-node`, and `codecov` github actions by
[@​snitin315](https://togithub.com/snitin315 ) in
[https://github.com/webpack/enhanced-resolve/pull/378 ](https://togithub.com/webpack/enhanced-resolve/pull/378 )
#### New Contributors
- [@​CommanderRoot](https://togithub.com/CommanderRoot ) made their
first contribution in
[https://github.com/webpack/enhanced-resolve/pull/336 ](https://togithub.com/webpack/enhanced-resolve/pull/336 )
**Full Changelog**:
https://github.com/webpack/enhanced-resolve/compare/v5.13.0...v5.14.0
</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:eyJjcmVhdGVkSW5WZXIiOiIzNS45Ni4zIiwidXBkYXRlZEluVmVyIjoiMzUuOTYuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 17:26:30 +00:00
Simon Hornby
6067888534
docs: extend group documentation to include information on setting root roles ( #3696 )
...
This adds documentation to the RBAC section on how to use root roles on
groups and updates a few screenshots for the group pages.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-05-17 08:59:35 +02:00
renovate[bot]
fda010e940
fix(deps): update dependency docusaurus-plugin-openapi-docs to v2.0.0-beta.3 ( #3765 )
...
[![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 )
| [`2.0.0-beta.2` ->
`2.0.0-beta.3`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.2/2.0.0-beta.3 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.3/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.3/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.3/compatibility-slim/2.0.0-beta.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.3/confidence-slim/2.0.0-beta.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v2.0.0-beta.3`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/releases/tag/v2.0.0-beta.3 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.2...v2.0.0-beta.3 )
#### What's Changed
- \[Bug] Narrow SASS loader rules to avoid conflicts with
docusaurus-plugin-sass by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/519 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/519 )
- \[Bug] Patch webpack sass loader by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/521 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/521 )
- \[Cleanup] Optimize theme typescript build by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/524 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/524 )
- Update bash/curl logo and refactor how logo width/height are defined
by [@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/525 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/525 )
- \[UI Enhancement] Move authorization card to ApiItem by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/531 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/531 )
- \[UI Enhancement] Move CodeTabs above Request by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/533 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/533 )
- \[UI Enhancement] Restyle schema property labels by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/534 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/534 )
- \[UI Enhancement] Add expand button to CodeBlock by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/537 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/537 )
- \[UI Enhancement] Restyle details markers with caret by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/540 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/540 )
- \[UI Enhancement] Response Examples: Updated styling and support for
multiple language variants by
[@​blindaa121](https://togithub.com/blindaa121 ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/542 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/542 )
- \[UI Enhancement] Request form validation and updated styling by
[@​blindaa121](https://togithub.com/blindaa121 ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/530 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/530 )
- \[UI Enhancement] Enable Expand button for Response by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/553 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/553 )
- Upgrade demo to 2.4.0 and update supported range in plugin and theme
by [@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/554 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/554 )
- \[Bug] Improve support for additional properties, cleanup nested
`<li>`, support SchemaItem children by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/563 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/563 )
- \[UI Enhancement] Updated left doc panel styling by
[@​blindaa121](https://togithub.com/blindaa121 ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/557 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/557 )
- \[UI Enhancement] ApiDemoPanel: Expand modal cleanup by
[@​blindaa121](https://togithub.com/blindaa121 ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/566 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/566 )
- Prepare release v2.0.0-beta.3 by
[@​blindaa121](https://togithub.com/blindaa121 ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/570 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/570 )
**Full Changelog**:
https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.2...v2.0.0-beta.3
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43OS4xIiwidXBkYXRlZEluVmVyIjoiMzUuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-13 13:57:42 +00:00
Nuno Góis
a9c24e4262
chore: simplify package scripts ( #3736 )
...
# Simplify package scripts
This PR's purpose is to raise a discussion surrounding our current
package scripts.
It includes some suggestions that aim to simplify the scripts and
hopefully bring a much more straightforward approach to developing and
contributing to Unleash.
Building (prod) should only happen **explicitly** and when needed.
## Before PR (current behavior)
- Clone the project;
- Open 2 terminals: One for `unleash` and another for
`unleash/frontend`;
- On `unleash`:
- Run `yarn` (which will also build, for some reason?);
- Run `yarn start:dev` to start backend in dev mode (`tsc-watch`);
- On `unleash/frontend`:
- Run `yarn` (which will also build, for some reason?);
- Run `yarn start` to start frontend in dev mode (`vite`);
So it seems to me like we build unnecessarily every time we install
dependencies. Neither dev scripts need to build the project, as backend
uses `tsc-watch` and frontend uses `vite`. I'm unsure why this is the
case, as building can take a very long time.
![image](https://github.com/Unleash/unleash/assets/14320932/5ecb7df1-e5b4-4d70-ba7e-97119f5d1116 )
There's also some complexity in the way we need to split the terminal to
`cd` into `frontend` and treat it as a different project. The fact that
we have different script names is also confusing (`yarn start`, `yarn
start:dev`, etc).
## After PR
- Clone the project;
- Run `yarn` to install all dependencies;
- Run `yarn dev` to get started developing Unleash;
Running `yarn` should take care of everything needed to start
developing. This includes installing dependencies for frontend as well.
It should not build projects if we are not being explicit about it,
especially since we don't need to build them at this stage.
![image](https://github.com/Unleash/unleash/assets/14320932/614e42fc-3467-432f-91fc-624b1b35c7c1 )
Running `yarn dev` should start the project in dev mode. This means
running both projects in `dev` mode, which for `backend` means running
`tsc-watch` and for `frontend` means running `vite`.
Here this PR attempts to provide a better DX by using
[concurrently](https://www.npmjs.com/package/concurrently ) and
[wait-on](https://www.npmjs.com/package/wait-on ) - This means both tasks
are ran simultaneously, stdout is labeled accordingly, and are stopped
together. It also means that `frontend` waits for `backend` to be
serving at `4242` before starting, since `frontend` starts pretty much
immediately with `vite` and `backend` takes a bit longer. Of course,
when the `backend` is hot-reloading you may still find some
`ECONNREFUSED`s on `frontend` stdout while it recompiles.
![image](https://github.com/Unleash/unleash/assets/14320932/8bde8ee2-3cad-4e3f-a0db-9eed60cfb04d )
No more splitting your terminal and treating `frontend` as a separate
project.
## Discussion points
Maybe there's a better alternative to `tsc-watch`? I briefly explored
some alternatives and while they had a much faster starting speed,
hot-reload was sometimes slower. IMO we should aspire to run
`src/server-dev.ts` directly and only compile when needed.
Running `dev:backend` still serves a version of the frontend (at 4242).
**Why? Can we remove that behavior?**
I can't imagine a scenario in dev where we wouldn't want to run the
latest version of the frontend with `vite`.
~~**Note:** This PR removes all other out-of-scope scripts to focus on
this revamp. If we decide to merge it, we should evaluate what other
existing scripts we still want to include. May be a good opportunity to
clean up unused ones and only include the ones we really use. This
includes scripts that our GH actions rely on.~~
**Update:** In an effort to minimize impact surface of this PR and make
it a bit more ready for merging:
- It updates some docs in
2a4ff805e8
and
1bbc488251
to reflect our new simplified flow;
- It includes the old package scripts for now in
039bc04699
;
- It updates some of our GH actions to reflect the new scripts in
7782cb9b12
;
Given its current status I'll promote the PR to "ready for review".
I still think we should have a second look at our existing scripts and
GH actions to see what we really need and/or should adapt, but it should
be a team effort so we have a broader context. Maybe on a follow-up PR.
Does this require any changes to related projects (e.g. Enterprise)?
---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-12 11:23:22 +01:00
renovate[bot]
f333c59d6a
chore(deps): update react-router monorepo to v6.11.1 ( #3743 )
...
[![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.11.0` ->
`6.11.1`](https://renovatebot.com/diffs/npm/react-router/6.11.0/6.11.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.11.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.11.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.11.1/compatibility-slim/6.11.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.11.1/confidence-slim/6.11.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.11.0` ->
`6.11.1`](https://renovatebot.com/diffs/npm/react-router-dom/6.11.0/6.11.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.1/compatibility-slim/6.11.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.1/confidence-slim/6.11.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.11.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​6111 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.11.0...react-router@6.11.1 )
##### Patch Changes
- Fix usage of `Component` API within descendant `<Routes>`
([#​10434](https://togithub.com/remix-run/react-router/pull/10434 ))
- Fix bug when calling `useNavigate` from `<Routes>` inside a
`<RouterProvider>`
([#​10432](https://togithub.com/remix-run/react-router/pull/10432 ))
- Fix usage of `<Navigate>` in strict mode when using a data router
([#​10435](https://togithub.com/remix-run/react-router/pull/10435 ))
- Updated dependencies:
- `@remix-run/router@1.6.1`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.11.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​6111 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.11.0...react-router-dom@6.11.1 )
##### Patch Changes
- Updated dependencies:
- `react-router@6.11.1`
- `@remix-run/router@1.6.1`
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43NS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 20:59:34 +00:00
Christopher Kolstad
191e40c95e
docs: update segment limits ( #3733 )
...
### What
Since 3ed4aeba5c
, we've updated the
segment limits and added separate limits for pro and enterprise. This PR
updates the docs with the new limits.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-05-11 08:24:14 +00:00
James King
47fcc59850
docs: Fix typo in ADR ( #3691 )
2023-05-10 13:58:51 +00:00
renovate[bot]
73c9780bec
chore(deps): update dependency minimatch to v5.1.6 ( #3430 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [minimatch](https://togithub.com/isaacs/minimatch ) | [`5.1.0` ->
`5.1.6`](https://renovatebot.com/diffs/npm/minimatch/5.1.0/5.1.6 ) |
[![age](https://badges.renovateapi.com/packages/npm/minimatch/5.1.6/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/minimatch/5.1.6/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/minimatch/5.1.6/compatibility-slim/5.1.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/minimatch/5.1.6/confidence-slim/5.1.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [minimatch](https://togithub.com/isaacs/minimatch ) | [`5.1.2` ->
`5.1.6`](https://renovatebot.com/diffs/npm/minimatch/5.1.2/5.1.6 ) |
[![age](https://badges.renovateapi.com/packages/npm/minimatch/5.1.6/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/minimatch/5.1.6/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/minimatch/5.1.6/compatibility-slim/5.1.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/minimatch/5.1.6/confidence-slim/5.1.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>isaacs/minimatch</summary>
###
[`v5.1.6`](https://togithub.com/isaacs/minimatch/compare/v5.1.5...v5.1.6 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.1.5...v5.1.6 )
###
[`v5.1.5`](https://togithub.com/isaacs/minimatch/compare/v5.1.4...v5.1.5 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.1.4...v5.1.5 )
###
[`v5.1.4`](https://togithub.com/isaacs/minimatch/compare/v5.1.3...v5.1.4 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.1.3...v5.1.4 )
###
[`v5.1.3`](https://togithub.com/isaacs/minimatch/compare/v5.1.2...v5.1.3 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.1.2...v5.1.3 )
###
[`v5.1.2`](https://togithub.com/isaacs/minimatch/compare/v5.1.1...v5.1.2 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.1.1...v5.1.2 )
###
[`v5.1.1`](https://togithub.com/isaacs/minimatch/compare/v5.1.0...v5.1.1 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.1.0...v5.1.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMy4zIiwidXBkYXRlZEluVmVyIjoiMzUuMjMuMyJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-10 15:30:05 +02:00
renovate[bot]
25a937dcfb
chore(deps): update dependency @babel/core to v7.21.8 ( #3729 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core )
([source](https://togithub.com/babel/babel )) | [`7.21.5` ->
`7.21.8`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.21.5/7.21.8 )
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.8/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.8/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.8/compatibility-slim/7.21.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.8/confidence-slim/7.21.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel</summary>
###
[`v7.21.8`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7218-2023-05-02 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.21.5...v7.21.8 )
##### 👓 Spec Compliance
- `babel-parser`
- [#​15602](https://togithub.com/babel/babel/pull/15602 ) Remove
`using await` restriction in explicitResourceManagement
([@​JLHwung](https://togithub.com/JLHwung ))
##### 🐛 Bug Fix
- `babel-helper-create-class-features-plugin`,
`babel-helper-create-regexp-features-plugin`
- [#​15605](https://togithub.com/babel/babel/pull/15605 ) Fix
backward compat for semver checks in class\®exp feat plugins
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNzQuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 22:18:23 +00:00
renovate[bot]
08467f9dac
chore(deps): update react-router monorepo to v6.11.0 ( #3703 )
...
[![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.8.1`
->
`6.11.0`](https://renovatebot.com/diffs/npm/react-router/6.8.1/6.11.0 ) |
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.11.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.11.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.11.0/compatibility-slim/6.8.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.11.0/confidence-slim/6.8.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.8.1` ->
`6.11.0`](https://renovatebot.com/diffs/npm/react-router-dom/6.8.1/6.11.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.0/compatibility-slim/6.8.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.11.0/confidence-slim/6.8.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.11.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​6110 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.10.0...react-router@6.11.0 )
##### Patch Changes
- Log loader/action errors to the console in dev for easier stack trace
evaluation
([#​10286](https://togithub.com/remix-run/react-router/pull/10286 ))
- Fix bug preventing rendering of descendant `<Routes>` when
`RouterProvider` errors existed
([#​10374](https://togithub.com/remix-run/react-router/pull/10374 ))
- Fix inadvertent re-renders when using `Component` instead of `element`
on a route definition
([#​10287](https://togithub.com/remix-run/react-router/pull/10287 ))
- Fix detection of `useNavigate` in the render cycle by setting the
`activeRef` in a layout effect, allowing the `navigate` function to be
passed to child components and called in a `useEffect` there.
([#​10394](https://togithub.com/remix-run/react-router/pull/10394 ))
- Switched from `useSyncExternalStore` to `useState` for internal
`@remix-run/router` router state syncing in `<RouterProvider>`. We found
some [subtle
bugs](https://codesandbox.io/s/use-sync-external-store-loop-9g7b81 )
where router state updates got propagated *before* other normal
`useState` updates, which could lead to footguns in `useEffect` calls.
([#​10377](https://togithub.com/remix-run/react-router/pull/10377 ),
[#​10409](https://togithub.com/remix-run/react-router/pull/10409 ))
- Allow `useRevalidator()` to resolve a loader-driven error boundary
scenario
([#​10369](https://togithub.com/remix-run/react-router/pull/10369 ))
- Avoid unnecessary unsubscribe/resubscribes on router state changes
([#​10409](https://togithub.com/remix-run/react-router/pull/10409 ))
- When using a `RouterProvider`,
`useNavigate`/`useSubmit`/`fetcher.submit` are now stable across
location changes, since we can handle relative routing via the
`@remix-run/router` instance and get rid of our dependence on
`useLocation()`. When using `BrowserRouter`, these hooks remain unstable
across location changes because they still rely on `useLocation()`.
([#​10336](https://togithub.com/remix-run/react-router/pull/10336 ))
- Updated dependencies:
- `@remix-run/router@1.6.0`
###
[`v6.10.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​6100 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.9.0...react-router@6.10.0 )
##### Minor Changes
- Added support for [**Future
Flags**](https://reactrouter.com/en/main/guides/api-development-strategy )
in React Router. The first flag being introduced is
`future.v7_normalizeFormMethod` which will normalize the exposed
`useNavigation()/useFetcher()` `formMethod` fields as uppercase HTTP
methods to align with the `fetch()` behavior.
([#​10207](https://togithub.com/remix-run/react-router/pull/10207 ))
- When `future.v7_normalizeFormMethod === false` (default v6 behavior),
- `useNavigation().formMethod` is lowercase
- `useFetcher().formMethod` is lowercase
- When `future.v7_normalizeFormMethod === true`:
- `useNavigation().formMethod` is uppercase
- `useFetcher().formMethod` is uppercase
##### Patch Changes
- Fix route ID generation when using Fragments in
`createRoutesFromElements`
([#​10193](https://togithub.com/remix-run/react-router/pull/10193 ))
- Updated dependencies:
- `@remix-run/router@1.5.0`
###
[`v6.9.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​690 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.8.2...react-router@6.9.0 )
##### Minor Changes
- React Router now supports an alternative way to define your route
`element` and `errorElement` fields as React Components instead of React
Elements. You can instead pass a React Component to the new `Component`
and `ErrorBoundary` fields if you choose. There is no functional
difference between the two, so use whichever approach you prefer 😀 . You
shouldn't be defining both, but if you do `Component`/`ErrorBoundary`
will "win".
([#​10045](https://togithub.com/remix-run/react-router/pull/10045 ))
**Example JSON Syntax**
```jsx
// Both of these work the same:
const elementRoutes = [{
path: '/',
element: <Home />,
errorElement: <HomeError />,
}]
const componentRoutes = [{
path: '/',
Component: Home,
ErrorBoundary: HomeError,
}]
function Home() { ... }
function HomeError() { ... }
```
**Example JSX Syntax**
```jsx
// Both of these work the same:
const elementRoutes = createRoutesFromElements(
<Route path='/' element={<Home />} errorElement={<HomeError /> } />
);
const componentRoutes = createRoutesFromElements(
<Route path='/' Component={Home} ErrorBoundary={HomeError} />
);
function Home() { ... }
function HomeError() { ... }
```
- **Introducing Lazy Route Modules!**
([#​10045](https://togithub.com/remix-run/react-router/pull/10045 ))
In order to keep your application bundles small and support
code-splitting of your routes, we've introduced a new `lazy()` route
property. This is an async function that resolves the non-route-matching
portions of your route definition (`loader`, `action`,
`element`/`Component`, `errorElement`/`ErrorBoundary`,
`shouldRevalidate`, `handle`).
Lazy routes are resolved on initial load and during the `loading` or
`submitting` phase of a navigation or fetcher call. You cannot lazily
define route-matching properties (`path`, `index`, `children`) since we
only execute your lazy route functions after we've matched known routes.
Your `lazy` functions will typically return the result of a dynamic
import.
```jsx
// In this example, we assume most folks land on the homepage so we
include that
// in our critical-path bundle, but then we lazily load modules for /a
and /b so
// they don't load until the user navigates to those routes
let routes = createRoutesFromElements(
<Route path="/" element={<Layout />}>
<Route index element={<Home />} />
<Route path="a" lazy={() => import("./a")} />
<Route path="b" lazy={() => import("./b")} />
</Route>
);
```
Then in your lazy route modules, export the properties you want defined
for the route:
```jsx
export async function loader({ request }) {
let data = await fetchData(request);
return json(data);
}
// Export a `Component` directly instead of needing to create a React
Element from it
export function Component() {
let data = useLoaderData();
return (
<>
<h1>You made it!</h1>
<p>{data}</p>
</>
);
}
// Export an `ErrorBoundary` directly instead of needing to create a
React Element from it
export function ErrorBoundary() {
let error = useRouteError();
return isRouteErrorResponse(error) ? (
<h1>
{error.status} {error.statusText}
</h1>
) : (
<h1>{error.message || error}</h1>
);
}
```
An example of this in action can be found in the
[`examples/lazy-loading-router-provider`](https://togithub.com/remix-run/react-router/tree/main/examples/lazy-loading-router-provider )
directory of the repository.
🙌 Huge thanks to [@​rossipedia](https://togithub.com/rossipedia )
for the [Initial
Proposal](https://togithub.com/remix-run/react-router/discussions/9826 )
and [POC
Implementation](https://togithub.com/remix-run/react-router/pull/9830 ).
- Updated dependencies:
- `@remix-run/router@1.4.0`
##### Patch Changes
- Fix `generatePath` incorrectly applying parameters in some cases
([#​10078](https://togithub.com/remix-run/react-router/pull/10078 ))
- Improve memoization for context providers to avoid unnecessary
re-renders
([#​9983](https://togithub.com/remix-run/react-router/pull/9983 ))
###
[`v6.8.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​682 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.8.1...react-router@6.8.2 )
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.3.3`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.11.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​6110 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.10.0...react-router-dom@6.11.0 )
##### Minor Changes
- Enable `basename` support in `useFetcher`
([#​10336](https://togithub.com/remix-run/react-router/pull/10336 ))
- If you were previously working around this issue by manually
prepending the `basename` then you will need to remove the manually
prepended `basename` from your `fetcher` calls
(`fetcher.load('/basename/route') -> fetcher.load('/route')`)
##### Patch Changes
- Fix inadvertent re-renders when using `Component` instead of `element`
on a route definition
([#​10287](https://togithub.com/remix-run/react-router/pull/10287 ))
- Fail gracefully on `<Link to="//">` and other invalid URL values
([#​10367](https://togithub.com/remix-run/react-router/pull/10367 ))
- Switched from `useSyncExternalStore` to `useState` for internal
`@remix-run/router` router state syncing in `<RouterProvider>`. We found
some [subtle
bugs](https://codesandbox.io/s/use-sync-external-store-loop-9g7b81 )
where router state updates got propagated *before* other normal
`useState` updates, which could lead to footguns in `useEffect` calls.
([#​10377](https://togithub.com/remix-run/react-router/pull/10377 ),
[#​10409](https://togithub.com/remix-run/react-router/pull/10409 ))
- Add static prop to `StaticRouterProvider`'s internal `Router`
component
([#​10401](https://togithub.com/remix-run/react-router/pull/10401 ))
- When using a `RouterProvider`,
`useNavigate`/`useSubmit`/`fetcher.submit` are now stable across
location changes, since we can handle relative routing via the
`@remix-run/router` instance and get rid of our dependence on
`useLocation()`. When using `BrowserRouter`, these hooks remain unstable
across location changes because they still rely on `useLocation()`.
([#​10336](https://togithub.com/remix-run/react-router/pull/10336 ))
- Updated dependencies:
- `react-router@6.11.0`
- `@remix-run/router@1.6.0`
###
[`v6.10.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​6100 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.9.0...react-router-dom@6.10.0 )
##### Minor Changes
- Added support for [**Future
Flags**](https://reactrouter.com/en/main/guides/api-development-strategy )
in React Router. The first flag being introduced is
`future.v7_normalizeFormMethod` which will normalize the exposed
`useNavigation()/useFetcher()` `formMethod` fields as uppercase HTTP
methods to align with the `fetch()` behavior.
([#​10207](https://togithub.com/remix-run/react-router/pull/10207 ))
- When `future.v7_normalizeFormMethod === false` (default v6 behavior),
- `useNavigation().formMethod` is lowercase
- `useFetcher().formMethod` is lowercase
- When `future.v7_normalizeFormMethod === true`:
- `useNavigation().formMethod` is uppercase
- `useFetcher().formMethod` is uppercase
##### Patch Changes
- Fix `createStaticHandler` to also check for `ErrorBoundary` on routes
in addition to `errorElement`
([#​10190](https://togithub.com/remix-run/react-router/pull/10190 ))
- Updated dependencies:
- `@remix-run/router@1.5.0`
- `react-router@6.10.0`
###
[`v6.9.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​690 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.8.2...react-router-dom@6.9.0 )
##### Minor Changes
- React Router now supports an alternative way to define your route
`element` and `errorElement` fields as React Components instead of React
Elements. You can instead pass a React Component to the new `Component`
and `ErrorBoundary` fields if you choose. There is no functional
difference between the two, so use whichever approach you prefer 😀 . You
shouldn't be defining both, but if you do `Component`/`ErrorBoundary`
will "win".
([#​10045](https://togithub.com/remix-run/react-router/pull/10045 ))
**Example JSON Syntax**
```jsx
// Both of these work the same:
const elementRoutes = [{
path: '/',
element: <Home />,
errorElement: <HomeError />,
}]
const componentRoutes = [{
path: '/',
Component: Home,
ErrorBoundary: HomeError,
}]
function Home() { ... }
function HomeError() { ... }
```
**Example JSX Syntax**
```jsx
// Both of these work the same:
const elementRoutes = createRoutesFromElements(
<Route path='/' element={<Home />} errorElement={<HomeError /> } />
);
const componentRoutes = createRoutesFromElements(
<Route path='/' Component={Home} ErrorBoundary={HomeError} />
);
function Home() { ... }
function HomeError() { ... }
```
- **Introducing Lazy Route Modules!**
([#​10045](https://togithub.com/remix-run/react-router/pull/10045 ))
In order to keep your application bundles small and support
code-splitting of your routes, we've introduced a new `lazy()` route
property. This is an async function that resolves the non-route-matching
portions of your route definition (`loader`, `action`,
`element`/`Component`, `errorElement`/`ErrorBoundary`,
`shouldRevalidate`, `handle`).
Lazy routes are resolved on initial load and during the `loading` or
`submitting` phase of a navigation or fetcher call. You cannot lazily
define route-matching properties (`path`, `index`, `children`) since we
only execute your lazy route functions after we've matched known routes.
Your `lazy` functions will typically return the result of a dynamic
import.
```jsx
// In this example, we assume most folks land on the homepage so we
include that
// in our critical-path bundle, but then we lazily load modules for /a
and /b so
// they don't load until the user navigates to those routes
let routes = createRoutesFromElements(
<Route path="/" element={<Layout />}>
<Route index element={<Home />} />
<Route path="a" lazy={() => import("./a")} />
<Route path="b" lazy={() => import("./b")} />
</Route>
);
```
Then in your lazy route modules, export the properties you want defined
for the route:
```jsx
export async function loader({ request }) {
let data = await fetchData(request);
return json(data);
}
// Export a `Component` directly instead of needing to create a React
Element from it
export function Component() {
let data = useLoaderData();
return (
<>
<h1>You made it!</h1>
<p>{data}</p>
</>
);
}
// Export an `ErrorBoundary` directly instead of needing to create a
React Element from it
export function ErrorBoundary() {
let error = useRouteError();
return isRouteErrorResponse(error) ? (
<h1>
{error.status} {error.statusText}
</h1>
) : (
<h1>{error.message || error}</h1>
);
}
```
An example of this in action can be found in the
[`examples/lazy-loading-router-provider`](https://togithub.com/remix-run/react-router/tree/main/examples/lazy-loading-router-provider )
directory of the repository.
🙌 Huge thanks to [@​rossipedia](https://togithub.com/rossipedia )
for the [Initial
Proposal](https://togithub.com/remix-run/react-router/discussions/9826 )
and [POC
Implementation](https://togithub.com/remix-run/react-router/pull/9830 ).
- Updated dependencies:
- `react-router@6.9.0`
- `@remix-run/router@1.4.0`
###
[`v6.8.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​682 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.8.1...react-router-dom@6.8.2 )
##### Patch Changes
- Treat same-origin absolute URLs in `<Link to>` as external if they are
outside of the router `basename`
([#​10135](https://togithub.com/remix-run/react-router/pull/10135 ))
- Fix `useBlocker` to return `IDLE_BLOCKER` during SSR
([#​10046](https://togithub.com/remix-run/react-router/pull/10046 ))
- Fix SSR of absolute `<Link to>` urls
([#​10112](https://togithub.com/remix-run/react-router/pull/10112 ))
- Properly escape HTML characters in `StaticRouterProvider` serialized
hydration data
([#​10068](https://togithub.com/remix-run/react-router/pull/10068 ))
- Updated dependencies:
- `@remix-run/router@1.3.3`
- `react-router@6.8.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 14:21:15 +00:00
renovate[bot]
7cdf62e301
chore(deps): update dependency @babel/core to v7.21.5 ( #3700 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core )
([source](https://togithub.com/babel/babel )) | [`7.21.4` ->
`7.21.5`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.21.4/7.21.5 )
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.5/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.5/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.5/compatibility-slim/7.21.4 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.5/confidence-slim/7.21.4 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel</summary>
###
[`v7.21.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7215-2023-04-28 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.21.4...v7.21.5 )
##### 👓 Spec Compliance
- `babel-generator`, `babel-parser`, `babel-types`
- [#​15539](https://togithub.com/babel/babel/pull/15539 ) fix:
Remove `mixins` and `implements` for `DeclareInterface` and
`InterfaceDeclaration`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
##### 🐛 Bug Fix
- `babel-core`, `babel-generator`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-react-jsx`
- [#​15515](https://togithub.com/babel/babel/pull/15515 ) fix: `)`
position with `createParenthesizedExpressions`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-preset-env`
- [#​15580](https://togithub.com/babel/babel/pull/15580 ) Add
syntax import meta to preset env
([@​JLHwung](https://togithub.com/JLHwung ))
##### 💅 Polish
- `babel-types`
- [#​15546](https://togithub.com/babel/babel/pull/15546 ) Improve
the layout of generated validators
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-core`
- [#​15535](https://togithub.com/babel/babel/pull/15535 ) Use `lt`
instead of `lte` to check TS version for .cts config
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🏠 Internal
- `babel-core`
- [#​15575](https://togithub.com/babel/babel/pull/15575 ) Use
synchronous `import.meta.resolve`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-helper-fixtures`, `babel-preset-typescript`
- [#​15568](https://togithub.com/babel/babel/pull/15568 ) Handle
`.overrides` and `.env` when resolving plugins/presets from fixture
options ([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-helper-create-class-features-plugin`,
`babel-helper-create-regexp-features-plugin`
- [#​15548](https://togithub.com/babel/babel/pull/15548 ) Use
`semver` package to compare versions
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS43MS40IiwidXBkYXRlZEluVmVyIjoiMzUuNzEuNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 02:57:23 +00:00
Gastón Fournier
8023fef711
docs: update to node 18 ( #3689 )
...
## About the changes
Update documentation to the minimum version of node. This was already
updated in other parts of the documentation
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-05-05 09:17:34 +02:00
renovate[bot]
7f24c51c0e
chore(deps): update dependency trim-newlines to v4.1.1 ( #3678 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [trim-newlines](https://togithub.com/sindresorhus/trim-newlines ) |
[`4.0.2` ->
`4.1.1`](https://renovatebot.com/diffs/npm/trim-newlines/4.0.2/4.1.1 ) |
[![age](https://badges.renovateapi.com/packages/npm/trim-newlines/4.1.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/trim-newlines/4.1.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/trim-newlines/4.1.1/compatibility-slim/4.0.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/trim-newlines/4.1.1/confidence-slim/4.0.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>sindresorhus/trim-newlines</summary>
###
[`v4.1.1`](96ffac489d...abb78c1e07
)
[Compare
Source](96ffac489d...abb78c1e07
)
###
[`v4.1.0`](https://togithub.com/sindresorhus/trim-newlines/compare/v4.0.2...96ffac489de8e5946a31ca324ccfee96800a3603 )
[Compare
Source](https://togithub.com/sindresorhus/trim-newlines/compare/v4.0.2...96ffac489de8e5946a31ca324ccfee96800a3603 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNS42OS4zIiwidXBkYXRlZEluVmVyIjoiMzUuNjkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 11:34:04 +00:00
Simon Hornby
f172c8851f
docs: update docs to reflect that google SSO is removed ( #3626 )
...
Updates docs to point out that Google SSO is removed and how to
temporarily bring it back
2023-05-02 11:53:11 +02:00
renovate[bot]
e901303808
chore(deps): update dependency enhanced-resolve to v5.13.0 ( #3660 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [enhanced-resolve](https://togithub.com/webpack/enhanced-resolve ) |
[`5.12.0` ->
`5.13.0`](https://renovatebot.com/diffs/npm/enhanced-resolve/5.12.0/5.13.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.13.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.13.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.13.0/compatibility-slim/5.12.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.13.0/confidence-slim/5.12.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>webpack/enhanced-resolve</summary>
###
[`v5.13.0`](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.13.0 )
[Compare
Source](https://togithub.com/webpack/enhanced-resolve/compare/v5.12.0...v5.13.0 )
#### Features
- Add `withFileTypes` options from FileSystem API by
[@​fu1996](https://togithub.com/fu1996 ) in
[https://github.com/webpack/enhanced-resolve/pull/374 ](https://togithub.com/webpack/enhanced-resolve/pull/374 )
#### Bugfixes
- Support wildcards pattern with common suffix in imports/exports field
by [@​bvanjoi](https://togithub.com/bvanjoi ) in
[https://github.com/webpack/enhanced-resolve/pull/353 ](https://togithub.com/webpack/enhanced-resolve/pull/353 )
#### Dependencies
- Bump minimist from 1.2.5 to 1.2.8 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/webpack/enhanced-resolve/pull/373 ](https://togithub.com/webpack/enhanced-resolve/pull/373 )
- Bump json5 from 2.1.3 to 2.2.3 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/webpack/enhanced-resolve/pull/371 ](https://togithub.com/webpack/enhanced-resolve/pull/371 )
#### Developer Experience
- Clean up README example by
[@​wtlin1228](https://togithub.com/wtlin1228 ) in
[https://github.com/webpack/enhanced-resolve/pull/366 ](https://togithub.com/webpack/enhanced-resolve/pull/366 )
- Update README to reflect `conditionNames` default by
[@​43081j](https://togithub.com/43081j ) in
[https://github.com/webpack/enhanced-resolve/pull/359 ](https://togithub.com/webpack/enhanced-resolve/pull/359 )
#### New Contributors
- [@​fu1996](https://togithub.com/fu1996 ) made their first
contribution in
[https://github.com/webpack/enhanced-resolve/pull/374 ](https://togithub.com/webpack/enhanced-resolve/pull/374 )
- [@​wtlin1228](https://togithub.com/wtlin1228 ) made their first
contribution in
[https://github.com/webpack/enhanced-resolve/pull/366 ](https://togithub.com/webpack/enhanced-resolve/pull/366 )
- [@​43081j](https://togithub.com/43081j ) made their first
contribution in
[https://github.com/webpack/enhanced-resolve/pull/359 ](https://togithub.com/webpack/enhanced-resolve/pull/359 )
- [@​bvanjoi](https://togithub.com/bvanjoi ) made their first
contribution in
[https://github.com/webpack/enhanced-resolve/pull/353 ](https://togithub.com/webpack/enhanced-resolve/pull/353 )
**Full Changelog**:
https://github.com/webpack/enhanced-resolve/compare/v5.12.0...v5.13.0
</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:eyJjcmVhdGVkSW5WZXIiOiIzNS42My4xIiwidXBkYXRlZEluVmVyIjoiMzUuNjMuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-29 03:37:09 +00:00
Mateusz Kwasniewski
10fee99467
Update how-to-synchronize-unleash-instances.md
2023-04-28 13:28:19 +02:00
Mateusz Kwasniewski
96e3e43188
docs: unleash instance synchronization ( #3652 )
2023-04-28 13:23:50 +02:00
Thomas Heartman
b815fa1a9d
docs: add migration guide entry for v4 -> v5 ( #3650 )
...
This lists the breaking changes between the versions to make it easier
(and safer) for users to upgrade
2023-04-28 13:10:30 +02:00
Christopher Kolstad
1fdf68eeec
task: removes deprecated feature api ( #3609 )
...
### What
We've had this marked as deprecated through our v4, this PR removes it.
### Worth noting
This updates the deprecation notices with removal notices in the
documentation as well.
### Considerations
The tags API is still located under
/api/admin/features/{featureName}/tags. It should be moved to
/api/admin/projects/{project}/features/{featureName}/tags. I vote we do
that in a separate PR, we'd probably also need to deprecate the existing
tags endpoints for v5 and remove in v6. We could use 308s to signify
that they are moved.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-26 10:45:00 +02:00
Mateusz Kwasniewski
7eda493e8e
docs: skip CR also works in the UI ( #3518 )
2023-04-26 08:49:34 +02:00
Jaanus Sellin
28f61e05ff
feat: fix csp headers for feedback form ( #3617 )
...
Fix feedback form failing due to missing csp headers
2023-04-25 13:40:55 +03:00
Thomas Heartman
eb07599612
docs: add sidebar entry for project API tokens guide ( #3602 )
...
It seems that we forgot to add this doc to the sidebar. This PR fixes
that
2023-04-24 09:11:39 +02:00
renovate[bot]
a1a3512164
chore(deps): update dependency @storybook/testing-library to v0.1.0 ( #3595 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@storybook/testing-library](https://togithub.com/storybookjs/testing-library )
| [`0.0.13` ->
`0.1.0`](https://renovatebot.com/diffs/npm/@storybook%2ftesting-library/0.0.13/0.1.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2ftesting-library/0.1.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2ftesting-library/0.1.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2ftesting-library/0.1.0/compatibility-slim/0.0.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2ftesting-library/0.1.0/confidence-slim/0.0.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>storybookjs/testing-library</summary>
###
[`v0.1.0`](https://togithub.com/storybookjs/testing-library/blob/HEAD/CHANGELOG.md#v010-Mon-Apr-03-2023 )
[Compare
Source](https://togithub.com/storybookjs/testing-library/compare/v0.0.13...v0.1.0 )
🎉 This release contains work from a new contributor! 🎉
Thank you, Kasper Peulen
([@​kasperpeulen](https://togithub.com/kasperpeulen )), for all
your work!
##### 🚀 Enhancement
##### 🐛 Bug Fix
- Support Storybook 7.0.0
[#​34](https://togithub.com/storybookjs/testing-library/pull/34 )
([@​yannbf](https://togithub.com/yannbf ))
- Make `waitFor` interceptable and don't override interval/timeout
[#​23](https://togithub.com/storybookjs/testing-library/pull/23 )
([@​ghengeveld](https://togithub.com/ghengeveld )
[@​yannbf](https://togithub.com/yannbf ))
- support storybook 7.0
[#​30](https://togithub.com/storybookjs/testing-library/pull/30 )
([@​yannbf](https://togithub.com/yannbf ))
##### Authors: 3
- Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld ))
- Kasper Peulen
([@​kasperpeulen](https://togithub.com/kasperpeulen ))
- Yann Braga ([@​yannbf](https://togithub.com/yannbf ))
***
</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:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTcuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-23 06:08:27 +00:00
renovate[bot]
63b3b5b2b2
fix(deps): update dependency docusaurus-theme-openapi-docs to v2.0.0-beta.2 ( #3594 )
...
[![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 )
| [`2.0.0-beta.1` ->
`2.0.0-beta.2`](https://renovatebot.com/diffs/npm/docusaurus-theme-openapi-docs/2.0.0-beta.1/2.0.0-beta.2 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/2.0.0-beta.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/2.0.0-beta.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/2.0.0-beta.2/compatibility-slim/2.0.0-beta.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/2.0.0-beta.2/confidence-slim/2.0.0-beta.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v2.0.0-beta.2`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/releases/tag/v2.0.0-beta.2 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.1...v2.0.0-beta.2 )
##### What's Changed
- \[UI Enhancement] Restyle tree lines by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/489 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/489 )
- \[UI Enhancement] Hide details marker by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/497 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/497 )
- Breaking: Default categoryLinkSource to none, add `auto` option by
[@​IanVS](https://togithub.com/IanVS ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/495 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/495 )
- \[Bug] Add missing status/headers tabs and apply max-height to code by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/517 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/517 )
- Prepare release v2.0.0-beta.2 by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/515 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/515 )
**Full Changelog**:
https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.1...v2.0.0-beta.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:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTcuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-23 03:38:22 +00:00
renovate[bot]
191f969e50
fix(deps): update dependency docusaurus-plugin-openapi-docs to v2.0.0-beta.2 ( #3593 )
...
[![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 )
| [`2.0.0-beta.1` ->
`2.0.0-beta.2`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.1/2.0.0-beta.2 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.2/compatibility-slim/2.0.0-beta.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.2/confidence-slim/2.0.0-beta.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v2.0.0-beta.2`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/releases/tag/v2.0.0-beta.2 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.1...v2.0.0-beta.2 )
#### What's Changed
- \[UI Enhancement] Restyle tree lines by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/489 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/489 )
- \[UI Enhancement] Hide details marker by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/497 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/497 )
- Breaking: Default categoryLinkSource to none, add `auto` option by
[@​IanVS](https://togithub.com/IanVS ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/495 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/495 )
- \[Bug] Add missing status/headers tabs and apply max-height to code by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/517 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/517 )
- Prepare release v2.0.0-beta.2 by
[@​sserrata](https://togithub.com/sserrata ) in
[https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/515 ](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/515 )
**Full Changelog**:
https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.1...v2.0.0-beta.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:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTcuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-22 22:49:13 +00:00
Gastón Fournier
a53457f6d0
docs: removal of event hook in v5 ( #3586 )
...
## About the changes
Make it explicit that eventHook is no longer an option in v5, the
migration should be to
https://docs.getunleash.io/reference/addons/webhook which is already
linked in the docs since v4
2023-04-21 14:33:09 +02:00
renovate[bot]
67a69b7d82
chore(deps): update dependency qs to v6.11.1 ( #3581 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [qs](https://togithub.com/ljharb/qs ) | [`6.11.0` ->
`6.11.1`](https://renovatebot.com/diffs/npm/qs/6.11.0/6.11.1 ) |
[![age](https://badges.renovateapi.com/packages/npm/qs/6.11.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/qs/6.11.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/qs/6.11.1/compatibility-slim/6.11.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/qs/6.11.1/confidence-slim/6.11.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>ljharb/qs</summary>
###
[`v6.11.1`](https://togithub.com/ljharb/qs/blob/HEAD/CHANGELOG.md#​6111 )
[Compare
Source](https://togithub.com/ljharb/qs/compare/v6.11.0...v6.11.1 )
- \[Fix] `stringify`: encode comma values more consistently
([#​463](https://togithub.com/ljharb/qs/issues/463 ))
- \[readme] add usage of `filter` option for injecting custom
serialization, i.e. of custom types
([#​447](https://togithub.com/ljharb/qs/issues/447 ))
- \[meta] remove extraneous code backticks
([#​457](https://togithub.com/ljharb/qs/issues/457 ))
- \[meta] fix changelog markdown
- \[actions] update checkout action
- \[actions] restrict action permissions
- \[Dev Deps] update `@ljharb/eslint-config`, `aud`, `object-inspect`,
`tape`
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41NC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTQuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-21 11:11:15 +00:00
Gastón Fournier
29907d8d9f
doc: update link to new import/export ( #3584 )
...
## About the changes
Add correct link to new import/export
2023-04-21 08:49:05 +00:00
andreas-unleash
b38a0c911d
chore: add mode and defaultStickiness to project docs ( #3487 )
...
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
Adds `mode` and `defaultStickiness` to the project form.
Adds a new img
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->
<!-- Does it close an issue? Multiple? -->
Closes #
<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#
-->
### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->
## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-21 07:32:42 +00:00
Gastón Fournier
b593bdd404
docs: deprecation notice on state api ( #3561 )
...
## About the changes
Update documentation about the deprecation of state API.
Related to https://github.com/Unleash/unleash/issues/1265
2023-04-21 09:19:22 +02:00
Gastón Fournier
0e80484068
docs: update documentation and dev server use of passord ( #3564 )
...
## About the changes
Update `passord` documentation with `password`. Note this was not a typo
but just Norwegian:
https://dictionary.cambridge.org/dictionary/english-norwegian/password
```shell
grep passord * -R -l | grep -v .git | grep -v dist | grep -v v3 | xargs sed -i 's/passord/password/g'
```
The script above avoids updating v3 because of legacy reasons
Related to #1265
2023-04-19 13:29:18 +02:00
David Leek
bbfb88122b
docs: jira cloud documentation ( #3494 )
...
<!-- 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! ❤️ -->
New PR using correct prefixes
## 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. -->
Adds documentation to the docs website for the new Jira Cloud plugin.
Couple of pieces on install page are missing due to the nature of having
to have the docs before we can start the review process after which
we'll get the final details on how/where to install/from etc.
Also a couple of pending fixes that might impact screenshots/warrant new
ones made
![Skjermbilde 2023-04-06 kl 12 34
40](https://user-images.githubusercontent.com/707867/230353148-98c5915f-0d97-4cba-bec5-33d46503448d.png )
![Skjermbilde 2023-04-06 kl 12 34
49](https://user-images.githubusercontent.com/707867/230353157-e9dd3f57-e6a3-4e9b-a966-ebdfcdaf2581.png )
<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#2952
### 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? -->
- website/docs/reference/integrations/jira-cloud-plugin-installation.md
- website/docs/reference/integrations/jira-cloud-plugin-usage.md
## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
Very open to improvements on wording and tips on standards used in
screenshots
---------
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-17 15:16:01 +02:00
Thomas Heartman
0a9df052a6
docs: fix broken links ( #3533 )
...
Fixes broken links that were mistakenly committed to main.
2023-04-17 14:10:31 +02:00
Thomas Heartman
222f34f43d
docs: add large segments explainer ( #3441 )
...
This PR adds an explainer document about using large/complex
constraints, inspired by the Unleash and Redis repo.
The intent is to create a comprehensive and understandable explanation
as to why we don't recommend you do this, and also to offer alternative
solutions for the same problem.
---------
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2023-04-14 12:59:07 +00:00
andreas-unleash
be4de289a1
fix: project api token docs ( #3485 )
...
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
[Previous PR (has the
comments)](https://github.com/Unleash/unleash/pull/3405 )
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->
<!-- Does it close an issue? Multiple? -->
Closes #
<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#
-->
### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->
## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-04-13 11:08:54 +03:00
Mateusz Kwasniewski
536230a364
docs: adr for db changes ( #3439 )
2023-04-11 14:16:40 +02:00
renovate[bot]
3319d34f59
chore(deps): update dependency @babel/core to v7.21.4 ( #3479 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core )
([source](https://togithub.com/babel/babel )) | [`7.21.3` ->
`7.21.4`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.21.3/7.21.4 )
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.4/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.4/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.4/compatibility-slim/7.21.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.4/confidence-slim/7.21.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel</summary>
###
[`v7.21.4`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7214-2023-03-31 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.21.3...v7.21.4 )
##### 🐛 Bug Fix
- `babel-core`, `babel-helper-module-imports`, `babel-preset-typescript`
- [#​15478](https://togithub.com/babel/babel/pull/15478 ) Fix
support for `import/export` in `.cts` files
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-generator`
- [#​15496](https://togithub.com/babel/babel/pull/15496 ) Fix
compact printing of non-null assertion operators
([@​rtsao](https://togithub.com/rtsao ))
##### 💅 Polish
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-class-properties`,
`babel-plugin-transform-typescript`, `babel-traverse`
- [#​15427](https://togithub.com/babel/babel/pull/15427 ) Fix
moving comments of removed nodes
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🏠 Internal
- Other
- [#​15519](https://togithub.com/babel/babel/pull/15519 ) Update
Prettier integration test
([@​fisker](https://togithub.com/fisker ))
- `babel-parser`
- [#​15510](https://togithub.com/babel/babel/pull/15510 ) refactor:
introduce `lookaheadInLineCharCode`
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-code-frame`, `babel-highlight`
- [#​15499](https://togithub.com/babel/babel/pull/15499 ) Polish
babel-code-frame highlight test
([@​JLHwung](https://togithub.com/JLHwung ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4zNC4xIiwidXBkYXRlZEluVmVyIjoiMzUuMzQuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-07 19:08:20 +00:00
Ivan Lee
e45a953cd1
Chore: Update Python SDK compatibility. ( #3474 )
...
<!-- 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. -->
Update to Python compatibility table.
* Impression events supported in v5.6.0.
([Docs](https://docs.getunleash.io/unleash-client-python/eventcallbacks.html ))
* Bootstrapping from files and custom boostrapping has been supported
since v5.2.0.
([Docs](https://docs.getunleash.io/unleash-client-python/filecache.html )
&
[Docs](https://docs.getunleash.io/unleash-client-python/customcache.html ))
<!-- 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? -->
2023-04-07 10:34:38 +02:00
Thomas Heartman
d18b04de72
docs: fix typo
...
This change fixes two typos in the import export service:
- Unleahs -> Unleash
- API's -> APIs
2023-04-04 07:50:25 +02:00