1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-28 19:06:12 +01:00
Commit Graph

10293 Commits

Author SHA1 Message Date
Christopher Kolstad
c83c43718c
docs: Add troubleshooting note about missing Edge metrics (#6103)
So we have a place in the docs to refer users struggling with getting
metrics from Edge after upgrade to Unleash v5.9.0, this PR adds a small
troubleshooting note about two fixes.
1. Upgrade Edge
2. Use environmental flag to re-enable old endpoint
2024-02-05 11:34:24 +01:00
Ivar Conradi Østhus
897500dd54
fix: version-service should not use process.nextTick (#6124)
In the beginning we used process.nextTick() as a trick to load some data
initally in the constructor of a service.

This is a bad pattern and we should generally avoid any async operations
in the constructor. Today we have two alternatives:

1. Defer loading until data is needed (wrap it in async)
2. Use the schdule-service.
2024-02-05 11:24:37 +01:00
Ivar Conradi Østhus
354b88383c
fix: schduler-service graceful shutdown (#6125)
When a stop signal is sent to Unleash the scheduler-service should
cancel any scheduled jobs. This also applies to the job scheduled for
initial execution with jitter.


We observed that initial jobs was executed after the database
connections are terminated. This appears after v5.9.0 of Unleash.

```
Error: aborted
    at Object.queryBuilder (/unleash/node_modules/knex/lib/knex-builder/make-knex.js:112:26)
    at createQueryBuilder (/unleash/node_modules/knex/lib/knex-builder/make-knex.js:320:26)
    at EventStore.knex [as db] (/unleash/node_modules/knex/lib/knex-builder/make-knex.js:101:12)
    at EventStore.setUnannouncedToAnnounced (/unleash/node_modules/unleash-server/dist/lib/features/events/event-store.js:286:33)
    at EventStore.publishUnannouncedEvents (/unleash/node_modules/unleash-server/dist/lib/features/events/event-store.js:293:35)
    at EventAnnouncer.publishUnannouncedEvents (/unleash/node_modules/unleash-server/dist/lib/services/event-announcer-service.js:9:32)
    at runScheduledFunctionWithEvent (/unleash/node_modules/unleash-server/dist/lib/features/scheduler/scheduler-service.js:30:23)
    at Timeout.<anonymous> (/unleash/node_modules/unleash-server/dist/lib/features/scheduler/scheduler-service.js:50:27)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:509:9)
```
2024-02-05 11:04:13 +01:00
Thomas Heartman
73c4c62ea3
chore: track metrics for how many CRs are moved into next state with conflicts (#6109)
Use React's context to track how many CRs are moved into their next
state with conflicts present.

This PR wraps environment change requests and change request overviews
in a change request plausible context that contains a
`willOverwriteStrategyChanges` property. This property is updated by the
diff calculation if there are any conflicts and then read by the
`changeState` function in the `useChangeRequestApi` hook.

As long as at least one of the strategies in the CR contain conflicts,
it will be marked as overwriting changes.
2024-02-05 18:27:11 +09:00
Gastón Fournier
1d18187f7d
chore: split metrics by request type (#6119)
## About the changes
Queries on client-feature-toggle store have many purposes depending on
the requestType, making the query more complex or not depending on the
use case. Also, each use case has different frequencies (i.e. playground
is expected to be used rarely).

The name for the store metrics was wrong, copy&pasted from:

7b04db0547/src/lib/features/feature-toggle/feature-toggle-store.ts (L107)

Which was also present in feature-tag metrics:

7b04db0547/src/lib/db/feature-tag-store.ts (L37)

With this, we'll have more granularity to understand the execution time
and frequency of each
2024-02-05 09:01:42 +01:00
renovate[bot]
6007d2bbdc
chore(deps): update dependency @types/uuid to v9.0.8 (#6121)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/uuid](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid))
| [`9.0.7` ->
`9.0.8`](https://renovatebot.com/diffs/npm/@types%2fuuid/9.0.7/9.0.8) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fuuid/9.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fuuid/9.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fuuid/9.0.7/9.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fuuid/9.0.7/9.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 01:30:29 +00:00
Ivar Conradi Østhus
77b7cb03e9
fix: maintenance mode should assume disable if db call fails. (#6120)
Usually maintenance mode is disabled. If the call throws, which we see a
lot of when a unleash instance is in terminating state, we should return
a default value.

By having it throw inside of the memoizee function, the response is not
cached, and it will trigger new calls until it return a cachable result.
2024-02-03 09:17:11 +01:00
Ivar Conradi Østhus
c76c8f135a
Fix/check maintenance flag once per minute (#6118)
## About the changes
Every schedule job will now check if maintenance is enabled. This ends
up querying the settings table in the db at least once per second per
running unleash instance. This small fix caches this query for 60
seconds to reduce the load somewhat.

We should reconsider this solution for the long term, but this will be a
great improvement on the short term.


**Logs after this fix running locally.** 
We can observe that we resolve settings from the DB once per minute. 

![image](https://github.com/Unleash/unleash/assets/158948/c313cf38-8d86-4b86-a0ba-4f4df60d50d6)


Also we should consider giving a warning in section where you enable
maintenance mode that it can take up to a minute to propagate.
2024-02-03 07:30:22 +01:00
renovate[bot]
7b04db0547
chore(deps): update dependency @types/react to v17.0.75 (#6117)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react))
| [`17.0.74` ->
`17.0.75`](https://renovatebot.com/diffs/npm/@types%2freact/17.0.74/17.0.75)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/17.0.75?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/17.0.75?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/17.0.74/17.0.75?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/17.0.74/17.0.75?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 21:22:53 +00:00
renovate[bot]
8eafd89109
chore(deps): update dependency @types/node to v18.19.10 (#6116)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`18.19.9` ->
`18.19.10`](https://renovatebot.com/diffs/npm/@types%2fnode/18.19.9/18.19.10)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.19.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.19.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.19.9/18.19.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.19.9/18.19.10?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 19:23:43 +00:00
Jaanus Sellin
0cf8396ec2
feat: add posted feedback table (#6113)
The page can only be navigated if you know direct url `/feedback`


![image](https://github.com/Unleash/unleash/assets/964450/6018a6c0-9fee-4fb2-9b68-2d3e87674441)
2024-02-02 15:39:29 +02:00
Mateusz Kwasniewski
1834f9f8bc
fix: show all selected application names (#6110) 2024-02-02 11:35:00 +01:00
renovate[bot]
fbb5733f18
chore(deps): update dependency @types/node to v18.19.9 (#6107)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`18.19.6` ->
`18.19.9`](https://renovatebot.com/diffs/npm/@types%2fnode/18.19.6/18.19.9)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.19.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.19.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.19.6/18.19.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.19.6/18.19.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 03:25:21 +00:00
renovate[bot]
f7fbfebf1d
chore(deps): update dependency @tanstack/react-table to v8.11.7 (#6106)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@tanstack/react-table](https://tanstack.com/table)
([source](https://togithub.com/TanStack/table/tree/HEAD/packages/react-table))
| [`8.11.6` ->
`8.11.7`](https://renovatebot.com/diffs/npm/@tanstack%2freact-table/8.11.6/8.11.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@tanstack%2freact-table/8.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@tanstack%2freact-table/8.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@tanstack%2freact-table/8.11.6/8.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tanstack%2freact-table/8.11.6/8.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>TanStack/table (@&#8203;tanstack/react-table)</summary>

###
[`v8.11.7`](https://togithub.com/TanStack/table/releases/tag/v8.11.7)

[Compare
Source](https://togithub.com/TanStack/table/compare/v8.11.6...v8.11.7)

Version 8.11.7 - 1/20/2024, 9:08 PM

#### Changes

##### Fix

- Update package.json repository and homepage fields
([#&#8203;5292](https://togithub.com/TanStack/table/issues/5292))
([`56369bc`](https://togithub.com/TanStack/table/commit/56369bce)) by
Lachlan Collins

##### Chore

- svelte types workaround and simplify bug report template
([#&#8203;5280](https://togithub.com/TanStack/table/issues/5280))
([`4e182ec`](https://togithub.com/TanStack/table/commit/4e182ec7)) by
Kevin Van Cott
- upgrade example versions and deps
([#&#8203;5278](https://togithub.com/TanStack/table/issues/5278))
([`a9a7668`](https://togithub.com/TanStack/table/commit/a9a7668d)) by
Kevin Van Cott

##### Docs

- example: Use tsconfig from create-vite (Part II)
([#&#8203;5291](https://togithub.com/TanStack/table/issues/5291))
([`9941ef1`](https://togithub.com/TanStack/table/commit/9941ef1e)) by
[@&#8203;lucascmelo](https://togithub.com/lucascmelo)
- examples: Use tsconfig from create-vite
([#&#8203;5286](https://togithub.com/TanStack/table/issues/5286))
([`4f08e53`](https://togithub.com/TanStack/table/commit/4f08e53f)) by
Lachlan Collins
- Use type imports for svelte examples
([#&#8203;5285](https://togithub.com/TanStack/table/issues/5285))
([`6c3f6d8`](https://togithub.com/TanStack/table/commit/6c3f6d80)) by
Lachlan Collins
- adjust infinite scrolling example height
([`f61a022`](https://togithub.com/TanStack/table/commit/f61a0224)) by
Kevin Vandy
- update infinite scrolling example
([#&#8203;5277](https://togithub.com/TanStack/table/issues/5277))
([`d5f514a`](https://togithub.com/TanStack/table/commit/d5f514a7)) by
Kevin Van Cott
- Row model docs
([#&#8203;5276](https://togithub.com/TanStack/table/issues/5276))
([`801ee96`](https://togithub.com/TanStack/table/commit/801ee963)) by
Kevin Van Cott

#### Packages

-
[@&#8203;tanstack/table-core](https://togithub.com/tanstack/table-core)[@&#8203;8](https://togithub.com/8).11.7
-
[@&#8203;tanstack/react-table](https://togithub.com/tanstack/react-table)[@&#8203;8](https://togithub.com/8).11.7
-
[@&#8203;tanstack/solid-table](https://togithub.com/tanstack/solid-table)[@&#8203;8](https://togithub.com/8).11.7
-
[@&#8203;tanstack/vue-table](https://togithub.com/tanstack/vue-table)[@&#8203;8](https://togithub.com/8).11.7
-
[@&#8203;tanstack/svelte-table](https://togithub.com/tanstack/svelte-table)[@&#8203;8](https://togithub.com/8).11.7
-
[@&#8203;tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools)[@&#8203;8](https://togithub.com/8).11.7
-
[@&#8203;tanstack/match-sorter-utils](https://togithub.com/tanstack/match-sorter-utils)[@&#8203;8](https://togithub.com/8).11.7

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 00:52:20 +00:00
renovate[bot]
b6665e9d04
chore(deps): update dependency @babel/core to v7.23.9 (#6105)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v7.23.9`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7239-2024-01-25)

[Compare
Source](https://togithub.com/babel/babel/compare/v7.23.7...v7.23.9)

##### 🐛 Bug Fix

- `babel-helper-transform-fixture-test-runner`,
`babel-plugin-transform-function-name`,
`babel-plugin-transform-modules-systemjs`, `babel-preset-env`
- [#&#8203;16225](https://togithub.com/babel/babel/pull/16225) fix:
`systemjs` re-traverses helpers
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`
- [#&#8203;16226](https://togithub.com/babel/babel/pull/16226) Improve
decorated private method check
([@&#8203;JLHwung](https://togithub.com/JLHwung))
- `babel-plugin-proposal-decorators`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-runtime`, `babel-preset-env`
- [#&#8203;16224](https://togithub.com/babel/babel/pull/16224) Properly
sort `core-js@3` imports
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
-   `babel-traverse`
- [#&#8203;15383](https://togithub.com/babel/babel/pull/15383) fix:
Don't throw in `getTypeAnnotation` when using TS+inference
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   Other
- [#&#8203;16210](https://togithub.com/babel/babel/pull/16210) \[eslint]
Fix `no-use-before-define` for class ref in fields
([@&#8203;nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))

##### 🏠 Internal

-   `babel-core`, `babel-parser`, `babel-template`
- [#&#8203;16222](https://togithub.com/babel/babel/pull/16222) Migrate
`eslint-parser` to cts
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
-   `babel-types`
- [#&#8203;16213](https://togithub.com/babel/babel/pull/16213) Remove
`@babel/types` props that are not produced by the parser
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 🏃‍♀️ Performance

-   `babel-parser`
- [#&#8203;16072](https://togithub.com/babel/babel/pull/16072) perf:
Improve parser performance for typescript
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))

##### 🔬 Output optimization

- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`,
`babel-plugin-proposal-destructuring-private`,
`babel-plugin-proposal-pipeline-operator`,
`babel-plugin-transform-class-properties`,
`babel-plugin-transform-class-static-block`,
`babel-plugin-transform-new-target`,
`babel-plugin-transform-parameters`,
`babel-plugin-transform-private-methods`, `babel-preset-env`
- [#&#8203;16218](https://togithub.com/babel/babel/pull/16218) Improve
temporary variables for decorators
([@&#8203;liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#&#8203;15959](https://togithub.com/babel/babel/pull/15959) Improve
output of `using`
([@&#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 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 22:14:42 +00:00
Nnenna Ndukwe
f09d184eb2
docs: Python Examples page (#6094)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->

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

A new Python Examples doc:

- underneath Python tutorials
- explores more use cases for Python with feature flags in Unleash,
building on top of our existing Python tutorial.
- This was edited and reviewed by team members via [Google
Docs](https://docs.google.com/document/d/1gO5KSShCKObbdjP-TobIjaOLqTP5_V1YcTLXAp5DA2g/edit#heading=h.oblpm3ljyzs8)
before adding to our docs site.
- Python Tutorial links to this doc as a continuation

<img width="1502" alt="Screenshot 2024-01-31 at 11 44 28 AM"
src="https://github.com/Unleash/unleash/assets/22972707/86aec6a5-9483-41a8-bd65-ae0fcf7d7c7f">


<!-- 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? -->

`website/docs/feature-flag-tutorials/python/examples.md`

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

---------

Co-authored-by: Nuno Góis <github@nunogois.com>
2024-02-01 17:08:49 -05:00
renovate[bot]
a851912f93
fix(deps): update dependency nodemailer to v6.9.9 [security] (#6104)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

### GitHub Vulnerability Alerts

####
[GHSA-9h6g-pr28-7cqp](https://togithub.com/nodemailer/nodemailer/security/advisories/GHSA-9h6g-pr28-7cqp)

### Summary
A ReDoS vulnerability occurs when nodemailer tries to parse img files
with the parameter `attachDataUrls` set, causing the stuck of event
loop.
Another flaw was found when nodemailer tries to parse an attachments
with a embedded file, causing the stuck of event loop.

### Details

Regex: /^data:((?:[^;]*;)*(?:[^,]*)),(.*)$/

Path: compile -> getAttachments -> _processDataUrl

Regex: /(<img\b[^>]* src\s*=[\s"']*)(data:([^;]+);[^"'>\s]+)/

Path: _convertDataImages

### PoC

https://gist.github.com/francoatmega/890dd5053375333e40c6fdbcc8c58df6
https://gist.github.com/francoatmega/9aab042b0b24968d7b7039818e8b2698

### Impact

ReDoS causes the event loop to stuck a specially crafted evil email can
cause this problem.

---

### Release Notes

<details>
<summary>nodemailer/nodemailer (nodemailer)</summary>

###
[`v6.9.9`](https://togithub.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#699-2024-02-01)

[Compare
Source](https://togithub.com/nodemailer/nodemailer/compare/v6.9.8...v6.9.9)

##### Bug Fixes

- **security:** Fix issues described in GHSA-9h6g-pr28-7cqp. Do not use
eternal matching pattern if only a few occurences are expected
([dd8f5e8](dd8f5e8a4d))
- **tests:** Use native node test runner, added code coverage support,
removed grunt
([#&#8203;1604](https://togithub.com/nodemailer/nodemailer/issues/1604))
([be45c1b](be45c1b299))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" in timezone Europe/Madrid,
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 18:52:42 +00:00
renovate[bot]
b882016113
chore(deps): update material-ui monorepo (#5939)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@mui/icons-material](https://mui.com/material-ui/material-icons/)
([source](https://togithub.com/mui/material-ui/tree/HEAD/packages/mui-icons-material))
| [`5.15.3` ->
`5.15.6`](https://renovatebot.com/diffs/npm/@mui%2ficons-material/5.15.3/5.15.6)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2ficons-material/5.15.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2ficons-material/5.15.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2ficons-material/5.15.3/5.15.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2ficons-material/5.15.3/5.15.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/lab](https://mui.com/material-ui/about-the-lab/)
([source](https://togithub.com/mui/material-ui/tree/HEAD/packages/mui-lab))
| [`5.0.0-alpha.159` ->
`5.0.0-alpha.162`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.159/5.0.0-alpha.162)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2flab/5.0.0-alpha.162?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2flab/5.0.0-alpha.162?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2flab/5.0.0-alpha.159/5.0.0-alpha.162?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2flab/5.0.0-alpha.159/5.0.0-alpha.162?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/material](https://mui.com/material-ui/)
([source](https://togithub.com/mui/material-ui/tree/HEAD/packages/mui-material))
| [`5.15.3` ->
`5.15.6`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.15.3/5.15.6)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fmaterial/5.15.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fmaterial/5.15.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fmaterial/5.15.3/5.15.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fmaterial/5.15.3/5.15.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@mui/x-date-pickers](https://mui.com/x/react-date-pickers/)
([source](https://togithub.com/mui/mui-x/tree/HEAD/packages/x-date-pickers))
| [`6.18.7` ->
`6.19.2`](https://renovatebot.com/diffs/npm/@mui%2fx-date-pickers/6.18.7/6.19.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fx-date-pickers/6.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fx-date-pickers/6.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fx-date-pickers/6.18.7/6.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fx-date-pickers/6.18.7/6.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mui/material-ui (@&#8203;mui/icons-material)</summary>

###
[`v5.15.6`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#v5156)

[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.15.5...v5.15.6)

<!-- generated comparing v5.15.5..master -->

*Jan 22, 2024*

A big thanks to the 17 contributors who made this release possible. Here
are some highlights :
This release was mostly about 🐛 bug fixes and 📚 documentation
improvements.

##### `@mui/material@5.15.6`

- ​<!-- 29 -->\[Avatar] Use variants api
([#&#8203;40324](https://togithub.com/mui/material-ui/issues/40324))
[@&#8203;mnajdova](https://togithub.com/mnajdova)
- ​<!-- 27 -->\[TablePagination] Accept readonly array for
`rowsPerPageOptions` prop
([#&#8203;40481](https://togithub.com/mui/material-ui/issues/40481))
[@&#8203;pcorpet](https://togithub.com/pcorpet)
- ​<!-- 06 -->\[PaginationItem] Deprecate classes for v6
([#&#8203;40673](https://togithub.com/mui/material-ui/issues/40673))
[@&#8203;sai6855](https://togithub.com/sai6855)
- ​<!-- 05 -->\[Rating] Fix rating width via min-content
([#&#8203;40503](https://togithub.com/mui/material-ui/issues/40503))
[@&#8203;devhik0](https://togithub.com/devhik0)

##### `@mui/base@5.0.0-beta.33`

- ​<!-- 26 -->\[Select] Fix display of selected Options with rich
content
([#&#8203;40689](https://togithub.com/mui/material-ui/issues/40689))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 25 -->\[Select] Use Popup instead of Popper
([#&#8203;40524](https://togithub.com/mui/material-ui/issues/40524))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 26 -->\[useMenuButton] Fix non native button triggers
([#&#8203;40645](https://togithub.com/mui/material-ui/issues/40645))
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai)

##### `@mui/system@5.15.6`

- ​<!-- 02 -->\[zero] Fix theme token import in source file
([#&#8203;40691](https://togithub.com/mui/material-ui/issues/40691))
[@&#8203;brijeshb42](https://togithub.com/brijeshb42)
- ​<!-- 01 -->\[zero] Add support for css import
([#&#8203;40541](https://togithub.com/mui/material-ui/issues/40541))
[@&#8203;brijeshb42](https://togithub.com/brijeshb42)

##### `@mui/icons-material@5.15.6`

- ​<!-- 07 -->\[icons-material] Fix icons package.json version
([#&#8203;40655](https://togithub.com/mui/material-ui/issues/40655))
[@&#8203;mj12albert](https://togithub.com/mj12albert)

##### Docs

- ​<!-- 28 -->\[base-ui] Polish the Slider demos
([#&#8203;40332](https://togithub.com/mui/material-ui/issues/40332))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- ​<!-- 24 -->\[base-ui]\[Slider] Fix plain CSS demo's wrong keyboard
behavior
([#&#8203;40652](https://togithub.com/mui/material-ui/issues/40652))
[@&#8203;mnajdova](https://togithub.com/mnajdova)
- ​<!-- 23 -->\[base-ui]\[TextareaAutosize] Add border-box to demo
([#&#8203;40646](https://togithub.com/mui/material-ui/issues/40646))
[@&#8203;ANUGLYPLUGIN](https://togithub.com/ANUGLYPLUGIN)
- ​<!-- 16 -->Fix brand name non-breaking space
([#&#8203;40701](https://togithub.com/mui/material-ui/issues/40701))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 15 -->Improve error message for MUI Vale rule
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 14 -->Add notification to publish the survey
([#&#8203;40552](https://togithub.com/mui/material-ui/issues/40552))
[@&#8203;joserodolfofreitas](https://togithub.com/joserodolfofreitas)
- ​<!-- 04 -->\[system] Explain a bit more how AppRouterCacheProvider
works [@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 12 -->\[joy-ui] Move tutorial to iframe
([#&#8203;40567](https://togithub.com/mui/material-ui/issues/40567))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 10 -->\[material-ui]\[Slider] Remove custom divs from new demo
([#&#8203;40674](https://togithub.com/mui/material-ui/issues/40674))
[@&#8203;zanivan](https://togithub.com/zanivan)
- ​<!-- 11 -->\[material-ui] Improve TabContext, TabList, and TabPanel
documentation
([#&#8203;40587](https://togithub.com/mui/material-ui/issues/40587))
[@&#8203;anle9650](https://togithub.com/anle9650)
- ​<!-- 09 -->\[material-ui]\[Slider] Added custom mark labels demo
([#&#8203;40647](https://togithub.com/mui/material-ui/issues/40647))
[@&#8203;DonikaV](https://togithub.com/DonikaV)

##### Core

- ​<!-- 30 -->\[core] Fix RXDB-logo Url
([#&#8203;40724](https://togithub.com/mui/material-ui/issues/40724))
[@&#8203;mohamedsaiedd](https://togithub.com/mohamedsaiedd)
- ​<!-- 24 -->\[code-infra] Improve proptypes-generation
([#&#8203;40617](https://togithub.com/mui/material-ui/issues/40617))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- ​<!-- 22 -->\[code-infra] Disable pnpm package cache on CircleCI
([#&#8203;40670](https://togithub.com/mui/material-ui/issues/40670))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 21 -->\[code-infra] Add missing package to CodeSandbox CI config
([#&#8203;40657](https://togithub.com/mui/material-ui/issues/40657))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 20 -->\[code-infra] Remove unnecessary
[@&#8203;mui/utils](https://togithub.com/mui/utils) dependency from
api-docs-builder
([#&#8203;40632](https://togithub.com/mui/material-ui/issues/40632))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 19 -->\[core] Polish issue templates
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 13 -->\[docs-infra] Support markdown link in slots descriptions
([#&#8203;40679](https://togithub.com/mui/material-ui/issues/40679))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- ​<!-- 08 -->\[examples] Simplify Next.js example
([#&#8203;40661](https://togithub.com/mui/material-ui/issues/40661))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 03 -->\[website] Fix broken styles on Base UI page
([#&#8203;40683](https://togithub.com/mui/material-ui/issues/40683))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

All contributors of this release in alphabetical order:
[@&#8203;alexfauquette](https://togithub.com/alexfauquette),
[@&#8203;anle9650](https://togithub.com/anle9650),
[@&#8203;ANUGLYPLUGIN](https://togithub.com/ANUGLYPLUGIN),
[@&#8203;brijeshb42](https://togithub.com/brijeshb42),
[@&#8203;danilo-leal](https://togithub.com/danilo-leal),
[@&#8203;devhik0](https://togithub.com/devhik0),
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai),
[@&#8203;DonikaV](https://togithub.com/DonikaV),
[@&#8203;joserodolfofreitas](https://togithub.com/joserodolfofreitas),
[@&#8203;michaldudak](https://togithub.com/michaldudak),
[@&#8203;mj12albert](https://togithub.com/mj12albert),
[@&#8203;mnajdova](https://togithub.com/mnajdova),
[@&#8203;mohamedsaiedd](https://togithub.com/mohamedsaiedd),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;pcorpet](https://togithub.com/pcorpet),
[@&#8203;sai6855](https://togithub.com/sai6855),
[@&#8203;zanivan](https://togithub.com/zanivan)

###
[`v5.15.5`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#v5155)

[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.15.4...v5.15.5)

<!-- generated comparing v5.15.4..master -->

*Jan 17, 2024*

A big thanks to the 18 contributors who made this release possible. Here
are some highlights :

- Base UI's CSS class prefix is now `base-`
([#&#8203;40205](https://togithub.com/mui/material-ui/issues/40205))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
-   Bug fixes, and a lot of improvements to code and docs infra

##### `@mui/material@5.15.5`

- ​<!-- 42 -->\[Accordion] Deprecate \*Props props and classes for v6
([#&#8203;40418](https://togithub.com/mui/material-ui/issues/40418))
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai)
- ​<!-- 41 -->\[Alert] Update TypeScript types to allow color override
types to be added to `iconMapping` and `severity` props
([#&#8203;40551](https://togithub.com/mui/material-ui/issues/40551))
[@&#8203;2metres](https://togithub.com/2metres)
- ​<!-- 27 -->\[Dialog] Remove deprecated onBackdropClick from Dialog
tests
([#&#8203;40505](https://togithub.com/mui/material-ui/issues/40505))
[@&#8203;sai6855](https://togithub.com/sai6855)
- ​<!-- 26 -->\[Divider] Deprecate props and classes for v6
([#&#8203;40563](https://togithub.com/mui/material-ui/issues/40563))
[@&#8203;sai6855](https://togithub.com/sai6855)

##### `@mui/material-next@6.0.0-alpha.118`

- ​<!-- 36 -->\[ButtonGroup] Apply MD3 style to `ButtonGroup`
([#&#8203;40124](https://togithub.com/mui/material-ui/issues/40124))
[@&#8203;lhilgert9](https://togithub.com/lhilgert9)

##### `@mui/base@5.0.0-beta.32`

##### Breaking changes

- ​<!-- 40 -->Change the CSS class prefix to `base-`
([#&#8203;40205](https://togithub.com/mui/material-ui/issues/40205))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

The class prefix of Base UI components have been changed from `Mui-` to
`base-`. This only affects codebases that uses class names verbatim,
i.e. not exposed by JS objects such as `buttonClasses`, but as plain
strings or in CSS stylesheets (`.MuiButton.root`)

To adapt your code to the new pattern:

- replace all occurrences of the regex `.Mui([A-Z][A-Za-z]*)-` with
`.base-$1-` (so `MuiButton-root` becomes `base-Button-root`, etc.),
- replace all occurrences of the regex `.Mui-([a-z]*)` with `.base--$1`
(so `Mui-disabled` becomes `base--disabled`, etc.).

##### Changes

- ​<!-- 39 -->\[Select] Fix screen-reader CSS to avoid body scrollbar
([#&#8203;40599](https://togithub.com/mui/material-ui/issues/40599))
[@&#8203;brijeshb42](https://togithub.com/brijeshb42)
- ​<!-- 38 -->\[Switch] Add border-box to demos
([#&#8203;40638](https://togithub.com/mui/material-ui/issues/40638))
[@&#8203;zanivan](https://togithub.com/zanivan)

##### `@mui/joy@5.0.0-beta.23`

- ​<!-- 11 -->\[ModalDialog] Fix ModalDialog layout prop override
([#&#8203;40512](https://togithub.com/mui/material-ui/issues/40512))
[@&#8203;maakcode](https://togithub.com/maakcode)
- ​<!-- 10 -->\[RadioGroup] Allow zero number as a value
([#&#8203;40344](https://togithub.com/mui/material-ui/issues/40344))
[@&#8203;aacevski](https://togithub.com/aacevski)

##### `@mui/codemod@5.15.5`

- ​<!-- 31 -->Allow `json` files to be transformed
([#&#8203;40536](https://togithub.com/mui/material-ui/issues/40536))
[@&#8203;ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)

##### `@mui/lab@5.0.0-alpha.161`

- ​<!-- 09 -->Update `@mui/material` peer dependency version
([#&#8203;40528](https://togithub.com/mui/material-ui/issues/40528))
[@&#8203;ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)

##### `@mui/material-nextjs@5.15.5`

- ​<!-- 08 -->Fix release script
([#&#8203;40519](https://togithub.com/mui/material-ui/issues/40519))
[@&#8203;petrovmiroslav](https://togithub.com/petrovmiroslav)
- ​<!-- 07 -->Support Nonces in the App Router Provider
([#&#8203;40269](https://togithub.com/mui/material-ui/issues/40269))
[@&#8203;josh-feldman](https://togithub.com/josh-feldman)
- ​<!-- 06 -->Polish
[@&#8203;mui/material-nextjs](https://togithub.com/mui/material-nextjs)
([#&#8203;40473](https://togithub.com/mui/material-ui/issues/40473))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)

##### `@mui/system@5.15.5`

- ​<!-- 05 -->Fix import path for
[@&#8203;mui/system](https://togithub.com/mui/system) in vite apps
([#&#8203;40490](https://togithub.com/mui/material-ui/issues/40490))
[@&#8203;brijeshb42](https://togithub.com/brijeshb42)
- ​<!-- 02 -->Fix css vars generation and simplify the code
([#&#8203;40530](https://togithub.com/mui/material-ui/issues/40530))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- ​<!-- 01 -->Identify zero runtime styled path
([#&#8203;40555](https://togithub.com/mui/material-ui/issues/40555))
[@&#8203;brijeshb42](https://togithub.com/brijeshb42)

##### Docs

- ​<!-- 35 -->\[joy-ui]\[Card] Fix text alignment in horizontal aligned
card demo
([#&#8203;40562](https://togithub.com/mui/material-ui/issues/40562))
[@&#8203;ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)
- ​<!-- 25 -->Improve instructions about peer dependencies
([#&#8203;40621](https://togithub.com/mui/material-ui/issues/40621))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- ​<!-- 24 -->Solve page description length
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 23 -->Fix MUI Treasury links
([#&#8203;40561](https://togithub.com/mui/material-ui/issues/40561))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- ​<!-- 17 -->\[material-ui] Update <ListItem button/> to ListItemButton
in demos
([#&#8203;40564](https://togithub.com/mui/material-ui/issues/40564))
[@&#8203;sai6855](https://togithub.com/sai6855)
- ​<!-- 16 -->\[material-ui] Revise the Snackbar page
([#&#8203;39298](https://togithub.com/mui/material-ui/issues/39298))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- ​<!-- 15 -->\[material-ui] Sharpen Material 3 copy on demo pages
([#&#8203;40546](https://togithub.com/mui/material-ui/issues/40546))
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore)
- ​<!-- 14 -->\[material-ui] Fix typo on Next.js integration guide
([#&#8203;40538](https://togithub.com/mui/material-ui/issues/40538))
[@&#8203;zanivan](https://togithub.com/zanivan)
- ​<!-- 13 -->\[material-ui]\[Snackbar] Remove unused `State` interface
from Consecutive Snackbars demo
([#&#8203;40410](https://togithub.com/mui/material-ui/issues/40410))
    [@&#8203;zinoroman](https://togithub.com/zinoroman)
- ​<!-- 12 -->\[website] Resolve broken links reported by
`docs:link-check`
([#&#8203;40547](https://togithub.com/mui/material-ui/issues/40547))
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore)

##### Core

- ​<!-- 37 -->\[blog] Fix 404 link to MUI Treasury
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 34 -->\[code-infra] Add `run` command to deploy docs
([#&#8203;40513](https://togithub.com/mui/material-ui/issues/40513))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- ​<!-- 32 -->\[core] Update the lockfile
([#&#8203;40628](https://togithub.com/mui/material-ui/issues/40628))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 31 -->\[core] Remove dead code and follow standard
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 30 -->\[core] Simplify server detection
([#&#8203;40471](https://togithub.com/mui/material-ui/issues/40471))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 29 -->\[core] Sync playwright cache between MUI X and Material
UI ([#&#8203;40475](https://togithub.com/mui/material-ui/issues/40475))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 28 -->\[dependencies] Bump tough-cookie
([#&#8203;40437](https://togithub.com/mui/material-ui/issues/40437))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- ​<!-- 22 -->\[docs-infra] Enforce brand name rules
([#&#8203;40525](https://togithub.com/mui/material-ui/issues/40525))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 21 -->\[docs-infra] Minimize ad layout shift on mobile
([#&#8203;40582](https://togithub.com/mui/material-ui/issues/40582))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 20 -->\[docs-infra] Improve API page deprecation info
([#&#8203;40440](https://togithub.com/mui/material-ui/issues/40440))
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai)
- ​<!-- 19 -->\[docs-infra] Remove old tocs banners
([#&#8203;40537](https://togithub.com/mui/material-ui/issues/40537))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 18 -->\[docs-infra] Remove dead code aria-label sponsors
([#&#8203;40526](https://togithub.com/mui/material-ui/issues/40526))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- ​<!-- 04 -->\[utils] Centralize clamp implementation in utils
([#&#8203;40267](https://togithub.com/mui/material-ui/issues/40267))
[@&#8203;Kamino0](https://togithub.com/Kamino0)
- ​<!-- 03 -->\[website] Polish the Base UI page demos
([#&#8203;40504](https://togithub.com/mui/material-ui/issues/40504))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)

All contributors of this release in alphabetical order:
[@&#8203;2metres](https://togithub.com/2metres),
[@&#8203;aacevski](https://togithub.com/aacevski),
[@&#8203;brijeshb42](https://togithub.com/brijeshb42),
[@&#8203;danilo-leal](https://togithub.com/danilo-leal),
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai),
[@&#8203;josh-feldman](https://togithub.com/josh-feldman),
[@&#8203;Kamino0](https://togithub.com/Kamino0),
[@&#8203;lhilgert9](https://togithub.com/lhilgert9),
[@&#8203;maakcode](https://togithub.com/maakcode),
[@&#8203;michaldudak](https://togithub.com/michaldudak),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;petrovmiroslav](https://togithub.com/petrovmiroslav),
[@&#8203;sai6855](https://togithub.com/sai6855),
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore),
[@&#8203;siriwatknp](https://togithub.com/siriwatknp),
[@&#8203;zanivan](https://togithub.com/zanivan),
[@&#8203;ZeeshanTamboli](https://togithub.com/ZeeshanTamboli),
[@&#8203;zinoroman](https://togithub.com/zinoroman)

###
[`v5.15.4`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#5154)

[Compare
Source](https://togithub.com/mui/material-ui/compare/v5.15.3...v5.15.4)

<!-- generated comparing v5.15.3..master -->

*Jan 10, 2024*

A big thanks to the 22 contributors who made this release possible. Here
are some highlights:

-  Material UI's
[ToggleButtonGroup](https://mui.com/material-ui/react-toggle-button/)
now supports non-button element as a child (e.g., showing a Tooltip on a
disabled ToggleButton)
([#&#8203;40220](https://togithub.com/mui/material-ui/issues/40220))
[@&#8203;Methuselah96](https://togithub.com/Methuselah96)

##### `@mui/material@5.15.4`

- \[TextField]\[FormLabel]\[InputLabel]\[FormControl] Use exact children
type to allow React children type augmentation
([#&#8203;38872](https://togithub.com/mui/material-ui/issues/38872))
[@&#8203;nicegamer7](https://togithub.com/nicegamer7)
- \[Select] Add form submission regression test
([#&#8203;40176](https://togithub.com/mui/material-ui/issues/40176))
[@&#8203;mj12albert](https://togithub.com/mj12albert)
- \[ToggleButtonGroup] Support different elements under it
([#&#8203;40220](https://togithub.com/mui/material-ui/issues/40220))
[@&#8203;Methuselah96](https://togithub.com/Methuselah96)
- \[ClickAwayListener] Fix export of types
([#&#8203;40485](https://togithub.com/mui/material-ui/issues/40485))
[@&#8203;illume](https://togithub.com/illume)

##### `@mui/material-nextjs@5.15.4`

- Improve build size issue
([#&#8203;40436](https://togithub.com/mui/material-ui/issues/40436))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)

##### `@mui/icons-material@5.15.4`

- Update the icons
([#&#8203;40365](https://togithub.com/mui/material-ui/issues/40365))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

##### `@mui/system@5.15.4`

- \[zero] Move zero runtime related packages
([#&#8203;40426](https://togithub.com/mui/material-ui/issues/40426))
[@&#8203;brijeshb42](https://togithub.com/brijeshb42)
- Fix all use of styled(Box)
([#&#8203;40449](https://togithub.com/mui/material-ui/issues/40449))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)

##### `@mui/utils@5.15.4`

- Fix `isPlainObject` to work across realm
([#&#8203;39981](https://togithub.com/mui/material-ui/issues/39981))
[@&#8203;brijeshb42](https://togithub.com/brijeshb42)

##### `@mui/base@5.0.0-beta.31`

- \[base-ui]\[NumberInput] Remove inputId and inputRef types from
NumberInput component
([#&#8203;40425](https://togithub.com/mui/material-ui/issues/40425))
[@&#8203;sai6855](https://togithub.com/sai6855)

##### `@mui/joy@5.0.0-beta.22`

- \[Badge] Shouldn't crash when using custom size
([#&#8203;39986](https://togithub.com/mui/material-ui/issues/39986))
[@&#8203;iamsaumya](https://togithub.com/iamsaumya)
- \[ToggleButtonGroup] Add `JoyToggleButtonGroup` to extendTheme's
components type export
([#&#8203;40407](https://togithub.com/mui/material-ui/issues/40407))
[@&#8203;RiceCrisp](https://togithub.com/RiceCrisp)

##### Docs

- \[base-ui] Visual tweaks to the plain CSS theme stylesheet
([#&#8203;40487](https://togithub.com/mui/material-ui/issues/40487))
[@&#8203;zanivan](https://togithub.com/zanivan)
- \[base-ui] Add tokens to plain CSS theme stylesheet
([#&#8203;40113](https://togithub.com/mui/material-ui/issues/40113))
[@&#8203;zanivan](https://togithub.com/zanivan)
- \[base-ui] Update the overview page
([#&#8203;40412](https://togithub.com/mui/material-ui/issues/40412))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- \[material-ui]\[Drawer] Resolve flickering when double-clicking on the
backdrop to close it
([#&#8203;40343](https://togithub.com/mui/material-ui/issues/40343))
[@&#8203;aacevski](https://togithub.com/aacevski)
- \[material-ui] Refactor form submission in FormDialog component
([#&#8203;40470](https://togithub.com/mui/material-ui/issues/40470))
[@&#8203;sai6855](https://togithub.com/sai6855)
- \[material-ui] Replace recharts with MUI X charts on the Dashboard
template
([#&#8203;40107](https://togithub.com/mui/material-ui/issues/40107))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[material-ui] Revise the Alert demo page
([#&#8203;34892](https://togithub.com/mui/material-ui/issues/34892))
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore)
- \[material-ui] Revise the Accordion page
([#&#8203;40284](https://togithub.com/mui/material-ui/issues/40284))
[@&#8203;anle9650](https://togithub.com/anle9650)
- \[material-ui] Add docs for complementary Card components
([#&#8203;40346](https://togithub.com/mui/material-ui/issues/40346))
[@&#8203;anle9650](https://togithub.com/anle9650)
- \[material-ui] Add Material 3 components page
([#&#8203;40350](https://togithub.com/mui/material-ui/issues/40350))
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai)
- Fix strange italic style
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- Fix references to ESLint
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- Fix 301 redirections
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- Right-to-left revision and addition to Joy UI
([#&#8203;39158](https://togithub.com/mui/material-ui/issues/39158))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)

##### Core

- \[examples] Use material-nextjs integration package
([#&#8203;40199](https://togithub.com/mui/material-ui/issues/40199))
[@&#8203;siriwatknp](https://togithub.com/siriwatknp)
- \[code-infra] Configure build dependencies in nx
([#&#8203;40482](https://togithub.com/mui/material-ui/issues/40482))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[code-infra] Don't require noreferrer on target link
([#&#8203;40447](https://togithub.com/mui/material-ui/issues/40447))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[code-infra] Use tsx instead of ts-node
([#&#8203;40428](https://togithub.com/mui/material-ui/issues/40428))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[code-infra] Add options to docs-api generation to support X code
structure
([#&#8203;40111](https://togithub.com/mui/material-ui/issues/40111))
[@&#8203;alexfauquette](https://togithub.com/alexfauquette)
- \[docs-infra] Add types for withDocsInfra
([#&#8203;40301](https://togithub.com/mui/material-ui/issues/40301))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs-infra] Fix anchor links in API pages
([#&#8203;40450](https://togithub.com/mui/material-ui/issues/40450))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs-infra] Fix API table full-width
([#&#8203;40476](https://togithub.com/mui/material-ui/issues/40476))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs-infra] Fix the copy button overlapping with the scrollbar
([#&#8203;40405](https://togithub.com/mui/material-ui/issues/40405))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- \[docs-infra] Remove explicit `mui-x` dependency resolving
([#&#8203;40257](https://togithub.com/mui/material-ui/issues/40257))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[docs-infra] Update the outlined Demo container dark mode color
([#&#8203;40488](https://togithub.com/mui/material-ui/issues/40488))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- \[core] Lock file maintenance
([#&#8203;34538](https://togithub.com/mui/material-ui/issues/34538))
[@&#8203;renovate](https://togithub.com/renovate)\[bot]
- \[core] Remove duplicate devDependencies
([#&#8203;40438](https://togithub.com/mui/material-ui/issues/40438))
[@&#8203;michaldudak](https://togithub.com/michaldudak)
- \[core] Remove issue emoji
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Move prefetch at the core, will propagate to MUI X
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[core] Change package manager to pnpm
([#&#8203;36287](https://togithub.com/mui/material-ui/issues/36287))
[@&#8203;Janpot](https://togithub.com/Janpot)
- \[core]\[docs] Remove the "Understand MUI packages" page
([#&#8203;39835](https://togithub.com/mui/material-ui/issues/39835))
[@&#8203;savalaram-redkar](https://togithub.com/savalaram-redkar)
- \[website] Evolve the Developer Advocate role
([#&#8203;40337](https://togithub.com/mui/material-ui/issues/40337))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[website] Fix default social card
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[test] Restore the `t` command
([#&#8203;40430](https://togithub.com/mui/material-ui/issues/40430))
[@&#8203;michaldudak](https://togithub.com/michaldudak)

All contributors of this release in alphabetical order:
[@&#8203;aacevski](https://togithub.com/aacevski),
[@&#8203;alexfauquette](https://togithub.com/alexfauquette),
[@&#8203;anle9650](https://togithub.com/anle9650),
[@&#8203;brijeshb42](https://togithub.com/brijeshb42),
[@&#8203;danilo-leal](https://togithub.com/danilo-leal),
[@&#8203;DiegoAndai](https://togithub.com/DiegoAndai),
[@&#8203;iamsaumya](https://togithub.com/iamsaumya),
[@&#8203;illume](https://togithub.com/illume),
[@&#8203;Janpot](https://togithub.com/Janpot),
[@&#8203;LukasTy](https://togithub.com/LukasTy),
[@&#8203;Methuselah96](https://togithub.com/Methuselah96),
[@&#8203;michaldudak](https://togithub.com/michaldudak),
[@&#8203;mj12albert](https://togithub.com/mj12albert),
[@&#8203;nicegamer7](https://togithub.com/nicegamer7),
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari),
[@&#8203;renovate](https://togithub.com/renovate)\[bot],
[@&#8203;RiceCrisp](https://togithub.com/RiceCrisp),
[@&#8203;sai6855](https://togithub.com/sai6855),
[@&#8203;samuelsycamore](https://togithub.com/samuelsycamore),
[@&#8203;savalaram-redkar](https://togithub.com/savalaram-redkar),
[@&#8203;siriwatknp](https://togithub.com/siriwatknp),
[@&#8203;zanivan](https://togithub.com/zanivan)

</details>

<details>
<summary>mui/material-ui (@&#8203;mui/lab)</summary>

###
[`v5.0.0-alpha.161`](https://togithub.com/mui/material-ui/blob/HEAD/CHANGELOG.md#muilab500-alpha161)

- ​<!-- 09 -->Update `@mui/material` peer dependency version
([#&#8203;40528](https://togithub.com/mui/material-ui/issues/40528))
[@&#8203;ZeeshanTamboli](https://togithub.com/ZeeshanTamboli)

</details>

<details>
<summary>mui/mui-x (@&#8203;mui/x-date-pickers)</summary>

###
[`v6.19.2`](https://togithub.com/mui/mui-x/compare/v6.19.0...v6.19.2)

[Compare
Source](https://togithub.com/mui/mui-x/compare/v6.19.0...v6.19.2)

###
[`v6.19.0`](https://togithub.com/mui/mui-x/blob/HEAD/CHANGELOG.md#6190)

[Compare
Source](https://togithub.com/mui/mui-x/compare/v6.18.7...v6.19.0)

*Jan 11, 2024*

We'd like to offer a big thanks to the 3 contributors who made this
release possible. Here are some highlights :

-  Support date-fns v3
([#&#8203;11659](https://togithub.com/mui/mui-x/issues/11659))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
Pickers support both v2 and v3 of date-fns. For v3 use
`AdapterDateFnsV3`.
    ```js
    // with date-fns v2.x
import { AdapterDateFns } from
'@&#8203;mui/x-date-pickers/AdapterDateFns';
    import de from 'date-fns/locale/de';
    ```
    ```js
    // with date-fns v3.x
import { AdapterDateFns } from
'@&#8203;mui/x-date-pickers/AdapterDateFnsV3';
    import { de } from 'date-fns/locale/de';
    ```

##### Date Pickers

##### `@mui/x-date-pickers@6.19.0`

- \[pickers] Add date-fns@3.x adapter
([#&#8203;11659](https://togithub.com/mui/mui-x/issues/11659))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[pickers] Fix clearable behavior blocking focus return to
`OpenPickerButton`
([#&#8203;11643](https://togithub.com/mui/mui-x/issues/11643))
[@&#8203;noraleonte](https://togithub.com/noraleonte)
- \[l10n] Add missing Danish (da-DK) locale export
([#&#8203;11641](https://togithub.com/mui/mui-x/issues/11641))
[@&#8203;etlos](https://togithub.com/etlos)

##### `@mui/x-date-pickers-pro@6.19.0`
[![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link
"Pro plan")

Same changes as in `@mui/x-date-pickers@6.19.0`.

##### Docs

- \[docs] Add missing component
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Fix parsing of `x-date-pickers-pro` demo adapter imports
([#&#8203;11637](https://togithub.com/mui/mui-x/issues/11637))
[@&#8203;LukasTy](https://togithub.com/LukasTy)
- \[docs] Push up the MUI X brand
([#&#8203;11533](https://togithub.com/mui/mui-x/issues/11533))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Improve Server-side data grid docs
([#&#8203;11589](https://togithub.com/mui/mui-x/issues/11589))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Add demo to the charts overview page
([#&#8203;11586](https://togithub.com/mui/mui-x/issues/11586))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)
- \[docs] Fix 404 links in the docs
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Improve landing page
([#&#8203;11570](https://togithub.com/mui/mui-x/issues/11570))
[@&#8203;oliviertassinari](https://togithub.com/oliviertassinari)
- \[docs] Give a general revision to the docs
([#&#8203;11249](https://togithub.com/mui/mui-x/issues/11249))
[@&#8203;danilo-leal](https://togithub.com/danilo-leal)

</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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 16:16:58 +00:00
Nuno Góis
db0a0d7097
refactor: PATs (#6101)
https://linear.app/unleash/issue/SR-379/refactor-pats

This PR refactors PATs.

- Adds a new `createPatSchema`, which better aligns with
https://docs.getunleash.io/contributing/ADRs/overarching/separation-request-response-schemas
- Drops the model type and class in favor of using the schema types
directly, which is more consistent with the rest of the codebase and
easier to maintain
 - Misc scouting, improvement and fixes

This breaks Enterprise temporarily, but it's faster to move forward this
way.
2024-02-01 14:28:46 +00:00
Mateusz Kwasniewski
28fc36a1de
fix: exclude columns with commas (#6102) 2024-02-01 14:10:57 +01:00
Mateusz Kwasniewski
4e3ab7186c
feat: time to production chart (#6100) 2024-02-01 12:22:27 +01:00
Thomas Heartman
99b8fa2943
refactor: take chatgpt's suggestions for diff calc algorithm (#6086)
We had to make some updates to let the compiler know about the types and
fix an issue with nested objects not being compared as objects (instead
as strings), but this saves us a few lines and is hopefully more
readable.
2024-02-01 19:57:09 +09:00
Thomas Heartman
dbc577bfa4
docs(refactor): clean up academy css (#6097)
This PR cleans up the the CSS for the recent academy banners, sharing
styles where it seemed suitable.

Main points:
- share styling of the level badge between the links and the course
banner
- share styling of general banner shape, borders, spacing, between the
main unleash academy banner and the course-specific banner

Also does the following updates:
- change the button colors
- update the link in the main academy banner
2024-02-01 18:35:43 +09:00
Fredrik Strand Oseberg
de0bebd7ad
fix: set correct lables for project charts (#6099) 2024-02-01 10:31:11 +01:00
Fredrik Strand Oseberg
7ec0fa55ab
chore: set version (#6098)
Set the version in package json to represent the new release
2024-02-01 09:40:04 +01:00
Thomas Heartman
58836d3ab2
docs: show links to other sidebars when the navbar is collapsed (#6096)
This change adds links to Unleash Academy from the docs sidebar and
vice versa when the nav bar is collapsed (on narrow screens).
2024-02-01 15:10:30 +09:00
Nnenna Ndukwe
542acd30a9
docs: simplify Python tutorial (#6073)
<!-- 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. -->

- Reducing the amount of steps to implement the Python app feature flag
- fixed spaces & indentations in Python code snippets (mentioned in past
PR review)
- `git clone` my forked repo so we can customize that code in the future
as we improve it, without being blocked.


<!-- 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? -->

More improvements to be made to the HTTP calls in `routes.py` as I
continue working on resolving some issues I'm running into in the app.

---------

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
2024-01-31 08:34:46 -05:00
Jaanus Sellin
bb02ffd8c4
feat: A/B test search feedback variants (#6085)
Search was not getting any feedback. We introduced 3 different variants
to compare conversion rate.


![image](https://github.com/Unleash/unleash/assets/964450/9c4fbcd6-c6d9-4570-9a08-9321087f609a)

![image](https://github.com/Unleash/unleash/assets/964450/6d643d48-1dcb-4a67-9951-7f0c6865f31d)

![image](https://github.com/Unleash/unleash/assets/964450/423dbd54-5dd1-409c-9cd5-295edb9453d9)
2024-01-31 14:32:23 +02:00
Fredrik Strand Oseberg
79e86e1aca
feat: project health widget (#6092)
Adds the project health widget to the edb:

<img width="1243" alt="Skjermbilde 2024-01-31 kl 12 16 23"
src="https://github.com/Unleash/unleash/assets/16081982/7df1e4dc-3245-4c30-bb9e-f21e90697392">
2024-01-31 13:19:28 +01:00
David Leek
fcb8bf6918
chore: scheduled created-by migrations metrics (#6089)
## About the changes

the created_by_user_id data migration from resolving events.created_by
(for both events and features) now emits events on how many rows were
updated.

Adds listeners for these events that records these metrics with
prometheus


![image](https://github.com/Unleash/unleash/assets/707867/3bb02645-0919-4a9a-83fe-a07383ac0be1)
2024-01-31 12:30:42 +01:00
Jaanus Sellin
884bc86745
chore: add documentation to search filters/operators (#6088)
![image](https://github.com/Unleash/unleash/assets/964450/d8920542-78b6-48e1-96a9-6d8d60082849)

![image](https://github.com/Unleash/unleash/assets/964450/406d7f21-01e2-4b75-9b1e-b48f319669dd)
2024-01-31 13:28:15 +02:00
Jaanus Sellin
0f901bbe12
fix: fix skeleton not appearing on feature toggle list (#6093)
The `FeatureToggleListTable` is nested directly within `PageContent`.
`PageContent` was cause for removing the skeleton from the table.
However, this is unnecessary because the table has its own loader that
manages the skeletons. Therefore, `PageContent` does not require a
loader.
2024-01-31 13:26:39 +02:00
Thomas Heartman
67f8a3cccd
docs: change "time burden" to "time investment" (#6079)
This PR changes the wording for the courses from "estimated time burden"
to "estimated time".
2024-01-31 10:48:28 +00:00
Jaanus Sellin
4635c4882f
chore: revert docusaurus-plugin-openapi-docs (#6091)
Reverting https://github.com/Unleash/unleash/pull/5819, because it is
breaking docs
2024-01-31 10:42:18 +00:00
Mateusz Kwasniewski
a9d1bdb4b2
fix: freezing navigation (#6090) 2024-01-31 11:33:39 +01:00
Thomas Heartman
5417662f5a
chore: add metrics for conflict creation detection (#6022)
This PR adds a 'change-request-conflict-created' event whenever someone
save a strategy update for a strategy that's used in either pending or
scheduled change requests.

Data for pending change requests will only be sent if change requests
are enabled. Data for scheduled change requests will be sent regardless.

Getting this data is somewhat involved, so I've extracted as much of the
logic into a separate file as possible.

The event re-uses the existing `change_request` metric and sends the
following data for each change request that we discover conflicts on:

```ts 
{
  state: ChangeRequestState,
  changeRequest: string, // <unleash identifier>#<change request id>
  action: 'edit-strategy',
  eventType: 'conflict-created'
}
```

There's only one action for this for now, but we could expand this event
to things such as strategy deletion, feature archival, in the future.
That said, I'd be happy to take it out.

## Discussion points

### Has the strategy actually been updated?

This does not check whether a strategy has actually changed before
emitting the event, only that you save your strategy changes.

This assumes that most people will simply close the modal by
clicking/tapping outside it or using the escape key instead of pressing
save.

However, it will likely lead to some false positives. If we think that
is an issue, I would suggest adding a check that something in the
strategy has actually changed in a follow-up PR.
2024-01-31 18:56:56 +09:00
Tymoteusz Czech
d77e5391ed
refactor: FlagsChart and FlagsProjectChart components (#6087)
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2024-01-31 09:50:50 +00:00
Thomas Heartman
bc95ed654f
docs: add academy links and banners (#6083)
This PR adds academy links and banners. Supersedes #6077
2024-01-31 18:18:21 +09:00
Thomas Heartman
ccf165568a
docs: make navbar separators partially transparent (#6084)
Sets the opacity of the navbar separators to 0.3
2024-01-31 11:17:03 +02:00
Ivar Conradi Østhus
55474124a9
fix: we want to build docs on PRs related to docs 2024-01-31 10:12:36 +01:00
renovate[bot]
0c95cd3f59
fix(deps): update dependency docusaurus-plugin-openapi-docs to v2.0.4 (#5819)
[![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)
([source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/tree/HEAD/packages/docusaurus-plugin-openapi-docs))
| [`2.0.0-beta.3` ->
`2.0.4`](https://renovatebot.com/diffs/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.3/2.0.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/docusaurus-plugin-openapi-docs/2.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/docusaurus-plugin-openapi-docs/2.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.3/2.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/docusaurus-plugin-openapi-docs/2.0.0-beta.3/2.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>PaloAltoNetworks/docusaurus-openapi-docs
(docusaurus-plugin-openapi-docs)</summary>

###
[`v2.0.4`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#204-Jan-18-2024)

[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.3...v2.0.4)

High level enhancements

-   Add x-codeSamples support
-   Add callbacks support

Other enhancements and bug fixes

- Add support to x-codeSamples
([#&#8203;697](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/697))
- Remove deprecated node packages
([#&#8203;699](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/699))
- Add Callbacks support
([#&#8203;691](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/691))

###
[`v2.0.3`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#203-Jan-9-2024)

[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.2...v2.0.3)

High level enhancements

-   Add callbacks support
-   Add markdown support to example/examples summary

Other enhancements and bug fixes

- Add markdown support to example summary
([#&#8203;690](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/690))
- Add Callbacks support
([#&#8203;691](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/691))

###
[`v2.0.2`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#202-Dec-5-2023)

[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.1...v2.0.2)

High level enhancements

-   Adds security schemes to API Explorer panel

Other enhancements and bug fixes

- Add missing security schemes component
([#&#8203;673](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/673))

###
[`v2.0.1`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#201-Dec-1-2023)

[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0...v2.0.1)

High level enhancements

-   Improve support for handling multi-part form data

Other enhancements and bug fixes

- Improve support for handling multipart form data
([#&#8203;666](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/666))
- use SCHEMA_TYPE to distinguish request/response to support
readOnly/writeOnly properties
([#&#8203;665](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/665))
- add negative look behind to exclude colon delimited path segments
([#&#8203;663](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/663))
-   Update deploy-preview.yml
-   update v2.0.0 refs to v3.0.0
-   Update pr-title-check.yaml
-   Update canary-beta-release.yml
-   Update README.md

###
[`v2.0.0`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#200-Nov-13-2023)

[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.5...v2.0.0)

High level enhancements

-   First v2.0.0 stable release!

> Currently only compatible with Docusaurus v2.4.1 -> v2.4.3

Other enhancements and bug fixes

- upgrade to react 18 and demo docusaurus to 2.4.3
([#&#8203;656](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/656))
- allow upgrade to react 18
([#&#8203;651](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/651))
- stop docusaurus support at v2.4.0
([#&#8203;650](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/650))

###
[`v2.0.0-beta.5`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#200-beta5-Oct-23-2023)

[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.4...v2.0.0-beta.5)

High level enhancements

-   Extend charset support for application/json
-   Improve webhook API page layout

Other enhancements and bug fixes

- Improve webhook layout
([#&#8203;646](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/646))
- update deprecation message
([#&#8203;644](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/644))
- allow charset support for application/json
([#&#8203;643](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/643))
- Reuse `createAnyOneOf` while creating a property
([#&#8203;628](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/628))
- Use `sass-loader` module as dependency
([#&#8203;639](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/639))
- Remove react nextui dependency in v2.0.0
([#&#8203;641](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/641))

###
[`v2.0.0-beta.4`](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/HEAD/CHANGELOG.md#200-beta4-Sep-29-2023)

[Compare
Source](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/v2.0.0-beta.3...v2.0.0-beta.4)

High level enhancements

- Expand capacity for building large sites by compressing frontmatter
api property.

Other enhancements and bug fixes

- Fix `makeRequest()` for `formdata` request type
([#&#8203;625](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/625))
- \[UI] Cleanup schema item and explorer panel caret alignment
([#&#8203;624](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/624))
-   revert v2.0.0 schema styles
- Add support for anyOf properties and apply DRY to createSchema
([#&#8203;582](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/582))
- Adds compression support to frontmatter api prop
([#&#8203;606](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/606))
- Unify tabs naming
([#&#8203;612](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/612))
- \[Enhancement] Introduce new theme component names: ApiExplorer,
CodeSnippets
([#&#8203;577](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/577))
- Use SchemaItem to render leaf discriminator properties/nodes
([#&#8203;573](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/573))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

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

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

---

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

---

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 09:10:36 +00:00
Ivar Conradi Østhus
ebd53a6ef9
fix: disable building docs (old) 2024-01-31 10:09:32 +01:00
Tymoteusz Czech
e6ccd83739
refactor: LineChart component (#6072)
Initial version of a reusable trend chart, with a tooltip and vertical highlight
2024-01-31 10:07:29 +01:00
Mateusz Kwasniewski
f298d7d511
feat: scheduler overrun protection (#6082) 2024-01-31 09:41:36 +01:00
Thomas Heartman
73322f12f7
chore: remove detectSegmentUsageInChangeRequests flag (#6080)
What it says on the tin. Removes all uses of the
detectSegmentUsageInChangeRequests flag.
2024-01-31 17:24:35 +09:00
Jaanus Sellin
d7eb950f3a
chore: remove featureSearchAPI flag (#6081) 2024-01-31 10:01:31 +02:00
Fredrik Strand Oseberg
aae1d0576f
feat: add project flags component (#6070)
This PR adds project flags line chart component
2024-01-31 08:48:10 +01:00
Jaanus Sellin
c6a2303026
chore: remove featureSearchFrontend flag (#6066) 2024-01-31 09:22:26 +02:00
Thomas Heartman
b2c127c058
docs: fix navbar styling issues: GitHub icon, button background, hidden text (#6078)
This PR fixes the three issues in the nav bar:
1. The GitHub icon was rendered in black in light mode. It should be
white.
2. The toggle theme button's background was white in light mode. It
should be a darker green.
3. The navbar would intersect with the logo due to not compacting
correctly.

The first two issues were caused by using CSS nesting, which is
apparently not supported in Safari yet (and might only be supported if
you have enabled a flag in other browsers).

The last issue was fixed by changing the syntax of a media query. The
new syntax is unsupported in Safari.
2024-01-31 13:40:50 +09:00
Tymoteusz Czech
c9ac4916e8
feat: executive dashboard responsive grid (#6069)
- unified "Widget" component
- column order dependent on screen width
2024-01-30 17:02:13 +01:00