fix(deps): update all non-major dependencies #248
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.5.1
->5.5.2
2.3.2
->2.3.3
2.7.19
->2.8.3
2.1.13
->2.2.1
2.2.8
->2.5.0
6.5.0
->6.6.3
3.4.0
->3.4.1
18.3.11
->18.3.18
18.3.0
->18.3.5
3.7.1
->3.7.2
5.21.3
->5.23.0
4.23.0
->4.24.0
3.54.0
->3.54.1
1.7.7
->1.7.9
16.4.5
->16.4.7
9.12.0
->9.17.0
0.4.12
->0.4.16
4.2.0
->4.2.1
3.7.0
->3.9.2
1.4.1
->1.7.0
9.1.2
->9.2.0
6.26.2
->6.28.1
4.8.0
->4.8.1
6.1.13
->6.1.14
5.6.3
->5.7.2
5.4.8
->5.4.11
Release Notes
ant-design/pro-components (@ant-design/pro-components)
v2.8.3
Compare Source
v2.8.2
Compare Source
showCount
prop on a DOM element. (#8856). #8856 @leshalvv2.8.1
Compare Source
v2.8.0
Compare Source
fieldNames
prop on a DOM element (#8785). #8785 @echoylreduxjs/redux-toolkit (@reduxjs/toolkit)
v2.5.0
Compare Source
This feature release updates the React peer dependency to work with React 19, and fixes an additional skip token issue.
Changelog
React 19 Compat
React 19 was just released! We've updated our peer dep to accept React 19, and updated our runtime and type tests to check against both React 18 and 19.
Also see React-Redux v9.2.0 for the same peer dep update.
Other Fixes
We previously fixed an issue with the RTKQ core where
serializeQueryArgs
callbacks could be called withskipToken
, potentially leading to errors. We've fixed an additional location in theuseQuery
hooks where that could happen as well.What's Changed
serializeQueryArgs
+skipToken
case by @markerikson in https://github.com/reduxjs/redux-toolkit/pull/4762Full Changelog: reduxjs/redux-toolkit@v2.4.0...v2.5.0
v2.4.0
Compare Source
This feature release includes multiple tweaks and fixes to RTK Query functionality, additional exported TS types, and drops support for TS versions earlier than 5.0.
Changelog
RTK Query Improvements
Lazy query hooks can now be reset.
retry.fail
now acceptsmeta
as a second argument.Tag invalidation arrays now ignore nullish values.
We did some small internal refactoring around Maps and default values that shrank bundle size slightly.
Bugfixes
Passing
skipToken
to a query hook now bails out before running any other logic, which fixes cases whereserializeQueryArgs
previously threw an error because there were no args to process.The
autoBatchEnhancer
now readswindow.requestAnimationFrame
later, which it to work properly with Jest fake timers.We fixed cases where the hook result
isSuccess
flag would briefly flicker tofalse
when switched to a different cache entry that was uninitialized, and would briefly flicker totrue
when refetching a query that previously errored.The listener middleware previously had inconsistent logic checks for comparing against existing listener entries (effect + type, vs effect only). It now always checks both effect + type.
Additional TS Types
We now export
Typed[Query|Mutation]OnQueryStarted
helpers to let you defineonQueryStarted
callbacks outside ofcreateApi
if desired.We also now export a
CreateAsyncThunkFunction
type that can be used to type userland wrappers aroundcreateAsyncThunk
.TS Support Matrix Updates
We've historically tried to maintain TS backwards compatibility as long as possible, and made occasional updates to our TS support matrix in minor versions over time. As of RTK 2.3.0, we officially supported back through TS 4.7.
As of this release, we're tweaking that support policy to match the policy used by DefinitelyTyped:
Given that, we've dropped official support for TS versions earlier than 5.0. (RTK may work with those versions, but we no longer test against them and won't try to fix issues with those versions.)
We'll continue to update our TS support matrix over time based on that 2-year rolling window.
What's Changed
window.rAF
later to allow fake timers to work correctly by @ensconced in https://github.com/reduxjs/redux-toolkit/pull/4701OnQueryStarted
callbacks by @aryaemami59 in https://github.com/reduxjs/redux-toolkit/pull/4713createAsyncThunk
without thewithTypes
method by @EskiMojo14 in https://github.com/reduxjs/redux-toolkit/pull/4667isSuccess: true
when switching to an uninitialized cache entry by @markerikson in https://github.com/reduxjs/redux-toolkit/pull/4731isSuccess
consistent when refetching after an error by @markerikson in https://github.com/reduxjs/redux-toolkit/pull/4732Full Changelog: reduxjs/redux-toolkit@v2.3.0...v2.4.0
v2.3.0
Compare Source
This feature release adds a new RTK Query
upsertQueryEntries
util to batch-upsert cache entries more efficiently, passes through additional values for use inprepareHeaders
, and exports additional TS types around query options and selectors.Changelog
upsertQueryEntries
RTK Query already had an
upsertQueryData
thunk that would upsert a single cache entry. However, some users wanted to upsert many cache entries (potentially hundreds or thousands), and found thatupsertQueryData
had poor performance in those cases. This is becauseupsertQueryData
runs the full async request handling sequence, including dispatching bothpending
andfulfilled
actions, each of which run the main reducer and update store subscribers. That means there's2N
store / UI updates per item, so upserting hundreds of items becomes extremely perf-intensive.RTK Query now includes an
api.util.upsertQueryEntries
action that is meant to handle the batched upsert use case more efficiently. It's a single synchronous action that accepts an array of many{endpointName, arg, value}
entries to upsert. This results in a single store update, making this vastly better for performance vs many individualupsertQueryData
calls.We see this as having two main use cases. The first is prefilling the cache with data retrieved from storage on app startup (and it's worth noting that
upsertQueryEntries
can accept entries for many different endpoints as part of the same array).The second is to act as a "pseudo-normalization" tool. RTK Query is not a "normalized" cache. However, there are times when you may want to prefill other cache entries with the contents of another endpoint, such as taking the results of a
getPosts
list endpoint response and prefilling the individualgetPost(id)
endpoint cache entries, so that components that reference an individual item endpoint already have that data available.Currently, you can implement the "pseudo-normalization" approach by dispatching
upsertQueryEntries
in an endpoint lifecycle, like this:Down the road we may add a new option to query endpoints that would let you provide the mapping function and have it automatically update the corresponding entries.
For additional comparisons between
upsertQueryData
andupsertQueryEntries
, see theupsertQueryEntries
API reference.prepareHeaders
OptionsThe
prepareHeaders
callback forfetchBaseQuery
now receives two additional values in theapi
argument:arg
: the URL string orFetchArgs
object that was passed in tofetchBaseQuery
for this endpointextraOptions
: any extra options that were provided to the base queryAdditional TS Types
We've added a
TypedQueryStateSelector
type that can be used to pre-type selectors for use withselectFromResult
:We've also exported several additional TS types around base queries and tag definitions.
What's Changed
TypedQueryStateSelector
helper type by @aryaemami59 in https://github.com/reduxjs/redux-toolkit/pull/4656Full Changelog: reduxjs/redux-toolkit@v2.2.8...v2.3.0
testing-library/jest-dom (@testing-library/jest-dom)
v6.6.3
Compare Source
v6.6.2
Compare Source
Bug Fixes
v6.6.1
Compare Source
v6.6.0
Compare Source
vitejs/vite-plugin-react-swc (@vitejs/plugin-react-swc)
v3.7.2
Compare Source
Add Vite 6 to peerDependencies range #207
Thanks @RobinTail
Revert throw when refresh runtime is loaded twice #237
Revert the throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.
This revert was done in the Babel plugin last year and I didn't port it back.
ant-design/ant-design (antd)
v5.23.0
Compare Source
maxCount
to limit the maximum number of selections. #51759 @aojunhao123width
support responsive size. #51653 @zombieJlazy
mode. #51557 @OysterD3color
support full color palette. #51550 @OysterD3loadingIcon
to customize loading icon. #51758 @zhangchao-woocextra
font size and vertical align issue. #52217 @guoyunhesubMenuItemSelectedColor
to resolve submenu title color being overrided byitemSelectedColor
. #52182 @afc163classNames
andstyles
. #52208 @thinkasanyclassNames
andstyles
. #52126 @thinkasanyclassNames
andstyles
. #52110 @thinkasanyclassNames
andstyles
. #51872 @thinkasanyclassNames
andstyles
. #52120 @thinkasanyclassNames
andstyles
. #52185 @thinkasanyshowSearch
configdefaultValue
&placeholder
. #52125 @EmilyyyLiushowWeek
prop. #52072 @afc163onPopupScroll
props. #51858 @OysterD3bodyPaddingSM
,headerPaddingSM
,bodyPadding
,headerPadding
component token. #51762 @thinkasanypresets
supportkey
prop. #51794 @li-jia-nanoptionSelectedColor
token. #51769 @thinkasanydisabled
&selected
node display style. #52173 @EmilyyyLiutipFormatter
is undefined. #52184 @thinkasanytrigger
style not correct. 46a8eff @Wxh16144fixed:right
is not working inexpandable
. #52176 @afc163margin
&padding
for customize component. #52170 @li-jia-nanneedConfirm
sometime can switch panel without confirm. #52102 @Zyf665name
prop to improve a11y. #52076 @aojunhao123type=search
by default. #52083 @Kaikiat1126name
prop to improve a11y. #51725 @thinkasany@ctrl/tinycolor
with@ant-design/fast-color
. #52190 #52157 @aojunhao123span
tobutton
to improve a11y. #52180 @li-jia-nanref
type to React.Ref. #52205 @li-jia-nanmaxCount
属性以限制最大选择数量。#51759 @aojunhao123width
支持响应式尺寸。#51653 @zombieJlazy
模式。#51557 @OysterD3color
属性支持完整色板。#51550 @OysterD3loadingIcon
以自定义加载图标。#51758 @zhangchao-woocsubMenuItemSelectedColor
,避免itemSelectedColor
覆盖子菜单标题样式。#52182 @afc163extra
字体大小和垂直居中对齐问题。#52217 @guoyunheclassNames
和styles
。#52208 @thinkasanyclassNames
和styles
。#52185 @thinkasanyclassNames
和styles
。#52126 @thinkasanyclassNames
和styles
。#52110 @thinkasanyclassNames
和styles
。#51872 @thinkasanyclassNames
和styles
。#52120 @thinkasanydisabled
与selected
节点状态下的颜色展示。#52173 @EmilyyyLiushowSearch
配置defaultValue
和placeholder
。#52125 @EmilyyyLiushowWeek
属性用于显示周数列。#52072 @afc163onPopupScroll
属性。#51858 @OysterD3bodyPaddingSM
、headerPaddingSM
、bodyPadding
、headerPadding
组件 token。#51762 @thinkasanypresets
支持传入key
。#51794 @li-jia-nanoptionSelectedColor
token。#51769 @thinkasanytrigger
样式不正确的问题。46a8eff @Wxh16144expandable
中设置fixed:right
不生效的问题。#52176 @afc163sticky
模式下水平固定滚动条在 rtl 模式下不生效的问题。#52176 @afc163margin
、padding
样式。#52170 @li-jia-nanneedConfirm
模式偶尔在不确认仍然可以切换面板的问题。#52102 @Zyf665tipFormatter
未定义时导致崩溃的问题。#52184 @thinkasanyname
属性以提升无障碍体验。#52076 @aojunhao123type=search
类型。#52083 @Kaikiat1126name
属性以提升无障碍体验。#51725 @thinkasany@ant-design/fast-color
替换@ctrl/tinycolor
以降低打包体积。#52190 #52157 @aojunhao123span
元素更改为button
元素,提高了可访问性和交互性。#52180 @li-jia-nanref
类型为 React.Ref。#52205 @li-jia-nanv5.22.7
Compare Source
reactRender is not a function
under React 19. #52105 @afc163reactRender is not a function
错误的问题。#52105 @afc163component
属性类型抛错。#51715 @msyavuzv5.22.6
Compare Source
z-index
too low. #52065 @wanpan11loading
. #52059 @zombieJz-index
层级过低问题。#52065 @wanpan11loading
时,动画不够顺滑的问题。#52059 @zombieJv5.22.5
Compare Source
ref
check logic to resolve React 19ref
conflict (Note, this is not finally support React 19 but we will resolve step by step in future version). #51952 @zombieJchildren
. #50174 @coding-icesetFieldValue
not reset field validation. #51993 @zombieJshowSizeChanger.showSearch
not working. #51962 @zombieJConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.