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:
9.11.1
->9.17.0
1.0.0-rc.84
->1.0.14
2.2.7
->2.5.0
6.5.0
->6.6.3
16.0.1
->16.1.0
1.1.10
->1.1.14
22.7.0
->22.10.2
18.3.9
->18.3.18
18.3.0
->18.3.5
3.7.0
->3.7.2
2.1.1
->2.1.8
9.11.1
->9.17.0
3.6.3
->3.7.0
2.30.0
->2.31.0
6.10.0
->6.10.2
7.36.1
->7.37.2
0.6.4
->0.7.0
3.3.3
->3.4.2
9.1.2
->9.2.0
6.26.2
->6.28.1
6.26.2
->6.28.1
10.0.5
->10.0.6
16.9.0
->16.12.0
5.6.2
->5.7.2
8.7.0
->8.18.1
5.4.8
->5.4.11
0.20.5
->0.21.1
4.2.0
->4.3.0
5.0.1
->5.1.4
2.1.1
->2.1.8
7.1.0
->7.3.0
7.1.0
->7.3.0
7.1.0
->7.3.0
7.1.0
->7.3.0
7.1.0
->7.3.0
7.1.0
->7.3.0
7.1.0
->7.3.0
7.1.0
->7.3.0
7.1.0
->7.3.0
Release Notes
eslint/eslint (@eslint/js)
v9.17.0
Compare Source
Features
eed91d1
feat: add suggestions tono-unused-vars
(#18352) (Tanuj Kanti)Bug Fixes
67d683d
fix: fix crash whenmessage.fix
is nullish (#19168) (ntnyq)c618707
fix: ignore vars with non-identifier references in no-useless-assignment (#19200) (YeonJuan)Documentation
3c22d2a
docs: updateyoda
toYoda
inyoda.md
for consistency (#19230) (루밀LuMir)e0a2203
docs: add missing backticks tono-sequences
(#19233) (루밀LuMir)4cc4881
docs: Update README (GitHub Actions Bot)3db6fdf
docs: [no-await-in-loop] expand on benefits and inapplicability (#19211) (Kirk Waiblinger)bf2a4f6
docs: add missing backticks tofunc-style
(#19227) (루밀LuMir)ba098bd
docs: add missing header toprefer-spread
(#19224) (루밀LuMir)b607ae6
docs: update description ofno-param-reassign
(#19220) (루밀LuMir)1eb424d
docs: add missing backticks toprefer-destructuring
(#19223) (루밀LuMir)85998d1
docs: add missing backticks tono-unneeded-ternary
(#19222) (루밀LuMir)b75b32c
docs: add missing backticks tono-new-func
(#19219) (루밀LuMir)a7700bc
docs: add missing backticks toid-length
(#19217) (루밀LuMir)e2bb429
docs: add missing backticks tocomplexity.md
(#19214) (루밀LuMir)045d716
docs: add missing)
toid-denylist
(#19213) (루밀LuMir)7fe4114
docs: Update README (GitHub Actions Bot)c743ba6
docs: add CSS language tono-restricted-syntax
(#19208) (Milos Djermanovic)1416d70
docs: add missing backticks toeqeqeq
(#19207) (루밀LuMir)b950c1b
docs: add missing backticks toprefer-object-spread
(#19206) (루밀LuMir)8a941cb
docs: update docs anddescription
ofrequire-unicode-regexp
(#19205) (루밀LuMir)cbab228
docs: Update README (GitHub Actions Bot)f2257ce
docs: update comments anddescription
ofno-script-url
(#19203) (루밀LuMir)365f0f4
docs: add missing backtick todefault-case-last
(#19202) (루밀LuMir)e6b84f5
docs: add missing punctuation in document (#19161) (루밀LuMir)c88708e
docs: replace quote with backtick indescription
offor-direction
(#19199) (루밀LuMir)a76f233
docs: use higher contrast color tokens for code comments (#19187) (Josh Goldberg ✨)db19502
docs: Update README (GitHub Actions Bot)Chores
cc243c9
chore: upgrade to@eslint/js@9.17.0
(#19242) (Francesco Trotta)84c5787
chore: package.json update for @eslint/js release (Jenkins)4c4f53b
chore: add missing backticks toflags.js
(#19226) (루밀LuMir)4b3132c
chore: update dependency eslint-plugin-expect-type to ^0.6.0 (#19221) (renovate[bot])9bf2204
chore: add type definitions for theeslint-config-eslint
package (#19050) (Arya Emami)ee8c220
chore: fix incorrectname
property inintegration-tutorial-code
(#19218) (루밀LuMir)cca801d
chore: Upgrade cross-spawn to 7.0.6 (#19185) (folortin)v9.16.0
Compare Source
v9.15.0
Compare Source
v9.14.0
Compare Source
v9.13.0
Compare Source
Features
381c32b
feat: Allow languages to providedefaultLanguageOptions
(#19003) (Milos Djermanovic)bf723bd
feat: Improve eslintrc warning message (#19023) (Milos Djermanovic)1def4cd
feat: drop support for jiti v1.21 (#18996) (Francesco Trotta)f879be2
feat: exportESLint.defaultConfig
(#18983) (Nitin Kumar)Bug Fixes
78836d4
fix: update thecomplexity
rule type (#19027) (Nitin Kumar)064c8b6
fix: update rule types (#18925) (Nitin Kumar)Documentation
abdbfa8
docs: markLintMessage#nodeType
as deprecated (#19019) (Nitin Kumar)19e68d3
docs: update deprecated rules type definitions (#19018) (Nitin Kumar)7dd402d
docs: Update examples of passing multiple values to a CLI option (#19006) (Milos Djermanovic)5dcbc51
docs: Add example with side-effect imports to no-restricted-imports (#18997) (Milos Djermanovic)1ee87ca
docs: Update README (GitHub Actions Bot)2c3dbdc
docs: Use prerendered sponsors for README (#18988) (Milos Djermanovic)Chores
68d2d9d
chore: upgrade to@eslint/js@9.13.0
and@eslint/core@^0.7.0
(#19034) (Francesco Trotta)2211f0a
chore: package.json update for @eslint/js release (Jenkins)c7abaef
perf: using Node.js compile cache (#19012) (唯然)1d7c077
chore: add pkg.type "commonjs" (#19011) (唯然)468e3bd
test: fixESLint
tests (#19021) (Francesco Trotta)ed4635f
ci: upgrade knip@5.32.0 (#18992) (Milos Djermanovic)efad767
chore: remove unused ignore dependency (#18993) (Amaresh S M)v9.12.0
Compare Source
Features
5a6a053
feat: update tojiti
v2 (#18954) (Arya Emami)17a07fb
feat: Hooks for test cases (RuleTester) (#18771) (Anna Bocharova)2ff0e51
feat: Implement alternate config lookup (#18742) (Nicholas C. Zakas)2d17453
feat: Implement modified cyclomatic complexity (#18896) (Dmitry Pashkevich)Bug Fixes
ea380ca
fix: Upgrade retry to avoid EMFILE errors (#18986) (Nicholas C. Zakas)fdd6319
fix: Issues with type definitions (#18940) (Arya Emami)Documentation
ecbd522
docs: Mention code explorer (#18978) (Nicholas C. Zakas)7ea4ecc
docs: Clarifying the Use of Meta Objects (#18697) (Amaresh S M)d3e4b2e
docs: Clarify how to exclude.js
files (#18976) (Milos Djermanovic)57232ff
docs: Mention plugin-kit in language docs (#18973) (Nicholas C. Zakas)b80ed00
docs: Update README (GitHub Actions Bot)cb69ab3
docs: Update README (GitHub Actions Bot)7fb0d95
docs: Update README (GitHub Actions Bot)493348a
docs: Update README (GitHub Actions Bot)87a582c
docs: fix typo inid-match
rule (#18944) (Jay)Chores
555aafd
chore: upgrade to@eslint/js@9.12.0
(#18987) (Francesco Trotta)873ae60
chore: package.json update for @eslint/js release (Jenkins)d0a5414
refactor: replace strip-ansi with native module (#18982) (Cristopher)b827029
chore: Enable JSON5 linting (#18979) (Milos Djermanovic)8f55ca2
chore: Upgrade espree, eslint-visitor-keys, eslint-scope (#18962) (Nicholas C. Zakas)c1a2725
chore: update dependency mocha to ^10.7.3 (#18945) (Milos Djermanovic)reduxjs/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 caseConfiguration
📅 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 is behind base branch, 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.