This release only contains eslint-plugin-react-hooks. Notably, new violations and support for ESLint v9 were added.
eslint-plugin-react-hooks
New Violations: Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means _Button or _component are no longer valid. (@kassens) in #25162
For example, in
function _Component() {
useState()
^^^^^^^^ A React Hook "useState" is called in function "_Component" which is neither a Component nor a custom React Hook function.
}
New Violations: Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means _Button or _component are no longer valid. (@kassens) in #25162
Consider dispatch from useActionState stable. (@eps1lon in #29665)
Stabilize the unstable_flushSync option for navigations and fetchers (#11989)
Stabilize the unstable_viewTransition option for navigations and the corresponding unstable_useViewTransitionState hook (#11989)
Patch Changes
Fix bug when submitting to the current contextual route (parent route with an index child) when an ?index param already exists from a prior submission (#12003)
Fix useFormAction bug - when removing ?index param it would not keep other non-Remix index params (#12003)
Fix types for RouteObject within PatchRoutesOnNavigationFunction's patch method so it doesn't expect agnostic route objects passed to patch (#11967)
During the RC period, some users encountered the following infinite loop error:
Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
This case was already a non-ideal behavior in v4 but appears more explicitly as an error in v5. While there are several ways to resolve this, using useShallow often fixes the problem.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dev-dependencies group with 11 updates in the / directory:
4.17.21
5.0.0
2.1.2
2.1.3
18.3.0
18.3.1
4.6.2
5.0.0
23.15.2
23.16.0
0.451.0
0.452.0
15.0.2
15.0.3
6.26.2
6.27.0
5.4.8
5.4.9
4.5.5
5.0.0
1.4.0
1.4.1
Updates
@types/express
from 4.17.21 to 5.0.0Commits
Updates
vitest
from 2.1.2 to 2.1.3Release notes
Sourced from vitest's releases.
Commits
4c03a0d
chore: release v2.1.370baaaa
fix(vitest): usefast-glob
instead oftinyglobby
in Vitest (#6688)19d64e2
fix(vitest): always inline setup files (#6689)47dde76
fix(vitest): show rollup error details as test error (#6686)7155cee
refactor(coverage): move re-usable parts to base provider (#6665)7a0de0a
perf: reuse full name in reported tasks, update generator types (#6666)8bef5d2
fix(browser): not.toBeInTheDocument works with locators API (#6634)9ece395
fix(vitest): fix\<empty line>
logs when interleavingconsole.log/error
(#...000459a
fix(vitest): deprecate old task types and node-reliant types (#6632)946d8bb
fix(vitest): don't hang with maxConcurrency 0 (#6627)Updates
@types/react-dom
from 18.3.0 to 18.3.1Commits
Updates
eslint-plugin-react-hooks
from 4.6.2 to 5.0.0Release notes
Sourced from eslint-plugin-react-hooks's releases.
Changelog
Sourced from eslint-plugin-react-hooks's changelog.
... (truncated)
Commits
Maintainer changes
This version was pushed to npm by eps1lon, a new releaser for eslint-plugin-react-hooks since your current version.
Updates
i18next
from 23.15.2 to 23.16.0Release notes
Sourced from i18next's releases.
Changelog
Sourced from i18next's changelog.
Commits
1736965
23.16.0c374232
useIntl.getCanonicalLocales
function if available to format language code,...Updates
lucide-react
from 0.451.0 to 0.452.0Release notes
Sourced from lucide-react's releases.
Commits
Updates
react-i18next
from 15.0.2 to 15.0.3Changelog
Sourced from react-i18next's changelog.
Commits
9569f9f
15.0.32139fd0
try to fix unexpected token issueUpdates
react-router-dom
from 6.26.2 to 6.27.0Release notes
Sourced from react-router-dom's releases.
... (truncated)
Changelog
Sourced from react-router-dom's changelog.
Commits
8cfb4a7
chore: Update version for release (#12121)cde8139
chore: Update version for release (pre) (#12112)9a62e35
chore: Update version for release (pre) (#12101)0389eba
Fix issues with contextual routing and index params (#12003)73fcb9b
Stabilize viewTransiton and flushSync options (#11989)8c9e2b6
Fix types for PatchRoutesOnNavigationFunction (#11967)09c1978
Stabilize unstable_dataStrategy (#11974)25e4981
Stabilize unstable_patchRoutesOnNavigation (#11973)Updates
vite
from 5.4.8 to 5.4.9Changelog
Sourced from vite's changelog.
Commits
898d61f
release: v5.4.9508d9ab
fix: bump launch-editor-middleware to v2.9.1 (#18348)dc5434c
fix(deps): bump tsconfck (#18322)851b258
fix(hmr): don't try to rewrite imports for direct CSS soft invalidation (#18252)96084d6
fix(data-uri): only match ids starting withdata:
(#18241)eae00b5
fix(css): fix lightningcss dep url resolution with custom root (#18125)c23558a
chore: update all url references of vitejs.dev to vite.dev (#18276)1864eb1
chore: update license copyright (#18278)ae44163
docs: update homepage (#18274)262a879
fix(ssr): (backport #18150) fix source map remapping with multiple sources (#...Updates
zustand
from 4.5.5 to 5.0.0Release notes
Sourced from zustand's releases.
... (truncated)
Commits
5408e01
5.0.0803d1c8
chore: update dev dependencies (#2787)211f108
Update docs content (#2760)055dcdc
Update third-party-libraries.md (add zustand-hash-storage) (#2785)a14af57
docs: logo optimization and adding alt (#2784)3362f3b
docs: addzutron
to third-party-libs (#2781)55630cc
docs: fix typo in use-shallow.md (#2780)eac9dad
Fix "previous" and "next" navigation links (#2777)717f569
docs: remove State and improvereplace
typecasting (#2776)17bc89d
docs: capitalize first word in subtitle (#2770)Updates
vitepress
from 1.4.0 to 1.4.1Release notes
Sourced from vitepress's releases.
Changelog
Sourced from vitepress's changelog.
Commits
99d9f7d
release: v1.4.19086130
chore: bump deps821812d
ci: don't run cr on tag pushesc8645e0
ci: enable nightly releasesb96712c
fix: reapply #4260ef703cf
Revert "fix(theme): bind missing no icon prop in the menu link component (#42...d4712c1
fix(theme): bind missing no icon prop in the menu link component (#4260)39236c5
docs: redirect /guide to /guide/getting-started (#4276)0db71ae
docs: add info about the{open}
attr fordetails
container (#4067)8436472
feat(experimental): support passing function for rewrites (#4274)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show