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

1427 Commits

Author SHA1 Message Date
Tymoteusz Czech
712d1c6fa4
ADR: Use of conditionals in JSX (</ConditionallyRender>) (#8025)
Co-authored-by: Melinda Fekete <melinda.fekete@getunleash.io>
2024-09-02 10:12:09 +02:00
Ivar Conradi Østhus
2d99ba7d6d
docs: redirect featureflagbook.com to best practices guide (#8026)
Should redirect "featureflagbook.com" to
"https://docs.getunleash.io/topics/feature-flags/feature-flag-best-practices"
2024-08-30 13:13:15 +02:00
dependabot[bot]
612afbdd3c
chore(deps): bump elliptic from 6.5.4 to 6.5.7 in /website (#7906) 2024-08-29 12:25:57 +02:00
dependabot[bot]
62b70b7022
chore(deps): bump webpack from 5.75.0 to 5.94.0 in /website (#8004) 2024-08-29 12:21:54 +02:00
Alvin Bryan
064744b18f
Updated diagrams (#7983) 2024-08-26 17:36:37 +01:00
Alvin Bryan
1947c7bc81
Alvin/update rails (#7975)
Also updated the SDK's readme to make sure this doesn't happen again
2024-08-26 14:14:45 +01:00
Melinda Fekete
499c9cebfd
Update collaboration mode docs (#7864) 2024-08-23 17:17:57 +02:00
Thomas Heartman
7f7891dc8e
docs: mention what the minimum values are if you override the limits (#7971)
Adds a note to the resource limit docs about what resources have a minimum limit of 1.

Also updates the availability note in preparation for 6.2 GA

---------

Co-authored-by: Melinda Fekete <melinda.fekete@getunleash.io>
2024-08-23 09:06:13 +02:00
Jaanus Sellin
cb8d689bd8
feat: command menu docs (#7963)
Also rebranded command bar to command menu, because that seems more
suitable.
Command bar is more like a horizontal/vertical list/bar of icons, like
sidebar. Command menu is more of a dropdown.


https://unleash-docs-git-command-docs-unleash-team.vercel.app/reference/command-menu

---------

Co-authored-by: melindafekete <melinda.fekete@getunleash.io>
2024-08-22 14:07:15 +03:00
Melinda Fekete
341703978a
docs: Update projects docs (#7941) 2024-08-21 14:56:17 +02:00
Alvin Bryan
2ec2639fa3
Added video link and fixed types (#7942)
Kudos to GitHub for showing the diff despite me renaming the file
2024-08-20 19:00:38 +01:00
Melinda Fekete
500a9c7df4
Update 11 principles docs (#7907) 2024-08-20 17:19:12 +02:00
dagl200
35196b53c1
Fix docs for managing constraints (#7900) 2024-08-19 09:44:07 +02:00
Thomas Heartman
64a9caab30
fix: display 3 types of models image (#7885)
The link to the image was incorrectly formatted, leading to the image
being displayed as a link. This fixes it so that the image is displayed
inline.
2024-08-15 11:12:04 +02:00
Nuno Góis
585eb30730
chore: initial admin email (#7795)
https://linear.app/unleash/issue/2-2518/figure-out-how-to-create-the-initial-admin-user-in-unleash

The logic around `initAdminUser` that was introduced in
https://github.com/Unleash/unleash/pull/4927 confused me a bit. I wrote
new tests with what I assume are our expectations for this feature and
refactored the code accordingly, but would like someone to confirm that
it makes sense to them as well.

The logic was split into 2 different methods: one to get the initial
invite link, and another to send a welcome email. Now these two methods
are more granular than the previous alternative and can be used
independently of creating a new user.

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2024-08-14 10:05:11 +02:00
renovate[bot]
e8d682c034
chore(deps): update dependency react-router to v6.26.0 (#7817)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router)
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router))
| [`6.25.1` ->
`6.26.0`](https://renovatebot.com/diffs/npm/react-router/6.25.1/6.26.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.25.1/6.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.25.1/6.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>remix-run/react-router (react-router)</summary>

###
[`v6.26.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6260)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.25.1...react-router@6.26.0)

##### Minor Changes

- Add a new `replace(url, init?)` alternative to `redirect(url, init?)`
that performs a `history.replaceState` instead of a `history.pushState`
on client-side navigation redirects
([#&#8203;11811](https://togithub.com/remix-run/react-router/pull/11811))

##### Patch Changes

- Fix initial hydration behavior when using `future.v7_partialHydration`
along with `unstable_patchRoutesOnMiss`
([#&#8203;11838](https://togithub.com/remix-run/react-router/pull/11838))
- During initial hydration, `router.state.matches` will now include any
partial matches so that we can render ancestor `HydrateFallback`
components
-   Updated dependencies:
    -   `@remix-run/router@1.19.0`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 02:32:16 +00:00
renovate[bot]
42610768d0
chore(deps): update dependency qs to v6.13.0 (#7815)
[![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.12.3` ->
`6.13.0`](https://renovatebot.com/diffs/npm/qs/6.12.3/6.13.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/qs/6.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/qs/6.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/qs/6.12.3/6.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/qs/6.12.3/6.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ljharb/qs (qs)</summary>

###
[`v6.13.0`](https://togithub.com/ljharb/qs/blob/HEAD/CHANGELOG.md#6130)

[Compare
Source](https://togithub.com/ljharb/qs/compare/v6.12.3...v6.13.0)

- \[New] `parse`: add `strictDepth` option
([#&#8203;511](https://togithub.com/ljharb/qs/issues/511))
-   \[Tests] use `npm audit` instead of `aud`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 22:16:22 +00:00
renovate[bot]
f3da6a50cd
chore(deps): update dependency browserslist to v4.23.3 (#7814)
[![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.23.2` ->
`4.23.3`](https://renovatebot.com/diffs/npm/browserslist/4.23.2/4.23.3)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/browserslist/4.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/browserslist/4.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/browserslist/4.23.2/4.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/browserslist/4.23.2/4.23.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>browserslist/browserslist (browserslist)</summary>

###
[`v4.23.3`](https://togithub.com/browserslist/browserslist/blob/HEAD/CHANGELOG.md#4233)

[Compare
Source](https://togithub.com/browserslist/browserslist/compare/4.23.2...4.23.3)

- Fixed `>=` query for `ios` (by
[@&#8203;syi0808](https://togithub.com/syi0808)).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 22:15:43 +00:00
Mateusz Kwasniewski
7d3368bbfd
docs: change request preview playground (#7738) 2024-08-08 11:42:04 +02:00
Alvin Bryan
8786240ddf
Updated <title> for 11 principles article (#7779)
Made the `<title>` and the h1 different
2024-08-07 09:08:24 +02:00
renovate[bot]
d4069f26e6
chore(deps): update dependency @babel/core to v7.25.2 (#7784)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-core))
| [`7.24.9` ->
`7.25.2`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.24.9/7.25.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.24.9/7.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.24.9/7.25.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>babel/babel (@&#8203;babel/core)</summary>

###
[`v7.25.2`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7252-2024-07-30)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.9...v7.25.2)

##### 🐛 Bug Fix

-   `babel-core`, `babel-traverse`
- [#&#8203;16695](https://togithub.com/babel/babel/pull/16695) Ensure
that `requeueComputedKeyAndDecorators` is available
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xOC4xNyIsInVwZGF0ZWRJblZlciI6IjM4LjE4LjE3IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 18:41:21 +00:00
Melinda Fekete
35df4c7f43
Remove outdated info box (#7781)
Removes an outdated info box that got missed when refactoring
docs content to remove 'feature toggles'. 

Co-authored-by: melindafekete <>
2024-08-06 16:51:50 +02:00
Alvin Bryan
440c2b6661
Rails + Django examples (#7745)
As per @riboflavin's suggestion. Let's make example pages for Rails and
Django
2024-08-06 13:51:15 +02:00
renovate[bot]
cd5a458d10
chore(deps): update dependency react-router to v6.25.1 (#7767)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router)
([source](https://togithub.com/remix-run/react-router/tree/HEAD/packages/react-router))
| [`6.24.1` ->
`6.25.1`](https://renovatebot.com/diffs/npm/react-router/6.24.1/6.25.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.24.1/6.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.24.1/6.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>remix-run/react-router (react-router)</summary>

###
[`v6.25.1`](https://togithub.com/remix-run/react-router/releases/tag/react-router%406.25.1):
v6.25.1

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.25.0...react-router@6.25.1)

See the changelog for release notes:
https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v6251

###
[`v6.25.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6250)

[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.24.1...react-router@6.25.0)

##### Minor Changes

- Stabilize `future.unstable_skipActionErrorRevalidation` as
`future.v7_skipActionErrorRevalidation`
([#&#8203;11769](https://togithub.com/remix-run/react-router/pull/11769))

- When this flag is enabled, actions will not automatically trigger a
revalidation if they return/throw a `Response` with a `4xx`/`5xx` status
code
    -   You may still opt-into revalidation via `shouldRevalidate`
- This also changes `shouldRevalidate`'s `unstable_actionStatus`
parameter to `actionStatus`

##### Patch Changes

- Fix regression and properly decode paths inside `useMatch` so
matches/params reflect decoded params
([#&#8203;11789](https://togithub.com/remix-run/react-router/pull/11789))
-   Updated dependencies:
    -   `@remix-run/router@1.18.0`

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 02:18:52 +00:00
Mateusz Kwasniewski
fee318ab09
docs: insights v2 docs update (#7692) 2024-08-05 11:57:00 +02:00
renovate[bot]
8965367275
chore(deps): update dependency semver to v7.6.3 (#7748)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [semver](https://togithub.com/npm/node-semver) | [`7.6.2` ->
`7.6.3`](https://renovatebot.com/diffs/npm/semver/7.6.2/7.6.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/semver/7.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/semver/7.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/semver/7.6.2/7.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/semver/7.6.2/7.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [semver](https://togithub.com/npm/node-semver) | [`7.6.0` ->
`7.6.3`](https://renovatebot.com/diffs/npm/semver/7.6.0/7.6.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/semver/7.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/semver/7.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/semver/7.6.0/7.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/semver/7.6.0/7.6.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>npm/node-semver (semver)</summary>

###
[`v7.6.3`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#763-2024-07-16)

[Compare
Source](https://togithub.com/npm/node-semver/compare/v7.6.2...v7.6.3)

##### Bug Fixes

-
[`73a3d79`](73a3d79c4e)
[#&#8203;726](https://togithub.com/npm/node-semver/pull/726) optimize
Range parsing and formatting
([#&#8203;726](https://togithub.com/npm/node-semver/issues/726))
([@&#8203;jviide](https://togithub.com/jviide))

##### Documentation

-
[`2975ece`](2975ece120)
[#&#8203;719](https://togithub.com/npm/node-semver/pull/719) fix extra
backtick typo
([#&#8203;719](https://togithub.com/npm/node-semver/issues/719))
([@&#8203;stdavis](https://togithub.com/stdavis))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 00:53:28 +00:00
Alvin Bryan
3325b2d09e
Rails tutorial (#7737)
And fixed a couple of typos in the Ruby tutorial 😄

---------

Co-authored-by: Melinda Fekete <melinda.fekete@getunleash.io>
2024-08-02 16:31:02 +01:00
renovate[bot]
c0b7afec19
chore(deps): update dependency enhanced-resolve to v5.17.1 (#7728)
[![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.17.0` ->
`5.17.1`](https://renovatebot.com/diffs/npm/enhanced-resolve/5.17.0/5.17.1)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/enhanced-resolve/5.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/enhanced-resolve/5.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/enhanced-resolve/5.17.0/5.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/enhanced-resolve/5.17.0/5.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>webpack/enhanced-resolve (enhanced-resolve)</summary>

###
[`v5.17.1`](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.17.1)

[Compare
Source](https://togithub.com/webpack/enhanced-resolve/compare/v5.17.0...v5.17.1)

-   fix: `exports` and `imports` array target resolving
-   perf(memory): avoid creating a new array inside doResolve

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 22:55:58 +00:00
Gastón Fournier
fc02581a10
docs: add subpages of edge documentation (#7720)
When all edge documentation was in a single page, we had all of it here:
https://docs.getunleash.io/reference/unleash-edge but after splitting up
https://github.com/Unleash/unleash-edge/pull/475 some of that
documentation is not present in our docs and we should probably have
them as sub-pages

This change allows us to include subpages for external documentation.
Note that the key of the subpage needs to match the remote path

Checkout the preview:
https://unleash-docs-git-add-edge-subpages-unleash-team.vercel.app/

![image](https://github.com/user-attachments/assets/4b87fe25-fca6-4995-b296-aa58caab4f62)

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-08-01 14:48:58 +02:00
renovate[bot]
cab18d2881
chore(deps): update dependency browserslist to v4.23.2 (#7717)
[![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.23.1` ->
`4.23.2`](https://renovatebot.com/diffs/npm/browserslist/4.23.1/4.23.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/browserslist/4.23.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/browserslist/4.23.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/browserslist/4.23.1/4.23.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/browserslist/4.23.1/4.23.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>browserslist/browserslist (browserslist)</summary>

###
[`v4.23.2`](https://togithub.com/browserslist/browserslist/blob/HEAD/CHANGELOG.md#4232)

[Compare
Source](https://togithub.com/browserslist/browserslist/compare/4.23.1...4.23.2)

-   Updated Firefox ESR.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 00:50:21 +00:00
renovate[bot]
3fd31ea7cd
chore(deps): update dependency @babel/core to v7.24.9 (#7701)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@babel/core](https://babel.dev/docs/en/next/babel-core)
([source](https://togithub.com/babel/babel/tree/HEAD/packages/babel-core))
| [`7.24.7` ->
`7.24.9`](https://renovatebot.com/diffs/npm/@babel%2fcore/7.24.7/7.24.9)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@babel%2fcore/7.24.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@babel%2fcore/7.24.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@babel%2fcore/7.24.7/7.24.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@babel%2fcore/7.24.7/7.24.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>babel/babel (@&#8203;babel/core)</summary>

###
[`v7.24.9`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7249-2024-07-15)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.8...v7.24.9)

##### 🐛 Bug Fix

-   `babel-core`, `babel-standalone`
- [#&#8203;16639](https://togithub.com/babel/babel/pull/16639) Avoid
`require()` call in `@babel/standalone` bundle
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-types`
- [#&#8203;16638](https://togithub.com/babel/babel/pull/16638) fix:
provide legacy typings for TS < 4.1
([@&#8203;JLHwung](https://togithub.com/JLHwung))

##### 💅 Polish

-   `babel-generator`, `babel-plugin-transform-optional-chaining`
- [#&#8203;16617](https://togithub.com/babel/babel/pull/16617) Avoid
extra parens in TS `as`/`satisfies`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏠 Internal

-   `babel-helper-module-transforms`
- [#&#8203;16629](https://togithub.com/babel/babel/pull/16629) Lazy
top-level initializations for module transforms
([@&#8203;guybedford](https://togithub.com/guybedford))

###
[`v7.24.8`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7248-2024-07-11)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.24.7...v7.24.8)

##### 👓 Spec Compliance

-   `babel-parser`
- [#&#8203;16567](https://togithub.com/babel/babel/pull/16567) Do not
use strict mode in TS `declare`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 🐛 Bug Fix

-   `babel-generator`
- [#&#8203;16630](https://togithub.com/babel/babel/pull/16630) Correctly
print parens around `in` in `for` heads
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#&#8203;16626](https://togithub.com/babel/babel/pull/16626) Fix
printing of comments in `await using`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#&#8203;16591](https://togithub.com/babel/babel/pull/16591) fix
typescript code generation for yield expression inside type expre…
([@&#8203;SreeXD](https://togithub.com/SreeXD))
-   `babel-parser`
- [#&#8203;16613](https://togithub.com/babel/babel/pull/16613) Disallow
destructuring assignment in `using` declarations
([@&#8203;H0onnn](https://togithub.com/H0onnn))
- [#&#8203;16490](https://togithub.com/babel/babel/pull/16490) fix: do
not add `.value: undefined` to regexp literals
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-types`
- [#&#8203;16615](https://togithub.com/babel/babel/pull/16615) Remove
boolean props from `ObjectTypeInternalSlot` visitor keys
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-plugin-transform-typescript`
- [#&#8203;16566](https://togithub.com/babel/babel/pull/16566) fix:
Correctly handle `export import x =`
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 💅 Polish

-   `babel-generator`
- [#&#8203;16625](https://togithub.com/babel/babel/pull/16625) Avoid
unnecessary parens around `async` in `for await`
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-traverse`
- [#&#8203;16619](https://togithub.com/babel/babel/pull/16619) Avoid
checking `Scope.globals` multiple times
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 19:49:09 +00:00
Gastón Fournier
d8e756586a
security: bump ws dependency (#7697)
Should fix https://github.com/Unleash/unleash/security/dependabot/146
and https://github.com/Unleash/unleash/security/dependabot/147
2024-07-30 11:15:04 +02:00
Alvin Bryan
5bec8ea508
Made the Rust tutorial simpler (#7680)
This makes the Rust tutorial simpler, by converting to JPEG and Webp,
which means
- Compiles on Ubuntu
- Removes the need for the `rgb` and `ravif` crate
- Makes the `process_images` function a lot simpler
2024-07-26 12:29:31 +01:00
Alvin Bryan
049b26fb77 Revert "Docs: Made the Rust tutorial simpler"
This reverts commit 21e8c9f66f.
2024-07-26 11:37:34 +01:00
Alvin Bryan
21e8c9f66f Docs: Made the Rust tutorial simpler 2024-07-26 11:34:41 +01:00
Alvin Bryan
901f4dd682
docs: Cleanup 🧹 (#7659)
Removed old references to proxy

---------

Co-authored-by: Simon Hornby <simon@getunleash.io>
2024-07-26 09:51:48 +01:00
Gastón Fournier
c22196cb77
docs: add new android sdk readme (#7665)
This will download the README of the new SDK from the remote location
based on this:

1e3c690185/website/docusaurus.config.js (L883-L892)

And we can here see the preview:
https://unleash-docs-git-update-internal-docs-to-ne-9ba815-unleash-team.vercel.app/reference/sdks/android-proxy
2024-07-25 17:23:34 +02:00
Nuno Góis
5b37a90390
docs: integration events (#7670)
https://linear.app/unleash/issue/2-2444/write-documentation-on-integration-events

Adds documentation for integration events.

Should be pretty straightforward, so a section in the existing
integrations reference doc should be good enough.

See it here:
https://unleash-docs-git-docs-integration-events-unleash-team.vercel.app/reference/integrations#integration-events
2024-07-25 15:29:09 +01:00
Christopher Kolstad
da3a8cdb1e
docs: Removed the recommended chapter of PostgreSQL config (#7661)
Turns out we're hosting 20-30 customer instances on db.t4g.small, so our
recommended specs just seemed like complete overkill.
2024-07-25 10:38:07 +02:00
Christopher Kolstad
339e92f4eb
docs: Add minimum and recommended specs for Unleash and for Database (#7653)
What the title says, adds a subchapter for specs for Unleash, and a
subchapter for specs for the database

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2024-07-24 10:29:32 +00:00
Alvin Bryan
9c2b906d79
New sidebar navigation, updated titles (#7643)
1. Updates the folder structure of the main sidebar navigation to [a new
version](https://unleash-internal.slack.com/archives/C06NG1LUUCU/p1721413054821399)
2. Updates the title of `15 Principles for using feature flag systems at
scale` article to a new title given by @riboflavin
3. Updates the title of `11 Principles for building and scaling feature
flag systems` article to a new title given by @riboflavin


## Before (all collapsed)


![image](https://github.com/user-attachments/assets/1cd613e6-4752-4a58-9c28-136eb59d1336)


## After (all collapsed)


![image](https://github.com/user-attachments/assets/09546d9e-3049-4862-8139-2264541d436e)
2024-07-23 15:00:11 +01:00
Michael Ferranti
1dbc20fe91
Initial commit for What is a feature flag educational page (#7629) 2024-07-22 17:43:35 +02:00
Christopher Kolstad
44192934f8
docs: Documented the environment variables available for configuring SSO (#7630)
Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2024-07-22 12:02:11 +02:00
Alvin Bryan
9e701e7a39
Rust examples 🦀 (#7572)
And now the examples
2024-07-19 19:34:28 +01:00
Nuno Góis
13d02685d8
chore: db migration for integration events (#7604)
https://linear.app/unleash/issue/2-2435/create-migration-for-a-new-integration-events-table

Adds a DB migration that creates the `integration_events` table:
 - `id`: Auto-incrementing primary key;
- `integration_id`: The id of the respective integration (i.e.
integration configuration);
 - `created_at`: Date of insertion;
- `state`: Integration event state, as text. Can be anything we'd like,
but I'm thinking this will be something like:
   - Success 
   - Failed 
   - SuccessWithErrors ⚠️
- `state_details`: Expands on the previous column with more details, as
text. Examples:
   - OK. Status code: 200
   - Status code: 429 - Rate limit reached
   - No access token provided
 - `event`: The whole event object, stored as a JSON blob;
- `details`: JSON blob with details about the integration execution.
Will depend on the integration itself, but for example:
   - Webhook: Request body
- Slack App: Message text and an array with all the channels we're
posting to

I think this gives us enough flexibility to cover all present and
(possibly) future integrations, but I'd like to hear your thoughts.

I'm also really torn on what to call this table:
- `integration_events`: Consistent with the feature name. Addons are now
called integrations, so this would be consistent with the new thing;
 - `addon_events`: Consistent with the existing `addons` table.
2024-07-17 10:02:04 +01:00
Nnenna Ndukwe
92a9b403e8
Fixing rust rebase (#7605)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

---------

Co-authored-by: Alvin Bryan <hello@alvin.codes>
2024-07-16 13:23:24 -04:00
Nnenna Ndukwe
7909f563d6
iOS examples (#7599)
<!-- 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? -->
2024-07-16 09:18:37 -04:00
Alvin Bryan
e33e538263
Rust tutorial (#7564)
I'm no Rustacean, so feel free to change things 😄

---------

Co-authored-by: Simon Hornby <simon@getunleash.io>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-07-16 09:03:43 -04:00
Thomas Heartman
d5cfacd6ba
docs: add a footnote about how archived flags don't count towards the flag limit (#7587)
This change adds a footnote to the resource limits doc, explaining
that archived flags don't count towards the flag limit.
2024-07-15 11:03:30 +02:00
Thomas Heartman
f0b49db06a
docs: document resource limits (#7567)
This PR adds the first version of the resource limit documentation. It
also corrects the link in the `Limit` component.

In addition to the new limits from the soft limits project, I've also
added the limits from the signals project.

## Discussion points

I've set the Pro resource limits to projects and envs to the same value
as on the [plans & pricing](https://www.getunleash.io/pricing) page
instead of the actual hard soft limit. I think that makes messaging
easier and more consistent.

However, this does present us with a bit of a problem. Because we've
been pretty consistent at saying "no, you can't have more projects" for
Pro. But we're saying it's easy to change (when in actuality the limit
isn't enforced 💁🏼 )

## Screenie

It looks a little bit like this (but check the files or preview for the
actual text content)

![image](https://github.com/Unleash/unleash/assets/17786332/56cadc00-5a8e-4820-8b11-d059112934da)
2024-07-11 14:10:49 +02:00