mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
839c36d547
3318 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
andreas-unleash
|
839c36d547
|
Feat: toggle overview env last seen (#4445)
<!-- Thanks for creating a PR! To make it easier for reviewers and everyone else to understand what your changes relate to, please add some relevant content to the headings below. Feel free to ignore or delete sections that you don't think are relevant. Thank you! ❤️ --> Adds last seen by environment to FeatureOverview - Refactored FeatureEnvironmentSeen component for reusability <!-- Does it close an issue? Multiple? --> Closes # [1-1223](https://linear.app/unleash/issue/1-1223/toggle-overview-add-last-seen-by-environment) ![Screenshot 2023-08-08 at 14 12 29](https://github.com/Unleash/unleash/assets/104830839/cfb29492-863b-491c-8f6f-e1133246dcb3) --------- Signed-off-by: andreas-unleash <andreas@getunleash.ai> |
||
Thomas Heartman
|
e7ae1ff714
|
Feat(#4209): add conflict marker to segment changes (#4447)
In doing so, we extract the shared conflict marker component from the feature change and reuse it for both feature and segment changes. Here's what it looks like: ![image](https://github.com/Unleash/unleash/assets/17786332/4a67aa7a-1953-488f-8bcb-6aac006d53e9) Update: also straightened out the borders of the conflict warning: ![image](https://github.com/Unleash/unleash/assets/17786332/153799f3-cff2-4aa0-8fb0-8e31d1052b9f) |
||
Thomas Heartman
|
17798408a4
|
chore: update orval with latest change request schema updates (#4446) | ||
Mateusz Kwasniewski
|
19119bd1f0
|
feat: default strategy variant (#4443) | ||
andreas-unleash
|
f3b11b89bb
|
Feat: last seen by env UI (#4439)
Implements last seen by environment UI Closes # [1-1182](https://linear.app/unleash/issue/1-1182/ui-for-last-seen-per-environment) ![Screenshot 2023-08-08 at 10 30 56](https://github.com/Unleash/unleash/assets/104830839/b70bf63e-8e58-4678-9be4-0fe40c873d29) ![Screenshot 2023-08-08 at 10 31 24](https://github.com/Unleash/unleash/assets/104830839/4ec74030-9425-4254-ad02-b8101e131774) --------- Signed-off-by: andreas-unleash <andreas@getunleash.ai> |
||
Nuno Góis
|
b55d677d1e
|
feat: add prom metric for total custom root roles in use (#4438)
https://linear.app/unleash/issue/2-1311/add-a-new-prometheus-metric-with-custom-root-roles-in-use As a follow-up to https://github.com/Unleash/unleash/pull/4435, this PR adds a metric for total custom root roles in use by at least one entity: users, service accounts, groups. `custom_root_roles_in_use_total` Output from `http://localhost:4242/internal-backstage/prometheus`: ``` # HELP process_cpu_user_seconds_total Total user CPU time spent in seconds. # TYPE process_cpu_user_seconds_total counter process_cpu_user_seconds_total 0.060755 # HELP process_cpu_system_seconds_total Total system CPU time spent in seconds. # TYPE process_cpu_system_seconds_total counter process_cpu_system_seconds_total 0.01666 # HELP process_cpu_seconds_total Total user and system CPU time spent in seconds. # TYPE process_cpu_seconds_total counter process_cpu_seconds_total 0.077415 # HELP process_start_time_seconds Start time of the process since unix epoch in seconds. # TYPE process_start_time_seconds gauge process_start_time_seconds 1691420275 # HELP process_resident_memory_bytes Resident memory size in bytes. # TYPE process_resident_memory_bytes gauge process_resident_memory_bytes 199196672 # HELP nodejs_eventloop_lag_seconds Lag of event loop in seconds. # TYPE nodejs_eventloop_lag_seconds gauge nodejs_eventloop_lag_seconds 0 # HELP nodejs_eventloop_lag_min_seconds The minimum recorded event loop delay. # TYPE nodejs_eventloop_lag_min_seconds gauge nodejs_eventloop_lag_min_seconds 0.009076736 # HELP nodejs_eventloop_lag_max_seconds The maximum recorded event loop delay. # TYPE nodejs_eventloop_lag_max_seconds gauge nodejs_eventloop_lag_max_seconds 0.037683199 # HELP nodejs_eventloop_lag_mean_seconds The mean of the recorded event loop delays. # TYPE nodejs_eventloop_lag_mean_seconds gauge nodejs_eventloop_lag_mean_seconds 0.011063251638989169 # HELP nodejs_eventloop_lag_stddev_seconds The standard deviation of the recorded event loop delays. # TYPE nodejs_eventloop_lag_stddev_seconds gauge nodejs_eventloop_lag_stddev_seconds 0.0013618102764025837 # HELP nodejs_eventloop_lag_p50_seconds The 50th percentile of the recorded event loop delays. # TYPE nodejs_eventloop_lag_p50_seconds gauge nodejs_eventloop_lag_p50_seconds 0.011051007 # HELP nodejs_eventloop_lag_p90_seconds The 90th percentile of the recorded event loop delays. # TYPE nodejs_eventloop_lag_p90_seconds gauge nodejs_eventloop_lag_p90_seconds 0.011321343 # HELP nodejs_eventloop_lag_p99_seconds The 99th percentile of the recorded event loop delays. # TYPE nodejs_eventloop_lag_p99_seconds gauge nodejs_eventloop_lag_p99_seconds 0.013688831 # HELP nodejs_active_resources Number of active resources that are currently keeping the event loop alive, grouped by async resource type. # TYPE nodejs_active_resources gauge nodejs_active_resources{type="FSReqCallback"} 1 nodejs_active_resources{type="TTYWrap"} 3 nodejs_active_resources{type="TCPSocketWrap"} 5 nodejs_active_resources{type="TCPServerWrap"} 1 nodejs_active_resources{type="Timeout"} 1 nodejs_active_resources{type="Immediate"} 1 # HELP nodejs_active_resources_total Total number of active resources. # TYPE nodejs_active_resources_total gauge nodejs_active_resources_total 12 # HELP nodejs_active_handles Number of active libuv handles grouped by handle type. Every handle type is C++ class name. # TYPE nodejs_active_handles gauge nodejs_active_handles{type="WriteStream"} 2 nodejs_active_handles{type="ReadStream"} 1 nodejs_active_handles{type="Socket"} 5 nodejs_active_handles{type="Server"} 1 # HELP nodejs_active_handles_total Total number of active handles. # TYPE nodejs_active_handles_total gauge nodejs_active_handles_total 9 # HELP nodejs_active_requests Number of active libuv requests grouped by request type. Every request type is C++ class name. # TYPE nodejs_active_requests gauge nodejs_active_requests{type="FSReqCallback"} 1 # HELP nodejs_active_requests_total Total number of active requests. # TYPE nodejs_active_requests_total gauge nodejs_active_requests_total 1 # HELP nodejs_heap_size_total_bytes Process heap size from Node.js in bytes. # TYPE nodejs_heap_size_total_bytes gauge nodejs_heap_size_total_bytes 118587392 # HELP nodejs_heap_size_used_bytes Process heap size used from Node.js in bytes. # TYPE nodejs_heap_size_used_bytes gauge nodejs_heap_size_used_bytes 89642552 # HELP nodejs_external_memory_bytes Node.js external memory size in bytes. # TYPE nodejs_external_memory_bytes gauge nodejs_external_memory_bytes 1601594 # HELP nodejs_heap_space_size_total_bytes Process heap space size total from Node.js in bytes. # TYPE nodejs_heap_space_size_total_bytes gauge nodejs_heap_space_size_total_bytes{space="read_only"} 0 nodejs_heap_space_size_total_bytes{space="old"} 70139904 nodejs_heap_space_size_total_bytes{space="code"} 3588096 nodejs_heap_space_size_total_bytes{space="map"} 2899968 nodejs_heap_space_size_total_bytes{space="large_object"} 7258112 nodejs_heap_space_size_total_bytes{space="code_large_object"} 1146880 nodejs_heap_space_size_total_bytes{space="new_large_object"} 0 nodejs_heap_space_size_total_bytes{space="new"} 33554432 # HELP nodejs_heap_space_size_used_bytes Process heap space size used from Node.js in bytes. # TYPE nodejs_heap_space_size_used_bytes gauge nodejs_heap_space_size_used_bytes{space="read_only"} 0 nodejs_heap_space_size_used_bytes{space="old"} 66992120 nodejs_heap_space_size_used_bytes{space="code"} 2892640 nodejs_heap_space_size_used_bytes{space="map"} 2519280 nodejs_heap_space_size_used_bytes{space="large_object"} 7026824 nodejs_heap_space_size_used_bytes{space="code_large_object"} 983200 nodejs_heap_space_size_used_bytes{space="new_large_object"} 0 nodejs_heap_space_size_used_bytes{space="new"} 9236136 # HELP nodejs_heap_space_size_available_bytes Process heap space size available from Node.js in bytes. # TYPE nodejs_heap_space_size_available_bytes gauge nodejs_heap_space_size_available_bytes{space="read_only"} 0 nodejs_heap_space_size_available_bytes{space="old"} 1898360 nodejs_heap_space_size_available_bytes{space="code"} 7328 nodejs_heap_space_size_available_bytes{space="map"} 327888 nodejs_heap_space_size_available_bytes{space="large_object"} 0 nodejs_heap_space_size_available_bytes{space="code_large_object"} 0 nodejs_heap_space_size_available_bytes{space="new_large_object"} 16495616 nodejs_heap_space_size_available_bytes{space="new"} 7259480 # HELP nodejs_version_info Node.js version info. # TYPE nodejs_version_info gauge nodejs_version_info{version="v18.16.0",major="18",minor="16",patch="0"} 1 # HELP nodejs_gc_duration_seconds Garbage collection duration by kind, one of major, minor, incremental or weakcb. # TYPE nodejs_gc_duration_seconds histogram # HELP http_request_duration_milliseconds App response time # TYPE http_request_duration_milliseconds summary # HELP db_query_duration_seconds DB query duration time # TYPE db_query_duration_seconds summary db_query_duration_seconds{quantile="0.1",store="api-tokens",action="getAllActive"} 0.03091475 db_query_duration_seconds{quantile="0.5",store="api-tokens",action="getAllActive"} 0.03091475 db_query_duration_seconds{quantile="0.9",store="api-tokens",action="getAllActive"} 0.03091475 db_query_duration_seconds{quantile="0.95",store="api-tokens",action="getAllActive"} 0.03091475 db_query_duration_seconds{quantile="0.99",store="api-tokens",action="getAllActive"} 0.03091475 db_query_duration_seconds_sum{store="api-tokens",action="getAllActive"} 0.03091475 db_query_duration_seconds_count{store="api-tokens",action="getAllActive"} 1 # HELP feature_toggle_update_total Number of times a toggle has been updated. Environment label would be "n/a" when it is not available, e.g. when a feature toggle is created. # TYPE feature_toggle_update_total counter # HELP feature_toggle_usage_total Number of times a feature toggle has been used # TYPE feature_toggle_usage_total counter # HELP feature_toggles_total Number of feature toggles # TYPE feature_toggles_total gauge feature_toggles_total{version="5.3.0"} 31 # HELP users_total Number of users # TYPE users_total gauge users_total 1011 # HELP projects_total Number of projects # TYPE projects_total gauge projects_total 4 # HELP environments_total Number of environments # TYPE environments_total gauge environments_total 10 # HELP groups_total Number of groups # TYPE groups_total gauge groups_total 5 # HELP roles_total Number of roles # TYPE roles_total gauge roles_total 11 # HELP custom_root_roles_total Number of custom root roles # TYPE custom_root_roles_total gauge custom_root_roles_total 3 # HELP custom_root_roles_in_use_total Number of custom root roles in use # TYPE custom_root_roles_in_use_total gauge custom_root_roles_in_use_total 2 # HELP segments_total Number of segments # TYPE segments_total gauge segments_total 5 # HELP context_total Number of context # TYPE context_total gauge context_total 7 # HELP strategies_total Number of strategies # TYPE strategies_total gauge strategies_total 5 # HELP client_apps_total Number of registered client apps aggregated by range by last seen # TYPE client_apps_total gauge client_apps_total{range="allTime"} 0 client_apps_total{range="30d"} 0 client_apps_total{range="7d"} 0 # HELP saml_enabled Whether SAML is enabled # TYPE saml_enabled gauge saml_enabled 1 # HELP oidc_enabled Whether OIDC is enabled # TYPE oidc_enabled gauge oidc_enabled 0 # HELP client_sdk_versions Which sdk versions are being used # TYPE client_sdk_versions counter # HELP optimal_304_diffing Count the Optimal 304 diffing with status # TYPE optimal_304_diffing counter # HELP db_pool_min Minimum DB pool size # TYPE db_pool_min gauge db_pool_min 0 # HELP db_pool_max Maximum DB pool size # TYPE db_pool_max gauge db_pool_max 4 # HELP db_pool_free Current free connections in DB pool # TYPE db_pool_free gauge db_pool_free 0 # HELP db_pool_used Current connections in use in DB pool # TYPE db_pool_used gauge db_pool_used 4 # HELP db_pool_pending_creates how many asynchronous create calls are running in DB pool # TYPE db_pool_pending_creates gauge db_pool_pending_creates 0 # HELP db_pool_pending_acquires how many acquires are waiting for a resource to be released in DB pool # TYPE db_pool_pending_acquires gauge db_pool_pending_acquires 24 ``` |
||
Tymoteusz Czech
|
6ae1887aa5
|
Menu update - improvements and mobile version (#4423)
## About the changes ![image](https://github.com/Unleash/unleash/assets/2625371/b12718dd-3bfa-472d-9cc0-3b4480e77497) |
||
Nuno Góis
|
555b27a653
|
feat: add prom metric for total custom root roles (#4435)
https://linear.app/unleash/issue/2-1293/label-our-metrics-about-roles-to-include-also-if-the-role-is-a-root Adds a Prometheus metric for total custom root roles. Also adds it to the instance telemetry collection. Q: Should we use a `labeledRoles` kind of metric instead, similar to what we're doing for `clientApps` and their ranges? |
||
Thomas Heartman
|
18b5161ade
|
chore(#4209): minor front-end fixes (#4437)
This PR fixes links to segments from change requests and the bottom border radius for segment change boxes. Old border radius: ![image](https://github.com/Unleash/unleash/assets/17786332/e2485e8c-9dab-4fbc-8604-6abd48e13be1) New border radius: ![image](https://github.com/Unleash/unleash/assets/17786332/2e2f54b0-37c0-4cec-9902-14b43827beaf) |
||
Mateusz Kwasniewski
|
1fe32e0b96
|
fix: dot in context fields (#4434) | ||
Mateusz Kwasniewski
|
4914cd07e3
|
feat: strategy variants events (#4430) | ||
renovate[bot]
|
53eba89de2
|
chore(deps): update dependency eslint to v8.46.0 (#4425)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.45.0` -> `8.46.0`](https://renovatebot.com/diffs/npm/eslint/8.45.0/8.46.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.46.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.46.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.45.0/8.46.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.45.0/8.46.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.46.0`](https://togithub.com/eslint/eslint/releases/tag/v8.46.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.45.0...v8.46.0) ##### Features - [`8a93438`]( |
||
Thomas Heartman
|
452f3942a7
|
feat(#4209): add segment to drafts (#4408)
This PR sends segments to CR drafts when you use the `add to draft` button. It also adds the logic for which environment to pick. Segments sent to the API are added to drafts, but not displayed in the UI yet. CRs with only segment changes are also not listed in the table. This'll be covered in upcoming work. |
||
Jaanus Sellin
|
7a32eacecb
|
feat: segments in pending CR screen (#4420) | ||
Tymoteusz Czech
|
87e75d10b2
|
Update PRO plan menu (#4409)
<!-- 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 Update menu for Pro customers - show enterprise options with plan upgrade suggestion page. ![image](https://github.com/Unleash/unleash/assets/2625371/0b670b48-a2fc-4973-89ce-5d0b0c36b81a) |
||
renovate[bot]
|
32ce9147a6
|
chore(deps): update dependency @uiw/react-codemirror to v4.21.9 (#4415)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror) ([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.21.8` -> `4.21.9`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.21.8/4.21.9) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.21.8/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.21.8/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>uiwjs/react-codemirror (@​uiw/react-codemirror)</summary> ### [`v4.21.9`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.9) [Compare Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.8...v4.21.9) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.21.9/file/README.md) Documentation v4.21.9: https://raw.githack.com/uiwjs/react-codemirror/25f2810/index.html\ Comparing Changes: https://github.com/uiwjs/react-codemirror/compare/v4.21.8...v4.21.9 ```shell npm i @​uiw/react-codemirror@4.21.9 ``` - 🎨 style(theme): fix selection style issue. ([#​546](https://togithub.com/uiwjs/react-codemirror/issues/546)) [`85c8ee3`](https://togithub.com/uiwjs/react-codemirror/commit/85c8ee3) [@​jaywcjlove](https://togithub.com/jaywcjlove) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
Jaanus Sellin
|
d001b864f2
|
fix: environment id missing bug (#4397) | ||
renovate[bot]
|
8e3eaf158e
|
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.21.9 (#4414)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@uiw/codemirror-theme-duotone](https://uiwjs.github.io/react-codemirror/#/theme/data/duotone/light) ([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.21.8` -> `4.21.9`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.21.8/4.21.9) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2fcodemirror-theme-duotone/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2fcodemirror-theme-duotone/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2fcodemirror-theme-duotone/4.21.8/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2fcodemirror-theme-duotone/4.21.8/4.21.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>uiwjs/react-codemirror (@​uiw/codemirror-theme-duotone)</summary> ### [`v4.21.9`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.9) [Compare Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.8...v4.21.9) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.21.9/file/README.md) Documentation v4.21.9: https://raw.githack.com/uiwjs/react-codemirror/25f2810/index.html\ Comparing Changes: https://github.com/uiwjs/react-codemirror/compare/v4.21.8...v4.21.9 ```shell npm i @​uiw/react-codemirror@4.21.9 ``` - 🎨 style(theme): fix selection style issue. ([#​546](https://togithub.com/uiwjs/react-codemirror/issues/546)) [`85c8ee3`](https://togithub.com/uiwjs/react-codemirror/commit/85c8ee3) [@​jaywcjlove](https://togithub.com/jaywcjlove) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
Thomas Heartman
|
dbc7d088f0
|
chore: update orval types (#4402)
Includes a lot of openapi updates + some new segment change requests models etc |
||
Thomas Heartman
|
7cab19d9d2
|
#4209: add 'add to draft' button for segments. (#4400)
Note: it doesn't work yet! It just throws an error. This PR adds some logic to conditionally display "Add to draft" button for segments if the segment is part of a project that has change requests enabled and the flag is enabled. Also adds a flag (`segmentChangeRequests`) to the frontend. Holding off on actually adding the change to a draft until the API/orval has been updated with the most recent changes. |
||
Thomas Heartman
|
1b320fbdec
|
1-1192: track the feature type and the new lifetime (#4395)
This PR adds tracking of the feature type and the new lifetime to the existing plausible event. This allows us extra insights into what users change it to. |
||
Tymoteusz Czech
|
a01aa7e355
|
Update admin menu (#4389)
## About the changes - add divider - reorder items - add flag for project https://linear.app/unleash/project/[high][s][none]-improved-menu-aefaca264034 Closes https://linear.app/unleash/issue/1-1101/improved-menu-enterprise |
||
renovate[bot]
|
d4b4d6fec5
|
chore(deps): update dependency vite to v4.4.7 (#4383)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vite](https://togithub.com/vitejs/vite/tree/main/#readme) ([source](https://togithub.com/vitejs/vite)) | [`4.4.6` -> `4.4.7`](https://renovatebot.com/diffs/npm/vite/4.4.6/4.4.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.4.6/4.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.4.6/4.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitejs/vite (vite)</summary> ### [`v4.4.7`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small447-2023-07-24-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.4.6...v4.4.7) - fix: `optimizeDeps.include` not working with paths inside packages ([#​13922](https://togithub.com/vitejs/vite/issues/13922)) ([06e4f57](https://togithub.com/vitejs/vite/commit/06e4f57)), closes [#​13922](https://togithub.com/vitejs/vite/issues/13922) - fix: lightningcss fails with html-proxy ([#​13776](https://togithub.com/vitejs/vite/issues/13776)) ([6b56094](https://togithub.com/vitejs/vite/commit/6b56094)), closes [#​13776](https://togithub.com/vitejs/vite/issues/13776) - fix: prepend `config.base` to vite/env path ([#​13941](https://togithub.com/vitejs/vite/issues/13941)) ([8e6cee8](https://togithub.com/vitejs/vite/commit/8e6cee8)), closes [#​13941](https://togithub.com/vitejs/vite/issues/13941) - fix(html): support `import.meta.env` define replacement without quotes ([#​13425](https://togithub.com/vitejs/vite/issues/13425)) ([883089c](https://togithub.com/vitejs/vite/commit/883089c)), closes [#​13425](https://togithub.com/vitejs/vite/issues/13425) - fix(proxy): handle error when proxy itself errors ([#​13929](https://togithub.com/vitejs/vite/issues/13929)) ([4848e41](https://togithub.com/vitejs/vite/commit/4848e41)), closes [#​13929](https://togithub.com/vitejs/vite/issues/13929) - chore(eslint): allow type annotations ([#​13920](https://togithub.com/vitejs/vite/issues/13920)) ([d1264fd](https://togithub.com/vitejs/vite/commit/d1264fd)), closes [#​13920](https://togithub.com/vitejs/vite/issues/13920) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
andreas-unleash
|
579b08be27
|
fix: UI improvements on CR reorder strategy (#4375)
- make the blocks that hold the constraints full width - remove the margin-top and margin-bottom from the parent div + increase the gap: 20px on this parent div - remove the margin-bottom from the constraints containers - add the strategies in a div and add a margin-bottom: 8px ![Screenshot 2023-07-31 at 15 05 51](https://github.com/Unleash/unleash/assets/104830839/68c32324-99c3-4fab-99f0-bde1bf2b43e7) Signed-off-by: andreas-unleash <andreas@getunleash.ai> |
||
Mateusz Kwasniewski
|
b34f00c2cb
|
feat: strategy variants alert (#4371) | ||
renovate[bot]
|
3c8eecb413
|
chore(deps): update dependency node to v18.17.0 (#4326) | ||
renovate[bot]
|
3be26b04c7
|
chore(deps): update dependency @uiw/react-codemirror to v4.21.8 (#4369)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@uiw/react-codemirror](https://uiwjs.github.io/react-codemirror) ([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.21.7` -> `4.21.8`](https://renovatebot.com/diffs/npm/@uiw%2freact-codemirror/4.21.7/4.21.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2freact-codemirror/4.21.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2freact-codemirror/4.21.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2freact-codemirror/4.21.7/4.21.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2freact-codemirror/4.21.7/4.21.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>uiwjs/react-codemirror (@​uiw/react-codemirror)</summary> ### [`v4.21.8`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.8) [Compare Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.7...v4.21.8) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.21.8/file/README.md) Documentation v4.21.8: https://raw.githack.com/uiwjs/react-codemirror/265d393/index.html\ Comparing Changes: https://github.com/uiwjs/react-codemirror/compare/v4.21.7...v4.21.8 ```shell npm i @​uiw/react-codemirror@4.21.8 ``` - 🌍 website: add mark decoration example. [`528759f`](https://togithub.com/uiwjs/react-codemirror/commit/528759f) [@​jaywcjlove](https://togithub.com/jaywcjlove) - 🐞 fix(react-codemirror): unexpected effect called when extension is null ([#​542](https://togithub.com/uiwjs/react-codemirror/issues/542)) [`bed5e80`](https://togithub.com/uiwjs/react-codemirror/commit/bed5e80) [@​meowtec](https://togithub.com/meowtec) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
renovate[bot]
|
bbea8bbd72
|
chore(deps): update dependency @uiw/codemirror-theme-duotone to v4.21.8 (#4367)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@uiw/codemirror-theme-duotone](https://uiwjs.github.io/react-codemirror/#/theme/data/duotone/light) ([source](https://togithub.com/uiwjs/react-codemirror)) | [`4.21.7` -> `4.21.8`](https://renovatebot.com/diffs/npm/@uiw%2fcodemirror-theme-duotone/4.21.7/4.21.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@uiw%2fcodemirror-theme-duotone/4.21.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@uiw%2fcodemirror-theme-duotone/4.21.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@uiw%2fcodemirror-theme-duotone/4.21.7/4.21.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@uiw%2fcodemirror-theme-duotone/4.21.7/4.21.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>uiwjs/react-codemirror (@​uiw/codemirror-theme-duotone)</summary> ### [`v4.21.8`](https://togithub.com/uiwjs/react-codemirror/releases/tag/v4.21.8) [Compare Source](https://togithub.com/uiwjs/react-codemirror/compare/v4.21.7...v4.21.8) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@​uiw/react-codemirror@4.21.8/file/README.md) Documentation v4.21.8: https://raw.githack.com/uiwjs/react-codemirror/265d393/index.html\ Comparing Changes: https://github.com/uiwjs/react-codemirror/compare/v4.21.7...v4.21.8 ```shell npm i @​uiw/react-codemirror@4.21.8 ``` - 🌍 website: add mark decoration example. [`528759f`](https://togithub.com/uiwjs/react-codemirror/commit/528759f) [@​jaywcjlove](https://togithub.com/jaywcjlove) - 🐞 fix(react-codemirror): unexpected effect called when extension is null ([#​542](https://togithub.com/uiwjs/react-codemirror/issues/542)) [`bed5e80`](https://togithub.com/uiwjs/react-codemirror/commit/bed5e80) [@​meowtec](https://togithub.com/meowtec) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
renovate[bot]
|
07f2626819
|
chore(deps): update dependency sass to v1.64.1 (#4364)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sass](https://togithub.com/sass/dart-sass) | [`1.63.6` -> `1.64.1`](https://renovatebot.com/diffs/npm/sass/1.63.6/1.64.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/sass/1.64.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass/1.64.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass/1.63.6/1.64.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass/1.63.6/1.64.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sass/dart-sass (sass)</summary> ### [`v1.64.1`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1641) [Compare Source](https://togithub.com/sass/dart-sass/compare/1.64.0...1.64.1) ##### Embedded Sass - Fix a bug where a valid `SassCalculation.clamp()` with less than 3 arguments would throw an error. ### [`v1.64.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1640) [Compare Source](https://togithub.com/sass/dart-sass/compare/1.63.6...1.64.0) - Comments that appear before or between `@use` and `@forward` rules are now emitted in source order as much as possible, instead of always being emitted after the CSS of all module dependencies. - Fix a bug where an interpolation in a custom property name crashed if the file was loaded by a `@use` nested in an `@import`. ##### JavaScript API - Add a new `SassCalculation` type that represents the calculation objects added in Dart Sass 1.40.0. - Add `Value.assertCalculation()`, which returns the value if it's a `SassCalculation` and throws an error otherwise. - Produce a better error message when an environment that supports some Node.js APIs loads the browser entrypoint but attempts to access the filesystem. ##### Embedded Sass - Fix a bug where nested relative `@imports` failed to load when using the deprecated functions `render` or `renderSync` and those relative imports were loaded multiple times across different files. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
renovate[bot]
|
b0df7bd112
|
chore(deps): update dependency @testing-library/jest-dom to v5.17.0 (#4363)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@testing-library/jest-dom](https://togithub.com/testing-library/jest-dom)
| [`5.16.5` ->
`5.17.0`](https://renovatebot.com/diffs/npm/@testing-library%2fjest-dom/5.16.5/5.17.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2fjest-dom/5.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2fjest-dom/5.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2fjest-dom/5.16.5/5.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2fjest-dom/5.16.5/5.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>testing-library/jest-dom
(@​testing-library/jest-dom)</summary>
###
[`v5.17.0`](https://togithub.com/testing-library/jest-dom/releases/tag/v5.17.0)
[Compare
Source](https://togithub.com/testing-library/jest-dom/compare/v5.16.5...v5.17.0)
##### Features
- New `toHaveAccessibleErrorMessage` better implementing the spec,
deprecate `toHaveErrorMessage`
([#​503](https://togithub.com/testing-library/jest-dom/issues/503))
([d717c66](
|
||
renovate[bot]
|
0e8ae729a5
|
chore(deps): update react-router monorepo to v6.14.2 (#4360)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-router](https://togithub.com/remix-run/react-router) | [`6.14.1` -> `6.14.2`](https://renovatebot.com/diffs/npm/react-router/6.14.1/6.14.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.14.1/6.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.14.1/6.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [react-router-dom](https://togithub.com/remix-run/react-router) | [`6.14.1` -> `6.14.2`](https://renovatebot.com/diffs/npm/react-router-dom/6.14.1/6.14.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.14.1/6.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.14.1/6.14.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>remix-run/react-router (react-router)</summary> ### [`v6.14.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6142) [Compare Source](https://togithub.com/remix-run/react-router/compare/react-router@6.14.1...react-router@6.14.2) ##### Patch Changes - Updated dependencies: - `@remix-run/router@1.7.2` </details> <details> <summary>remix-run/react-router (react-router-dom)</summary> ### [`v6.14.2`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6142) [Compare Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.14.1...react-router-dom@6.14.2) ##### Patch Changes - Properly decode element id when emulating hash scrolling via `<ScrollRestoration>` ([#​10682](https://togithub.com/remix-run/react-router/pull/10682)) - Add missing `<Form state>` prop to populate `history.state` on submission navigations ([#​10630](https://togithub.com/remix-run/react-router/pull/10630)) - Support proper hydration of `Error` subclasses such as `ReferenceError`/`TypeError` ([#​10633](https://togithub.com/remix-run/react-router/pull/10633)) - Updated dependencies: - `@remix-run/router@1.7.2` - `react-router@6.14.2` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
renovate[bot]
|
7932c3efff
|
chore(deps): update dependency vite to v4.4.6 (#4358)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vite](https://togithub.com/vitejs/vite/tree/main/#readme) ([source](https://togithub.com/vitejs/vite)) | [`4.4.4` -> `4.4.6`](https://renovatebot.com/diffs/npm/vite/4.4.4/4.4.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.4.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.4.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.4.4/4.4.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.4.4/4.4.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitejs/vite (vite)</summary> ### [`v4.4.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small446-2023-07-21-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.4.5...v4.4.6) - fix: constrain inject helpers for iife ([#​13909](https://togithub.com/vitejs/vite/issues/13909)) ([c89f677](https://togithub.com/vitejs/vite/commit/c89f677)), closes [#​13909](https://togithub.com/vitejs/vite/issues/13909) - fix: display manualChunks warning only when a function is not used ([#​13797](https://togithub.com/vitejs/vite/issues/13797)) ([#​13798](https://togithub.com/vitejs/vite/issues/13798)) ([51c271f](https://togithub.com/vitejs/vite/commit/51c271f)), closes [#​13797](https://togithub.com/vitejs/vite/issues/13797) [#​13798](https://togithub.com/vitejs/vite/issues/13798) - fix: do not append `browserHash` on optimized deps during build ([#​13906](https://togithub.com/vitejs/vite/issues/13906)) ([0fb2340](https://togithub.com/vitejs/vite/commit/0fb2340)), closes [#​13906](https://togithub.com/vitejs/vite/issues/13906) - fix: use Bun's implementation of `ws` instead of the bundled one ([#​13901](https://togithub.com/vitejs/vite/issues/13901)) ([049404c](https://togithub.com/vitejs/vite/commit/049404c)), closes [#​13901](https://togithub.com/vitejs/vite/issues/13901) - feat(client): add guide to press Esc for closing the overlay ([#​13896](https://togithub.com/vitejs/vite/issues/13896)) ([da389cc](https://togithub.com/vitejs/vite/commit/da389cc)), closes [#​13896](https://togithub.com/vitejs/vite/issues/13896) ### [`v4.4.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small445-2023-07-20-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.4.4...v4.4.5) - fix: "EISDIR: illegal operation on a directory, realpath" error on RA… ([#​13655](https://togithub.com/vitejs/vite/issues/13655)) ([6bd5434](https://togithub.com/vitejs/vite/commit/6bd5434)), closes [#​13655](https://togithub.com/vitejs/vite/issues/13655) - fix: transform error message add file info ([#​13687](https://togithub.com/vitejs/vite/issues/13687)) ([6dca41c](https://togithub.com/vitejs/vite/commit/6dca41c)), closes [#​13687](https://togithub.com/vitejs/vite/issues/13687) - fix: warn when publicDir and outDir are nested ([#​13742](https://togithub.com/vitejs/vite/issues/13742)) ([4eb3154](https://togithub.com/vitejs/vite/commit/4eb3154)), closes [#​13742](https://togithub.com/vitejs/vite/issues/13742) - fix(build): remove warning about ineffective dynamic import from node_modules ([#​13884](https://togithub.com/vitejs/vite/issues/13884)) ([33002dd](https://togithub.com/vitejs/vite/commit/33002dd)), closes [#​13884](https://togithub.com/vitejs/vite/issues/13884) - fix(build): style insert order for UMD builds (fix [#​13668](https://togithub.com/vitejs/vite/issues/13668)) ([#​13669](https://togithub.com/vitejs/vite/issues/13669)) ([49a1b99](https://togithub.com/vitejs/vite/commit/49a1b99)), closes [#​13668](https://togithub.com/vitejs/vite/issues/13668) [#​13669](https://togithub.com/vitejs/vite/issues/13669) - fix(deps): update all non-major dependencies ([#​13872](https://togithub.com/vitejs/vite/issues/13872)) ([975a631](https://togithub.com/vitejs/vite/commit/975a631)), closes [#​13872](https://togithub.com/vitejs/vite/issues/13872) - fix(types): narrow down the return type of `defineConfig` ([#​13792](https://togithub.com/vitejs/vite/issues/13792)) ([c971f26](https://togithub.com/vitejs/vite/commit/c971f26)), closes [#​13792](https://togithub.com/vitejs/vite/issues/13792) - chore: fix typos ([#​13862](https://togithub.com/vitejs/vite/issues/13862)) ([f54e8da](https://togithub.com/vitejs/vite/commit/f54e8da)), closes [#​13862](https://togithub.com/vitejs/vite/issues/13862) - chore: replace `any` with `string` ([#​13850](https://togithub.com/vitejs/vite/issues/13850)) ([4606fd8](https://togithub.com/vitejs/vite/commit/4606fd8)), closes [#​13850](https://togithub.com/vitejs/vite/issues/13850) - chore(deps): update dependency prettier to v3 ([#​13759](https://togithub.com/vitejs/vite/issues/13759)) ([5a56941](https://togithub.com/vitejs/vite/commit/5a56941)), closes [#​13759](https://togithub.com/vitejs/vite/issues/13759) - docs: fix build.cssMinify link ([#​13840](https://togithub.com/vitejs/vite/issues/13840)) ([8a2a3e1](https://togithub.com/vitejs/vite/commit/8a2a3e1)), closes [#​13840](https://togithub.com/vitejs/vite/issues/13840) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
renovate[bot]
|
d352239ad1
|
chore(deps): update dependency whatwg-fetch to v3.6.17 (#4359)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [whatwg-fetch](https://togithub.com/github/fetch) | [`3.6.2` -> `3.6.17`](https://renovatebot.com/diffs/npm/whatwg-fetch/3.6.2/3.6.17) | [![age](https://developer.mend.io/api/mc/badges/age/npm/whatwg-fetch/3.6.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/whatwg-fetch/3.6.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/whatwg-fetch/3.6.2/3.6.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/whatwg-fetch/3.6.2/3.6.17?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>github/fetch (whatwg-fetch)</summary> ### [`v3.6.17`](https://togithub.com/github/fetch/compare/v3.6.16...v3.6.17) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.16...v3.6.17) ### [`v3.6.16`](https://togithub.com/github/fetch/compare/v3.6.15...v3.6.16) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.15...v3.6.16) ### [`v3.6.15`](https://togithub.com/github/fetch/compare/v3.6.14...v3.6.15) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.14...v3.6.15) ### [`v3.6.14`](https://togithub.com/github/fetch/compare/v3.6.13...v3.6.14) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.13...v3.6.14) ### [`v3.6.13`](https://togithub.com/github/fetch/compare/v3.6.12...v3.6.13) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.12...v3.6.13) ### [`v3.6.12`](https://togithub.com/github/fetch/compare/v3.6.11...v3.6.12) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.11...v3.6.12) ### [`v3.6.11`](https://togithub.com/github/fetch/compare/v3.6.10...v3.6.11) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.10...v3.6.11) ### [`v3.6.10`](https://togithub.com/github/fetch/compare/v3.6.9...v3.6.10) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.9...v3.6.10) ### [`v3.6.9`](https://togithub.com/github/fetch/compare/v3.6.8...v3.6.9) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.8...v3.6.9) ### [`v3.6.8`](https://togithub.com/github/fetch/compare/v3.6.7...v3.6.8) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.7...v3.6.8) ### [`v3.6.7`](https://togithub.com/github/fetch/compare/v3.6.6...v3.6.7) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.6...v3.6.7) ### [`v3.6.6`](https://togithub.com/github/fetch/compare/v3.6.5...v3.6.6) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.5...v3.6.6) ### [`v3.6.5`](https://togithub.com/github/fetch/compare/v3.6.4...v3.6.5) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.4...v3.6.5) ### [`v3.6.4`](https://togithub.com/github/fetch/compare/v3.6.3...v3.6.4) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.3...v3.6.4) ### [`v3.6.3`](https://togithub.com/github/fetch/compare/v3.6.2...v3.6.3) [Compare Source](https://togithub.com/github/fetch/compare/v3.6.2...v3.6.3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
renovate[bot]
|
4dd67737b5
|
chore(deps): update dependency react-joyride to v2.5.5 (#4357)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-joyride](https://react-joyride.com/) ([source](https://togithub.com/gilbarbara/react-joyride)) | [`2.5.4` -> `2.5.5`](https://renovatebot.com/diffs/npm/react-joyride/2.5.4/2.5.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-joyride/2.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-joyride/2.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-joyride/2.5.4/2.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-joyride/2.5.4/2.5.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>gilbarbara/react-joyride (react-joyride)</summary> ### [`v2.5.5`](https://togithub.com/gilbarbara/react-joyride/releases/tag/v2.5.5): 2.5.5 [Compare Source](https://togithub.com/gilbarbara/react-joyride/compare/v2.5.4...v2.5.5) - Add Frigade sponsorship to README: [`4dcda8d`]( |
||
renovate[bot]
|
51edcbb36e
|
chore(deps): update dependency cypress to v12.17.2 (#4356)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [cypress](https://togithub.com/cypress-io/cypress) | [`12.17.1` -> `12.17.2`](https://renovatebot.com/diffs/npm/cypress/12.17.1/12.17.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cypress/12.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cypress/12.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cypress/12.17.1/12.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cypress/12.17.1/12.17.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>cypress-io/cypress (cypress)</summary> ### [`v12.17.2`](https://togithub.com/cypress-io/cypress/releases/tag/v12.17.2) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v12.17.1...v12.17.2) Changelog: https://docs.cypress.io/guides/references/changelog#12-17-2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
renovate[bot]
|
6dc92bb752
|
chore(deps): update dependency vite-plugin-svgr to v3 (#4332) | ||
Tymoteusz Czech
|
fc54877473
|
fix: stable bulk updates (#4352)
## About the changes Prevent re-fetched state change from de-selecting rows. |
||
Mateusz Kwasniewski
|
733159b8ec
|
feat: strategy variants infop (#4348)
<!-- 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 Strategy variants info and link to docs. Added short info about what variants allow to do, how strategy variants relate to the feature variants, that modern SDK is required and link to docs. <img width="727" alt="Screenshot 2023-07-26 at 14 51 06" src="https://github.com/Unleash/unleash/assets/1394682/6d5f8a3e-ca3e-434b-a2e7-a23861875cc5"> ### 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? --> |
||
Tymoteusz Czech
|
d2a4763eaa
|
fix: frontend variant weights distribution (#4347)
## About the changes Unit-tested way of distributing weights between variants. |
||
Tymoteusz Czech
|
909831db6f
|
Feat: strategy variant slider (#4344)
## About the changes ![image](https://github.com/Unleash/unleash/assets/2625371/835cdb1f-c0ad-4966-81a3-9e35944ee1ae) |
||
Mateusz Kwasniewski
|
55aa15d96d
|
test: default strategy stickiness (#4341)
<!-- 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
Unit tests for the default strategy and fallback strategy
### 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? -->
|
||
andreas-unleash
|
988a3a57e8
|
feat: Change Request on Reorder UI (#4249)
<!-- 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! ❤️ --> Change request UI for reordering strategies with variants ## About the changes <!-- Describe the changes introduced. What are they and why are they being introduced? Feel free to also add screenshots or steps to view the changes if they're visual. --> <!-- Does it close an issue? Multiple? --> Closes # <!-- (For internal contributors): Does it relate to an issue on public roadmap? --> <!-- Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item: # --> ### Important files <!-- PRs can contain a lot of changes, but not all changes are equally important. Where should a reviewer start looking to get an overview of the changes? Are any files particularly important? --> ## Discussion points <!-- Anything about the PR you'd like to discuss before it gets merged? Got any questions or doubts? --> --------- Signed-off-by: andreas-unleash <andreas@getunleash.ai> |
||
Mateusz Kwasniewski
|
36bde1b24b
|
fix: default strategy stickiness (#4340) | ||
Tymoteusz Czech
|
ddbd619394
|
fix: Addons toggle (#4312)
## Issue - When you you enable/disable an addon, in the same time another one is disabled/enabled - Sometimes, when clicking enable/disable an addon the toggle switches quick back to the initial state ## About the changes - Stable table sorting - Switch toggle `key` Closes https://linear.app/unleash/issue/1-1154/addons-enabledisable-action-misbehaves-changing-other-items |
||
Tymoteusz Czech
|
c8231d3efd
|
fix: 404 in dark theme (#4337)
## About the changes Fix 404 error page UI in dark theme |
||
Tymoteusz Czech
|
041c06560c
|
fix: drop staleness column form features archive (#4338)
## About the changes Drop "status" (stale or active) column from features archive table. Closes #4315 |
||
renovate[bot]
|
ae6a6868ed
|
chore(deps): update react-router monorepo to v6.14.1 (#4320)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-router](https://togithub.com/remix-run/react-router) | [`6.13.0` -> `6.14.1`](https://renovatebot.com/diffs/npm/react-router/6.13.0/6.14.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/6.13.0/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/6.13.0/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [react-router-dom](https://togithub.com/remix-run/react-router) | [`6.13.0` -> `6.14.1`](https://renovatebot.com/diffs/npm/react-router-dom/6.13.0/6.14.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-router-dom/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router-dom/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router-dom/6.13.0/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router-dom/6.13.0/6.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>remix-run/react-router (react-router)</summary> ### [`v6.14.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6141) [Compare Source](https://togithub.com/remix-run/react-router/compare/react-router@6.14.0...react-router@6.14.1) ##### Patch Changes - Fix loop in `unstable_useBlocker` when used with an unstable blocker function ([#​10652](https://togithub.com/remix-run/react-router/pull/10652)) - Fix issues with reused blockers on subsequent navigations ([#​10656](https://togithub.com/remix-run/react-router/pull/10656)) - Updated dependencies: - `@remix-run/router@1.7.1` ### [`v6.14.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6140) [Compare Source](https://togithub.com/remix-run/react-router/compare/react-router@6.13.0...react-router@6.14.0) ##### Patch Changes - Strip `basename` from locations provided to `unstable_useBlocker` functions to match `useLocation` ([#​10573](https://togithub.com/remix-run/react-router/pull/10573)) - Fix `generatePath` when passed a numeric `0` value parameter ([#​10612](https://togithub.com/remix-run/react-router/pull/10612)) - Fix `unstable_useBlocker` key issues in `StrictMode` ([#​10573](https://togithub.com/remix-run/react-router/pull/10573)) - Fix `tsc --skipLibCheck:false` issues on React 17 ([#​10622](https://togithub.com/remix-run/react-router/pull/10622)) - Upgrade `typescript` to 5.1 ([#​10581](https://togithub.com/remix-run/react-router/pull/10581)) - Updated dependencies: - `@remix-run/router@1.7.0` </details> <details> <summary>remix-run/react-router (react-router-dom)</summary> ### [`v6.14.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6141) [Compare Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.14.0...react-router-dom@6.14.1) ##### Patch Changes - Updated dependencies: - `react-router@6.14.1` - `@remix-run/router@1.7.1` ### [`v6.14.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6140) [Compare Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.13.0...react-router-dom@6.14.0) ##### Minor Changes - Add support for `application/json` and `text/plain` encodings for `useSubmit`/`fetcher.submit`. To reflect these additional types, `useNavigation`/`useFetcher` now also contain `navigation.json`/`navigation.text` and `fetcher.json`/`fetcher.text` which include the json/text submission if applicable ([#​10413](https://togithub.com/remix-run/react-router/pull/10413)) ```jsx // The default behavior will still serialize as FormData function Component() { let navigation = useNavigation(); let submit = useSubmit(); submit({ key: "value" }, { method: "post" }); // navigation.formEncType => "application/x-www-form-urlencoded" // navigation.formData => FormData instance } async function action({ request }) { // request.headers.get("Content-Type") => "application/x-www-form-urlencoded" // await request.formData() => FormData instance } ``` ```js // Opt-into JSON encoding with `encType: "application/json"` function Component() { let navigation = useNavigation(); let submit = useSubmit(); submit({ key: "value" }, { method: "post", encType: "application/json" }); // navigation.formEncType => "application/json" // navigation.json => { key: "value" } } async function action({ request }) { // request.headers.get("Content-Type") => "application/json" // await request.json() => { key: "value" } } ``` ```js // Opt-into text encoding with `encType: "text/plain"` function Component() { let navigation = useNavigation(); let submit = useSubmit(); submit("Text submission", { method: "post", encType: "text/plain" }); // navigation.formEncType => "text/plain" // navigation.text => "Text submission" } async function action({ request }) { // request.headers.get("Content-Type") => "text/plain" // await request.text() => "Text submission" } ``` ##### Patch Changes - When submitting a form from a `submitter` element, prefer the built-in `new FormData(form, submitter)` instead of the previous manual approach in modern browsers (those that support the new `submitter` parameter) ([#​9865](https://togithub.com/remix-run/react-router/pull/9865), [#​10627](https://togithub.com/remix-run/react-router/pull/10627)) - For browsers that don't support it, we continue to just append the submit button's entry to the end, and we also add rudimentary support for `type="image"` buttons - If developers want full spec-compliant support for legacy browsers, they can use the `formdata-submitter-polyfill` - Call `window.history.pushState/replaceState` before updating React Router state (instead of after) so that `window.location` matches `useLocation` during synchronous React 17 rendering ([#​10448](https://togithub.com/remix-run/react-router/pull/10448)) - ⚠️ However, generally apps should not be relying on `window.location` and should always reference `useLocation` when possible, as `window.location` will not be in sync 100% of the time (due to `popstate` events, concurrent mode, etc.) - Fix `tsc --skipLibCheck:false` issues on React 17 ([#​10622](https://togithub.com/remix-run/react-router/pull/10622)) - Upgrade `typescript` to 5.1 ([#​10581](https://togithub.com/remix-run/react-router/pull/10581)) - Updated dependencies: - `react-router@6.14.0` - `@remix-run/router@1.7.0` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
renovate[bot]
|
920e0241ee
|
chore(deps): update dependency eslint to v8.45.0 (#4317)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.44.0` -> `8.45.0`](https://renovatebot.com/diffs/npm/eslint/8.44.0/8.45.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.44.0/8.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.44.0/8.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.45.0`](https://togithub.com/eslint/eslint/releases/tag/v8.45.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.44.0...v8.45.0) #### Features - [`cdd063c`]( |
||
renovate[bot]
|
08ca2203e8
|
chore(deps): update dependency tss-react to v4.8.8 (#4316)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [tss-react](https://www.tss-react.dev) ([source](https://togithub.com/garronej/tss-react)) | [`4.8.6` -> `4.8.8`](https://renovatebot.com/diffs/npm/tss-react/4.8.6/4.8.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/tss-react/4.8.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tss-react/4.8.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tss-react/4.8.6/4.8.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tss-react/4.8.6/4.8.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>garronej/tss-react (tss-react)</summary> ### [`v4.8.8`](https://togithub.com/garronej/tss-react/releases/tag/v4.8.8) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.8.7...v4.8.8) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: https://github.com/garronej/tss-react/compare/v4.8.7...v4.8.8 ### [`v4.8.7`](https://togithub.com/garronej/tss-react/releases/tag/v4.8.7) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.8.6...v4.8.7) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> #### What's Changed ##### Other Changes - Issue 182 by [@​garronej](https://togithub.com/garronej) in [https://github.com/garronej/tss-react/pull/183](https://togithub.com/garronej/tss-react/pull/183) **Full Changelog**: https://github.com/garronej/tss-react/compare/v4.8.6...v4.8.7 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
renovate[bot]
|
a229d6951e
|
chore(deps): update dependency vite to v4.4.4 (#4313)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vite](https://togithub.com/vitejs/vite/tree/main/#readme) ([source](https://togithub.com/vitejs/vite)) | [`4.3.9` -> `4.4.4`](https://renovatebot.com/diffs/npm/vite/4.3.9/4.4.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.3.9/4.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.3.9/4.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitejs/vite (vite)</summary> ### [`v4.4.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small444-2023-07-14-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.4.3...v4.4.4) - chore: warning about ssr cjs format removal ([#​13827](https://togithub.com/vitejs/vite/issues/13827)) ([4646e9f](https://togithub.com/vitejs/vite/commit/4646e9f)), closes [#​13827](https://togithub.com/vitejs/vite/issues/13827) - fix(esbuild): enable experimentalDecorators by default ([#​13805](https://togithub.com/vitejs/vite/issues/13805)) ([e8880f0](https://togithub.com/vitejs/vite/commit/e8880f0)), closes [#​13805](https://togithub.com/vitejs/vite/issues/13805) - fix(scan): skip tsconfigRaw fallback if tsconfig is set ([#​13823](https://togithub.com/vitejs/vite/issues/13823)) ([b6155a1](https://togithub.com/vitejs/vite/commit/b6155a1)), closes [#​13823](https://togithub.com/vitejs/vite/issues/13823) - feat(client): close `vite-error-overlay` with Escape key ([#​13795](https://togithub.com/vitejs/vite/issues/13795)) ([85bdcda](https://togithub.com/vitejs/vite/commit/85bdcda)), closes [#​13795](https://togithub.com/vitejs/vite/issues/13795) ### [`v4.4.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small443-2023-07-11-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.4.2...v4.4.3) - fix: avoid early error when server is closed in ssr ([#​13787](https://togithub.com/vitejs/vite/issues/13787)) ([89d01eb](https://togithub.com/vitejs/vite/commit/89d01eb)), closes [#​13787](https://togithub.com/vitejs/vite/issues/13787) - fix(deps): update all non-major dependencies ([#​13758](https://togithub.com/vitejs/vite/issues/13758)) ([8ead116](https://togithub.com/vitejs/vite/commit/8ead116)), closes [#​13758](https://togithub.com/vitejs/vite/issues/13758) - fix(server): remove restart guard on restart ([#​13789](https://togithub.com/vitejs/vite/issues/13789)) ([2a38ef7](https://togithub.com/vitejs/vite/commit/2a38ef7)), closes [#​13789](https://togithub.com/vitejs/vite/issues/13789) ### [`v4.4.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small442-2023-07-07-small) [Compare Source]( |