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 (@​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
([#​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
([#​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
([#​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)
([#​5291](https://togithub.com/TanStack/table/issues/5291 ))
([`9941ef1`](https://togithub.com/TanStack/table/commit/9941ef1e )) by
[@​lucascmelo](https://togithub.com/lucascmelo )
- examples: Use tsconfig from create-vite
([#​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
([#​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
([#​5277](https://togithub.com/TanStack/table/issues/5277 ))
([`d5f514a`](https://togithub.com/TanStack/table/commit/d5f514a7 )) by
Kevin Van Cott
- Row model docs
([#​5276](https://togithub.com/TanStack/table/issues/5276 ))
([`801ee96`](https://togithub.com/TanStack/table/commit/801ee963 )) by
Kevin Van Cott
#### Packages
-
[@​tanstack/table-core](https://togithub.com/tanstack/table-core )[@​8](https://togithub.com/8 ).11.7
-
[@​tanstack/react-table](https://togithub.com/tanstack/react-table )[@​8](https://togithub.com/8 ).11.7
-
[@​tanstack/solid-table](https://togithub.com/tanstack/solid-table )[@​8](https://togithub.com/8 ).11.7
-
[@​tanstack/vue-table](https://togithub.com/tanstack/vue-table )[@​8](https://togithub.com/8 ).11.7
-
[@​tanstack/svelte-table](https://togithub.com/tanstack/svelte-table )[@​8](https://togithub.com/8 ).11.7
-
[@​tanstack/react-table-devtools](https://togithub.com/tanstack/react-table-devtools )[@​8](https://togithub.com/8 ).11.7
-
[@​tanstack/match-sorter-utils](https://togithub.com/tanstack/match-sorter-utils )[@​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 (@​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`
- [#​16225](https://togithub.com/babel/babel/pull/16225 ) fix:
`systemjs` re-traverses helpers
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-helper-create-class-features-plugin`,
`babel-plugin-proposal-decorators`
- [#​16226](https://togithub.com/babel/babel/pull/16226 ) Improve
decorated private method check
([@​JLHwung](https://togithub.com/JLHwung ))
- `babel-plugin-proposal-decorators`,
`babel-plugin-transform-async-generator-functions`,
`babel-plugin-transform-runtime`, `babel-preset-env`
- [#​16224](https://togithub.com/babel/babel/pull/16224 ) Properly
sort `core-js@3` imports
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
- `babel-traverse`
- [#​15383](https://togithub.com/babel/babel/pull/15383 ) fix:
Don't throw in `getTypeAnnotation` when using TS+inference
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- Other
- [#​16210](https://togithub.com/babel/babel/pull/16210 ) \[eslint]
Fix `no-use-before-define` for class ref in fields
([@​nicolo-ribaudo](https://togithub.com/nicolo-ribaudo ))
##### 🏠 Internal
- `babel-core`, `babel-parser`, `babel-template`
- [#​16222](https://togithub.com/babel/babel/pull/16222 ) Migrate
`eslint-parser` to cts
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-types`
- [#​16213](https://togithub.com/babel/babel/pull/16213 ) Remove
`@babel/types` props that are not produced by the parser
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
##### 🏃♀️ Performance
- `babel-parser`
- [#​16072](https://togithub.com/babel/babel/pull/16072 ) perf:
Improve parser performance for typescript
([@​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`
- [#​16218](https://togithub.com/babel/babel/pull/16218 ) Improve
temporary variables for decorators
([@​liuxingbaoyu](https://togithub.com/liuxingbaoyu ))
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`,
`babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#​15959](https://togithub.com/babel/babel/pull/15959 ) Improve
output of `using`
([@​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
([#​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 (@​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
([#​40324](https://togithub.com/mui/material-ui/issues/40324 ))
[@​mnajdova](https://togithub.com/mnajdova )
- <!-- 27 -->\[TablePagination] Accept readonly array for
`rowsPerPageOptions` prop
([#​40481](https://togithub.com/mui/material-ui/issues/40481 ))
[@​pcorpet](https://togithub.com/pcorpet )
- <!-- 06 -->\[PaginationItem] Deprecate classes for v6
([#​40673](https://togithub.com/mui/material-ui/issues/40673 ))
[@​sai6855](https://togithub.com/sai6855 )
- <!-- 05 -->\[Rating] Fix rating width via min-content
([#​40503](https://togithub.com/mui/material-ui/issues/40503 ))
[@​devhik0](https://togithub.com/devhik0 )
##### `@mui/base@5.0.0-beta.33`
- <!-- 26 -->\[Select] Fix display of selected Options with rich
content
([#​40689](https://togithub.com/mui/material-ui/issues/40689 ))
[@​michaldudak](https://togithub.com/michaldudak )
- <!-- 25 -->\[Select] Use Popup instead of Popper
([#​40524](https://togithub.com/mui/material-ui/issues/40524 ))
[@​michaldudak](https://togithub.com/michaldudak )
- <!-- 26 -->\[useMenuButton] Fix non native button triggers
([#​40645](https://togithub.com/mui/material-ui/issues/40645 ))
[@​DiegoAndai](https://togithub.com/DiegoAndai )
##### `@mui/system@5.15.6`
- <!-- 02 -->\[zero] Fix theme token import in source file
([#​40691](https://togithub.com/mui/material-ui/issues/40691 ))
[@​brijeshb42](https://togithub.com/brijeshb42 )
- <!-- 01 -->\[zero] Add support for css import
([#​40541](https://togithub.com/mui/material-ui/issues/40541 ))
[@​brijeshb42](https://togithub.com/brijeshb42 )
##### `@mui/icons-material@5.15.6`
- <!-- 07 -->\[icons-material] Fix icons package.json version
([#​40655](https://togithub.com/mui/material-ui/issues/40655 ))
[@​mj12albert](https://togithub.com/mj12albert )
##### Docs
- <!-- 28 -->\[base-ui] Polish the Slider demos
([#​40332](https://togithub.com/mui/material-ui/issues/40332 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- <!-- 24 -->\[base-ui]\[Slider] Fix plain CSS demo's wrong keyboard
behavior
([#​40652](https://togithub.com/mui/material-ui/issues/40652 ))
[@​mnajdova](https://togithub.com/mnajdova )
- <!-- 23 -->\[base-ui]\[TextareaAutosize] Add border-box to demo
([#​40646](https://togithub.com/mui/material-ui/issues/40646 ))
[@​ANUGLYPLUGIN](https://togithub.com/ANUGLYPLUGIN )
- <!-- 16 -->Fix brand name non-breaking space
([#​40701](https://togithub.com/mui/material-ui/issues/40701 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 15 -->Improve error message for MUI Vale rule
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 14 -->Add notification to publish the survey
([#​40552](https://togithub.com/mui/material-ui/issues/40552 ))
[@​joserodolfofreitas](https://togithub.com/joserodolfofreitas )
- <!-- 04 -->\[system] Explain a bit more how AppRouterCacheProvider
works [@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 12 -->\[joy-ui] Move tutorial to iframe
([#​40567](https://togithub.com/mui/material-ui/issues/40567 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 10 -->\[material-ui]\[Slider] Remove custom divs from new demo
([#​40674](https://togithub.com/mui/material-ui/issues/40674 ))
[@​zanivan](https://togithub.com/zanivan )
- <!-- 11 -->\[material-ui] Improve TabContext, TabList, and TabPanel
documentation
([#​40587](https://togithub.com/mui/material-ui/issues/40587 ))
[@​anle9650](https://togithub.com/anle9650 )
- <!-- 09 -->\[material-ui]\[Slider] Added custom mark labels demo
([#​40647](https://togithub.com/mui/material-ui/issues/40647 ))
[@​DonikaV](https://togithub.com/DonikaV )
##### Core
- <!-- 30 -->\[core] Fix RXDB-logo Url
([#​40724](https://togithub.com/mui/material-ui/issues/40724 ))
[@​mohamedsaiedd](https://togithub.com/mohamedsaiedd )
- <!-- 24 -->\[code-infra] Improve proptypes-generation
([#​40617](https://togithub.com/mui/material-ui/issues/40617 ))
[@​alexfauquette](https://togithub.com/alexfauquette )
- <!-- 22 -->\[code-infra] Disable pnpm package cache on CircleCI
([#​40670](https://togithub.com/mui/material-ui/issues/40670 ))
[@​michaldudak](https://togithub.com/michaldudak )
- <!-- 21 -->\[code-infra] Add missing package to CodeSandbox CI config
([#​40657](https://togithub.com/mui/material-ui/issues/40657 ))
[@​michaldudak](https://togithub.com/michaldudak )
- <!-- 20 -->\[code-infra] Remove unnecessary
[@​mui/utils](https://togithub.com/mui/utils ) dependency from
api-docs-builder
([#​40632](https://togithub.com/mui/material-ui/issues/40632 ))
[@​michaldudak](https://togithub.com/michaldudak )
- <!-- 19 -->\[core] Polish issue templates
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 13 -->\[docs-infra] Support markdown link in slots descriptions
([#​40679](https://togithub.com/mui/material-ui/issues/40679 ))
[@​alexfauquette](https://togithub.com/alexfauquette )
- <!-- 08 -->\[examples] Simplify Next.js example
([#​40661](https://togithub.com/mui/material-ui/issues/40661 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 03 -->\[website] Fix broken styles on Base UI page
([#​40683](https://togithub.com/mui/material-ui/issues/40683 ))
[@​michaldudak](https://togithub.com/michaldudak )
All contributors of this release in alphabetical order:
[@​alexfauquette](https://togithub.com/alexfauquette ),
[@​anle9650](https://togithub.com/anle9650 ),
[@​ANUGLYPLUGIN](https://togithub.com/ANUGLYPLUGIN ),
[@​brijeshb42](https://togithub.com/brijeshb42 ),
[@​danilo-leal](https://togithub.com/danilo-leal ),
[@​devhik0](https://togithub.com/devhik0 ),
[@​DiegoAndai](https://togithub.com/DiegoAndai ),
[@​DonikaV](https://togithub.com/DonikaV ),
[@​joserodolfofreitas](https://togithub.com/joserodolfofreitas ),
[@​michaldudak](https://togithub.com/michaldudak ),
[@​mj12albert](https://togithub.com/mj12albert ),
[@​mnajdova](https://togithub.com/mnajdova ),
[@​mohamedsaiedd](https://togithub.com/mohamedsaiedd ),
[@​oliviertassinari](https://togithub.com/oliviertassinari ),
[@​pcorpet](https://togithub.com/pcorpet ),
[@​sai6855](https://togithub.com/sai6855 ),
[@​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-`
([#​40205](https://togithub.com/mui/material-ui/issues/40205 ))
[@​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
([#​40418](https://togithub.com/mui/material-ui/issues/40418 ))
[@​DiegoAndai](https://togithub.com/DiegoAndai )
- <!-- 41 -->\[Alert] Update TypeScript types to allow color override
types to be added to `iconMapping` and `severity` props
([#​40551](https://togithub.com/mui/material-ui/issues/40551 ))
[@​2metres](https://togithub.com/2metres )
- <!-- 27 -->\[Dialog] Remove deprecated onBackdropClick from Dialog
tests
([#​40505](https://togithub.com/mui/material-ui/issues/40505 ))
[@​sai6855](https://togithub.com/sai6855 )
- <!-- 26 -->\[Divider] Deprecate props and classes for v6
([#​40563](https://togithub.com/mui/material-ui/issues/40563 ))
[@​sai6855](https://togithub.com/sai6855 )
##### `@mui/material-next@6.0.0-alpha.118`
- <!-- 36 -->\[ButtonGroup] Apply MD3 style to `ButtonGroup`
([#​40124](https://togithub.com/mui/material-ui/issues/40124 ))
[@​lhilgert9](https://togithub.com/lhilgert9 )
##### `@mui/base@5.0.0-beta.32`
##### Breaking changes
- <!-- 40 -->Change the CSS class prefix to `base-`
([#​40205](https://togithub.com/mui/material-ui/issues/40205 ))
[@​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
([#​40599](https://togithub.com/mui/material-ui/issues/40599 ))
[@​brijeshb42](https://togithub.com/brijeshb42 )
- <!-- 38 -->\[Switch] Add border-box to demos
([#​40638](https://togithub.com/mui/material-ui/issues/40638 ))
[@​zanivan](https://togithub.com/zanivan )
##### `@mui/joy@5.0.0-beta.23`
- <!-- 11 -->\[ModalDialog] Fix ModalDialog layout prop override
([#​40512](https://togithub.com/mui/material-ui/issues/40512 ))
[@​maakcode](https://togithub.com/maakcode )
- <!-- 10 -->\[RadioGroup] Allow zero number as a value
([#​40344](https://togithub.com/mui/material-ui/issues/40344 ))
[@​aacevski](https://togithub.com/aacevski )
##### `@mui/codemod@5.15.5`
- <!-- 31 -->Allow `json` files to be transformed
([#​40536](https://togithub.com/mui/material-ui/issues/40536 ))
[@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli )
##### `@mui/lab@5.0.0-alpha.161`
- <!-- 09 -->Update `@mui/material` peer dependency version
([#​40528](https://togithub.com/mui/material-ui/issues/40528 ))
[@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli )
##### `@mui/material-nextjs@5.15.5`
- <!-- 08 -->Fix release script
([#​40519](https://togithub.com/mui/material-ui/issues/40519 ))
[@​petrovmiroslav](https://togithub.com/petrovmiroslav )
- <!-- 07 -->Support Nonces in the App Router Provider
([#​40269](https://togithub.com/mui/material-ui/issues/40269 ))
[@​josh-feldman](https://togithub.com/josh-feldman )
- <!-- 06 -->Polish
[@​mui/material-nextjs](https://togithub.com/mui/material-nextjs )
([#​40473](https://togithub.com/mui/material-ui/issues/40473 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
##### `@mui/system@5.15.5`
- <!-- 05 -->Fix import path for
[@​mui/system](https://togithub.com/mui/system ) in vite apps
([#​40490](https://togithub.com/mui/material-ui/issues/40490 ))
[@​brijeshb42](https://togithub.com/brijeshb42 )
- <!-- 02 -->Fix css vars generation and simplify the code
([#​40530](https://togithub.com/mui/material-ui/issues/40530 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- <!-- 01 -->Identify zero runtime styled path
([#​40555](https://togithub.com/mui/material-ui/issues/40555 ))
[@​brijeshb42](https://togithub.com/brijeshb42 )
##### Docs
- <!-- 35 -->\[joy-ui]\[Card] Fix text alignment in horizontal aligned
card demo
([#​40562](https://togithub.com/mui/material-ui/issues/40562 ))
[@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli )
- <!-- 25 -->Improve instructions about peer dependencies
([#​40621](https://togithub.com/mui/material-ui/issues/40621 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- <!-- 24 -->Solve page description length
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 23 -->Fix MUI Treasury links
([#​40561](https://togithub.com/mui/material-ui/issues/40561 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- <!-- 17 -->\[material-ui] Update <ListItem button/> to ListItemButton
in demos
([#​40564](https://togithub.com/mui/material-ui/issues/40564 ))
[@​sai6855](https://togithub.com/sai6855 )
- <!-- 16 -->\[material-ui] Revise the Snackbar page
([#​39298](https://togithub.com/mui/material-ui/issues/39298 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- <!-- 15 -->\[material-ui] Sharpen Material 3 copy on demo pages
([#​40546](https://togithub.com/mui/material-ui/issues/40546 ))
[@​samuelsycamore](https://togithub.com/samuelsycamore )
- <!-- 14 -->\[material-ui] Fix typo on Next.js integration guide
([#​40538](https://togithub.com/mui/material-ui/issues/40538 ))
[@​zanivan](https://togithub.com/zanivan )
- <!-- 13 -->\[material-ui]\[Snackbar] Remove unused `State` interface
from Consecutive Snackbars demo
([#​40410](https://togithub.com/mui/material-ui/issues/40410 ))
[@​zinoroman](https://togithub.com/zinoroman )
- <!-- 12 -->\[website] Resolve broken links reported by
`docs:link-check`
([#​40547](https://togithub.com/mui/material-ui/issues/40547 ))
[@​samuelsycamore](https://togithub.com/samuelsycamore )
##### Core
- <!-- 37 -->\[blog] Fix 404 link to MUI Treasury
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 34 -->\[code-infra] Add `run` command to deploy docs
([#​40513](https://togithub.com/mui/material-ui/issues/40513 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- <!-- 32 -->\[core] Update the lockfile
([#​40628](https://togithub.com/mui/material-ui/issues/40628 ))
[@​michaldudak](https://togithub.com/michaldudak )
- <!-- 31 -->\[core] Remove dead code and follow standard
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 30 -->\[core] Simplify server detection
([#​40471](https://togithub.com/mui/material-ui/issues/40471 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 29 -->\[core] Sync playwright cache between MUI X and Material
UI ([#​40475](https://togithub.com/mui/material-ui/issues/40475 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 28 -->\[dependencies] Bump tough-cookie
([#​40437](https://togithub.com/mui/material-ui/issues/40437 ))
[@​michaldudak](https://togithub.com/michaldudak )
- <!-- 22 -->\[docs-infra] Enforce brand name rules
([#​40525](https://togithub.com/mui/material-ui/issues/40525 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 21 -->\[docs-infra] Minimize ad layout shift on mobile
([#​40582](https://togithub.com/mui/material-ui/issues/40582 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 20 -->\[docs-infra] Improve API page deprecation info
([#​40440](https://togithub.com/mui/material-ui/issues/40440 ))
[@​DiegoAndai](https://togithub.com/DiegoAndai )
- <!-- 19 -->\[docs-infra] Remove old tocs banners
([#​40537](https://togithub.com/mui/material-ui/issues/40537 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 18 -->\[docs-infra] Remove dead code aria-label sponsors
([#​40526](https://togithub.com/mui/material-ui/issues/40526 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- <!-- 04 -->\[utils] Centralize clamp implementation in utils
([#​40267](https://togithub.com/mui/material-ui/issues/40267 ))
[@​Kamino0](https://togithub.com/Kamino0 )
- <!-- 03 -->\[website] Polish the Base UI page demos
([#​40504](https://togithub.com/mui/material-ui/issues/40504 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
All contributors of this release in alphabetical order:
[@​2metres](https://togithub.com/2metres ),
[@​aacevski](https://togithub.com/aacevski ),
[@​brijeshb42](https://togithub.com/brijeshb42 ),
[@​danilo-leal](https://togithub.com/danilo-leal ),
[@​DiegoAndai](https://togithub.com/DiegoAndai ),
[@​josh-feldman](https://togithub.com/josh-feldman ),
[@​Kamino0](https://togithub.com/Kamino0 ),
[@​lhilgert9](https://togithub.com/lhilgert9 ),
[@​maakcode](https://togithub.com/maakcode ),
[@​michaldudak](https://togithub.com/michaldudak ),
[@​oliviertassinari](https://togithub.com/oliviertassinari ),
[@​petrovmiroslav](https://togithub.com/petrovmiroslav ),
[@​sai6855](https://togithub.com/sai6855 ),
[@​samuelsycamore](https://togithub.com/samuelsycamore ),
[@​siriwatknp](https://togithub.com/siriwatknp ),
[@​zanivan](https://togithub.com/zanivan ),
[@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli ),
[@​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)
([#​40220](https://togithub.com/mui/material-ui/issues/40220 ))
[@​Methuselah96](https://togithub.com/Methuselah96 )
##### `@mui/material@5.15.4`
- \[TextField]\[FormLabel]\[InputLabel]\[FormControl] Use exact children
type to allow React children type augmentation
([#​38872](https://togithub.com/mui/material-ui/issues/38872 ))
[@​nicegamer7](https://togithub.com/nicegamer7 )
- \[Select] Add form submission regression test
([#​40176](https://togithub.com/mui/material-ui/issues/40176 ))
[@​mj12albert](https://togithub.com/mj12albert )
- \[ToggleButtonGroup] Support different elements under it
([#​40220](https://togithub.com/mui/material-ui/issues/40220 ))
[@​Methuselah96](https://togithub.com/Methuselah96 )
- \[ClickAwayListener] Fix export of types
([#​40485](https://togithub.com/mui/material-ui/issues/40485 ))
[@​illume](https://togithub.com/illume )
##### `@mui/material-nextjs@5.15.4`
- Improve build size issue
([#​40436](https://togithub.com/mui/material-ui/issues/40436 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
##### `@mui/icons-material@5.15.4`
- Update the icons
([#​40365](https://togithub.com/mui/material-ui/issues/40365 ))
[@​michaldudak](https://togithub.com/michaldudak )
##### `@mui/system@5.15.4`
- \[zero] Move zero runtime related packages
([#​40426](https://togithub.com/mui/material-ui/issues/40426 ))
[@​brijeshb42](https://togithub.com/brijeshb42 )
- Fix all use of styled(Box)
([#​40449](https://togithub.com/mui/material-ui/issues/40449 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
##### `@mui/utils@5.15.4`
- Fix `isPlainObject` to work across realm
([#​39981](https://togithub.com/mui/material-ui/issues/39981 ))
[@​brijeshb42](https://togithub.com/brijeshb42 )
##### `@mui/base@5.0.0-beta.31`
- \[base-ui]\[NumberInput] Remove inputId and inputRef types from
NumberInput component
([#​40425](https://togithub.com/mui/material-ui/issues/40425 ))
[@​sai6855](https://togithub.com/sai6855 )
##### `@mui/joy@5.0.0-beta.22`
- \[Badge] Shouldn't crash when using custom size
([#​39986](https://togithub.com/mui/material-ui/issues/39986 ))
[@​iamsaumya](https://togithub.com/iamsaumya )
- \[ToggleButtonGroup] Add `JoyToggleButtonGroup` to extendTheme's
components type export
([#​40407](https://togithub.com/mui/material-ui/issues/40407 ))
[@​RiceCrisp](https://togithub.com/RiceCrisp )
##### Docs
- \[base-ui] Visual tweaks to the plain CSS theme stylesheet
([#​40487](https://togithub.com/mui/material-ui/issues/40487 ))
[@​zanivan](https://togithub.com/zanivan )
- \[base-ui] Add tokens to plain CSS theme stylesheet
([#​40113](https://togithub.com/mui/material-ui/issues/40113 ))
[@​zanivan](https://togithub.com/zanivan )
- \[base-ui] Update the overview page
([#​40412](https://togithub.com/mui/material-ui/issues/40412 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- \[material-ui]\[Drawer] Resolve flickering when double-clicking on the
backdrop to close it
([#​40343](https://togithub.com/mui/material-ui/issues/40343 ))
[@​aacevski](https://togithub.com/aacevski )
- \[material-ui] Refactor form submission in FormDialog component
([#​40470](https://togithub.com/mui/material-ui/issues/40470 ))
[@​sai6855](https://togithub.com/sai6855 )
- \[material-ui] Replace recharts with MUI X charts on the Dashboard
template
([#​40107](https://togithub.com/mui/material-ui/issues/40107 ))
[@​alexfauquette](https://togithub.com/alexfauquette )
- \[material-ui] Revise the Alert demo page
([#​34892](https://togithub.com/mui/material-ui/issues/34892 ))
[@​samuelsycamore](https://togithub.com/samuelsycamore )
- \[material-ui] Revise the Accordion page
([#​40284](https://togithub.com/mui/material-ui/issues/40284 ))
[@​anle9650](https://togithub.com/anle9650 )
- \[material-ui] Add docs for complementary Card components
([#​40346](https://togithub.com/mui/material-ui/issues/40346 ))
[@​anle9650](https://togithub.com/anle9650 )
- \[material-ui] Add Material 3 components page
([#​40350](https://togithub.com/mui/material-ui/issues/40350 ))
[@​DiegoAndai](https://togithub.com/DiegoAndai )
- Fix strange italic style
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- Fix references to ESLint
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- Fix 301 redirections
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- Right-to-left revision and addition to Joy UI
([#​39158](https://togithub.com/mui/material-ui/issues/39158 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
##### Core
- \[examples] Use material-nextjs integration package
([#​40199](https://togithub.com/mui/material-ui/issues/40199 ))
[@​siriwatknp](https://togithub.com/siriwatknp )
- \[code-infra] Configure build dependencies in nx
([#​40482](https://togithub.com/mui/material-ui/issues/40482 ))
[@​michaldudak](https://togithub.com/michaldudak )
- \[code-infra] Don't require noreferrer on target link
([#​40447](https://togithub.com/mui/material-ui/issues/40447 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[code-infra] Use tsx instead of ts-node
([#​40428](https://togithub.com/mui/material-ui/issues/40428 ))
[@​michaldudak](https://togithub.com/michaldudak )
- \[code-infra] Add options to docs-api generation to support X code
structure
([#​40111](https://togithub.com/mui/material-ui/issues/40111 ))
[@​alexfauquette](https://togithub.com/alexfauquette )
- \[docs-infra] Add types for withDocsInfra
([#​40301](https://togithub.com/mui/material-ui/issues/40301 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs-infra] Fix anchor links in API pages
([#​40450](https://togithub.com/mui/material-ui/issues/40450 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs-infra] Fix API table full-width
([#​40476](https://togithub.com/mui/material-ui/issues/40476 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs-infra] Fix the copy button overlapping with the scrollbar
([#​40405](https://togithub.com/mui/material-ui/issues/40405 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- \[docs-infra] Remove explicit `mui-x` dependency resolving
([#​40257](https://togithub.com/mui/material-ui/issues/40257 ))
[@​LukasTy](https://togithub.com/LukasTy )
- \[docs-infra] Update the outlined Demo container dark mode color
([#​40488](https://togithub.com/mui/material-ui/issues/40488 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- \[core] Lock file maintenance
([#​34538](https://togithub.com/mui/material-ui/issues/34538 ))
[@​renovate](https://togithub.com/renovate )\[bot]
- \[core] Remove duplicate devDependencies
([#​40438](https://togithub.com/mui/material-ui/issues/40438 ))
[@​michaldudak](https://togithub.com/michaldudak )
- \[core] Remove issue emoji
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[core] Move prefetch at the core, will propagate to MUI X
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[core] Change package manager to pnpm
([#​36287](https://togithub.com/mui/material-ui/issues/36287 ))
[@​Janpot](https://togithub.com/Janpot )
- \[core]\[docs] Remove the "Understand MUI packages" page
([#​39835](https://togithub.com/mui/material-ui/issues/39835 ))
[@​savalaram-redkar](https://togithub.com/savalaram-redkar )
- \[website] Evolve the Developer Advocate role
([#​40337](https://togithub.com/mui/material-ui/issues/40337 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[website] Fix default social card
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[test] Restore the `t` command
([#​40430](https://togithub.com/mui/material-ui/issues/40430 ))
[@​michaldudak](https://togithub.com/michaldudak )
All contributors of this release in alphabetical order:
[@​aacevski](https://togithub.com/aacevski ),
[@​alexfauquette](https://togithub.com/alexfauquette ),
[@​anle9650](https://togithub.com/anle9650 ),
[@​brijeshb42](https://togithub.com/brijeshb42 ),
[@​danilo-leal](https://togithub.com/danilo-leal ),
[@​DiegoAndai](https://togithub.com/DiegoAndai ),
[@​iamsaumya](https://togithub.com/iamsaumya ),
[@​illume](https://togithub.com/illume ),
[@​Janpot](https://togithub.com/Janpot ),
[@​LukasTy](https://togithub.com/LukasTy ),
[@​Methuselah96](https://togithub.com/Methuselah96 ),
[@​michaldudak](https://togithub.com/michaldudak ),
[@​mj12albert](https://togithub.com/mj12albert ),
[@​nicegamer7](https://togithub.com/nicegamer7 ),
[@​oliviertassinari](https://togithub.com/oliviertassinari ),
[@​renovate](https://togithub.com/renovate )\[bot],
[@​RiceCrisp](https://togithub.com/RiceCrisp ),
[@​sai6855](https://togithub.com/sai6855 ),
[@​samuelsycamore](https://togithub.com/samuelsycamore ),
[@​savalaram-redkar](https://togithub.com/savalaram-redkar ),
[@​siriwatknp](https://togithub.com/siriwatknp ),
[@​zanivan](https://togithub.com/zanivan )
</details>
<details>
<summary>mui/material-ui (@​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
([#​40528](https://togithub.com/mui/material-ui/issues/40528 ))
[@​ZeeshanTamboli](https://togithub.com/ZeeshanTamboli )
</details>
<details>
<summary>mui/mui-x (@​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
([#​11659](https://togithub.com/mui/mui-x/issues/11659 ))
[@​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
'@​mui/x-date-pickers/AdapterDateFns';
import de from 'date-fns/locale/de';
```
```js
// with date-fns v3.x
import { AdapterDateFns } from
'@​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
([#​11659](https://togithub.com/mui/mui-x/issues/11659 ))
[@​LukasTy](https://togithub.com/LukasTy )
- \[pickers] Fix clearable behavior blocking focus return to
`OpenPickerButton`
([#​11643](https://togithub.com/mui/mui-x/issues/11643 ))
[@​noraleonte](https://togithub.com/noraleonte )
- \[l10n] Add missing Danish (da-DK) locale export
([#​11641](https://togithub.com/mui/mui-x/issues/11641 ))
[@​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
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs] Fix parsing of `x-date-pickers-pro` demo adapter imports
([#​11637](https://togithub.com/mui/mui-x/issues/11637 ))
[@​LukasTy](https://togithub.com/LukasTy )
- \[docs] Push up the MUI X brand
([#​11533](https://togithub.com/mui/mui-x/issues/11533 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs] Improve Server-side data grid docs
([#​11589](https://togithub.com/mui/mui-x/issues/11589 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs] Add demo to the charts overview page
([#​11586](https://togithub.com/mui/mui-x/issues/11586 ))
[@​danilo-leal](https://togithub.com/danilo-leal )
- \[docs] Fix 404 links in the docs
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs] Improve landing page
([#​11570](https://togithub.com/mui/mui-x/issues/11570 ))
[@​oliviertassinari](https://togithub.com/oliviertassinari )
- \[docs] Give a general revision to the docs
([#​11249](https://togithub.com/mui/mui-x/issues/11249 ))
[@​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
([#​697](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/697 ))
- Remove deprecated node packages
([#​699](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/699 ))
- Add Callbacks support
([#​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
([#​690](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/690 ))
- Add Callbacks support
([#​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
([#​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
([#​666](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/666 ))
- use SCHEMA_TYPE to distinguish request/response to support
readOnly/writeOnly properties
([#​665](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/665 ))
- add negative look behind to exclude colon delimited path segments
([#​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
([#​656](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/656 ))
- allow upgrade to react 18
([#​651](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/651 ))
- stop docusaurus support at v2.4.0
([#​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
([#​646](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/646 ))
- update deprecation message
([#​644](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/644 ))
- allow charset support for application/json
([#​643](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/643 ))
- Reuse `createAnyOneOf` while creating a property
([#​628](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/628 ))
- Use `sass-loader` module as dependency
([#​639](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/639 ))
- Remove react nextui dependency in v2.0.0
([#​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
([#​625](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/625 ))
- \[UI] Cleanup schema item and explorer panel caret alignment
([#​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
([#​582](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/582 ))
- Adds compression support to frontmatter api prop
([#​606](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/606 ))
- Unify tabs naming
([#​612](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/612 ))
- \[Enhancement] Introduce new theme component names: ApiExplorer,
CodeSnippets
([#​577](https://togithub.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/577 ))
- Use SchemaItem to render leaf discriminator properties/nodes
([#​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