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
Thomas Heartman
1ab3a338c9
docs: point link to unleash/unleash instead of unleash-docker ( #3434 )
...
## why
This link used to post to the now-outdated unleash-docker repo. They
should instead go directly to the unleash repo now.
2023-03-31 12:42:34 +02:00
Thomas Heartman
013003d63e
docs: add google tag manager ( #3428 )
...
This change adds google tag manager to docusaurus using the
[plugin-google-tag-manager](https://www.docusaurus.io/docs/api/plugins/@docusaurus/plugin-google-tag-manager )
plugin.
## Why
The current analytics integration we've got in the docs is being sunset
this year, so this is the replacement. It should only collect the same
kind of data that we already collect. It does not require user consent,
and it is used only for aggregation. The point is to help us understand
our users' needs and usage patterns so that we can make a better
product.
2023-03-31 07:27:25 +02:00
renovate[bot]
9db40f50cf
chore(deps): update dependency immer to v9.0.19 ( #3426 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [immer](https://togithub.com/immerjs/immer ) | [`9.0.16` ->
`9.0.19`](https://renovatebot.com/diffs/npm/immer/9.0.16/9.0.19 ) |
[![age](https://badges.renovateapi.com/packages/npm/immer/9.0.19/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/immer/9.0.19/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/immer/9.0.19/compatibility-slim/9.0.16 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/immer/9.0.19/confidence-slim/9.0.16 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>immerjs/immer</summary>
### [`v9.0.19`](https://togithub.com/immerjs/immer/releases/tag/v9.0.19 )
[Compare
Source](https://togithub.com/immerjs/immer/compare/v9.0.18...v9.0.19 )
##### Bug Fixes
- don't freeze drafts returned from produce if they were passed in as
draft ([#​917](https://togithub.com/immerjs/immer/issues/917 ))
([46867f8](46867f8aa9
))
- produce results should never be frozen when returned from nested
produces, to prevent 'hiding' drafts. Fixes
[#​935](https://togithub.com/immerjs/immer/issues/935 )
([a810960](a81096024c
))
- release and publish from 'main' rather than 'master' branch
([82acc40](82acc409b2
))
- revert earlier fix
([#​990](https://togithub.com/immerjs/immer/issues/990 )) for
recursive types
([#​1014](https://togithub.com/immerjs/immer/issues/1014 ))
([3eeb331](3eeb331905
))
- Upgrade Github actions to Node 16 attempt 1
([9d4ea93](9d4ea93f8e
))
- Upgrade Github actions to Node 16 attempt 2
([082eecd](082eecd610
))
### [`v9.0.18`](https://togithub.com/immerjs/immer/releases/tag/v9.0.18 )
[Compare
Source](https://togithub.com/immerjs/immer/compare/v9.0.17...v9.0.18 )
##### Bug Fixes
- Preserve insertion order of Sets, fixes
[#​819](https://togithub.com/immerjs/immer/issues/819 )
([#​976](https://togithub.com/immerjs/immer/issues/976 ))
([b3eeb69](b3eeb69f29
))
- unnecessarily recursive Draft type
([#​990](https://togithub.com/immerjs/immer/issues/990 ))
([b9eae1d](b9eae1d180
))
### [`v9.0.17`](https://togithub.com/immerjs/immer/releases/tag/v9.0.17 )
[Compare
Source](https://togithub.com/immerjs/immer/compare/v9.0.16...v9.0.17 )
##### Bug Fixes
- special case NaN in setter
([#​912](https://togithub.com/immerjs/immer/issues/912 ))
([5721bb7](5721bb7cfa
))
</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>
2023-03-30 08:54:47 +00:00
renovate[bot]
1315a600ab
chore(deps): update dependency got to v11.8.6 ( #3414 )
...
[![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` ->
`11.8.6`](https://renovatebot.com/diffs/npm/got/11.8.5/11.8.6 ) |
[![age](https://badges.renovateapi.com/packages/npm/got/11.8.6/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/got/11.8.6/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/got/11.8.6/compatibility-slim/11.8.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/got/11.8.6/confidence-slim/11.8.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
###
[`v11.8.6`](https://togithub.com/sindresorhus/got/releases/tag/v11.8.6 )
[Compare
Source](https://togithub.com/sindresorhus/got/compare/v11.8.5...v11.8.6 )
- Destroy request object after successful response
</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMi4xIiwidXBkYXRlZEluVmVyIjoiMzUuMjIuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-30 00:04:24 +00:00
Mateusz Kwasniewski
dc34fe1944
docs: Update api-tokens-and-client-keys.mdx ( #3418 )
2023-03-29 13:53:57 +02:00
andreas-unleash
5c27153e50
docs: Project api token ( #3405 )
...
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->
<!-- Does it close an issue? Multiple? -->
Closes #
<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#
-->
### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->
## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-03-29 11:39:37 +03:00
renovate[bot]
35348c3e90
chore(deps): update dependency browserslist to v4.21.5 ( #3400 )
...
[![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.4` ->
`4.21.5`](https://renovatebot.com/diffs/npm/browserslist/4.21.4/4.21.5 )
|
[![age](https://badges.renovateapi.com/packages/npm/browserslist/4.21.5/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/browserslist/4.21.5/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/browserslist/4.21.5/compatibility-slim/4.21.4 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/browserslist/4.21.5/confidence-slim/4.21.4 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>browserslist/browserslist</summary>
###
[`v4.21.5`](https://togithub.com/browserslist/browserslist/blob/HEAD/CHANGELOG.md#​4215 )
[Compare
Source](https://togithub.com/browserslist/browserslist/compare/4.21.4...4.21.5 )
- Fixed running Browserslist in browser environment.
</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>
2023-03-28 11:06:11 +00:00
Jaanus Sellin
e9271d8eec
fix: notifcations word break ( #3403 )
2023-03-28 13:27:47 +03:00
Mateusz Kwasniewski
585df244e5
docs: import export for project/env ( #3369 )
2023-03-28 11:12:35 +02:00
Thomas Heartman
2f0a23d948
chore: update docusaurus and deps to v2.3.1 ( #3343 )
...
This also updates the openapi-docs plugin we use to the most recent
beta. Support for 2.3.1 (or 2.3) is not available in any of the stable
packages.
2023-03-28 11:07:36 +02:00
renovate[bot]
511b86de36
chore(deps): update dependency @tsconfig/docusaurus to v1.0.7 ( #3394 )
...
[![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.6`
->
`1.0.7`](https://renovatebot.com/diffs/npm/@tsconfig%2fdocusaurus/1.0.6/1.0.7 )
|
[![age](https://badges.renovateapi.com/packages/npm/@tsconfig%2fdocusaurus/1.0.7/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@tsconfig%2fdocusaurus/1.0.7/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@tsconfig%2fdocusaurus/1.0.7/compatibility-slim/1.0.6 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@tsconfig%2fdocusaurus/1.0.7/confidence-slim/1.0.6 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMy4zIiwidXBkYXRlZEluVmVyIjoiMzUuMjMuMyJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 03:04:52 +00:00
renovate[bot]
e571129170
chore(deps): update dependency @babel/core to v7.21.3 ( #3388 )
...
[![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.0` ->
`7.21.3`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.21.0/7.21.3 )
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.3/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.3/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.3/compatibility-slim/7.21.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.3/confidence-slim/7.21.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel</summary>
###
[`v7.21.3`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7213-2023-03-14 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.21.0...v7.21.3 )
##### 👓 Spec Compliance
- `babel-parser`
- [#​15479](https://togithub.com/babel/babel/pull/15479 ) disallow
mixins/implements in flow interface
([@​JLHwung](https://togithub.com/JLHwung ))
##### 🐛 Bug Fix
- `babel-parser`
- [#​15423](https://togithub.com/babel/babel/pull/15423 ) \[ts]
Allow keywords in tuple labels
([@​Harpica](https://togithub.com/Harpica ))
- `babel-plugin-transform-typescript`
- [#​15489](https://togithub.com/babel/babel/pull/15489 ) Register
`var` decls generated by `import ... =` TS transform
([@​amoeller](https://togithub.com/amoeller ))
- [#​15494](https://togithub.com/babel/babel/pull/15494 ) fix:
Consider `export { type foo }` as type-only usage
([@​magic-akari](https://togithub.com/magic-akari ))
##### 💅 Polish
- `babel-traverse`, `babel-types`
- [#​15484](https://togithub.com/babel/babel/pull/15484 ) Skip node
deprecation warnings when used by an old `@babel` package
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-generator`
- [#​15480](https://togithub.com/babel/babel/pull/15480 ) chore:
Improve `jsonCompatibleStrings` deprecation
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
##### 🏠 Internal
- [#​15465](https://togithub.com/babel/babel/pull/15465 ) Add
ESLint-readable package name
([@​nzakas](https://togithub.com/nzakas ))
##### 🔬 Output optimization
- `babel-plugin-transform-typescript`, `babel-preset-typescript`
- [#​15467](https://togithub.com/babel/babel/pull/15467 ) Optimize
TS enums output
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMi4xIiwidXBkYXRlZEluVmVyIjoiMzUuMjIuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-27 21:42:04 +00:00
Mateusz Kwasniewski
d4b4866552
docs: notifications ( #3361 )
2023-03-24 10:37:25 +01:00
Thomas Heartman
db2b40543c
docs: remove unleash client from the docs ( #3378 )
...
We don't use the client for anything at the moment, so we can remove it.
While there are things we can use it for in the future, we should
instead add it back in when we get there.
This also removes the docs feedback form (which we haven't used since
the client stopped working)
2023-03-23 13:26:42 +01:00
Thomas Heartman
e9c2a332b6
Add collab mode docs to side bar + fix casing inconsistency in tooltip ( #3375 )
...
This change does two things:
- Adds project collaboration mode docs to the sidebar
- Fixes a casing inconsistency in the collaboration mode tooltip:
previously, one of the explanations started with a lowercase character
and the other with an uppercase character. Now they both start with
lowercase characters.
2023-03-23 10:27:54 +00:00
Mateusz Kwasniewski
e03307e286
docs: Project collaboration mode docs ( #3360 )
2023-03-22 13:13:56 +01:00
Thomas Heartman
28228cd526
docs: remove "under construction" message for edge ( #3351 )
...
In preparation for Edge's stabilization, this PR removes the "under
construction" admonition that was placed on the edge docs.
2023-03-21 08:36:38 +01:00
Thomas Heartman
335374aa6d
docs(a11y): update syntax highlighting theme to fix contrast issues ( #3341 )
...
This PR changes the syntax highlighting theme we use in the docs. The
reason for the change is that the previous theme we used didn't have
sufficient color contrast between its comment strings and its
background.
## Options
I decided to use the Oceanic Next color theme that is included with
docusaurus. Looking through, the only other dark theme that also passed
AA contrast checks was VS Dark. The reason I picked Oceanic over VS Dark
is simply that I like it better.
For demonstration, here's what the Oceanic theme looks like:
![image](https://user-images.githubusercontent.com/17786332/225867069-f0d9c721-8927-4e70-984e-b9160992811b.png )
And here's the VS Dark theme:
![image](https://user-images.githubusercontent.com/17786332/225867089-6dac9cb2-6ebb-4b9e-ae5c-3be9956cbf60.png )
## Bonus change
The PR also includes a fix to render a pricing admonition correctly.
It's not related to the PR, but I noticed it rendered incorrectly while
I was working on it.
2023-03-17 12:19:13 +02:00
Thomas Heartman
d23266decb
docs: clarify that we don't support multi-host db urls ( #3312 )
...
This PR updates the docs to clarify that we don't support multi-host
strings in the databaseUrl configuration variable.
The docs used to just mention that we accept libpq strings, but as
reported in #3221 , we **don't** support multi-host strings.
I did some digging and found that this is because [node-postgres -- the
library we use to connect to postgres -- itself does not support
multi-host
strings](https://github.com/brianc/node-postgres/issues/2308 ).
To fix this, we would need to replace the library we use or otherwise
wrap it. While this would be a better long-term solution, we don't have
the capacity to it right now. But we can update the docs to better
reflect reality.
2023-03-17 10:13:08 +01:00
dependabot[bot]
c9d8710279
chore(deps): bump @sideway/formula from 3.0.0 to 3.0.1 in /website ( #3302 )
2023-03-13 10:43:29 +00:00
Nuno Góis
516cb1884b
docs: login history ( #3261 )
...
https://linear.app/unleash/issue/2-728/documentation-login-history
-
[reference/login-history](https://unleash-docs-git-docs-login-history-unleash-team.vercel.app/reference/login-history )
-
[how-to/how-to-download-login-history](https://unleash-docs-git-docs-login-history-unleash-team.vercel.app/how-to/how-to-download-login-history )
![image](https://user-images.githubusercontent.com/14320932/223392428-fb693624-77a5-4d63-bb00-20e035e23f9e.png )
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-03-08 19:08:50 +00:00
Nuno Góis
6a8ed55c63
feat: better segment info ( #3243 )
...
## About the changes
- Updates the segment information on top to be clearer - No longer an
experimental feature, but we do have some limits in place;
- Also updates the documentation to better reflect this;
Co-authored-by: @thomasheartman
![image](https://user-images.githubusercontent.com/14320932/222380864-029e7eef-bcee-4576-b9af-22a591d494a9.png )
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2023-03-02 14:13:27 +00:00
renovate[bot]
8dda85527a
chore(deps): update dependency @babel/core to v7.21.0 ( #3230 )
...
[![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.20.12` ->
`7.21.0`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.20.12/7.21.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.0/compatibility-slim/7.20.12 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.21.0/confidence-slim/7.20.12 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel</summary>
###
[`v7.21.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7210-2023-02-20 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.20.12...v7.21.0 )
##### 🚀 New Feature
- `babel-core`, `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-class-properties`,
`babel-plugin-proposal-private-methods`,
`babel-plugin-proposal-private-property-in-object`
- [#​15435](https://togithub.com/babel/babel/pull/15435 ) feat:
Implement `privateFieldsAsSymbols` assumption for classes
([@​fwienber](https://togithub.com/fwienber ))
- `babel-helper-create-regexp-features-plugin`,
`babel-plugin-proposal-regexp-modifiers`, `babel-standalone`
- [#​15226](https://togithub.com/babel/babel/pull/15226 ) feat:
Support regexp modifiers proposal
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-cli`, `babel-core`, `babel-generator`,
`babel-plugin-transform-destructuring`,
`babel-plugin-transform-modules-commonjs`,
`babel-plugin-transform-react-jsx`, `babel-traverse`
- [#​15022](https://togithub.com/babel/babel/pull/15022 ) feat:
Generate sourcemaps of friendly call frames
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-parser`, `babel-types`
- [#​15384](https://togithub.com/babel/babel/pull/15384 ) \[ts]
Support `const` modifier in type parameters
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-generator`, `babel-helpers`, `babel-parser`,
`babel-plugin-proposal-decorators`, `babel-plugin-syntax-decorators`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#​15405](https://togithub.com/babel/babel/pull/15405 ) Implement
decorators as presented at `2023-01` TC39 meeting
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-parser`
- [#​15114](https://togithub.com/babel/babel/pull/15114 ) Parser
option to allow `new.target` outside functions
([@​overlookmotel](https://togithub.com/overlookmotel ))
- [#​15320](https://togithub.com/babel/babel/pull/15320 ) Add
`annexb: false` parser option to disable Annex B
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-core`
- [#​15283](https://togithub.com/babel/babel/pull/15283 ) feat:
Support `.cts` as configuration file
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-generator`, `babel-parser`, `babel-plugin-transform-typescript`
- [#​15381](https://togithub.com/babel/babel/pull/15381 ) \[ts]
Support `export type * from`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🐛 Bug Fix
- `babel-plugin-transform-typescript`
- [#​15379](https://togithub.com/babel/babel/pull/15379 ) \[ts5.0]
Better inlining of constants in enums
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-core`
- [#​15366](https://togithub.com/babel/babel/pull/15366 ) handling
circular/shared structures in deep-clone
([@​azizghuloum](https://togithub.com/azizghuloum ))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-class-properties`,
`babel-plugin-proposal-class-static-block`,
`babel-plugin-proposal-private-methods`,
`babel-plugin-transform-classes`, `babel-plugin-transform-new-target`
- [#​15406](https://togithub.com/babel/babel/pull/15406 ) Preserve
class elements comments in class transform
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-parser`, `babel-plugin-transform-flow-comments`,
`babel-plugin-transform-flow-strip-types`, `babel-types`
- [#​15414](https://togithub.com/babel/babel/pull/15414 ) \[ts] Fix
restrictions for optional parameters
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 💅 Polish
- `babel-parser`
- [#​15400](https://togithub.com/babel/babel/pull/15400 ) polish:
improve "`await` as identifier" error in modules
([@​JLHwung](https://togithub.com/JLHwung ))
##### 🏠 Internal
- `babel-core`
- [#​15137](https://togithub.com/babel/babel/pull/15137 ) Improve
CJS compat with ESM-based `@babel/core`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🔬 Output optimization
- `babel-plugin-transform-typescript`
- [#​15418](https://togithub.com/babel/babel/pull/15418 ) \[ts]
Handle exponentiation operator in constant folding
([@​ehoogeveen-medweb](https://togithub.com/ehoogeveen-medweb ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM0LjE1My4yIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-02 02:37:06 +00:00
renovate[bot]
26819406df
fix(deps): update dependency unleash-proxy-client to v2.4.3 ( #3226 )
...
[![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.2` ->
`2.4.3`](https://renovatebot.com/diffs/npm/unleash-proxy-client/2.4.2/2.4.3 )
|
[![age](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.4.3/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.4.3/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.4.3/compatibility-slim/2.4.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.4.3/confidence-slim/2.4.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>unleash/unleash-proxy-client-js</summary>
###
[`v2.4.3`](https://togithub.com/Unleash/unleash-proxy-client-js/releases/tag/v2.4.3 )
[Compare
Source](https://togithub.com/unleash/unleash-proxy-client-js/compare/v2.4.2...v2.4.3 )
-
[`c4f5056`](c4f5056c22
)
- docs: update readme with content from docs.getunleash.io
([#​136](https://togithub.com/unleash/unleash-proxy-client-js/issues/136 ))
-
[`47bd1df`](47bd1df0d0
)
- fix: refetch after context update
([#​143](https://togithub.com/unleash/unleash-proxy-client-js/issues/143 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM0LjE1My4yIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-01 22:47:47 +00:00
Gastón Fournier
90e4054c90
docs: update documentation around permissions for variants ( #3195 )
...
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-02-28 14:06:24 +01:00
Jaanus Sellin
af82202ada
feat: remove maintenance feature flag ( #3199 )
2023-02-27 15:36:56 +02:00
Thomas Heartman
ff58e2aeaf
docs: clarify note around permissions required ( #3201 )
...
This change does two things:
It clarifies that the permissions listed in the guide are permissions
needed to perform all the steps in the guide, and not the permissions
needed to create a feature.
Separates the project-level and environment-level permissions needed
into separate sublists.
2023-02-27 11:49:53 +00:00
Thomas Heartman
e7ef06ff9d
docs: Update change requests permissions docs ( #3194 )
...
This change updates the "change requests permissions" section of the
change request doc to explicitly call out a few things we've seen
confusion around recently.
These are:
- project owners can't approve/apply change requests. You must create
custom roles
- viewers can create change requests. This is intentional
- skip change requests only works via the API
It also:
- elaborates a little on the circumventing change requests section to
clarify how it works.
- adds the change requests project roles to the project roles list. This
section should be kept up to date with all the relevant roles that exist
for projects.
2023-02-27 08:47:01 +01:00
Gastón Fournier
291bcb4a0f
docs: new variants per environment ( #2590 )
...
## About the changes
Documentation about feature toggle variants per environment
## Discussion points
The version when this will be available is still to be defined.
---------
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-02-24 15:25:03 +01:00
Thomas Heartman
94bfb757d6
docs: slight update to environment docs ( #3187 )
...
## What & why
This update does three things:
1. Adjusts the environment cloning feature availability notice: because
this has been released.
2. Updates the availability notice for environments (to conform with the
standard docusaurus way of doing things): for consistency
3. Add a brief explanation of environment types: because this isn't
documented anywhere
## Sources
The note about how environment types work is sourced from this old
[slack thread (internal to the
team)](https://unleash-community.slack.com/archives/G01MU2Q49QC/p1659600175175769 )
2023-02-24 12:48:45 +00:00
Thomas Heartman
898160b295
network-view-docs: rename source file ( #3183 )
...
This PR expands upon the docs in the original PR (and thus supersedes #3139 )
It contains the docs for the recent network view feature.
Closes #2603
---------
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
2023-02-24 08:36:12 +00:00
Thomas Heartman
08dbf23ee7
docs: mention env var options for auth config ( #3169 )
...
## What
Adds environment variable equivalents for remaining authentication
options.
Also reformats the list silghtly.
## Why
Because the `AUTH_TYPE` and `AUTH_ENABLE_API_TOKEN` variables hadn't
been previously mentioned and we get questions about this from time to
time.
The reformat is primarily for using `monospace font` where appropriate.
2023-02-22 12:32:27 +01:00
Thomas Heartman
53c82d798f
docs: remove the proxy from the sdks overview table ( #3060 )
...
## What
This change removes the "unleash proxy" column from the SDK compat
table.
## Why
Because the proxy isn't technically an SDK. Having the column there can
be misleading to users.
In the latest case, a user pointed out that the table says the proxy
supports `isEnabled` with fallback values, but that there is no way to
use this via the API (or via client-side sdks) at the moment.
I think we should add a section to the proxy doc about its capabilities
instead.
In fact, I think we should do the same thing with the proxy that we did
with the SDKs: merge the docs.getunleash content with the github readme
and instead source it from there.
2023-02-22 09:42:47 +00:00
Gastón Fournier
4e3ce8e0af
chore: GA responseTimeWithAppNames ( #3178 )
...
## About the changes
This makes response time with app names enabled for everyone but also
kept a way of turning it off (kill switch) in case it cause some issues
because of misconfigured app names
2023-02-22 09:10:06 +00:00
Jaanus Sellin
1dba7291ba
feat: maintenance mode docs ( #3159 )
...
feat: maintenance mode docs
2023-02-20 16:27:28 +02:00
renovate[bot]
e9b669a49a
chore(deps): update react-router monorepo to v6.8.1 ( #3137 )
...
[![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.6.2`
-> `6.8.1`](https://renovatebot.com/diffs/npm/react-router/6.6.2/6.8.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.8.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.8.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.8.1/compatibility-slim/6.6.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.8.1/confidence-slim/6.6.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.6.2` ->
`6.8.1`](https://renovatebot.com/diffs/npm/react-router-dom/6.6.2/6.8.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.8.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.8.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.8.1/compatibility-slim/6.6.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.8.1/confidence-slim/6.6.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.8.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​681 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.8.0...react-router@6.8.1 )
##### Patch Changes
- Remove inaccurate console warning for POP navigations and update
active blocker logic
([#​10030](https://togithub.com/remix-run/react-router/pull/10030 ))
- Updated dependencies:
- `@remix-run/router@1.3.2`
###
[`v6.8.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​680 )
[Compare
Source](74979cb5f8
...react-router@6.8.0)
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.3.1`
###
[`v6.7.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​670 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.6.2...74979cb5f84092d83adcf5cda5bf281b3450683c )
##### Minor Changes
- Add `unstable_useBlocker` hook for blocking navigations within the
app's location origin
([#​9709](https://togithub.com/remix-run/react-router/pull/9709 ))
##### Patch Changes
- Fix `generatePath` when optional params are present
([#​9764](https://togithub.com/remix-run/react-router/pull/9764 ))
- Update `<Await>` to accept `ReactNode` as children function return
result
([#​9896](https://togithub.com/remix-run/react-router/pull/9896 ))
- Updated dependencies:
- `@remix-run/router@1.3.0`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.8.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​681 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.8.0...react-router-dom@6.8.1 )
##### Patch Changes
- Improved absolute url detection in `Link` component (now also supports
`mailto:` urls)
([#​9994](https://togithub.com/remix-run/react-router/pull/9994 ))
- Fix partial object (search or hash only) pathnames losing current path
value
([#​10029](https://togithub.com/remix-run/react-router/pull/10029 ))
- Updated dependencies:
- `react-router@6.8.1`
- `@remix-run/router@1.3.2`
###
[`v6.8.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​680 )
[Compare
Source](74979cb5f8
...react-router-dom@6.8.0)
##### Minor Changes
- Support absolute URLs in `<Link to>`. If the URL is for the current
origin, it will still do a client-side navigation. If the URL is for a
different origin then it will do a fresh document request for the new
origin.
([#​9900](https://togithub.com/remix-run/react-router/pull/9900 ))
```tsx
<Link to="https://neworigin.com/some/path "> {/* Document request */}
<Link to="//neworigin.com/some/path"> {/* Document request */}
<Link to="https://www.currentorigin.com/path "> {/* Client-side
navigation */}
```
##### Patch Changes
- Fix bug with search params removal via `useSearchParams`
([#​9969](https://togithub.com/remix-run/react-router/pull/9969 ))
- Respect `preventScrollReset` on `<fetcher.Form>`
([#​9963](https://togithub.com/remix-run/react-router/pull/9963 ))
- Fix navigation for hash routers on manual URL changes
([#​9980](https://togithub.com/remix-run/react-router/pull/9980 ))
- Use `pagehide` instead of `beforeunload` for `<ScrollRestoration>`.
This has better cross-browser support, specifically on Mobile Safari.
([#​9945](https://togithub.com/remix-run/react-router/pull/9945 ))
- Updated dependencies:
- `@remix-run/router@1.3.1`
- `react-router@6.8.0`
###
[`v6.7.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​670 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.6.2...74979cb5f84092d83adcf5cda5bf281b3450683c )
##### Minor Changes
- Add `unstable_useBlocker` hook for blocking navigations within the
app's location origin
([#​9709](https://togithub.com/remix-run/react-router/pull/9709 ))
- Add `unstable_usePrompt` hook for blocking navigations within the
app's location origin
([#​9932](https://togithub.com/remix-run/react-router/pull/9932 ))
- Add `preventScrollReset` prop to `<Form>`
([#​9886](https://togithub.com/remix-run/react-router/pull/9886 ))
##### Patch Changes
- Added pass-through event listener options argument to
`useBeforeUnload`
([#​9709](https://togithub.com/remix-run/react-router/pull/9709 ))
- Streamline jsdom bug workaround in tests
([#​9824](https://togithub.com/remix-run/react-router/pull/9824 ))
- Updated dependencies:
- `@remix-run/router@1.3.0`
- `react-router@6.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://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNDIuMSIsInVwZGF0ZWRJblZlciI6IjM0LjE0My4xIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 16:04:36 +00:00
Thomas Heartman
0b1d4fbd07
docs: add notes to constraints and segment docs about large values ( #3142 )
...
## What
This PR adds a note to the constraint and the segment docs about using a
large number of constraint values.
## Why
This is a fairly common question in slack, and there is no clear
documentation around this at the moment. As such, it's likely that
people do this a fair bit without telling us. We don't think this is the
right approach, so adding this bit of documentation should hopefully
make it a little clearer.
2023-02-17 11:06:25 +00:00
Thomas Heartman
415e1b0596
Source proxy and Edge docs from GitHub ( #3122 )
...
## What
The main purpose of this PR is to
1. Delete the proxy docs in this repo and replace them with the proxy's
GitHub readme.
2. Add the docs for Unleash Edge.
### Detailed change description
This PR contains a lot of small changes in a large number of files. To
make it easier to get an overview, here's a detailed description of what
happens where:
#### In the `website/docs`directory
Except for the deletion of the proxy doc, all changes in this directory
are rewriting internal links, so that they point to the newly generated
document instead.
#### `package.json` and `yarn.lock`
When including the documentation for Edge, we also want to render the
mermaid diagrams it uses. Docusaurus supports this via a plugin. All
changes in these files are related to installing that plugin.
#### `docusaurus.config.js`
There's two types of changes in this file:
1. Mermaid-related changes: we ask docusaurus to render mermaid in
markdown files and add the plugin
2. Document generation. There's some rewrites to the sdk doc generation
plus an entirely new section that generates docs for Edge and the proxy
#### `sidebars.js`
Two things:
1. Add the edge docs
2. Move both the Edge and the proxy docs up a level, so that they're
directly under "reference docs" instead of nested inside "unleash
concepts".
#### In the `website/remote-content` directory
These are the remote content files. Previously, all of this lived only
in a `readme-fns.js` file, but with the introduction of Edge and proxy
docs, this has been moved into its own directory and refactored into
three files (`shared`, `sdks`, `edge-proxy`).
#### `custom.css`
Style updates to center mermaid diagrams and provide more space around
them.
#### In `static/img`
The image files that were included in the proxy doc and that have been
deleted.
## Why
For two reasons:
1. Reduce duplication for the proxy. Have one source of truth.
2. Add docs for edge.
## Discussion points and review wishes
This is a big PR, and I don't expect anyone to do a line-by-line review
of it, nor do I think that is particularly useful. Instead, I'd like to
ask reviewers to:
1. Visit the [documentation
preview](https://unleash-docs-git-docs-source-proxy-gh-unleash-team.vercel.app/reference/unleash-proxy )
and have a look at both the proxy docs and the Edge docs. Potentially
have a look at the SDK docs too to verify that everything still works.
2. Consider whether they think moving the proxy and edge docs up a level
(in the sidebar) makes sense.
3. Let me know what slug they'd prefer for the Edge docs. I've gone with
`unleash-edge` for now (so that it's
`docs.getunleash.io/reference/unleash-edge`), but we could potentially
also just use `edge`. WDYT?
4. Read through the detailed changes section.
5. Let me know if they have any other concerns or questions.
## Screenies
The new proxy doc:
![image](https://user-images.githubusercontent.com/17786332/219043145-1c75c83e-4191-45a3-acb5-775d05d13862.png )
The new edge doc:
![image](https://user-images.githubusercontent.com/17786332/219043220-1f5daf13-972e-4d56-8aaf-70ff1812863e.png )
2023-02-16 13:36:28 +01:00
renovate[bot]
5420e3c965
fix(deps): update dependency unleash-proxy-client to v2.4.2 ( #3099 )
...
[![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.0` ->
`2.4.2`](https://renovatebot.com/diffs/npm/unleash-proxy-client/2.4.0/2.4.2 )
|
[![age](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.4.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.4.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.4.2/compatibility-slim/2.4.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.4.2/confidence-slim/2.4.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>unleash/unleash-proxy-client-js</summary>
###
[`v2.4.2`](https://togithub.com/Unleash/unleash-proxy-client-js/releases/tag/v2.4.2 )
[Compare
Source](https://togithub.com/unleash/unleash-proxy-client-js/compare/v2.4.1...v2.4.2 )
-
[`35f79bd`](35f79bdec7
)
- fix: update context can be awaited before start
([#​137](https://togithub.com/unleash/unleash-proxy-client-js/issues/137 ))
-
[`56529ac`](56529ac23d
)
- version bump
([#​138](https://togithub.com/unleash/unleash-proxy-client-js/issues/138 ))
-
[`8a3bc72`](8a3bc72058
)
- fix: package lock version
([#​140](https://togithub.com/unleash/unleash-proxy-client-js/issues/140 ))
###
[`v2.4.1`](https://togithub.com/Unleash/unleash-proxy-client-js/releases/tag/v2.4.1 )
[Compare
Source](https://togithub.com/unleash/unleash-proxy-client-js/compare/v2.4.0...v2.4.1 )
-
[`0ca4603`](0ca4603fa9
)
- Update context waits for start
([#​130](https://togithub.com/unleash/unleash-proxy-client-js/issues/130 ))
-
[`d5f0c74`](d5f0c74352
)
- fix: count variant metrics based on enabled state
([#​131](https://togithub.com/unleash/unleash-proxy-client-js/issues/131 ))
-
[`2fd7282`](2fd7282ef9
)
- fix: nodejs support by default
([#​134](https://togithub.com/unleash/unleash-proxy-client-js/issues/134 ))
-
[`c3554dd`](c3554dd3f8
)
- 2.4.1
([#​135](https://togithub.com/unleash/unleash-proxy-client-js/issues/135 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMzMuMCIsInVwZGF0ZWRJblZlciI6IjM0LjEzMy4wIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-14 16:52:29 +00:00
renovate[bot]
5c5269d618
fix(deps): update dependency docusaurus-theme-openapi-docs to v1.5.2 ( #3098 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-theme-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`1.5.1` ->
`1.5.2`](https://renovatebot.com/diffs/npm/docusaurus-theme-openapi-docs/1.5.1/1.5.2 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.2/compatibility-slim/1.5.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.2/confidence-slim/1.5.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v1.5.2`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​152-Feb-2-2023 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.5.1...v1.5.2 )
High level enhancements
- Improved support for rendering items/arrays
- Fixed issue that prevented some schemas from fully-rendering
([#​397](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/397 ))
- Added support for `nullable`
Other enhancements and bug fixes
- Cleanup API doc demos
([#​400](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/400 ))
- \[Bug] Support multiple same-level node types and improve items/array
support
([#​397](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/397 ))
- Bump ua-parser-js from 0.7.32 to 0.7.33
([#​395](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/395 ))
- Add support for nullable
([#​393](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/393 ))
- Bump cookiejar from 2.1.3 to 2.1.4
([#​390](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/390 ))
- Update intro/README
([#​384](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/384 ))
- Update a link in the credits
([#​382](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/382 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMzMuMCIsInVwZGF0ZWRJblZlciI6IjM0LjEzMy4wIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-14 05:35:55 +00:00
renovate[bot]
8cd779a57b
fix(deps): update dependency docusaurus-plugin-openapi-docs to v1.5.2 ( #3095 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-plugin-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`1.5.1` ->
`1.5.2`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/1.5.1/1.5.2 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.2/compatibility-slim/1.5.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.2/confidence-slim/1.5.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v1.5.2`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​152-Feb-2-2023 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.5.1...v1.5.2 )
High level enhancements
- Improved support for rendering items/arrays
- Fixed issue that prevented some schemas from fully-rendering
([#​397](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/397 ))
- Added support for `nullable`
Other enhancements and bug fixes
- Cleanup API doc demos
([#​400](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/400 ))
- \[Bug] Support multiple same-level node types and improve items/array
support
([#​397](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/397 ))
- Bump ua-parser-js from 0.7.32 to 0.7.33
([#​395](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/395 ))
- Add support for nullable
([#​393](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/393 ))
- Bump cookiejar from 2.1.3 to 2.1.4
([#​390](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/390 ))
- Update intro/README
([#​384](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/384 ))
- Update a link in the credits
([#​382](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/382 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMzMuMCIsInVwZGF0ZWRJblZlciI6IjM0LjEzMy4wIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-14 02:01:25 +00:00
renovate[bot]
0acfbfe52f
chore(deps): update storybook monorepo to v6.5.16 ( #3093 )
...
[![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/addon-actions](https://togithub.com/storybookjs/storybook/tree/main/addons/actions )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.15` ->
`6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2faddon-actions/6.5.15/6.5.16 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.16/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.16/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.16/compatibility-slim/6.5.15 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.16/confidence-slim/6.5.15 )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@storybook/addon-essentials](https://togithub.com/storybookjs/storybook/tree/main/addons/essentials )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.15` ->
`6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2faddon-essentials/6.5.15/6.5.16 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.16/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.16/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.16/compatibility-slim/6.5.15 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.16/confidence-slim/6.5.15 )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@storybook/addon-interactions](https://togithub.com/storybookjs/storybook/tree/main/addons/interactions )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.15` ->
`6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2faddon-interactions/6.5.15/6.5.16 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-interactions/6.5.16/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-interactions/6.5.16/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-interactions/6.5.16/compatibility-slim/6.5.15 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-interactions/6.5.16/confidence-slim/6.5.15 )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@storybook/addon-links](https://togithub.com/storybookjs/storybook/tree/main/addons/links )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.15` ->
`6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2faddon-links/6.5.15/6.5.16 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-links/6.5.16/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-links/6.5.16/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-links/6.5.16/compatibility-slim/6.5.15 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-links/6.5.16/confidence-slim/6.5.15 )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@storybook/react](https://togithub.com/storybookjs/storybook/tree/main/app/react )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.15` ->
`6.5.16`](https://renovatebot.com/diffs/npm/@storybook%2freact/6.5.15/6.5.16 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.16/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.16/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.16/compatibility-slim/6.5.15 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.16/confidence-slim/6.5.15 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>storybookjs/storybook</summary>
###
[`v6.5.16`](https://togithub.com/storybookjs/storybook/releases/tag/v6.5.16 )
[Compare
Source](https://togithub.com/storybookjs/storybook/compare/v6.5.15...v6.5.16 )
##### Bug Fixes
- Angular: Fix handling of docsMode option in angular builder
[#​20608](https://togithub.com/storybooks/storybook/pull/20608 )
- Angular: Fix webpackStatsJson types in angular-builder
[#​20296](https://togithub.com/storybooks/storybook/pull/20296 )
##### Dependency Upgrades
- Security: Upgrade json5 dependency
[#​20526](https://togithub.com/storybooks/storybook/pull/20526 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMzMuMCIsInVwZGF0ZWRJblZlciI6IjM0LjEzMy4wIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 12:23:59 +00:00
Thomas Heartman
eb843c21a1
docs: add image to anatomy about variants per environment ( #3080 )
...
## What
This PR updates the anatomy of unleash document with a figure explaining
how variants can be different across environments now.
2023-02-10 15:31:11 +01:00
dependabot[bot]
465e98564f
chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 in /website ( #3044 )
...
Bumps
[http-cache-semantics](https://github.com/kornelski/http-cache-semantics )
from 4.1.0 to 4.1.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2449650435
"><code>2449650</code></a>
Update mocha</li>
<li><a
href="560b2d8ef4
"><code>560b2d8</code></a>
Don't use regex to trim whitespace</li>
<li><a
href="b1bdb92638
"><code>b1bdb92</code></a>
Remove linting package zoo</li>
<li><a
href="c20dc7eeca
"><code>c20dc7e</code></a>
Cache 308</li>
<li>See full diff in <a
href="https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1 ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=http-cache-semantics&package-manager=npm_and_yarn&previous-version=4.1.0&new-version=4.1.1 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the
default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as
the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as
the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the
default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-10 11:35:52 +01:00
Gastón Fournier
354b5b2976
chore: service accounts GA ( #3059 )
...
## About the changes
This PR prepares the GA of service accounts: OpenAPI tags, documentation
and flag removal
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10 ) item:
#2942
---------
Co-authored-by: Nuno Góis <github@nunogois.com>
2023-02-08 11:59:24 +01:00
Sebastian Bury
a9b6c3c53f
Update proxy-hosting.mdx
2023-02-06 17:08:01 +01:00
Yao Sun
94947acac7
Update overview.md, fix typo ( #3039 )
2023-02-03 16:04:11 +01:00
Thomas Heartman
0a6f9f647b
docs: update Anatomy doc with variants per environment notice ( #3046 )
...
## What
This change updates the "variants" section of the Anatomy of Unleash
document with more information about how variants work with multiple
environments.
At the moment, it states that variants per env are GA from 4.21, but
that might need to be changed.
## Why
With the upcoming release of variants per environment, the doc should
reflect the current state of things. However, it should also still
contain info for those not yet on v4.21
2023-02-03 12:01:10 +01:00
Thomas Heartman
a7cb20c42b
docs: update old docker compose instructions ( #3043 )
...
## What
This change updates the docker compose instructions to match what is
currently in the Unleash/unleash repo itself.
## Why
Because the old version was out of date.
2023-02-03 09:39:14 +00:00
dependabot[bot]
cb9414a3f2
chore(deps): bump ua-parser-js from 0.7.32 to 0.7.33 in /website ( #2999 )
...
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js ) from
0.7.32 to 0.7.33.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/faisalman/ua-parser-js/blob/master/changelog.md ">ua-parser-js's
changelog</a>.</em></p>
<blockquote>
<h2>Version 0.7.32 / 1.0.32</h2>
<ul>
<li>Add new browser : DuckDuckGo, Huawei Browser, LinkedIn</li>
<li>Add new OS : HarmonyOS</li>
<li>Add some Huawei models</li>
<li>Add Sharp Aquos TV</li>
<li>Improve detection Xiaomi Mi CC9</li>
<li>Fix Sony Xperia 1 III misidentified as Acer tablet</li>
<li>Fix Detect Sony BRAVIA as SmartTV</li>
<li>Fix Detect Xiaomi Mi TV as SmartTV</li>
<li>Fix Detect Galaxy Tab S8 as tablet</li>
<li>Fix WeGame mistakenly identified as WeChat</li>
<li>Fix included commas in Safari / Mobile Safari version</li>
<li>Increase UA_MAX_LENGTH to 350</li>
</ul>
<h2>Version 0.7.33 / 1.0.33</h2>
<ul>
<li>Add new browser : Cobalt</li>
<li>Identify Macintosh as an Apple device</li>
<li>Fix ReDoS vulnerability</li>
</ul>
<h1>Version 0.8</h1>
<p>Version 0.8 was created by accident. This version is now deprecated
and no longer maintained, please update to version 0.7 / 1.0.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f2d0db001d
"><code>f2d0db0</code></a>
Bump version 0.7.33</li>
<li><a
href="a6140a17dd
"><code>a6140a1</code></a>
Remove unsafe regex in trim() function</li>
<li><a
href="a886604935
"><code>a886604</code></a>
Fix <a
href="https://github-redirect.dependabot.com/faisalman/ua-parser-js/issues/605 ">#605</a>
- Identify Macintosh as Apple device</li>
<li><a
href="b814bcd791
"><code>b814bcd</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/faisalman/ua-parser-js/issues/606 ">#606</a>
from rileyjshaw/patch-1</li>
<li><a
href="7f71024161
"><code>7f71024</code></a>
Fix documentation</li>
<li><a
href="c239ac5167
"><code>c239ac5</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/faisalman/ua-parser-js/issues/604 ">#604</a>
from obecerra3/master</li>
<li><a
href="8d3c2d327c
"><code>8d3c2d3</code></a>
Add new browser: Cobalt</li>
<li>See full diff in <a
href="https://github.com/faisalman/ua-parser-js/compare/0.7.32...0.7.33 ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ua-parser-js&package-manager=npm_and_yarn&previous-version=0.7.32&new-version=0.7.33 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the
default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as
the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as
the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the
default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-27 20:09:16 +01:00
Thomas Heartman
f1984080a9
docs: add next.js docs ( #3002 )
...
## What
This change adds the next.js sdk's readme to the client-side SDKs
section in the docs.
## Why
Because we have a new and official SDK 🙌🏼
2023-01-27 07:33:19 +00:00
Thomas Heartman
247f751fea
docs: generate client-side SDK docs from readme ( #2949 )
...
## What
Delete static client-side SDK docs in favor of generating them at
build time.
- Add a separate list of `clientSideSdks` to `readme-fns`.
- Use sdk type to determine which generation directory it goes into
- Replace manual sidebar category with autogenerated one
## Why
This does the same for client-side SDKs as was done for server-side
SDKs in https://github.com/Unleash/unleash/pull/2858
(Supersedes #2859 )
2023-01-25 14:36:50 +01:00
Thomas Heartman
502a0759a5
Docs: fix typo in front-end api url
...
Seems my autocorrect was a bit overzealous.
2023-01-25 13:30:43 +01:00
Thomas Heartman
99f45b4248
docs: Add front-end API setup to the quickstart guide ( #2984 )
...
## What
This change adds instructions on how to use the front-end API for
client-side SDKs to the quickstart guide. It also organizes the content
so that this info is presented before the proxy info.
## Why
The front-end API is easier to use, so it should be preferred over the
proxy for people who are just getting started.
2023-01-25 12:11:23 +00:00
dependabot[bot]
6b22e2eb61
chore(deps): bump cookiejar from 2.1.3 to 2.1.4 in /website ( #2977 )
...
[//]: # (dependabot-start)
⚠️ **Dependabot is rebasing this PR** ⚠️
Rebasing might not happen immediately, so don't worry if this takes some
time.
Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.
---
[//]: # (dependabot-end)
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar ) from 2.1.3 to
2.1.4.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/bmeck/node-cookiejar/commits ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cookiejar&package-manager=npm_and_yarn&previous-version=2.1.3&new-version=2.1.4 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the
default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as
the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as
the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the
default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 14:24:12 +01:00
Thomas Heartman
a8a910a39f
docs: don't tell users to contact support for proxy hosting ( #2933 )
...
## What
This change removes a notice from the proxy documentation saying that
users should reach out to support@getunleash.io if they want the Unleash
team to host it.
## Why
Unleash ships with the front-end API now, so we don't want people
reaching out to support for this anymore.
2023-01-20 14:26:58 +01:00
renovate[bot]
a6c76155e0
fix(deps): update dependency docusaurus-theme-openapi-docs to v1.5.1 ( #2934 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-theme-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`1.5.0` ->
`1.5.1`](https://renovatebot.com/diffs/npm/docusaurus-theme-openapi-docs/1.5.0/1.5.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.1/compatibility-slim/1.5.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.1/confidence-slim/1.5.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v1.5.1`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​151-Jan-10-2023 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.5.0...v1.5.1 )
High level enhancements
- Added support for x-webhooks extension
- Improvements to how Swagger 2.0 is upconverted to OpenAPI 3.0
Other enhancements and bug fixes
- \[Bug] Refactor selective sanitization of > and < symbols in generated
markdown descriptions
([#​377](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/377 ))
- fix jsonSchemaMergeAllOf options in createRequestSchema
([#​374](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/374 ))
- Add resolveInternal to swagger2openapi options
([#​375](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/375 ))
- \[Enhancement] Introduce support for webhooks extension
([#​370](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/370 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuNCIsInVwZGF0ZWRJblZlciI6IjM0LjEwNS40In0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 21:24:28 +00:00
renovate[bot]
c6d62afd35
fix(deps): update dependency docusaurus-plugin-openapi-docs to v1.5.1 ( #2930 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-plugin-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`1.5.0` ->
`1.5.1`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/1.5.0/1.5.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.1/compatibility-slim/1.5.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.1/confidence-slim/1.5.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v1.5.1`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​151-Jan-10-2023 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.5.0...v1.5.1 )
High level enhancements
- Added support for x-webhooks extension
- Improvements to how Swagger 2.0 is upconverted to OpenAPI 3.0
Other enhancements and bug fixes
- \[Bug] Refactor selective sanitization of > and < symbols in generated
markdown descriptions
([#​377](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/377 ))
- fix jsonSchemaMergeAllOf options in createRequestSchema
([#​374](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/374 ))
- Add resolveInternal to swagger2openapi options
([#​375](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/375 ))
- \[Enhancement] Introduce support for webhooks extension
([#​370](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/370 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDUuNCIsInVwZGF0ZWRJblZlciI6IjM0LjEwNS40In0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-19 10:33:30 +00:00
Thomas Heartman
6b458fedbb
docs: add link to the Unleash help center ( #2926 )
...
## What
This change adds a link to the Unleash help center in the list of links.
## Why
To make it easier to get help for customers who require it.
## Notes
Signed off by Diego (@dsusa72) and Elise (@EliseBrevald).
2023-01-18 13:59:43 +01:00
Thomas Heartman
801e31dc4e
docs: update footer links ( #2904 )
...
## What
This PR:
- adds a footer link to GitHub discussions
- updates the link to the public roadmap
## Why
Because we want more people to use discussions as a resource and because
the old roadmap link leads to a deprecated roadmap.
2023-01-17 13:26:59 +01:00
Thomas Heartman
6d28cd959e
docs: add change requests video ( #2909 )
...
This change adds the change requests explainer video to the change
requests reference documentation.
As a bonus, it also cleans up some redundant whitespace.
2023-01-17 12:15:59 +01:00
renovate[bot]
c29ff77b50
chore(deps): update react-router monorepo to v6.6.2 ( #2907 )
...
[![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.6.1`
-> `6.6.2`](https://renovatebot.com/diffs/npm/react-router/6.6.1/6.6.2 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.6.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.6.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.6.2/compatibility-slim/6.6.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.6.2/confidence-slim/6.6.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.6.1` ->
`6.6.2`](https://renovatebot.com/diffs/npm/react-router-dom/6.6.1/6.6.2 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.2/compatibility-slim/6.6.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.2/confidence-slim/6.6.1 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.6.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​662 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.6.1...react-router@6.6.2 )
##### Patch Changes
- Ensure `useId` consistency during SSR
([#​9805](https://togithub.com/remix-run/react-router/pull/9805 ))
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.6.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​662 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.6.1...react-router-dom@6.6.2 )
##### Patch Changes
- Ensure `useId` consistency during SSR
([#​9805](https://togithub.com/remix-run/react-router/pull/9805 ))
- Updated dependencies:
- `react-router@6.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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMDIuNyIsInVwZGF0ZWRJblZlciI6IjM0LjEwMi43In0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-16 22:15:37 +00:00
Thomas Heartman
14e052b9ac
docs: auto-generate remaining server-side SDK docs ( #2858 )
...
This PR builds on the preceding doc auto-generation PRs and generates
documentation for the remaining server-side SDKs.
## Why
Refer to https://github.com/Unleash/unleash/pull/2809 for more context
about generating SDK docs.
## What
- Adds generation for the remaining server-side SDKs
- Moves generated docs from the `/reference/sdks` directory to
`/generated` directory.
- Makes sure that the URLs do not change because of the move by using
the `slug` frontmatter property.
- replaces relative github links in the markdown documents so that they
become absolute github links. (refer to the next section)
- Updates some image styling so that it doesn't apply to readme badges
(we don't need them using `display: block`)
### On link replacing:
This PR adds handling of links in the generated documentation.
Specifically, it changes links in one case:
Relative links to github. Links to code and other files in the
repository. These are prefixed with the repository's URL.
While this should work in most cases, it will fail in cases where the
links to the files are not on the repository's primary branch.
(typically main, but could also be "v3", for instance). In these cases,
the links will get a double branch in the URL and will fail. However, I
see no easy way around this (though suggestions are definitely
accepted!), and think it's a fair tradeoff. It takes the links from
"definitely failing" to "will work in the vast majority of cases".
Note: I originally also wanted to handle the case where the link is an
absolute link to docs.getunleash.io. We could turn these into relative
urls to avoid full page reloads and enjoy a smoother experience.
However, the client-side redirects don't work correctly if the relative
URL goes to a redirect page, so you end up with a 404 page. As such, I
think it's better to leave the links as absolute for now.
2023-01-13 12:40:28 +01:00
Nuno Góis
1faae5757e
docs: service accounts ( #2881 )
...
https://linear.app/unleash/issue/2-545/documentation-service-accounts
-
[reference/service-accounts](https://unleash-docs-git-docs-service-accounts-unleash-team.vercel.app/reference/service-accounts )
-
[how-to/how-to-create-service-accounts](https://unleash-docs-git-docs-service-accounts-unleash-team.vercel.app/how-to/how-to-create-service-accounts )
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-01-13 09:46:50 +00:00
JarrodSC
2d3905407e
docs: Update change-requests.md ( #2872 )
...
With the release of 4.19, the info box at the top was outdated. It's been updated to reflect the current situation. References to 4.18 in the body have also been updated.
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-01-13 09:12:33 +00:00
dependabot[bot]
1a894eb3a0
chore(deps): bump json5 from 1.0.1 to 1.0.2 in /website ( #2815 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/json5/json5/releases ">json5's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.2</h2>
<ul>
<li>Fix: Properties with the name <code>__proto__</code> are added to
objects and arrays. (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/199 ">#199</a>)
This also fixes a prototype pollution vulnerability reported by Jonathan
Gregson! (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/295 ">#295</a>).
This has been backported to v1. (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/298 ">#298</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/json5/json5/blob/main/CHANGELOG.md ">json5's
changelog</a>.</em></p>
<blockquote>
<h3>Unreleased [<a
href="https://github.com/json5/json5/tree/main ">code</a>, <a
href="https://github.com/json5/json5/compare/v2.2.3...HEAD ">diff</a>]</h3>
<h3>v2.2.3 [<a
href="https://github.com/json5/json5/tree/v2.2.3 ">code</a>, <a
href="https://github.com/json5/json5/compare/v2.2.2...v2.2.3 ">diff</a>]</h3>
<ul>
<li>Fix: json5@2.2.3 is now the 'latest' release according to npm
instead of
v1.0.2. (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/299 ">#299</a>)</li>
</ul>
<h3>v2.2.2 [<a
href="https://github.com/json5/json5/tree/v2.2.2 ">code</a>, <a
href="https://github.com/json5/json5/compare/v2.2.1...v2.2.2 ">diff</a>]</h3>
<ul>
<li>Fix: Properties with the name <code>__proto__</code> are added to
objects and arrays.
(<a
href="https://github-redirect.dependabot.com/json5/json5/issues/199 ">#199</a>)
This also fixes a prototype pollution vulnerability reported by
Jonathan Gregson! (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/295 ">#295</a>).</li>
</ul>
<h3>v2.2.1 [<a
href="https://github.com/json5/json5/tree/v2.2.1 ">code</a>, <a
href="https://github.com/json5/json5/compare/v2.2.0...v2.2.1 ">diff</a>]</h3>
<ul>
<li>Fix: Removed dependence on minimist to patch CVE-2021-44906. (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/266 ">#266</a>)</li>
</ul>
<h3>v2.2.0 [<a
href="https://github.com/json5/json5/tree/v2.2.0 ">code</a>, <a
href="https://github.com/json5/json5/compare/v2.1.3...v2.2.0 ">diff</a>]</h3>
<ul>
<li>New: Accurate and documented TypeScript declarations are now
included. There
is no need to install <code>@types/json5</code>. (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/236 ">#236</a>,
<a
href="https://github-redirect.dependabot.com/json5/json5/issues/244 ">#244</a>)</li>
</ul>
<h3>v2.1.3 [<a
href="https://github.com/json5/json5/tree/v2.1.3 ">code</a>, <a
href="https://github.com/json5/json5/compare/v2.1.2...v2.1.3 ">diff</a>]</h3>
<ul>
<li>Fix: An out of memory bug when parsing numbers has been fixed. (<a
href="https://github-redirect.dependabot.com/json5/json5/issues/228 ">#228</a>,
<a
href="https://github-redirect.dependabot.com/json5/json5/issues/229 ">#229</a>)</li>
</ul>
<h3>v2.1.2 [<a
href="https://github.com/json5/json5/tree/v2.1.2 ">code</a>, <a
href="https://github.com/json5/json5/compare/v2.1.1...v2.1.2 ">diff</a>]</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a62db1e51e
"><code>a62db1e</code></a>
1.0.2</li>
<li><a
href="e0c23fe458
"><code>e0c23fe</code></a>
docs: update CHANGELOG for v1.0.2</li>
<li><a
href="62a6540840
"><code>62a6540</code></a>
fix: add <strong>proto</strong> to objects and arrays</li>
<li>See full diff in <a
href="https://github.com/json5/json5/compare/v1.0.1...v1.0.2 ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=json5&package-manager=npm_and_yarn&previous-version=1.0.1&new-version=1.0.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 ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the
default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as
the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as
the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the
default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 14:31:30 +01:00
Thomas Heartman
89c6c09db3
docs: add /docs
redirects to _all_ redirect paths ( #2839 )
...
## What
For each defined doc redirect path (that doesn't start with `/docs/`),
this PR adds an additional redirect that starts with `/docs`. The rest
of the path is otherwise identical.
For instance, if we have a redirect that goes from `/user_guide/x`, then
this change will ensure that we also have redirect that goes from
`/docs/user_guide/x`.
## Why
As reported by Roman, we've had some 404s recently when people have
tried to access pages that used to exist (wayyyy back) and that used to
redirect.
The reason these redirects stopped working is that we changed the url
structure recently. Before then, the `createRedirects` function would go
and create redirects that started with `/docs/` for all the paths that
required it. However, now that we've changed the structure of the URLs,
a blanket implementation like that won't work anymore.
Luckily, though, we already have all the redirects for pages we have
moved (just not redirecting from the `/docs/...` paths), so we can map
over the paths and add the missing redirects.
2023-01-05 21:47:04 +01:00
Thomas Heartman
5fa73b929a
Docs(fix): fix broken link to sdk-generator ADR ( #2838 )
2023-01-05 14:50:47 +00:00
Tymoteusz Czech
36f849e9e9
docs: Orval ADR ( #2818 )
...
https://linear.app/unleash/issue/1-537/openapi-generator-adr
2023-01-05 10:24:41 +00:00
Thomas Heartman
7cff6336c1
docs: Use Go readme ( #2816 )
...
# PR 1: add remote content plugin and rust readme
## What
This PR does a few connected things:
1. It adds the ["docusaurus-plugin-remote-content" package](https://github.com/rdilweb/docusaurus-plugin-remote-content ).
2. It adds configuration to make it work with Readmes found on GitHub.
3. It adds the Rust SDK's readme (replacing the link we used to have) as a proof of concept on how to do it.
## Why
With documentation split between GitHub readmes and the official docs, it's hard to keep everything up to date and in sync. It's also quite confusing that some information is only available in some places, but not in others.
We've talked about auto-including readmes from GitHub for a while, so here's a proof of concept (finally) 🥳
The intention is to get this merged and then to migrate the other SDK docs one by one, ensuring that everything in the documentation is also in the readme (so that no info is lost).
## Discussion points
### Generation directory
The current generation method generates the files into `/reference/sdks/<sdk name>`. I think this works for now, but it means it adds auto-generated files into a directory that you can't ignore (at least not yet).
We could instead generate them into `/generated/sdks` and update the slugs so that they still match the expected pattern.
However, this would make the sidebar a little harder to work with (for now). That said, there may be ways around it. It's worth exploring.
### Generation method
By default, this plugin will generate files whenever you build. That (probably) means that you need an internet connection _and_ that you'll end up with a bunch of untracked files.
An option is to only generate the files "manually" and commit them to the repo. That would allow you to build the project without an internet connection and would also remove the need for ignoring the files. We could automate the generation if we wanted to.
## Preview / Screenies
Visit [/reference/sdks/rust](https://unleash-docs-git-docs-include-sdk-readmes-unleash-team.vercel.app/reference/sdks/rust ) in the preview to see what it looks like live.
![image](https://user-images.githubusercontent.com/17786332/210373446-784b7e69-0f36-4e9e-874a-2b06b863b603.png )
# PR 2: add go readme
This PR changes the docs generation to use the Go SDK's GitHub readme
for the SDK docs instead of a separate document.
## What
The changes in this PR are:
- Delete the existing Go SDK documentation. All the content in this
guide already exists in the Go readme.
- Add the Go SDK to the list of auto-generated readme docs
- Move the readme-related code into a separate module, `readme-fns.js`
(I'm not bullish about the file name: we can change it if you have
suggestions)
- Add a note to the top of all generated readmes saying you'll need an
API url and an API token. The note also links you to the relevant
reference and how-to docs.
## Why
Having two different bits of documentation for the same SDK is
troublesome. By only having the data in one place, we can avoid it going
out of sync and getting stale.
2023-01-05 09:47:49 +00:00
renovate[bot]
878560e2f1
chore(deps): update dependency babel-loader to v9.1.2 ( #2826 )
...
[![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-loader](https://togithub.com/babel/babel-loader ) | [`9.1.0` ->
`9.1.2`](https://renovatebot.com/diffs/npm/babel-loader/9.1.0/9.1.2 ) |
[![age](https://badges.renovateapi.com/packages/npm/babel-loader/9.1.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/babel-loader/9.1.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/babel-loader/9.1.2/compatibility-slim/9.1.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/babel-loader/9.1.2/confidence-slim/9.1.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel-loader</summary>
###
[`v9.1.2`](https://togithub.com/babel/babel-loader/releases/tag/v9.1.2 )
[Compare
Source](https://togithub.com/babel/babel-loader/compare/v9.1.1...v9.1.2 )
9.1.1 was a broken release, it didn't include all the commits.
#### Dependencies updates
- Bump qs from 6.5.2 to 6.5.3 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/babel/babel-loader/pull/977 ](https://togithub.com/babel/babel-loader/pull/977 )
- Bump json5 from 2.2.1 to 2.2.3 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/babel/babel-loader/pull/980 ](https://togithub.com/babel/babel-loader/pull/980 )
#### Misc
- GitHub Workflows security hardening by
[@​sashashura](https://togithub.com/sashashura ) in
[https://github.com/babel/babel-loader/pull/976 ](https://togithub.com/babel/babel-loader/pull/976 )
#### New Contributors
- [@​sashashura](https://togithub.com/sashashura ) made their first
contribution in
[https://github.com/babel/babel-loader/pull/976 ](https://togithub.com/babel/babel-loader/pull/976 )
**Full Changelog**:
https://github.com/babel/babel-loader/compare/v9.1.0...v9.1.2
###
[`v9.1.1`](https://togithub.com/babel/babel-loader/compare/v9.1.0...v9.1.1 )
[Compare
Source](https://togithub.com/babel/babel-loader/compare/v9.1.0...v9.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 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:eyJjcmVhdGVkSW5WZXIiOiIzNC44MS4wIiwidXBkYXRlZEluVmVyIjoiMzQuODEuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 01:53:41 +00:00
renovate[bot]
157b54d420
chore(deps): update dependency @babel/core to v7.20.12 ( #2825 )
...
[![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.20.7` ->
`7.20.12`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.20.7/7.20.12 )
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.12/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.12/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.12/compatibility-slim/7.20.7 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.12/confidence-slim/7.20.7 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel</summary>
###
[`v7.20.12`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72012-2023-01-04 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.20.7...v7.20.12 )
##### 🐛 Bug Fix
- `babel-traverse`
- [#​15224](https://togithub.com/babel/babel/pull/15224 ) Fix
`TaggedTemplateLiteral` evaluation
([@​nmn](https://togithub.com/nmn ))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-class-properties`
- [#​15312](https://togithub.com/babel/babel/pull/15312 ) fix:
`delete this` in static class properties initialization
([@​SuperSodaSea](https://togithub.com/SuperSodaSea ))
##### 💅 Polish
- `babel-traverse`
- [#​15313](https://togithub.com/babel/babel/pull/15313 ) Implement
support for evaluating computed properties.
([@​JBYoshi](https://togithub.com/JBYoshi ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC44MS4wIiwidXBkYXRlZEluVmVyIjoiMzQuODEuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-04 22:44:01 +00:00
Ivar Conradi Østhus
3a8107ce6e
fix: state-service should always keep api keys ( #2552 )
...
We have experienced side-effects where the import was unexpected and
resulted in environments thought to be removed. This had the unexpected
side-effect of also deleting API keys for some environments not part of
the import file.
This commit removes the ability of the state-service to mutate api keys
directly. There is no compelling reasons why we should remove API keys
as part of an import query.
Co-authored-by: Gastón Fournier <gaston@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-01-04 11:24:34 +00:00
Mateusz Kwasniewski
cc1512cd44
refactor: styled component in header ( #2808 )
2023-01-03 14:52:10 +01:00
Thomas Heartman
c2a3872386
Fix(typo): Fix "login"/"log in", "logout"/"log out" issues ( #2807 )
...
## What
This change updates some places in the docs where we use the terms
"login" and "logout" incorrectly.
A "login" is a noun, typically referring to the set of credentials you
need to _log in_ to a service. The verb form, the act of signing in, is
written in two words: to "log in".
A similar logic applies to "logout" and "log out", although I don't find
the term "logout" in my dictionary. However, I think it makes sense to
talk about "logout requests" (and I see references to logout in other
services and documentation), so I'm happy to use that as a noun.
Regardless, the act of logging out is to "log out".
2023-01-03 13:40:03 +01:00
Thomas Heartman
01b05fb0d6
docs: fix android admonition formatting ( #2800 )
...
This change fixes a formatting issue which causes the entire document to
be rendered inside of the admonition.
2023-01-03 13:14:45 +01:00
Mateusz Kwasniewski
82a4191e1d
added flutter documentation ( #2736 )
2023-01-03 13:07:01 +01:00
Thomas Heartman
6b5e25b191
Docs(fix): broken links ( #2797 )
...
This change fixes some broken links in the "about the docs" document.
Most of these links go to concrete documents and have been replaced with
their appropriate relative file links. The few links that go to
auto-generated pages have been corrected.
Unfortunately, there does not seem to be an easy way to link safely to
generated pages.
2023-01-03 11:27:45 +01:00
Thomas Heartman
d2245583ec
Docs: add missing words "connect to"
2023-01-03 11:27:06 +01:00
Thomas Heartman
983d3a9513
docs: clarify node sdk instructions wrt envs and tokens ( #2799 )
...
## What
This change does two things:
It **removes the `environment` option** from the initialization
examples. This option is deprecated and only causes confusion. There's
no good reason to have it lying around in the examples.
It also **updates the explanation of the code samples**, telling you
that you need to generate an API key and linking you to the reference
doc and how to guide.
Relates to: #2782 .
2023-01-03 11:26:17 +01:00
Thomas Heartman
3ac8a63f67
chore: remove constraints announcements from readme and docs ( #2678 )
...
## What
This change removes the Unleash 4.16 constraints announcement from
readme and from the docs.
## Why
It feels like 4.16 has been out for long enough now. Gearing up for
version 4.19, it may be time to take this away.
## Discussion
However, open-sourcing constraints was (and still is) a big deal, so it
might be worth keeping the banner around, but maybe in a more subdued
format? Something like "did you know Unleash's constraints feature is
open source, now?".
2023-01-03 10:11:04 +01:00
renovate[bot]
b290ffe669
fix(deps): update dependency docusaurus-plugin-openapi-docs to v1.5.0 ( #2763 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-plugin-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`1.4.7` ->
`1.5.0`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/1.4.7/1.5.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.0/compatibility-slim/1.4.7 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.5.0/confidence-slim/1.4.7 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v1.5.0`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​150-Dec-16-2022 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.4.7...v1.5.0 )
High level enhancements
- Introduced proxy support
- Added support for rendering deprecated schema items/properties
Other enhancements and bug fixes
- Only create list of 2xx content types for request samples
([#​365](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/365 ))
- \[Enhancement] Add deprecated support to schema items
([#​367](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/367 ))
- \[Enhancement] Add proxy support
([#​366](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/366 ))
- kebab case fix for info pages
([#​363](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/363 ))
- Hide edit URL by default
([#​364](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/364 ))
- Update index.ts
([#​361](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/361 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-29 00:04:18 +00:00
renovate[bot]
b61267e713
chore(deps): update react-router monorepo to v6.6.1 ( #2762 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router ) | [`6.4.5`
-> `6.6.1`](https://renovatebot.com/diffs/npm/react-router/6.4.5/6.6.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.6.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.6.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.6.1/compatibility-slim/6.4.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.6.1/confidence-slim/6.4.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.4.5` ->
`6.6.1`](https://renovatebot.com/diffs/npm/react-router-dom/6.4.5/6.6.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.1/compatibility-slim/6.4.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.6.1/confidence-slim/6.4.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.6.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​661 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.6.0...react-router@6.6.1 )
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.2.1`
###
[`v6.6.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​660 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.5.0...react-router@6.6.0 )
##### Patch Changes
- Prevent `useLoaderData` usage in `errorElement`
([#​9735](https://togithub.com/remix-run/react-router/pull/9735 ))
- Updated dependencies:
- `@remix-run/router@1.2.0`
###
[`v6.5.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​650 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.4.5...react-router@6.5.0 )
This release introduces support for [Optional Route
Segments](https://togithub.com/remix-run/react-router/issues/9546 ). Now,
adding a `?` to the end of any path segment will make that entire
segment optional. This works for both static segments and dynamic
parameters.
**Optional Params Examples**
- `<Route path=":lang?/about>` will match:
- `/:lang/about`
- `/about`
- `<Route path="/multistep/:widget1?/widget2?/widget3?">` will match:
- `/multistep`
- `/multistep/:widget1`
- `/multistep/:widget1/:widget2`
- `/multistep/:widget1/:widget2/:widget3`
**Optional Static Segment Example**
- `<Route path="/home?">` will match:
- `/`
- `/home`
- `<Route path="/fr?/about">` will match:
- `/about`
- `/fr/about`
##### Minor Changes
- Allows optional routes and optional static segments
([#​9650](https://togithub.com/remix-run/react-router/pull/9650 ))
##### Patch Changes
- Stop incorrectly matching on partial named parameters, i.e. `<Route
path="prefix-:param">`, to align with how splat parameters work. If you
were previously relying on this behavior then it's recommended to
extract the static portion of the path at the `useParams` call site:
([#​9506](https://togithub.com/remix-run/react-router/pull/9506 ))
```jsx
// Old behavior at URL /prefix-123
<Route path="prefix-:id" element={<Comp /> }>
function Comp() {
let params = useParams(); // { id: '123' }
let id = params.id; // "123"
...
}
// New behavior at URL /prefix-123
<Route path=":id" element={<Comp /> }>
function Comp() {
let params = useParams(); // { id: 'prefix-123' }
let id = params.id.replace(/^prefix-/, ''); // "123"
...
}
```
- Updated dependencies:
- `@remix-run/router@1.1.0`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.6.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​661 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.6.0...react-router-dom@6.6.1 )
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.2.1`
- `react-router@6.6.1`
###
[`v6.6.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​660 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.5.0...react-router-dom@6.6.0 )
##### Minor Changes
- Add `useBeforeUnload()` hook
([#​9664](https://togithub.com/remix-run/react-router/pull/9664 ))
- Remove `unstable_` prefix from
`createStaticHandler`/`createStaticRouter`/`StaticRouterProvider`
([#​9738](https://togithub.com/remix-run/react-router/pull/9738 ))
##### Patch Changes
- Proper hydration of `Error` objects from `StaticRouterProvider`
([#​9664](https://togithub.com/remix-run/react-router/pull/9664 ))
- Support uppercase `<Form method>` and `useSubmit` method values
([#​9664](https://togithub.com/remix-run/react-router/pull/9664 ))
- Skip initial scroll restoration for SSR apps with `hydrationData`
([#​9664](https://togithub.com/remix-run/react-router/pull/9664 ))
- Fix `<button formmethod>` form submission overriddes
([#​9664](https://togithub.com/remix-run/react-router/pull/9664 ))
- Updated dependencies:
- `@remix-run/router@1.2.0`
- `react-router@6.6.0`
###
[`v6.5.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​650 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.4.5...react-router-dom@6.5.0 )
##### Patch Changes
- Updated dependencies:
- `react-router@6.5.0`
- `@remix-run/router@1.1.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://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43My4zIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 21:50:42 +00:00
renovate[bot]
5dd93b1802
fix(deps): update dependency docusaurus-theme-openapi-docs to v1.5.0 ( #2764 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-theme-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`1.4.7` ->
`1.5.0`](https://renovatebot.com/diffs/npm/docusaurus-theme-openapi-docs/1.4.7/1.5.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.0/compatibility-slim/1.4.7 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.5.0/confidence-slim/1.4.7 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v1.5.0`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​150-Dec-16-2022 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.4.7...v1.5.0 )
High level enhancements
- Introduced proxy support
- Added support for rendering deprecated schema items/properties
Other enhancements and bug fixes
- Only create list of 2xx content types for request samples
([#​365](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/365 ))
- \[Enhancement] Add deprecated support to schema items
([#​367](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/367 ))
- \[Enhancement] Add proxy support
([#​366](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/366 ))
- kebab case fix for info pages
([#​363](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/363 ))
- Hide edit URL by default
([#​364](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/364 ))
- Update index.ts
([#​361](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/361 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 18:56:33 +00:00
renovate[bot]
47bdf618a0
fix(deps): update dependency unleash-proxy-client to v2.4.0 ( #2766 )
...
[![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.3.0` ->
`2.4.0`](https://renovatebot.com/diffs/npm/unleash-proxy-client/2.3.0/2.4.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.4.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.4.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.4.0/compatibility-slim/2.3.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/unleash-proxy-client/2.4.0/confidence-slim/2.3.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>unleash/unleash-proxy-client-js</summary>
###
[`v2.4.0`](https://togithub.com/Unleash/unleash-proxy-client-js/releases/tag/v2.4.0 )
[Compare
Source](https://togithub.com/unleash/unleash-proxy-client-js/compare/v2.3.0...v2.4.0 )
-
[`dd59036`](dd59036a3e
)
- fix: Include impression data status when not enabled
([#​122](https://togithub.com/unleash/unleash-proxy-client-js/issues/122 ))
-
[`766b697`](766b697fbe
)
- Feat/post fetching
([#​125](https://togithub.com/unleash/unleash-proxy-client-js/issues/125 ))
-
[`815ac4b`](815ac4b3b8
)
- 2.4.0-beta.0
-
[`f0d5397`](f0d5397b63
)
- bundle rollup for browser
([#​129](https://togithub.com/unleash/unleash-proxy-client-js/issues/129 ))
-
[`477a529`](477a529061
)
- 2.4.0-beta.1
-
[`6c7a458`](6c7a458a53
)
- 2.4.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:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 10:55:46 +01:00
renovate[bot]
8790e73b30
chore(deps): update dependency decode-uri-component to ^0.4.0 ( #2754 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[decode-uri-component](https://togithub.com/SamVerschueren/decode-uri-component )
| [`^0.2.1` ->
`^0.4.0`](https://renovatebot.com/diffs/npm/decode-uri-component/0.2.2/0.4.1 )
|
[![age](https://badges.renovateapi.com/packages/npm/decode-uri-component/0.4.1/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/decode-uri-component/0.4.1/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/decode-uri-component/0.4.1/compatibility-slim/0.2.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/decode-uri-component/0.4.1/confidence-slim/0.2.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>SamVerschueren/decode-uri-component</summary>
###
[`v0.4.1`](https://togithub.com/SamVerschueren/decode-uri-component/releases/tag/v0.4.1 )
[Compare
Source](https://togithub.com/SamVerschueren/decode-uri-component/compare/v0.4.0...v0.4.1 )
- Add TypeScript type definitions
[`c345b4c`](https://togithub.com/SamVerschueren/decode-uri-component/commit/c345b4c )
###
[`v0.4.0`](https://togithub.com/SamVerschueren/decode-uri-component/releases/tag/v0.4.0 )
[Compare
Source](https://togithub.com/SamVerschueren/decode-uri-component/compare/v0.3.0...v0.4.0 )
- Require Node.js 14 and move to ESM
([#​11](https://togithub.com/SamVerschueren/decode-uri-component/issues/11 ))
[`b09e39d`](https://togithub.com/SamVerschueren/decode-uri-component/commit/b09e39d )
###
[`v0.3.0`](https://togithub.com/SamVerschueren/decode-uri-component/releases/tag/v0.3.0 )
[Compare
Source](https://togithub.com/SamVerschueren/decode-uri-component/compare/v0.2.2...v0.3.0 )
- Do not decode + to a space - fixes
[#​3](https://togithub.com/SamVerschueren/decode-uri-component/issues/3 )
[`3bbc879`](https://togithub.com/SamVerschueren/decode-uri-component/commit/3bbc879 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC43My4zIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-28 01:40:24 +00:00
renovate[bot]
3b1cd9ad80
chore(deps): update storybook monorepo to v6.5.15 ( #2751 )
...
[![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/addon-actions](https://togithub.com/storybookjs/storybook/tree/main/addons/actions )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.14` ->
`6.5.15`](https://renovatebot.com/diffs/npm/@storybook%2faddon-actions/6.5.14/6.5.15 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.15/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.15/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.15/compatibility-slim/6.5.14 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.15/confidence-slim/6.5.14 )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@storybook/addon-essentials](https://togithub.com/storybookjs/storybook/tree/main/addons/essentials )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.14` ->
`6.5.15`](https://renovatebot.com/diffs/npm/@storybook%2faddon-essentials/6.5.14/6.5.15 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.15/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.15/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.15/compatibility-slim/6.5.14 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.15/confidence-slim/6.5.14 )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@storybook/addon-interactions](https://togithub.com/storybookjs/storybook/tree/main/addons/interactions )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.14` ->
`6.5.15`](https://renovatebot.com/diffs/npm/@storybook%2faddon-interactions/6.5.14/6.5.15 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-interactions/6.5.15/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-interactions/6.5.15/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-interactions/6.5.15/compatibility-slim/6.5.14 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-interactions/6.5.15/confidence-slim/6.5.14 )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@storybook/addon-links](https://togithub.com/storybookjs/storybook/tree/main/addons/links )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.14` ->
`6.5.15`](https://renovatebot.com/diffs/npm/@storybook%2faddon-links/6.5.14/6.5.15 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-links/6.5.15/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-links/6.5.15/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-links/6.5.15/compatibility-slim/6.5.14 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-links/6.5.15/confidence-slim/6.5.14 )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@storybook/react](https://togithub.com/storybookjs/storybook/tree/main/app/react )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.14` ->
`6.5.15`](https://renovatebot.com/diffs/npm/@storybook%2freact/6.5.14/6.5.15 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.15/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.15/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.15/compatibility-slim/6.5.14 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.15/confidence-slim/6.5.14 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>storybookjs/storybook</summary>
###
[`v6.5.15`](https://togithub.com/storybookjs/storybook/blob/HEAD/CHANGELOG.md#​6515-December-20-2022 )
[Compare
Source](https://togithub.com/storybookjs/storybook/compare/v6.5.14...v6.5.15 )
##### Bug Fixes
- Support Angular 15.0.4
[#​20287](https://togithub.com/storybooks/storybook/pull/20287 )
- CLI: execute automigrations when pressing enter in the prompts
[#​20208](https://togithub.com/storybooks/storybook/pull/20208 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC43My4zIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 22:50:34 +00:00
renovate[bot]
03dc65bf2a
chore(deps): update dependency @babel/core to v7.20.7 ( #2740 )
...
[![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.20.5` ->
`7.20.7`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.20.5/7.20.7 )
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/compatibility-slim/7.20.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.7/confidence-slim/7.20.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel</summary>
###
[`v7.20.7`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7207-2022-12-22 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.20.5...v7.20.7 )
##### 👓 Spec Compliance
- `babel-helper-member-expression-to-functions`,
`babel-helper-replace-supers`, `babel-plugin-proposal-class-properties`,
`babel-plugin-transform-classes`
- [#​15223](https://togithub.com/babel/babel/pull/15223 ) fix:
Deleting super property should throw
([@​SuperSodaSea](https://togithub.com/SuperSodaSea ))
- `babel-helpers`, `babel-plugin-proposal-class-properties`,
`babel-plugin-transform-classes`, `babel-plugin-transform-object-super`
- [#​15241](https://togithub.com/babel/babel/pull/15241 ) fix:
Throw correct error types from sed ant class TDZ helpers
([@​SuperSodaSea](https://togithub.com/SuperSodaSea ))
##### 🐛 Bug Fix
- `babel-parser`, `babel-plugin-transform-typescript`
- [#​15209](https://togithub.com/babel/babel/pull/15209 ) fix:
Support auto accessors with TypeScript annotations
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-traverse`
- [#​15287](https://togithub.com/babel/babel/pull/15287 ) Fix
`.parentPath` after rename in `SwitchCase`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-plugin-transform-typescript`, `babel-traverse`
- [#​15284](https://togithub.com/babel/babel/pull/15284 ) fix: Ts
import type and func with duplicate name
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-plugin-transform-block-scoping`
- [#​15278](https://togithub.com/babel/babel/pull/15278 ) Fix tdz
analysis for reassigned captured for bindings
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-plugin-proposal-async-generator-functions`, `babel-preset-env`
- [#​15235](https://togithub.com/babel/babel/pull/15235 ) fix:
Transform `for await` with shadowed variables
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-generator`, `babel-plugin-proposal-optional-chaining`
- [#​15258](https://togithub.com/babel/babel/pull/15258 ) fix:
Correctly generate `(a ?? b) as T`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-plugin-transform-react-jsx`, `babel-types`
- [#​15233](https://togithub.com/babel/babel/pull/15233 ) fix: Emit
correct sourcemap ranges for `JSXText`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-core`, `babel-helpers`,
`babel-plugin-transform-computed-properties`, `babel-runtime-corejs2`,
`babel-runtime-corejs3`, `babel-runtime`
- [#​15232](https://togithub.com/babel/babel/pull/15232 ) fix:
Computed properties should keep original definition order
([@​SuperSodaSea](https://togithub.com/SuperSodaSea ))
- `babel-helper-member-expression-to-functions`,
`babel-helper-replace-supers`, `babel-plugin-proposal-class-properties`,
`babel-plugin-transform-classes`
- [#​15223](https://togithub.com/babel/babel/pull/15223 ) fix:
Deleting super property should throw
([@​SuperSodaSea](https://togithub.com/SuperSodaSea ))
- `babel-generator`
- [#​15216](https://togithub.com/babel/babel/pull/15216 ) fix:
Print newlines for leading Comments of `TSEnumMember`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
##### 💅 Polish
- `babel-plugin-transform-block-scoping`, `babel-traverse`
- [#​15275](https://togithub.com/babel/babel/pull/15275 ) Improve
relative execution tracking in fn exprs
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🏠 Internal
- `babel-helper-define-map`, `babel-plugin-transform-property-mutators`
- [#​15274](https://togithub.com/babel/babel/pull/15274 ) Inline &
simplify `@babel/helper-define-map`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-core`, `babel-plugin-proposal-class-properties`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-destructuring`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-regenerator`, `babel-plugin-transform-runtime`,
`babel-preset-env`, `babel-traverse`
- [#​15200](https://togithub.com/babel/babel/pull/15200 ) Rewrite
`transform-block-scoping` plugin
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🏃♀️ Performance
- `babel-helper-compilation-targets`
- [#​15228](https://togithub.com/babel/babel/pull/15228 ) perf:
Speed up `getTargets`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43My4zIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 10:07:48 +00:00
Thomas Heartman
ff9bc1d10c
Docs: fix typo / lexical illusion "the the" -> "to the"
2022-12-18 23:06:35 +01:00
Simon Hornby
e437b61753
docs: update group docs to reflect that users is not optional ( #2667 )
...
The reference documentation for groups is incorrect, groups always
require a list of users
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-12-16 10:45:15 +01:00
Thomas Heartman
dc8a369b7b
Docs: update availability notice for sso keycloak group sync
...
## What
This change updates the availability notice in the SSO keycloak setup
guide.
## Why
Because the notice still said that it's an "upcoming" feature, but it
was released in 4.18.
2022-12-15 11:00:36 +01:00
Thomas Heartman
160b9a0604
docs: small fixes ( #2688 )
...
## What
This PR contains two small doc updates/fixes:
1. Update the availability notice on SSO syncing to indicate that it has
been released.
2. Add a note to the Import API description that importing environments
will make Unleash delete API keys belonging to those environments.
## Why
1. To keep the docs up to date.
2. Because this behavior surprised (and rightly so, I'd say) a user, who
then suddenly had all their SDKs unable to connect.
Co-authored-by: Nuno Góis <github@nunogois.com>
2022-12-14 15:26:41 +01:00
Thomas Heartman
65d69c6fa7
Chore: correctly format docusaurus.config.js
...
This bit of code has been popping up in all my change batches
recently, so I'm gonna nip it in the bud and fix it.
2022-12-13 08:27:00 +01:00
Thomas Heartman
a3fdef11ab
docs: various fixes ( #2669 )
...
## What
This PR contains a number of minor fixes to the docs in terms of
formatting and redirects. The changes are:
- Adding an availability notice for the front-end API reference docs
(with links to the release blog post).
- Fix malformed admonition headers in the Unleash proxy docs and
impression data docs.
- Add missing redirects:
- `/advanced/custom_activation_strategy` ->
`/reference/custom-activation-strategies`
- `/docs/deploy/configuring_unleash` ->
`/reference/deploy/configuring-unleash`
- `/docs/user_guide/connect_sdk` -> `/reference/sdks`(this one goes to
the SDKs doc instead of the quickstart because there's more
comprehensive information there and because `/user_guide/connect_sdk`
already goes there)
- `/sdks/proxy-javascript` -> `/reference/sdks/javascript-browser`
- `/sdks/proxy-react`-> `/reference/sdks/react`
- `/docs/getting_started` -> `/tutorials/quickstart` (this does not go
to "Deploy: getting started" because that is its own link)
## Why
Because keeping the docs up to date and accessible is important.
2022-12-12 14:08:13 +01:00
renovate[bot]
768e2b2038
fix(deps): update dependency docusaurus-theme-openapi-docs to v1.4.7 ( #2652 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-theme-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`1.4.5` ->
`1.4.7`](https://renovatebot.com/diffs/npm/docusaurus-theme-openapi-docs/1.4.5/1.4.7 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.4.7/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.4.7/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.4.7/compatibility-slim/1.4.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.4.7/confidence-slim/1.4.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v1.4.7`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​147-Dec-2-2022 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.4.6...v1.4.7 )
High level enhancements
- Emergency patch to address regression bug introdudced by
[#​351](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/issues/351 )
Other enhancements and bug fixes
- Import markdown utils from lib
([#​358](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/358 ))
###
[`v1.4.6`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​146-Dec-2-2022 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.4.5...v1.4.6 )
High level enhancements
- Added support for swizzling `ApiItem` and `ApiDemoPanel` components!
Other enhancements and bug fixes
- Remove createProperties from items anyOneOf condition and add new
condition for handling items.properties
([#​356](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/356 ))
- \[Enhancement] Allow whitespace in key/token/password input
([#​354](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/354 ))
- \[Bug] Respect readOnly/writeOnly when creating example from schema
([#​353](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/353 ))
- \[Bug] Import Body from [@​theme](https://togithub.com/theme ) in
makeRequest
([#​352](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/352 ))
- \[Experimental] Improve support for swizzling theme components
([#​351](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/351 ))
- Bump loader-utils from 2.0.3 to 2.0.4
([#​346](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/346 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC41MS4wIiwidXBkYXRlZEluVmVyIjoiMzQuNTEuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 20:17:43 +00:00
Zan Marolt
d76d9d863d
Add azure example to the documentation page ( #2641 )
...
## About the changes
Noticed there is missing link to the azure sso implementation example.
2022-12-09 10:49:38 +00:00
Mateusz Kwasniewski
867a8a4e8d
remove experimental notice ( #2640 )
2022-12-09 09:30:00 +01:00
renovate[bot]
a3328a2d18
fix(deps): update dependency docusaurus-plugin-openapi-docs to v1.4.7 ( #2646 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-plugin-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`1.4.5` ->
`1.4.7`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/1.4.5/1.4.7 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.4.7/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.4.7/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.4.7/compatibility-slim/1.4.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.4.7/confidence-slim/1.4.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v1.4.7`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​147-Dec-2-2022 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.4.6...v1.4.7 )
High level enhancements
- Emergency patch to address regression bug introdudced by
[#​351](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/issues/351 )
Other enhancements and bug fixes
- Import markdown utils from lib
([#​358](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/358 ))
###
[`v1.4.6`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​146-Dec-2-2022 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.4.5...v1.4.6 )
High level enhancements
- Added support for swizzling `ApiItem` and `ApiDemoPanel` components!
Other enhancements and bug fixes
- Remove createProperties from items anyOneOf condition and add new
condition for handling items.properties
([#​356](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/356 ))
- \[Enhancement] Allow whitespace in key/token/password input
([#​354](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/354 ))
- \[Bug] Respect readOnly/writeOnly when creating example from schema
([#​353](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/353 ))
- \[Bug] Import Body from [@​theme](https://togithub.com/theme ) in
makeRequest
([#​352](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/352 ))
- \[Experimental] Improve support for swizzling theme components
([#​351](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/351 ))
- Bump loader-utils from 2.0.3 to 2.0.4
([#​346](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/346 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC41MS4wIiwidXBkYXRlZEluVmVyIjoiMzQuNTEuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 07:55:01 +00:00
renovate[bot]
c60f94d61d
chore(deps): update storybook monorepo to v6.5.14 ( #2645 )
...
[![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/addon-actions](https://togithub.com/storybookjs/storybook/tree/main/addons/actions )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.13` ->
`6.5.14`](https://renovatebot.com/diffs/npm/@storybook%2faddon-actions/6.5.13/6.5.14 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.14/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.14/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.14/compatibility-slim/6.5.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-actions/6.5.14/confidence-slim/6.5.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@storybook/addon-essentials](https://togithub.com/storybookjs/storybook/tree/main/addons/essentials )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.13` ->
`6.5.14`](https://renovatebot.com/diffs/npm/@storybook%2faddon-essentials/6.5.13/6.5.14 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.14/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.14/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.14/compatibility-slim/6.5.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-essentials/6.5.14/confidence-slim/6.5.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@storybook/addon-interactions](https://togithub.com/storybookjs/storybook/tree/main/addons/interactions )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.13` ->
`6.5.14`](https://renovatebot.com/diffs/npm/@storybook%2faddon-interactions/6.5.13/6.5.14 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-interactions/6.5.14/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-interactions/6.5.14/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-interactions/6.5.14/compatibility-slim/6.5.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-interactions/6.5.14/confidence-slim/6.5.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@storybook/addon-links](https://togithub.com/storybookjs/storybook/tree/main/addons/links )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.13` ->
`6.5.14`](https://renovatebot.com/diffs/npm/@storybook%2faddon-links/6.5.13/6.5.14 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-links/6.5.14/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-links/6.5.14/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-links/6.5.14/compatibility-slim/6.5.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2faddon-links/6.5.14/confidence-slim/6.5.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
|
[@storybook/react](https://togithub.com/storybookjs/storybook/tree/main/app/react )
([source](https://togithub.com/storybookjs/storybook )) | [`6.5.13` ->
`6.5.14`](https://renovatebot.com/diffs/npm/@storybook%2freact/6.5.13/6.5.14 )
|
[![age](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.14/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.14/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.14/compatibility-slim/6.5.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@storybook%2freact/6.5.14/confidence-slim/6.5.13 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>storybookjs/storybook</summary>
###
[`v6.5.14`](https://togithub.com/storybookjs/storybook/releases/tag/v6.5.14 )
[Compare
Source](https://togithub.com/storybookjs/storybook/compare/v6.5.13...v6.5.14 )
##### Bug Fixes
- Angular: Fix "**webpack_require**.nmd is not a function issue" in
Angular 15
[#​20043](https://togithub.com/storybooks/storybook/pull/20043 )
- CLI/React native: Fix addons template to import register instead of
manager
[#​19620](https://togithub.com/storybooks/storybook/pull/19620 )
##### Maintenance
- Core: Patch preview-web and refs to support React Native
[#​19975](https://togithub.com/storybooks/storybook/pull/19975 )
##### Dependency Upgrades
- Upgrade loader-utils to 2.0.4 in storysource and source-loader
[#​19891](https://togithub.com/storybooks/storybook/pull/19891 )
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC41MS4wIiwidXBkYXRlZEluVmVyIjoiMzQuNTEuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 04:13:41 +00:00
renovate[bot]
ae107ee230
chore(deps): update react-router monorepo to v6.4.5 ( #2643 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router ) | [`6.4.3`
-> `6.4.5`](https://renovatebot.com/diffs/npm/react-router/6.4.3/6.4.5 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.4.5/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.4.5/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.4.5/compatibility-slim/6.4.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.4.5/confidence-slim/6.4.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.4.3` ->
`6.4.5`](https://renovatebot.com/diffs/npm/react-router-dom/6.4.3/6.4.5 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.5/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.5/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.5/compatibility-slim/6.4.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.5/confidence-slim/6.4.3 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.4.5`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​645 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.4.4...react-router@6.4.5 )
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.0.5`
###
[`v6.4.4`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​644 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.4.3...react-router@6.4.4 )
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.0.4`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.4.5`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​645 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.4.4...react-router-dom@6.4.5 )
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.0.5`
- `react-router@6.4.5`
###
[`v6.4.4`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​644 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.4.3...react-router-dom@6.4.4 )
##### Patch Changes
- Fix issues with encoded characters in `NavLink` and descendant
`<Routes>`
([#​9589](https://togithub.com/remix-run/react-router/pull/9589 ),
[#​9647](https://togithub.com/remix-run/react-router/pull/9647 ))
- Properly serialize/deserialize `ErrorResponse` instances when using
built-in hydration
([#​9593](https://togithub.com/remix-run/react-router/pull/9593 ))
- Support `basename` in static data routers
([#​9591](https://togithub.com/remix-run/react-router/pull/9591 ))
- Updated dependencies:
- `@remix-run/router@1.0.4`
- `react-router@6.4.4`
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC41MS4wIiwidXBkYXRlZEluVmVyIjoiMzQuNTEuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-08 23:52:35 +00:00
Ivar Conradi Østhus
739b6c3170
fix(docs): add resulution for qs dep
2022-12-08 11:32:22 +01:00
Fredrik Strand Oseberg
8f540f0698
Docs/change request beta docs ( #2608 )
...
<!-- 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 PR adds beta documentation for the change request feature.
<!-- 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: sjaanus <sellinjaanus@gmail.com>
2022-12-06 14:02:44 +01:00
Ivar Conradi Østhus
0188998b4c
fix(docs): add resulution for 'decode-uri-component'
2022-12-06 09:46:22 +01:00
Thomas Heartman
8c42fbf34b
Docs(fix): add more (missing) redirects, fix links ( #2592 )
...
## What
This PR fixes some broken links we had in the application. It also adds
redirects for those links so that they should work in the future.
## Why
Because it's important to have links that work 💁
2022-12-06 09:32:42 +01:00
Ivar Conradi Østhus
4a3d26065f
Fix/cors expose ETag ( #2594 )
...
This commit fixes two issues with the frontend API
1. fix: update cors max age to match chromium defaults
https://source.chromium.org/chromium/chromium/src/+/main:services/network/public/cpp/cors/preflight_result.cc;drc=49e7c0b4886cac1f3d09dc046bd528c9c811a0fa;l=31
2: fix: expose ETage for cross-origin requests
2022-12-05 10:04:35 +01:00
Pranshu Khanna
a2321192fc
Added GitHub Discussions Links
...
Added GitHub Discussions as an option along with Slack.
2022-12-01 17:09:53 +01:00
Christopher Kolstad
a113f9c2c0
Change to preferred export format ( #2567 )
...
### What
This PR updates the example for the hook to use the export format that
is recommended in the ADR we've written on export types.
2022-11-30 10:42:00 +01:00
Christopher Kolstad
753d6681ff
fix typo in preferred-form-architecture ( #2566 )
...
A very quick typo fix. It's whether, not wheter. :)
2022-11-30 10:33:42 +01:00
Fredrik Strand Oseberg
ad7c139992
fix: add ADR for domain language ( #2541 )
...
This PR puts our contributing guidelines in the sidebar of the unleash
documentation. Currently there was no way of navigating to them easily,
which made our contribution guides and ADRs less useful. This PR adds
them to the sidebar as their own category, and adds an ADR for domain
centric language.
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-29 08:57:27 +01:00
renovate[bot]
1c5b96fcab
chore(deps): update dependency @babel/core to v7.20.5 ( #2551 )
...
[![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.20.2` ->
`7.20.5`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.20.2/7.20.5 )
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.5/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.5/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.5/compatibility-slim/7.20.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.5/confidence-slim/7.20.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel</summary>
###
[`v7.20.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7205-2022-11-28 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.20.2...v7.20.5 )
##### 👓 Spec Compliance
- `babel-helpers`, `babel-plugin-transform-destructuring`,
`babel-plugin-transform-modules-commonjs`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`,
`babel-traverse`
- [#​15183](https://togithub.com/babel/babel/pull/15183 ) Improve
array destructuring spec compliance
([@​SuperSodaSea](https://togithub.com/SuperSodaSea ))
- `babel-cli`, `babel-helpers`,
`babel-plugin-proposal-class-properties`,
`babel-plugin-proposal-class-static-block`,
`babel-plugin-transform-classes`, `babel-plugin-transform-runtime`,
`babel-preset-env`
- [#​15182](https://togithub.com/babel/babel/pull/15182 ) fix:
apply toPropertyKey when defining class members
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-helper-create-class-features-plugin`, `babel-helpers`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-private-property-in-object`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#​15133](https://togithub.com/babel/babel/pull/15133 ) fix:
validate rhs of `in` when transpiling `#p in C`
([@​JLHwung](https://togithub.com/JLHwung ))
##### 🐛 Bug Fix
- `babel-parser`
- [#​15225](https://togithub.com/babel/babel/pull/15225 ) Parse
`using[foo]` as computed member expression
([@​JLHwung](https://togithub.com/JLHwung ))
- [#​15207](https://togithub.com/babel/babel/pull/15207 ) Export
`ParseResult` type ([@​davydof](https://togithub.com/davydof ))
- [#​15198](https://togithub.com/babel/babel/pull/15198 ) fix:
parse `import module, ...`
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-helper-wrap-function`, `babel-preset-env`, `babel-traverse`
- [#​15181](https://togithub.com/babel/babel/pull/15181 ) fix: Edge
cases for async functions and `noNewArrow` assumption
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-plugin-transform-arrow-functions`,
`babel-plugin-transform-parameters`, `babel-traverse`
- [#​15163](https://togithub.com/babel/babel/pull/15163 ) fix:
Throw error when compiling `super()` in arrow functions with default /
rest parameters
([@​SuperSodaSea](https://togithub.com/SuperSodaSea ))
- `babel-helpers`, `babel-node`,
`babel-plugin-proposal-async-generator-functions`,
`babel-plugin-transform-regenerator`, `babel-preset-env`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#​15194](https://togithub.com/babel/babel/pull/15194 ) fix: Bump
`regenerator` and add tests
([@​SuperSodaSea](https://togithub.com/SuperSodaSea ))
- `babel-helper-create-regexp-features-plugin`
- [#​15192](https://togithub.com/babel/babel/pull/15192 ) fix:
Update `regjsparser` for `@babel/standalone`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-parser`, `babel-types`
- [#​15109](https://togithub.com/babel/babel/pull/15109 ) fix:
Babel 8 types
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-generator`
- [#​15143](https://togithub.com/babel/babel/pull/15143 ) Don't
print inner comments as leading when wrapping in `(``)`
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-plugin-transform-block-scoping`, `babel-traverse`
- [#​15167](https://togithub.com/babel/babel/pull/15167 ) Register
`switch`'s `discriminant` in the outer scope
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 💅 Polish
- `babel-generator`
- [#​15173](https://togithub.com/babel/babel/pull/15173 ) Improve
generator behavior when `comments:false`
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-plugin-transform-block-scoping`
- [#​15164](https://togithub.com/babel/babel/pull/15164 ) Only
extract IDs for TDZ checks in assign when necessary
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🏠 Internal
- `babel-core`, `babel-parser`
- [#​15202](https://togithub.com/babel/babel/pull/15202 ) Bump
typescript to 4.9.3 ([@​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:eyJjcmVhdGVkSW5WZXIiOiIzNC40MC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNDAuMiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-28 21:52:20 +00:00
Fredrik Strand Oseberg
5d52216d53
fix: adds cors caching ( #2522 )
...
* This PR adds a configurable maxAge header to the CORS middleware. This
allows the preflight request to be cached so that we can reduce the
request load on our end for the frontend clients starting to utilise the
frontend api.
2022-11-24 16:14:47 +01:00
renovate[bot]
6e2351edeb
chore(deps): update dependency enhanced-resolve to v5.12.0 ( #2517 )
...
[![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.11.0` ->
`5.12.0`](https://renovatebot.com/diffs/npm/enhanced-resolve/5.11.0/5.12.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.12.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.12.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.12.0/compatibility-slim/5.11.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.12.0/confidence-slim/5.11.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>webpack/enhanced-resolve</summary>
###
[`v5.12.0`](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.12.0 )
[Compare
Source](https://togithub.com/webpack/enhanced-resolve/compare/v5.11.0...v5.12.0 )
- reverts "utilize throwIfNoEntry in sync mode"
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4zMC40IiwidXBkYXRlZEluVmVyIjoiMzQuMzAuNCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-23 21:57:46 +00:00
NicolaeUnleash
bf13009a00
Docs: update unleash proxy API img ( #2478 )
...
This change updates the proxy API illustration with the correct payload. It also adds a caption to better explain what is going on (and to make it more accessible).
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-23 12:27:59 +00:00
renovate[bot]
543f07104c
chore(deps): update dependency enhanced-resolve to v5.11.0 ( #2507 )
...
[![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.10.0` ->
`5.11.0`](https://renovatebot.com/diffs/npm/enhanced-resolve/5.10.0/5.11.0 )
|
[![age](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.11.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.11.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.11.0/compatibility-slim/5.10.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/enhanced-resolve/5.11.0/confidence-slim/5.10.0 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>webpack/enhanced-resolve</summary>
###
[`v5.11.0`](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.11.0 )
[Compare
Source](https://togithub.com/webpack/enhanced-resolve/compare/v5.10.0...v5.11.0 )
### Features
- utilize throwIfNoEntry in sync mode
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4zMC4yIiwidXBkYXRlZEluVmVyIjoiMzQuMzAuMiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-22 22:24:57 +00:00
Thomas Heartman
d5fbd0b743
refactor: move docs into new structure / fix links for SEO ( #2416 )
...
## What
This (admittedly massive) PR updates the "physical" documentation
structure and fixes url inconsistencies and SEO problems reported by
marketing. The main points are:
- remove or move directories : advanced, user_guide, deploy, api
- move the files contained within to the appropriate one of topics,
how-to, tutorials, or reference
- update internal doc links and product links to the content
- create client-side redirects for all the urls that have changed.
A number of the files have been renamed in small ways to better match
their url and to make them easier to find. Additionally, the top-level
api directory has been moved to /reference/api/legacy/unleash (see the
discussion points section for more on this).
## Why
When moving our doc structure to diataxis a while back, we left the
"physical' files lying where they were, because it didn't matter much to
the new structure. However, that did introduce some inconsistencies with
where you place docs and how we organize them.
There's also the discrepancies in whether urls us underscores or hyphens
(which isn't necessarily the same as their file name), which has been
annoying me for a while, but now has also been raised by marketing as an
issue in terms of SEO.
## Discussion points
The old, hand-written API docs have been moved from /api to
/reference/api/legacy/unleash. There _is_ a /reference/api/unleash
directory, but this is being populated by the OpenAPI plugin, and mixing
those could only cause trouble. However, I'm unsure about putting
/legacy/ in the title, because the API isn't legacy, the docs are. Maybe
we could use another path? Like /old-docs/ or something? I'd appreciate
some input on this.
2022-11-22 09:05:30 +00:00
NicolaeUnleash
65ba1bf4e0
docs: Update Unleash proxy illustration ( #2477 )
...
Updates the diagram presented in the docs to better illustrate how it works and to use the correct endpoint.
2022-11-18 14:20:18 +00:00
JarrodSC
31dc31fdf4
Docs: Updated personal access tokens for accuracy ( #2459 )
...
Updated **personal access tokens** section to reflect that users
technically can set the expiration date to **never**.
2022-11-18 11:23:17 +00:00
renovate[bot]
d1f657bf0a
fix(deps): update dependency docusaurus-theme-openapi-docs to v1.4.5 ( #2370 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-theme-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`1.4.4` ->
`1.4.5`](https://renovatebot.com/diffs/npm/docusaurus-theme-openapi-docs/1.4.4/1.4.5 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.4.5/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.4.5/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.4.5/compatibility-slim/1.4.4 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/1.4.5/confidence-slim/1.4.4 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v1.4.5`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​145-Nov-15-2022 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.4.4...v1.4.5 )
High level enhancements
- Bug fixes and polish
- Re-introduce missing `--openapi-input-background` variable to
`styles.css`
Other enhancements and bug fixes
- \[Bug] Add condition for handling arrays of discriminators
([#​344](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/344 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-17 18:27:28 +00:00
renovate[bot]
bffea7dcb9
fix(deps): update dependency docusaurus-plugin-openapi-docs to v1.4.5 ( #2369 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-plugin-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`1.4.4` ->
`1.4.5`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/1.4.4/1.4.5 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.4.5/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.4.5/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.4.5/compatibility-slim/1.4.4 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/1.4.5/confidence-slim/1.4.4 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v1.4.5`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#​145-Nov-15-2022 )
[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v1.4.4...v1.4.5 )
High level enhancements
- Bug fixes and polish
- Re-introduce missing `--openapi-input-background` variable to
`styles.css`
Other enhancements and bug fixes
- \[Bug] Add condition for handling arrays of discriminators
([#​344](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/344 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMjQuMSJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-16 19:30:08 +00:00
Simon Hornby
3624cdc21f
docs: move sso how to guides to the how-to folder ( #2323 )
...
We're in the process of moving how-to guides into the how-to folder,
where they belong. This continues that work and shifts the how to guides
for SSO to the correct place and gives them appropriate names
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-14 14:11:27 +02:00
Ivar Conradi Østhus
309ba68a31
Update import-export.md
2022-11-14 10:24:20 +01:00
Thomas Heartman
29da625195
chore: update docusaurus/openapi integration to stable version ( #2414 )
...
## What
This PR updates the version of the docusaurus-openapi plugin we depend
on for openapi docs generation from canary version 0.0.0-514 to stable
release 1.4.4.
Also removes the manual file cleanup that was created as a workaround to
solve the issues we were having.
## Why
When we set the canary version before the weekend it was because it
contained a fix of some of the issues we were having with our docs.
That issue (and the one about file cleanup) have now been released in
v1.4.4, so we can upgrade to a stable version and remove now-redundant
cleanup code.
2022-11-14 08:52:46 +01:00
renovate[bot]
ca2c96de52
chore(deps): update dependency @babel/core to v7.20.2 ( #2371 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core )
([source](https://togithub.com/babel/babel )) | [`7.19.6` ->
`7.20.2`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.19.6/7.20.2 )
|
[![age](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.2/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.2/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.2/compatibility-slim/7.19.6 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/@babel%2fcore/7.20.2/confidence-slim/7.19.6 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel</summary>
###
[`v7.20.2`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7202-2022-11-04 )
[Compare
Source](https://togithub.com/babel/babel/compare/v7.19.6...v7.20.2 )
##### 🐛 Bug Fix
- `babel-core`, `babel-helper-create-class-features-plugin`,
`babel-helper-module-transforms`, `babel-helper-plugin-utils`,
`babel-helper-simple-access`, `babel-node`,
`babel-plugin-transform-block-scoping`,
`babel-plugin-transform-classes`,
`babel-plugin-transform-react-constant-elements`, `babel-preset-env`,
`babel-standalone`, `babel-types`
- [#​15124](https://togithub.com/babel/babel/pull/15124 ) fix:
`@babel/node` repl and enable `no-use-before-define` rule
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-plugin-transform-typescript`
- [#​15121](https://togithub.com/babel/babel/pull/15121 ) fix:
`tsSatisfiesExpression` check with different duplicated `@babel/types`
versions ([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-parser`
- [#​15094](https://togithub.com/babel/babel/pull/15094 ) fix:
`parser` typings for plugins
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-generator`
- [#​15118](https://togithub.com/babel/babel/pull/15118 ) Improve
printing of \[no LineTerminator here] with comments
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-plugin-proposal-decorators`,
`babel-plugin-proposal-object-rest-spread`,
`babel-plugin-transform-jscript`
- [#​15113](https://togithub.com/babel/babel/pull/15113 ) fix: wrap
anonymous class expression within statement
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-plugin-transform-destructuring`
- [#​15104](https://togithub.com/babel/babel/pull/15104 ) fix:
Destructuring exceptions ` for ( let { } = 0 ; 0 ; ) `
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 08:24:41 +00:00
renovate[bot]
5988148e13
fix(deps): update dependency docusaurus-theme-openapi-docs to v0.0.0-514 ( #2409 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-theme-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`0.0.0-507` ->
`0.0.0-514`](https://renovatebot.com/diffs/npm/docusaurus-theme-openapi-docs/0.0.0-507/0.0.0-514 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/0.0.0-514/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/0.0.0-514/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/0.0.0-514/compatibility-slim/0.0.0-507 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-theme-openapi-docs/0.0.0-514/confidence-slim/0.0.0-507 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v0.0.0-514`](795da2f81a...a8ae6e77f4
)
[Compare
Source](795da2f81a...a8ae6e77f4
)
###
[`v0.0.0-513`](e32c9361d2...795da2f81a
)
[Compare
Source](e32c9361d2...795da2f81a
)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuMjEuNiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 05:54:51 +00:00
renovate[bot]
167ad82a4f
chore(deps): update react-router monorepo to v6.4.3 ( #2368 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router ) | [`6.4.2`
-> `6.4.3`](https://renovatebot.com/diffs/npm/react-router/6.4.2/6.4.3 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.4.3/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.4.3/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.4.3/compatibility-slim/6.4.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.4.3/confidence-slim/6.4.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
| [react-router-dom](https://togithub.com/remix-run/react-router ) |
[`6.4.2` ->
`6.4.3`](https://renovatebot.com/diffs/npm/react-router-dom/6.4.2/6.4.3 )
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.3/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.3/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.3/compatibility-slim/6.4.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.4.3/confidence-slim/6.4.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>remix-run/react-router (react-router)</summary>
###
[`v6.4.3`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#​643 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.4.2...react-router@6.4.3 )
##### Patch Changes
- `useRoutes` should be able to return `null` when passing `locationArg`
([#​9485](https://togithub.com/remix-run/react-router/pull/9485 ))
- fix `initialEntries` type in `createMemoryRouter`
([#​9498](https://togithub.com/remix-run/react-router/pull/9498 ))
- Updated dependencies:
- `@remix-run/router@1.0.3`
</details>
<details>
<summary>remix-run/react-router (react-router-dom)</summary>
###
[`v6.4.3`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​643 )
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.4.2...react-router-dom@6.4.3 )
##### Patch Changes
- Fix hrefs generated for `createHashRouter`
([#​9409](https://togithub.com/remix-run/react-router/pull/9409 ))
- fix encoding/matching issues with special chars
([#​9477](https://togithub.com/remix-run/react-router/pull/9477 ),
[#​9496](https://togithub.com/remix-run/react-router/pull/9496 ))
- Properly support `index` routes with a `path` in `useResolvedPath`
([#​9486](https://togithub.com/remix-run/react-router/pull/9486 ))
- Respect `relative=path` prop on `NavLink`
([#​9453](https://togithub.com/remix-run/react-router/pull/9453 ))
- Fix `NavLink` behavior for root urls
([#​9497](https://togithub.com/remix-run/react-router/pull/9497 ))
- Updated dependencies:
- `@remix-run/router@1.0.3`
- `react-router@6.4.3`
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 03:27:44 +00:00
renovate[bot]
e924d9da57
fix(deps): update dependency docusaurus-plugin-openapi-docs to v0.0.0-514 ( #2408 )
...
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg )](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[docusaurus-plugin-openapi-docs](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs )
| [`0.0.0-507` ->
`0.0.0-514`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/0.0.0-507/0.0.0-514 )
|
[![age](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/0.0.0-514/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/0.0.0-514/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/0.0.0-514/compatibility-slim/0.0.0-507 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/docusaurus-plugin-openapi-docs/0.0.0-514/confidence-slim/0.0.0-507 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs</summary>
###
[`v0.0.0-514`](795da2f81a...a8ae6e77f4
)
[Compare
Source](795da2f81a...a8ae6e77f4
)
###
[`v0.0.0-513`](e32c9361d2...795da2f81a
)
[Compare
Source](e32c9361d2...795da2f81a
)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuMjEuNiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-12 00:16:33 +00:00
Thomas Heartman
0cd04fc882
chore: fix broken docs build / remove unused tag files ( #2402 )
...
## Issue
So, we've got an issue with our docs build not working. When building
for production, we get an error that looks a little bit like this:
```
$ docusaurus build
[INFO] [en] Creating an optimized production build...
✔ Client
✖ Server
Compiled with some errors in 40.85s
TypeError: source_default(...).bold is not a function
TypeError: source_default(...).bold is not a function
[ERROR] Unable to build website for locale en.
[ERROR] Error: Failed to compile with errors.
at /Users/thomas/projects/work/unleash/website/node_modules/@docusaurus/core/lib/webpack/utils.js:180:24
at /Users/thomas/projects/work/unleash/website/node_modules/webpack/lib/MultiCompiler.js:554:14
at processQueueWorker (/Users/thomas/projects/work/unleash/website/node_modules/webpack/lib/MultiCompiler.js:491:6)
at processTicksAndRejections (node:internal/process/task_queues:78:11)
[INFO] Docusaurus version: 2.2.0
Node version: v16.14.0
error Command failed with exit code 1.
```
Which isn't very helpful at all. If you go into
`/node_modules/@docusaurus/core/lib/client/serverEntry.js` and modify
the `render` function to log the actual error and remove anything
chalk-related, you get this instead:
```
$ docusaurus build
[INFO] [en] Creating an optimized production build...
✔ Client
✖ Server
Compiled with some errors in 44.62s
Actual error: Error: Unexpected: cant find current sidebar in context
at useCurrentSidebarCategory (main:11618:247)
at MDXContent (main:38139:1593)
at Fb (main:149154:44)
at Ib (main:149156:254)
at W (main:149162:89)
at Jb (main:149165:98)
at Ib (main:149157:145)
at W (main:149162:89)
at Jb (main:149165:98)
at Ib (main:149157:145)
Actual error: Error: Unexpected: cant find current sidebar in context
at useCurrentSidebarCategory (main:11618:247)
at MDXContent (main:38513:1469)
at Fb (main:149154:44)
at Ib (main:149156:254)
at W (main:149162:89)
at Jb (main:149165:98)
at Ib (main:149157:145)
at W (main:149162:89)
at Jb (main:149165:98)
at Ib (main:149157:145)
Error: Unexpected: cant find current sidebar in context
Error: Unexpected: cant find current sidebar in context
[ERROR] Unable to build website for locale en.
[ERROR] Error: Failed to compile with errors.
at /Users/thomas/projects/work/unleash/website/node_modules/@docusaurus/core/lib/webpack/utils.js:180:24
at /Users/thomas/projects/work/unleash/website/node_modules/webpack/lib/MultiCompiler.js:554:14
at processQueueWorker (/Users/thomas/projects/work/unleash/website/node_modules/webpack/lib/MultiCompiler.js:491:6)
at processTicksAndRejections (node:internal/process/task_queues:78:11)
[INFO] Docusaurus version: 2.2.0
Node version: v16.14.0
error Command failed with exit code 1.
```
That's better, but it's still not very clear.
## Getting more info
We've had problems with a similar error message before. Last time it was
caused by an empty file that docusaurus couldn't process.
A similar issue has also been described in [ this docusaurus GitHub
issue ](https://github.com/facebook/docusaurus/issues/7686 ). That's also
what gave me the idea of changing the logging in the dependency.
I'm currently unsure whether this is caused by the openapi docs or
something else. I've been in touch with the [openapi plugin
maintainer](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/issues/323 )
and he has been able to see the same error when building for prod
locally, but it was due to some old generated files.
Worth noting: this only seems to affect the prod build. Building for dev
(`yarn docusaurus start`) works just fine. It also fails locally **and**
in CI, so it _is_ an issue.
## Updating the logging
To get better logging, you can go into the
`/node_modules/@docusaurus/core/lib/client/serverEntry.js` file and
update the `render` function from
```js
export default async function render(locals) {
try {
return await doRender(locals);
}
catch (err) {
// We are not using logger in this file, because it seems to fail with some
// compilers / some polyfill methods. This is very likely a bug, but in the
// long term, when we output native ES modules in SSR, the bug will be gone.
// prettier-ignore
console.error(chalk.red(`${chalk.bold('[ERROR]')} Docusaurus server-side rendering could not render static page with path ${chalk.cyan.underline(locals.path)}.`));
const isNotDefinedErrorRegex = /(?:window|document|localStorage|navigator|alert|location|buffer|self) is not defined/i;
if (isNotDefinedErrorRegex.test(err.message)) {
// prettier-ignore
console.info(`${chalk.cyan.bold('[INFO]')} It looks like you are using code that should run on the client-side only.
To get around it, try using ${chalk.cyan('`<BrowserOnly>`')} (${chalk.cyan.underline('https://docusaurus.io/docs/docusaurus-core/#browseronly ')}) or ${chalk.cyan('`ExecutionEnvironment`')} (${chalk.cyan.underline('https://docusaurus.io/docs/docusaurus-core/#executionenvironment ')}).
It might also require to wrap your client code in ${chalk.cyan('`useEffect`')} hook and/or import a third-party library dynamically (if any).`);
}
throw err;
}
}
```
to
```js
export default async function render(locals) {
try {
return await doRender(locals);
}
catch (err) {
console.error(err)
throw err;
}
}
```
That'll yield the errors about the current sidebar in context.
## Root cause
Found the issue! 🙋🏼 It's explained in [this comment on the openapi docs
integration](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/issues/323#issuecomment-1311549864 )
for now, but in short: we have tags defined that we don't use. They're
being picked up by docusaurus, but don't have the proper context. That's
causing this.
The previously mentioned comment is included here for easy finding in
the future:
### Root cause explanation
The OpenAPI spec we use to generate the docs has a number of tags listed
at the root level. This is necessary for this plugin to pick up tag
categories and is, as far as I can tell, also how it _should_ be done.
However, not all of those tags are in use. Specifically, there's 2 tags
that are not.
When the plugin generates docs from the spec, it generates pages for all
endpoints and all tags and groups them by tag. However, it seems likely
that if a tag doesn't have any associated endpoints, then it won't get
added to the sidebar because there's no endpoint that references it.
But the doc files for these tags do end up lying around in the directory
regardless, and when docusaurus tries to pick up the files in the
generated directory, it also tries to pick up the unused tag files. But
because they're not part of a sidebar, they end up throwing errors
because they can't find the sidebar context.
### How I found it
The fact that I got more instances of the error message without the
sidebar ref than with it made me pay more attention to the number of
errors. I decided to check how many files were in the generated
directory and how many files were referenced from the generated sidebar.
Turns out the difference there was **2**: there were two generated files
in the directory that the sidebar didn't reference.
At this point, it was easy enough to try and delete those files before
rebuilding, and wouldn't you know: it worked!
### Our use case
Now, why do we have tags that are unused in the root spec? Can't we just
remove them?
That's a good question with a bit of a complicated answer. Unleash uses
an open core model and the OpenAPI integration is part of that open
core. The closed-source parts of Unleash are located in another repo and
extend the open-source distribution.
Because the OpenAPI spec is configured in the open-source part,
enterprise-only tags etc also need to be configured there. Then, when
the changes are absorbed into enterprise, we can use the tags there.
It gets more complicated because we use an enterprise instance to
generate the docs (because we want enterprise-endpoints to be listed
too). The instance uses the latest released instance of Unleash to have
the docs most accurately reflect the current state of things.
So, in this case, the tags have been added, but not yet used by any
endpoints, which suddenly causes this build failure. We can add the tags
to the enterprise-version, but the spec wouldn't be updated before the
next release regardless, which will probably be in a week or so.
This isn't an ideal setup, but .. it is what it is.
## Solutions and workarounds
As mentioned in the previous section, the reason the build was failing
was that there were unused tag files that docusaurus tried to include in
the build. Because they don't belong to a sidebar, the compilation
failed.
I've reported the issue to the openapi plugin maintainers and am waiting
for a response.
However, it seems that having unused root tags declared is invalid
according to the spec, so it's something we should look into fixing in
the future.
### Current workaround: cleaning script
The current workaround is to extend the api cleaning script to manually
remove the unused tag files.
### Ideal solution: filter root-level tags
Ideally, we shouldn't list unused OpenAPI tags on the root level at all.
However, because of the way we add root-level tags (as a predefined,
static lists, refer to `src/lib/openapi/index.ts`) and endpoints
(dynamically added at runtime) today, we don't really have a clear way
to filter the list of tags. This gets even more complicated when taking
the enterprise functionality and the potential extra tags they must
have.
This is, however, something that should definitely be looked into.
Working with OpenAPI across multipile repos is already troublesome, so
this is just yet another thing to look into.
2022-11-11 15:01:54 +02:00
Thomas Heartman
665638b9da
fix: Fix broken OpenAPI ( #2379 )
...
## What
This change removes the use of double quotes in the
'addPublicSignupTokenUser' endpoint summary. It also changes the
original summary to a description and adds a new, shorter summary.
## Why
The OpenAPI / docusaurus integration errors out (refer to [this failed
build](https://github.com/Unleash/unleash/actions/runs/3434792557/jobs/5726445104 ))
if the frontmatter contains invalid characters. In this case, it's
because the automatic sidebar label contains double quotes, which it
interprets as a new key having been declared:
```
Error: Error while parsing Markdown front matter.
This can happen if you use special characters in front matter values (try using double quotes around that value).
Error: Loading of version failed for version current
Error: Unable to build website for locale en.
Error: YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 4, column 12:
description: "Create a user with the 'viewe ...
^
```
For some reason, I cannot reproduce this error locally. Instead, the
generation goes as expected.
---
Regarding using description instead of summary: summaries should be very
short and sweet, especially because they're also used in the generated
sidebar. Descriptions can be a bit wordier, so I added a shorter summary
for going forward.
## Generated output
This is what the old configuration would generate. Notice the
`sidedar_label` key on line 2:
```md
---
id: add-public-signup-token-user
sidebar_label: Create a user with the "viewer" root role and link them to a signup token
hide_title: true
hide_table_of_contents: true
api: {'tags': ['Public signup tokens'], 'operationId': 'addPublicSignupTokenUser', 'requestBody': {'description': 'createInvitedUserSchema', 'required': true, 'content': {'application/json': {'schema': {'type': 'object', 'additionalProperties': false, 'required': ['email', 'name', 'password'], 'properties': {'username': { 'type': 'string' }, 'email': { 'type': 'string' }, 'name': { 'type': 'string' }, 'password': { 'type': 'string' },},},},},}, 'responses': {'200': {'description': 'userSchema', 'content': {'application/json': {'schema': {'type': 'object', 'additionalProperties': false, 'required': ['id'], 'properties': {'id': {'type': 'number',}, 'isAPI': {'type': 'boolean',}, 'name': {'type': 'string',}, 'email': {'type': 'string',}, 'username': {'type': 'string',}, 'imageUrl': {'type': 'string',}, 'inviteLink': {'type': 'string',}, 'loginAttempts': {'type': 'number',}, 'emailSent': {'type': 'boolean',}, 'rootRole': {'type': 'number',}, 'seenAt': {'type': 'string', 'format': 'date-time', 'nullable': true,}, 'createdAt': {'type': 'string', 'format': 'date-time',},},},},},}, '400': {'description': 'The request data does not match what we expect.',}, '409': {'description': 'The provided resource can not be created or updated because it would conflict with the current state of the resource or with an already existing resource, respectively.',},}, 'parameters': [{'name': 'token', 'in': 'path', 'required': true, 'schema': { 'type': 'string' },},], 'description': 'Create a user with the "viewer" root role and link them to a signup token', 'method': 'post', 'path': '/invite/{token}/signup', 'servers': [{ 'url': '<your-unleash-url>' }], 'security': [{ 'apiKey': [] }], 'securitySchemes': {'apiKey': {'type': 'apiKey', 'in': 'header', 'name': 'Authorization',},}, 'jsonRequestBodyExample': {'username': 'string', 'email': 'string', 'name': 'string', 'password': 'string',}, 'info': { 'title': 'Unleash API', 'version': '4.17.2' }, 'postman': {'name': 'Create a user with the "viewer" root role and link them to a signup token', 'description': { 'type': 'text/plain' }, 'url': {'path': ['invite', ':token', 'signup'], 'host': ['{{baseUrl}}'], 'query': [], 'variable': [{'disabled': false, 'description': {'content': '(Required) ', 'type': 'text/plain',}, 'type': 'any', 'value': '', 'key': 'token',},],}, 'header': [{ 'key': 'Content-Type', 'value': 'application/json' }, { 'key': 'Accept', 'value': 'application/json' },], 'method': 'POST', 'body': {'mode': 'raw', 'raw': '""', 'options': { 'raw': { 'language': 'json' } }}}}
sidebar_class_name: 'post api-method'
info_path: docs/reference/api/unleash/unleash-api
---
import ApiTabs from "@theme/ApiTabs"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; import SchemaItem from "@theme/SchemaItem" import SchemaTabs from "@theme/SchemaTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; import TabItem from "@theme/TabItem";
## Create a user with the "viewer" root role and link them to a signup token
Create a user with the "viewer" root role and link them to a signup token
<!-- And much much more! -->
```
2022-11-10 22:55:01 +01:00
renovate[bot]
7207f1b572
chore(deps): update dependency minimatch to v5 ( #2400 )
...
[![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 ) | [`^3.0.5` ->
`^5.0.0`](https://renovatebot.com/diffs/npm/minimatch/3.1.2/5.1.0 ) |
[![age](https://badges.renovateapi.com/packages/npm/minimatch/5.1.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/minimatch/5.1.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/minimatch/5.1.0/compatibility-slim/3.1.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/minimatch/5.1.0/confidence-slim/3.1.2 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>isaacs/minimatch</summary>
###
[`v5.1.0`](https://togithub.com/isaacs/minimatch/compare/v5.0.1...v5.1.0 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.0.1...v5.1.0 )
###
[`v5.0.1`](https://togithub.com/isaacs/minimatch/compare/v5.0.0...v5.0.1 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v5.0.0...v5.0.1 )
###
[`v5.0.0`](https://togithub.com/isaacs/minimatch/compare/v4.2.1...v5.0.0 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v4.2.1...v5.0.0 )
###
[`v4.2.1`](https://togithub.com/isaacs/minimatch/compare/v4.2.0...v4.2.1 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v4.2.0...v4.2.1 )
###
[`v4.2.0`](https://togithub.com/isaacs/minimatch/compare/v4.1.1...v4.2.0 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v4.1.1...v4.2.0 )
###
[`v4.1.1`](https://togithub.com/isaacs/minimatch/compare/v4.1.0...v4.1.1 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v4.1.0...v4.1.1 )
###
[`v4.1.0`](https://togithub.com/isaacs/minimatch/compare/v4.0.0...v4.1.0 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v4.0.0...v4.1.0 )
###
[`v4.0.0`](https://togithub.com/isaacs/minimatch/compare/v3.1.2...v4.0.0 )
[Compare
Source](https://togithub.com/isaacs/minimatch/compare/v3.1.2...v4.0.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yMS42IiwidXBkYXRlZEluVmVyIjoiMzQuMjEuNiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 21:36:46 +00:00
Sebastian Bury
79806840e9
Update index.md ( #2383 )
...
Changed to reflect impression data in the proxy
<!-- 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? -->
2022-11-10 15:59:32 +01:00
dependabot[bot]
fc2a9d8203
chore(deps): bump loader-utils from 1.4.0 to 1.4.1 in /website ( #2353 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0
to 1.4.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/webpack/loader-utils/releases ">loader-utils's
releases</a>.</em></p>
<blockquote>
<h2>v1.4.1</h2>
<h3><a
href="https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1 ">1.4.1</a>
(2022-11-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>security problem (<a
href="https://github-redirect.dependabot.com/webpack/loader-utils/issues/220 ">#220</a>)
(<a
href="4504e34c47
">4504e34</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md ">loader-utils's
changelog</a>.</em></p>
<blockquote>
<h3><a
href="https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1 ">1.4.1</a>
(2022-11-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>security problem (<a
href="https://github-redirect.dependabot.com/webpack/loader-utils/issues/220 ">#220</a>)
(<a
href="4504e34c47
">4504e34</a>)</li>
</ul>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8f082b39f6
"><code>8f082b3</code></a>
chore(release): 1.4.1</li>
<li><a
href="4504e34c47
"><code>4504e34</code></a>
fix: security problem (<a
href="https://github-redirect.dependabot.com/webpack/loader-utils/issues/220 ">#220</a>)</li>
<li>See full diff in <a
href="https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1 ">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=loader-utils&package-manager=npm_and_yarn&previous-version=1.4.0&new-version=1.4.1 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the
default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as
the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as
the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the
default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 14:43:02 +01:00
renovate[bot]
f71f9179a9
chore(deps): update dependency babel-loader to v9 ( #2293 )
...
[![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-loader](https://togithub.com/babel/babel-loader ) | [`8.2.5` ->
`9.1.0`](https://renovatebot.com/diffs/npm/babel-loader/8.2.5/9.1.0 ) |
[![age](https://badges.renovateapi.com/packages/npm/babel-loader/9.1.0/age-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://badges.renovateapi.com/packages/npm/babel-loader/9.1.0/adoption-slim )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://badges.renovateapi.com/packages/npm/babel-loader/9.1.0/compatibility-slim/8.2.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://badges.renovateapi.com/packages/npm/babel-loader/9.1.0/confidence-slim/8.2.5 )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>babel/babel-loader</summary>
###
[`v9.1.0`](https://togithub.com/babel/babel-loader/releases/tag/v9.1.0 )
[Compare
Source](https://togithub.com/babel/babel-loader/compare/v9.0.1...v9.1.0 )
#### New features
- Pass external dependencies from Babel to Webpack by
[@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ) in
[https://github.com/babel/babel-loader/pull/971 ](https://togithub.com/babel/babel-loader/pull/971 )
**Full Changelog**:
https://github.com/babel/babel-loader/compare/v9.0.1...v9.1.0
###
[`v9.0.1`](https://togithub.com/babel/babel-loader/releases/tag/v9.0.1 )
[Compare
Source](https://togithub.com/babel/babel-loader/compare/v9.0.0...v9.0.1 )
##### Bug Fixes
- remove "node:" builtin prefix by
[@​JLHwung](https://togithub.com/JLHwung ) in
[https://github.com/babel/babel-loader/pull/970 ](https://togithub.com/babel/babel-loader/pull/970 )
**Full Changelog**:
https://github.com/babel/babel-loader/compare/v9.0.0...v9.0.1
###
[`v9.0.0`](https://togithub.com/babel/babel-loader/releases/tag/v9.0.0 )
[Compare
Source](https://togithub.com/babel/babel-loader/compare/v8.3.0...v9.0.0 )
#### What's Changed
- update hash method mechanism so it doesn't fail on a fips enabled
machine by [@​darmbrust](https://togithub.com/darmbrust ) in
[https://github.com/babel/babel-loader/pull/939 ](https://togithub.com/babel/babel-loader/pull/939 )
- Require babel ^7.12.0 and Node.js >= 14.15.0 versions by
[@​JLHwung](https://togithub.com/JLHwung ) in
[https://github.com/babel/babel-loader/pull/956 ](https://togithub.com/babel/babel-loader/pull/956 )
- Remove dependency on loader-utils and drop webpack 4 support by
[@​nied](https://togithub.com/nied ) in
[https://github.com/babel/babel-loader/pull/942 ](https://togithub.com/babel/babel-loader/pull/942 )
#### New Contributors
- [@​darmbrust](https://togithub.com/darmbrust ) made their first
contribution in
[https://github.com/babel/babel-loader/pull/939 ](https://togithub.com/babel/babel-loader/pull/939 )
- [@​nied](https://togithub.com/nied ) made their first
contribution in
[https://github.com/babel/babel-loader/pull/942 ](https://togithub.com/babel/babel-loader/pull/942 )
**Full Changelog**:
https://github.com/babel/babel-loader/compare/v8.2.5...v9.0.0
###
[`v8.3.0`](https://togithub.com/babel/babel-loader/releases/tag/v8.3.0 )
[Compare
Source](https://togithub.com/babel/babel-loader/compare/v8.2.5...v8.3.0 )
#### New features
- Pass external dependencies from Babel to Webpack by
[@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ) in
[https://github.com/babel/babel-loader/pull/971 ](https://togithub.com/babel/babel-loader/pull/971 )
**Full Changelog**:
https://github.com/babel/babel-loader/compare/v8.2.5...v8.3.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC42LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNC4xNy4xIn0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-10 00:00:13 +01:00
Thomas Heartman
a658693f2f
Docs: Impression events only fire on enabled front-end toggles ( #2153 )
...
## What
This change updates the description of when impression events are
fired to clarify that impression events are **not** fired in front-end
SDKs if the toggle is enabled.
It also adds a 'caution' admonition repeating this information with
some more info on why.
## Why
We've had a couple questions about this as it hasn't been clearly
stated before. Additionally, I, as a member of the team and the
original author of this document, thought that impression
events **did** fire for disabled toggles in the front-end.
As such, I consider this to be unexpected and different from what was
originally written.
2022-11-09 23:09:48 +01:00
Thomas Heartman
75c3fcd170
docs: update export/import examples ( #2348 )
...
## What
This change updates the availability notice and the code samples in the
import/export docs.
Specifically, the code samples have been moved to using the ApiRequest
component (and thus get examples in HTTP, cURL, and HTTPie), and the
import code sample now says which version it's using (version 3).
## Why
The import code sample didn't say which version of the data it used, so
Unleash would assume it was version 1 if you tried to run it. However,
the actual data was incompatible with the v1 data format, so you'd get
an error if you tried to actually import it.
While fixing this, I figured it'd also be alright to add some other
minor updates to bring the docs a bit more up to recent standards.
2022-11-08 13:42:06 +00:00
Ivar Conradi Østhus
ae0006b839
fix: require minimatch 3.0.5 or higher
2022-11-03 14:43:36 +01:00
Simon Hornby
90cb737202
docs: add documentation for user group syncing ( #2314 )
...
* docs: add documentation for user group syncing and a end to end example for keycloak
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-03 14:59:12 +02:00
Nuno Góis
20310bf1a4
docs: add environment cloning and how-to guide ( #2249 )
...
* docs: add environment cloning and how-to guide
* add next steps in how-to, update reference
* update how-to, add images
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update website/docs/user_guide/environments.md
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update website/docs/user_guide/environments.md
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/sidebars.js
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/how-to/how-to-clone-environment.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/user_guide/environments.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/user_guide/environments.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* address PR comments
* Update website/docs/how-to/how-to-clone-environments.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/user_guide/environments.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/user_guide/environments.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/user_guide/environments.md
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* fix uppercase in guide
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-11-03 14:14:08 +02:00
sjaanus
5dd8616c74
Rename suggest changes to change request ( #2311 )
...
* Rename change request
* Merge with review status
* Move events and permissions
2022-11-02 08:34:14 +02:00
renovate[bot]
2a299d47bb
fix(deps): update dependency docusaurus-theme-openapi-docs to v1.4.1 ( #2292 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-29 04:42:31 +00:00
renovate[bot]
e0ad3806aa
fix(deps): update dependency docusaurus-plugin-openapi-docs to v1.4.1 ( #2288 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-29 02:56:05 +00:00
renovate[bot]
c62087d035
fix(deps): update dependency @svgr/webpack to v6.5.1 ( #2280 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 12:45:24 +00:00
Pål-Magnus Slåtto
3edca3efe8
[docs]: Update Prometheus docs with security info ( #2246 )
...
## About the changes
Prometheus metrics should not be exposed to the public. Added a note about this to inform people that internal endpoints should be dropped on external access.
## Discussion points
https://unleash-community.slack.com/archives/CGP2MCHPF/p1666688295670459
## Commits
* [docs]: Update Prometheus docs with security info
* Apply suggestions from code review
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Add info about Prometheus security
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-10-28 09:58:26 +00:00
renovate[bot]
95da63c8c7
chore(deps): update storybook monorepo to v6.5.13 ( #2270 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-28 05:26:18 +00:00
Thomas Heartman
4ecab1a522
docs: change notice about constraints availability. ( #2275 )
2022-10-27 19:10:32 +02:00
andreas-unleash
85631b9951
Add suggest-change-store.ts and db migration ( #2201 )
...
* Add suggest-change-store.ts and db migration
* Add suggest-change-store.ts and db migration
* change payload and event data type
* Update src/lib/db/suggest-change-store.ts
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
* split to 3 tables, create event on every change
* split to 3 tables, create event on every change
* Move service to enterprise
PR Comments
* PR Comments
* replacy createdBy string with User
* replace createdBy string with User
* added event to docs
* return entire changeset after adding a change
* bug fix
* bug fix
* move add change return to service layer
* PR comments
* added user id to user objects
* added user id to user objects
* added user id to user objects
* bug fix
* Rework
* Remove event and fix queries
* Update snapshot
* Remove console logs
* Fix
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2022-10-24 20:07:29 +03:00
renovate[bot]
da02a040fe
fix(deps): update docusaurus monorepo to v2.1.0 ( #2237 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-23 04:07:15 +00:00
renovate[bot]
e62be22daa
fix(deps): update dependency unleash-proxy-client to v2.3.0 ( #2236 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-23 01:34:06 +00:00
renovate[bot]
384e97da14
fix(deps): update dependency docusaurus-theme-openapi-docs to v1.3.2 ( #2234 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-23 00:00:57 +00:00
renovate[bot]
d1b754c2a2
fix(deps): update dependency docusaurus-plugin-openapi-docs to v1.3.2 ( #2232 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-22 21:49:37 +00:00
renovate[bot]
d478387bb2
fix(deps): update dependency @svgr/webpack to v6.5.0 ( #2231 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-22 16:13:34 +00:00
renovate[bot]
0aea76f968
chore(deps): update react-router monorepo to v6.4.2 ( #2228 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-22 10:24:45 +00:00
renovate[bot]
a1dc8339aa
chore(deps): update dependency @babel/core to v7.19.6 ( #2216 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-21 04:41:39 +00:00
Fredrik Strand Oseberg
50fb671b66
Docs/dev docs ( #2134 )
...
* docs: add ADRs
* docs/adrs
* fix: update developer guide
* fix: add space
* Update website/docs/contributing/backend/overview.md
Co-authored-by: Ivar Conradi Østhus <ivar@getunleash.ai>
* docs: remove auto-generated sidebar
This should've been in .gitignore, but has only been ignored to the
ignore file for the website subdirectory. (This has been fixed on main.)
* docs: delete empty file
* Revert "docs: delete empty file"
This reverts commit 2435f173ff
.
* docs: add frontmatter to new dev docs
* Docs(fix): add quotes around page titles
In yaml, the colon is a special character, so we need to use quotes.
* docs: fix remaining titles
* Update website/docs/contributing/backend/overview.md
Co-authored-by: Ivar Conradi Østhus <ivar@getunleash.ai>
* fix: update empty ADR
* fix: update text to reflect postgres 12
* fix: update backend overview
* fix: remove link
* fix: add form ADR
Co-authored-by: Ivar Conradi Østhus <ivar@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-10-19 14:32:37 +02:00
Thomas Heartman
8916de76be
docs: Remove/update references to Heroku ( #2099 )
...
## What
This PR removes or updates references in the docs to Heroku. Most of the code samples have been replaced with a more generic `unleash.example.com` url, while other references have been removed or updated.
Also removes old OpenAPI files that are out of date and redundant with the new generation.
## Background
Come November and Heroku will no longer offer free deployments of Unleash, so it's about time we remove that claim.
Links to the heroku instance are also outdated because we don't have that instance running anymore.
Finally, the OpenAPI files we do have there are old and static, so they don't match the current reality.
## Commits
* Meta: update ignore file to ignore autogenerated docs
I must've missed the ignore file when looking for patterns.
* docs: delete old openapi file.
This seems to have been a holdover from 2020 and is probably
hand-written. It has been superseded by the new autogenerated OpenAPI docs.
* docs: add notes for heroku changes to the frontend readme and pkg
* docs: remove old openapi article and add redirects to new openapi
* docs: fix link in overview doc: point to GitHub instead of heroku
* docs: update quickstart docs with new heroku details
* docs: remove reference to crashing heroku instance
* docs: remove references to herokuapp in code samples
* docs: add a placeholder comment
* docs: update references for heroku updates
* docs: keep using unleash4 for enterprise
* docs: remove start:heroku script in favor of start:sandbox
* docs: remove 'deploy on heroku button'
Now that it's not free anymore (or won't be very shortly), let's
remove it.
* docs: remove extra newline
2022-10-19 12:02:00 +00:00
Thomas Heartman
0e3e725a17
docs: add "The Anatomy of Unleash" ( #2138 )
...
## What
This PR
1. adds a new topic document, "The Anatomy of Unleash", which explains
how Unleash is built up as a system.
2. It also moves the "topic guides" sidebar entry from position 4 to
position 2.
3. Finally, it introduces a new `Figure` component for the
documentation, to be used with images that should be shown with
captions.
## Why
Referring to the same numbers as mentioned above, here's some background
for these changes:
1. We have gotten requests from enterprise users for a way to help new
Unleash users understand the system. Together with customer success and
customer journey, we agreed that an explanatory guide would be suitable.
It aims to give the reader an introduction into what pieces constitute
the Unleash system.
2. As part of a discussion, it was suggested to move topic guides higher
up to make them more visible. There's a few reasons for this:
1. New users of Unleash should be able to keep reading about Unleash
after the basic introductory material. When left at the bottom, topic
guides are often overlooked
2. As a justification, it was proposed that reference docs are often the
last thing you look for, so it makes sense to put that last.
3. Thinking about a new user's flow, it also makes some sense: first
read introductory material, then dive deeper into what Unleash is and
what you can use it for, then look for how-to guides if you're stuck,
and finally consult the reference material for later.
3. These diagrams aren't necessarily very self-explanatory, so adding a
caption makes a lot of sense. We didn't have a component from this
previously, so I added one.
Co-authored-by: NicolaeUnleash <103567375+NicolaeUnleash@users.noreply.github.com>
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
## Commits
* docs: add raw export of anatomy document
* docs: move the topic guides section to near top of sidebar
* docs: add inter-doc links, some reformatting
* docs: fix broken links
* docs: add a Figure element for figures with captions
* docs: add more styling to figures
* docs: align on styles
* Fix: add fuller figure caption
* docs: rephrase heading
* Docs(test): try new way of importing images
* Docs(test): images take 3
* docs: Convert all images to using the figure component
* docs: add projects to list of top-level resources
* docs: add captions for all figures.
* docs: reorder images
* Docs(fix): typo: extra brackets
* Docs(style): remove box shadows and border on fig caption images
* Docs(chore): remove commented-out css
* Docs(refactor): use css variable for small font size.
To facilitate reusability and convey meaning.
* docs: rename anatomy doc
* docs: add note about strategies vs constraints
* Updating the images
* Apply suggestions from code review
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
* Update website/docs/topics/the-anatomy-of-unleash.mdx
* Docs(fix): remove redundant comma
* docs: add link to node js sdk
* docs: mention that a toggle must be active in an env to be enabled
* docs: add note about environments and api keys
* Docs(reword): swap dev and prod in example
* docs: fix typo in the image
* docs: make figures in text full-width
* docs: move environments and API keys call-out to after figure
* docs: add borders to figures
* docs: add image float css idea
* Revert "docs: add image float css idea"
This reverts commit 69f27d304b
.
Co-authored-by: NicolaeUnleash <103567375+NicolaeUnleash@users.noreply.github.com>
Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2022-10-19 13:14:49 +02:00
Thomas Heartman
5c6fce0f98
docs: update appId and apiKey to new DocSearch ( #2202 )
...
## What
This change updates the details used for the doc search integration we use.
## Why
Algolia has migrated to a new doc search platform. The old credentials
still work, but the crawlers stopped working months ago. This is why
new articles don't show up in the search at all.
This update _should_ allow us to update our indices and get search
working properly again.
2022-10-18 13:53:06 +02:00
Simon Hornby
b1a877e56c
docs: adds documentation for personal api tokens ( #2164 )
...
* docs: adds documentation for personal api tokens
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-10-13 11:02:04 +02:00
Thomas Heartman
13ea873057
docs: Document the min and max lengths of a feature name. ( #2188 )
...
## What
This change adds a the min and max lengths allowed for a feature
toggle name to the feature toggle docs.
## Why
As was mentioned in #2185 , this isn't documented anywhere as of today,
making it a potentially surprising issue to come across.
2022-10-13 10:26:11 +02:00
Thomas Heartman
585ce12da1
Docs: Clarify proxy limitations
2022-10-11 10:53:20 +02:00
Thomas Heartman
523f4a9fd3
docs: add note about custom activation strats in hosted proxies ( #2173 )
...
## What
This change adds a note to the custom activation strategies section of
the proxy docs, clarifying that the hosted proxy can not use custom
activation strategies.
## Why
We had a customer asking whether this was possible and realized it's
not stated explicitly anywhere.
2022-10-11 10:39:29 +02:00
andreas-unleash
0651c83bd1
Docs/public signup ( #2070 )
...
* update snapshot
* add api doc
* describe api
* reference initial
* updated public signup api docs
created public invite api docs
* docs
* docs update
* docs update
* add description to openapi endpoints
* add description to openapi endpoints
* fix snapshot
* Update src/lib/openapi/spec/public-signup-token-create-schema.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/lib/openapi/spec/public-signup-token-schema.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/lib/routes/admin-api/public-signup.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/lib/routes/public-invite.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/lib/openapi/spec/public-signup-token-schema.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/lib/routes/admin-api/public-signup.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update website/docs/reference/public-signup.mdx
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* PR comments
* delete api docs
* fix snapshot
* Update src/lib/routes/admin-api/public-signup.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* bug fix
* bug fix
* bug fix
* Update src/lib/openapi/spec/public-signup-token-create-schema.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/lib/openapi/spec/public-signup-token-schema.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/lib/openapi/spec/public-signup-token-update-schema.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/lib/routes/admin-api/public-signup.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/lib/routes/admin-api/public-signup.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* Update src/lib/routes/public-invite.ts
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
* bug fix
* fix links
* update snapshot
* update snapshot
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-10-10 16:12:11 +03:00
renovate[bot]
5535a1769d
chore(deps): update dependency @babel/core to v7.19.3 ( #2160 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 08:13:08 +00:00
renovate[bot]
b54b956895
chore(deps): update storybook monorepo to v6.5.12 ( #2159 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 05:24:51 +00:00
renovate[bot]
9477babb3f
chore(deps): update dependency typescript to v4.8.4 ( #2154 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-07 17:54:29 +00:00
renovate[bot]
1ee64170b9
fix(deps): pin dependencies ( #2139 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-05 23:33:51 +02:00
Thomas Heartman
0e4734af38
docs: Update docs with new constraint availability ( #2113 )
...
* docs: fix duplicated image.
* docs: add announcement banner for constraints
* docs: style announcement bar via CSS
* docs: update doc availability notices
* docs: remove commented-out announcement bar code
2022-10-04 14:13:52 +02:00