Throw an error if an action/loader function returns undefined as revalidations need to know whether the loader has previously been executed. undefined also causes issues during SSR stringification for hydration. You should always ensure your loader/action returns a value, and you may return null if you don't wish to return anything. (#9511)
Properly handle redirects to external domains (#9590, #9654)
Preserve the HTTP method on 307/308 redirects (#9597)
Revert the useResolvedPath fix for splat routes due to a large number of applications that were relying on the buggy behavior (see remix-run/react-router#11052). We plan to re-introduce this fix behind a future flag in the next minor version. (#11078)
Updated dependencies:
react-router@6.20.1
@remix-run/router@1.13.1
6.20.0
Minor Changes
Export the PathParam type from the public API (#10719)
Patch Changes
Updated dependencies:
react-router@6.20.0
@remix-run/router@1.13.0
6.19.0
Minor Changes
Add unstable_flushSync option to useNavigate/useSumbit/fetcher.load/fetcher.submit to opt-out of React.startTransition and into ReactDOM.flushSync for state updates (#11005)
Allow unstable_usePrompt to accept a BlockerFunction in addition to a boolean (#10991)
Patch Changes
Fix issue where a changing fetcher key in a useFetcher that remains mounted wasn't getting picked up (#11009)
Fix useFormAction which was incorrectly inheriting the ?index query param from child route action submissions (#11025)
Fix NavLinkactive logic when to location has a trailing slash (#10734)
Updated dependencies:
react-router@6.19.0
@remix-run/router@1.12.0
6.18.0
Minor Changes
Add support for manual fetcher key specification via useFetcher({ key: string }) so you can access the same fetcher instance from different components in your application without prop-drilling (RFC) (#10960)
Fetcher keys are now also exposed on the fetchers returned from useFetchers so that they can be looked up by key
Add navigate/fetcherKey params/props to useSumbit/Form to support kicking off a fetcher submission under the hood with an optionally user-specified key (#10960)
Invoking a fetcher in this way is ephemeral and stateless
If you need to access the state of one of these fetchers, you will need to leverage useFetcher({ key }) to look it up elsewhere
708bcb2#3813 Thanks @probablyup! - Revert FieldArray "shouldComponentUpdate" performance optimization. As it turns out, it's a common use case to have JSX controlled via non-Formik state/props inside of FieldArray, so it's not safe to cancel re-renders here.
187e47d#3815 Thanks @probablyup! - Revert Yup transform support for the time being, this may be re-introduced in a future release under an opt-in prop.
f075a0c#3798 Thanks @probablyup! - Fixed the use of generics for the ArrayHelpers type such that any[] is the default array type and for each individual method the array item type can be overridden if necessary.
formik@2.3.2
... (truncated)
Commits
0f960aa Merge pull request #3879 from jaredpalmer/changeset-release/main
850a5a0: Bump focus-trap to v7.5.4 for shadow DOM related bug fix
v10.2.2
Patch Changes
10dc372: Bump focus-trap to 7.5.3 for typings fix
v10.1.4
Patch Changes
c1d6324: Bump focus-trap to v7.4.3 for bug fix for (#962)
v10.1.3
Patch Changes
b137dfa: Bump focus-trap to v7.4.2 for shadow DOM-related fix
v10.1.2
Patch Changes
ada0709: Bump focus-trap to v7.4.1 and tabbable to v6.1.2 for nwsapi patch (#986).
v10.1.1
Patch Changes
65c508c: Bump focus-trap to v7.4.0 for new onPost/Pause and onPost/Unpause hooks via existing focusTrapOptions prop. (#948)
v10.1.0
Minor Changes
6c8f714: Bump focus-trap to v7.3.1 and tabbable to v6.1.1 for bug fixes and inert support.
v10.0.2
Patch Changes
0c98e74: Add missing trapStack option from focus-trap 7.1.0, add new isKeyForward and isKeyBackward options from focus-trap 7.2.0, bump focus-trap to 7.2.0.
18a093f: Add new getTabIndex() API which enables Focus-trap to determine tab indexes in the same way as Tabbable when necessary (see focus-trap#974).
v6.1.2
Patch Changes
b39b217: Pin jsdom downstream dependency nwsapi to v2.2.2 while awaiting fix (#982)
v6.1.1
Patch Changes
97373cc: Fix JSDom not supporting HTMLElement.inert and HTMLElement.contentEditable APIs, and not supporting CSS selector ':not([inert *])' resulting in no nodes found and "focus-trap must have at least one tabbable node..." error in focus-trap.
v6.1.0
Minor Changes
1756c90: Add support for new inert attribute (#292)
Patch Changes
b8c7550: Fix a corner case where a node's root node can be itself, indicating detachment from the DOM, leading to a crash in isHidden() -> isNodeAttached() -> getRootNode() if not handled properly ([focus-trap-react #905](focus-trap/focus-trap-react#905))
v6.0.1
Patch Changes
0aab1e3: Fix crash with tabbable scoped table header elements (#832)
18a093f: Add new getTabIndex() API which enables Focus-trap to determine tab indexes in the same way as Tabbable when necessary (see focus-trap#974).
6.1.2
Patch Changes
b39b217: Pin jsdom downstream dependency nwsapi to v2.2.2 while awaiting fix (#982)
6.1.1
Patch Changes
97373cc: Fix JSDom not supporting HTMLElement.inert and HTMLElement.contentEditable APIs, and not supporting CSS selector ':not([inert *])' resulting in no nodes found and "focus-trap must have at least one tabbable node..." error in focus-trap.
6.1.0
Minor Changes
1756c90: Add support for new inert attribute (#292)
Patch Changes
b8c7550: Fix a corner case where a node's root node can be itself, indicating detachment from the DOM, leading to a crash in isHidden() -> isNodeAttached() -> getRootNode() if not handled properly ([focus-trap-react #905](focus-trap/focus-trap-react#905))
6.0.1
Patch Changes
0aab1e3: Fix crash with tabbable scoped table header elements (#832)
You can trigger a rebase of this PR 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 dependencies group with 7 updates:
3.25.5
3.33.3
6.4.2
6.20.1
0.13.10
0.14.0
8.0.7
8.1.0
2.2.9
2.4.5
10.0.0
10.2.3
6.0.0
6.2.0
Updates
core-js
from 3.25.5 to 3.33.3Changelog
Sourced from core-js's changelog.
... (truncated)
Commits
a18759b
3.33.3d35fcf8
avoid sharing internal[[DedentMap]]
fromString.dedent
proposa between `...ddba98d
fix global object retrieval on Duktape2ce8c88
add a missed linkc052d2d
updateeslint-plugin-es-x
395cdab
fix a copy-paste bug in commentcca57be
use nativeparseInt
inesnext.number.from-string
for untangling7cbd6b5
3.33.2ffc6984
temporarily drop unspecified special cases fromNumber.fromString
before cl...f7b095e
fix handling of fractional number part and some special cases in `Number.from...Updates
react-router-dom
from 6.4.2 to 6.20.1Release notes
Sourced from react-router-dom's releases.
... (truncated)
Changelog
Sourced from react-router-dom's changelog.
... (truncated)
Commits
8b1ee67
chore: Update version for release (#11080)67e75d5
chore: Update version for release (pre) (#11079)9cfd99d
Revert useResolvedPath fix in splat routes (#11078)3cc38ea
chore: Update version for release (#11050)1e026b6
chore: Update version for release (pre) (#11047)5f530a7
Do not revalidate unmounted fetchers when v7_persistFetcher is enabled (#11044)a48c43c
feat: exportPathParam
type (#10719)3b1a736
Fix flaky testdcf0c2a
chore: Update version for release (#11035)7b1bd10
chore: Update version for release (pre) (#11026)Updates
regenerator-runtime
from 0.13.10 to 0.14.0Commits
30771b7
Bump regenerator-runtime version to 0.14.0.d3bac38
Runtime:yield*
should throw if not iterable (#636)b3bf1a9
Add Node.js v20 to test rotation.ffd1de9
Bump internal dependencies on transform package.bad2990
Bump regenerator-transform version to 0.15.2.c467f23
Bump semver from 7.3.8 to 7.5.2 (#681)59f1601
Bump@babel/runtime
from 7.20.1 to 7.22.5 (#677)b278ff3
Bump@babel/plugin-transform-parameters
from 7.20.3 to 7.22.5 (#676)b2bf94e
Bump@babel/parser
from 7.20.3 to 7.22.5 (#675)a0e61c6
Bump@babel/types
from 7.20.2 to 7.22.5 (#674)Updates
styled-normalize
from 8.0.7 to 8.1.0Release notes
Sourced from styled-normalize's releases.
Commits
b58d7ae
Add support for new styled-components14444ad
Merge pull request #30 from stassiek02/codespace-stassiek02-bookish-fiesta-qp...e18a623
Pending changes exported from your codespacef92fdf9
Initial commita3a5584
docs: add support button38f9d03
readme: add v5 supportUpdates
formik
from 2.2.9 to 2.4.5Release notes
Sourced from formik's releases.
... (truncated)
Commits
0f960aa
Merge pull request #3879 from jaredpalmer/changeset-release/main724e0da
Version Packagesd7db9cd
Add missing dependency@types/hoist-non-react-statics
, closes #3837 (#3860)5edbd85
chore: skip actions if source files have not changed (#3880)ce305f5
Merge pull request #3871 from SophanySC/fix/ISSUE-3846-setValue-docs405578c
Merge pull request #1 from SophanySC/mainfe4ed7e
Markformik
as side-effect free (#3501)aa1cf43
#2594: Remove the duplicate word from the blog post (#3703)bbcbc59
Merge pull request #3876 from Nessworthy/patch-12e597c8
Merge branch 'main' into patch-1Updates
focus-trap-react
from 10.0.0 to 10.2.3Release notes
Sourced from focus-trap-react's releases.
Changelog
Sourced from focus-trap-react's changelog.
... (truncated)
Commits
7282b6b
Version Packages (#1125)850a5a0
Bump focus-trap to 7.5.4 for shadow DOM fix (#1124)b0565f8
[DEPENDABOT]: Bump@types/jquery
from 3.5.20 to 3.5.22 (#1122)1769bb1
[DEPENDABOT]: Bump eslint from 8.50.0 to 8.51.0 (#1123)932b2d2
[DEPENDABOT]: Bump cypress from 13.2.0 to 13.3.0 (#1119)4d68ac8
[DEPENDABOT]: Bump@types/jquery
from 3.5.19 to 3.5.20 (#1120)bd4e40a
[DEPENDABOT]: Bump eslint-plugin-jest from 27.4.0 to 27.4.2 (#1121)d09c5e7
[DEPENDABOT]: Bump@babel/core
from 7.22.20 to 7.23.0 (#1116)3a61408
[DEPENDABOT]: Bump start-server-and-test from 2.0.0 to 2.0.1 (#1115)8bd9625
[DEPENDABOT]: Bump eslint from 8.49.0 to 8.50.0 (#1117)Updates
tabbable
from 6.0.0 to 6.2.0Release notes
Sourced from tabbable's releases.
Changelog
Sourced from tabbable's changelog.
Commits
98ad98e
Version Packages (#1040)18a093f
Add new getTabIndex() export (#1039)66b753b
[DEPENDABOT]: Bump cypress from 12.14.0 to 12.15.0 (#1033)bbb3e7c
[DEPENDABOT]: Bump webpack from 5.86.0 to 5.87.0 (#1034)f76b079
[DEPENDABOT]: Bump eslint-plugin-jest from 27.2.1 to 27.2.2 (#1035)57ef68e
[DEPENDABOT]: Bump eslint from 8.42.0 to 8.43.0 (#1036)33b8390
[DEPENDABOT]: Bump@rollup/plugin-commonjs
from 25.0.1 to 25.0.2 (#1037)7f8da81
[DEPENDABOT]: Bump@testing-library/dom
from 9.3.0 to 9.3.1 (#1038)78d462b
[DEPENDABOT]: Bump@babel/eslint-parser
from 7.21.8 to 7.22.5 (#1025)733335a
[DEPENDABOT]: Bump webpack from 5.85.1 to 5.86.0 (#1026)You can trigger a rebase of this PR 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