This minor release adds a new syntax for pre-typing hooks.
.withTypes
Previously, the approach for "pre-typing" hooks with your app settings was a little varied. The result would look something like the below:
import type { TypedUseSelectorHook } from "react-redux"
import { useDispatch, useSelector, useStore } from "react-redux"
import type { AppDispatch, AppStore, RootState } from "./store"
This bugfix release updates the React Native peer dependency to be >= 0.69, to better reflect the need for React 18 compat and (hopefully) resolve issues with the npm package manager throwing peer dep errors on install.
This bugfix release drops the ReactDOM / React Native specific use of render batching, as React 18 now automatically batches, and updates the React types dependencies
Fix NavLinkisPending when a basename is used (#11195)
Remove leftover unstable_ prefix from Blocker/BlockerFunction types (#11187)
Updated dependencies:
react-router@6.21.3
6.21.2
Patch Changes
Leverage useId for internal fetcher keys when available (#11166)
Updated dependencies:
@remix-run/router@1.14.2
react-router@6.21.2
6.21.1
Patch Changes
Updated dependencies:
react-router@6.21.1
@remix-run/router@1.14.1
6.21.0
Minor Changes
Add a new future.v7_relativeSplatPath flag to implement a breaking bug fix to relative routing when inside a splat route. (#11087)
This fix was originally added in #10983 and was later reverted in #11078 because it was determined that a large number of existing applications were relying on the buggy behavior (see #11052)
The Bug
The buggy behavior is that without this flag, the default behavior when resolving relative paths is to ignore any splat (*) portion of the current route path.
The Background
This decision was originally made thinking that it would make the concept of nested different sections of your apps in <Routes> easier if relative routing would replace the current splat:
Any paths like /dashboard, /dashboard/team, /dashboard/projects will match the Dashboard route. The dashboard component itself can then render nested <Routes>:
This patch release adjusts the isPlainObject util to allow objects created via Object.create(null), and fixes a type issue which accidentally made the store state type non-nullable.
Bumps the all-dependencies group in /frontend with 17 updates:
1.6.2
1.6.7
2.0.0
2.1.0
1.17.3
1.18.0
0.5.43
0.5.44
9.0.0
9.1.0
6.20.1
6.21.3
5.24.0
5.26.0
5.0.0
5.0.1
7.23.4
7.23.9
7.23.5
7.23.9
7.23.3
7.23.9
7.23.5
7.23.9
8.55.0
8.56.0
2.29.0
2.29.1
4.0.1
5.0.0
3.0.2
3.0.3
5.89.0
5.90.0
Updates
axios
from 1.6.2 to 1.6.7Release notes
Sourced from axios's releases.
... (truncated)
Changelog
Sourced from axios's changelog.
... (truncated)
Commits
a52e4d9
chore(release): v1.6.7 (#6204)2b69888
chore: remove unnecessary check (#6186)1a08f90
fix: capture async stack only for rejections with native error objects; (#6203)104aa3f
chore(release): v1.6.6 (#6199)a1938ff
fix: fixed missed dispatchBeforeRedirect argument (#5778)123f354
fix: wrap errors to improve async stack trace (#5987)6d4c421
chore(release): v1.6.5 (#6177)0736f95
fix(ci): refactor notify action as a job of publish action; (#6176)f4f2b03
fix(dns): fixed lookup error handling; (#6175)1f73dcb
docs: update sponsor linksUpdates
cookie-session
from 2.0.0 to 2.1.0Release notes
Sourced from cookie-session's releases.
Changelog
Sourced from cookie-session's changelog.
Commits
ff7c2b2
2.1.051e7ce4
Fix loading sessions with special keys16c12cf
tests: add more tests around signed cookies0dc9683
deps: cookies@0.9.1f77fa09
build: Node.js@20.11db0ff50
build: supertest@6.3.4e060228
build: Node.js@21.67dc0c5d
docs: update link to cookie limits08e8d62
build: eslint-plugin-import@2.29.10c4d5af
build: eslint@8.56.0Updates
express-session
from 1.17.3 to 1.18.0Release notes
Sourced from express-session's releases.
Changelog
Sourced from express-session's changelog.
Commits
24d4972
1.18.0855f21a
docs: add connect-ottoman to the list of session stores991b7ee
Add debug log for pathname mismatch408229e
Add "partitioned" to cookie options50e1429
build: Node.js@20.116153b3f
build: Node.js@21.688e0f2e
build: actions/checkout@v4d9354ef
Fix handling errors from setting cookief9f2318
docs: remove session-rethinkdb to the list of session stores3ee08c4
Add "priority" to cookie optionsUpdates
moment-timezone
from 0.5.43 to 0.5.44Release notes
Sourced from moment-timezone's releases.
Changelog
Sourced from moment-timezone's changelog.
Commits
25f19b6
Build moment-timezone 0.5.444734cb2
Bump version to 0.5.44585fabf
Merge pull request #1085 from moment/data/2023dece926a
Add test for valueOf behaviour with invalid moments (#1075)341beac
Ensure valueOf returns NaN for invalid instances (#1082)69d856d
data: Add 2023ddc53e6c
build(deps): bump@babel/traverse
(#1076)dffed7a
perf: Reduce unnecessary getZone() calls in moment.tz()f7d8fc2
docs: Add note about maintenance mode in contributing guide4b1419b
docs: Update contributing guide to reflect the latest data processUpdates
react-redux
from 9.0.0 to 9.1.0Release notes
Sourced from react-redux's releases.
... (truncated)
Commits
4ebe6e9
version 9.1.094fc5a3
Merge pull request #2114 from aryaemami59/withTypes349e0f0
Remove unusedTypedUseSelectorHook
imports78cdeac
Merge branch 'master' of https://github.com/reduxjs/react-redux into withTypes4b63c88
Merge pull request #2115 from aryaemami59/update-dev-depsb3c8498
Update.eslintrc.json
to remove duplicate config7cf1383
Addhooks.withTypes()
to docs4360ff4
Add JSDocs foruseStore
8f84eb9
ExportUseDispatch
type and organize exports0e60aa7
Add JSDocs foruseDispatch
Updates
react-router-dom
from 6.20.1 to 6.21.3Release notes
Sourced from react-router-dom's releases.
... (truncated)
Changelog
Sourced from react-router-dom's changelog.
... (truncated)
Commits
44b391a
chore: Update version for release (#11203)b4bf927
chore: Update version for release (pre) (#11196)b541b8d
Fix NavLink isPending with a basename (#11195)552662a
Remove leftoverunstable_
prefix fromBlocker
/BlockerFunction
types (#1...04d653b
Copy remix script to remove prereleases from changelogs (#11183)4e528c0
chore: Update version for release (#11182)c2c0826
chore: Update version for release (pre) (#11178)e0d106b
Leverage useId for internal fetcher keys when available (#11166)08cda17
chore: Update version for release (#11132)e5d73cf
chore: Update version for release (pre) (#11131)Updates
react-tooltip
from 5.24.0 to 5.26.0Release notes
Sourced from react-tooltip's releases.
Commits
59bb0e5
chore(version): v5.26.079ac7dd
Updated docs/options2e6291c
Feature : defaultIsOpen is added6d2a880
Remove anchor when data-tooltip-id gets changed0b395a4
chore(version): v5.25.28eff46b
fix: usepointermove
event overmousemove
adcecb1
Merge pull request #1147 from johannkor/fix-tooltip-staying-openf86b7d7
refactor: use same name as lodash for debounce cancel4f2c48f
fix: debounce prevented tooltip from closing2e59f10
refactor: fix debounce function typingsUpdates
redux
from 5.0.0 to 5.0.1Release notes
Sourced from redux's releases.
Commits
50b0102
format isPlainObject.ts66f955f
5.0.1ffb02eb
Merge pull request #4644 from reduxjs/publish-cid641945
add me to FUNDING.yml7a2fa78
Add publish CI workflowfa2d899
Merge pull request #4638 from exuanbo/patch-19e8a320
add type test105e389
Merge pull request #4643 from ziayanj/patch-1f259beb
Update why-rtk-is-redux-today.md3cd25e1
Merge pull request #4642 from factiondavid/patch-1Maintainer changes
This version was pushed to npm by phryneas, a new releaser for redux since your current version.
Updates
@babel/cli
from 7.23.4 to 7.23.9Release notes
Sourced from
@babel/cli
's releases.... (truncated)
Changelog
Sourced from
@babel/cli
's changelog.... (truncated)
Commits
a0dd614
v7.23.9dde84f0
test: divide cli,node tests into 8 slices (#16196)1d33afd
test: merge cli,node fixture into the main runner (#16196)Updates
@babel/core
from 7.23.5 to 7.23.9Release notes
Sourced from
@babel/core
's releases.