[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
sergiodxa/remix-utils (remix-utils)
### [`v7.6.0`](https://togithub.com/sergiodxa/remix-utils/releases/tag/v7.6.0)
[Compare Source](https://togithub.com/sergiodxa/remix-utils/compare/v7.5.0...v7.6.0)
#### What's Changed
##### New Features
- Cast redirectBack return value to TypedResponse by [@balzdur](https://togithub.com/balzdur) in [https://github.com/sergiodxa/remix-utils/pull/303](https://togithub.com/sergiodxa/remix-utils/pull/303)
- Expose CSRF#getToken method by [@sergiodxa](https://togithub.com/sergiodxa) in [https://github.com/sergiodxa/remix-utils/pull/335](https://togithub.com/sergiodxa/remix-utils/pull/335)
##### Documentation Changes
- Add clarification on building for CJS with Vite by [@bbonamin](https://togithub.com/bbonamin) in [https://github.com/sergiodxa/remix-utils/pull/304](https://togithub.com/sergiodxa/remix-utils/pull/304)
- Replace LoaderArgs and ActionArgs with LoaderFunctionArgs and ActionFunctionArgs by [@kandros](https://togithub.com/kandros) in [https://github.com/sergiodxa/remix-utils/pull/329](https://togithub.com/sergiodxa/remix-utils/pull/329)
##### Other Changes
- Bump happy-dom from 12.10.3 to 13.1.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/298](https://togithub.com/sergiodxa/remix-utils/pull/298)
- Bump eslint-plugin-unicorn from 50.0.1 to 51.0.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/305](https://togithub.com/sergiodxa/remix-utils/pull/305)
- Bump [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) from 6.21.0 to 7.0.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/308](https://togithub.com/sergiodxa/remix-utils/pull/308)
- Bump [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) from 6.21.0 to 7.0.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/313](https://togithub.com/sergiodxa/remix-utils/pull/313)
- Bump [@vitest/coverage-v8](https://togithub.com/vitest/coverage-v8) from 0.34.6 to 1.3.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/312](https://togithub.com/sergiodxa/remix-utils/pull/312)
- Bump [@arethetypeswrong/cli](https://togithub.com/arethetypeswrong/cli) from 0.13.10 to 0.14.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/314](https://togithub.com/sergiodxa/remix-utils/pull/314)
- Bump [@arethetypeswrong/cli](https://togithub.com/arethetypeswrong/cli) from 0.14.1 to 0.15.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/319](https://togithub.com/sergiodxa/remix-utils/pull/319)
- Bump happy-dom from 13.10.1 to 14.3.6 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/326](https://togithub.com/sergiodxa/remix-utils/pull/326)
- Bump eslint-plugin-unicorn from 51.0.1 to 52.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/334](https://togithub.com/sergiodxa/remix-utils/pull/334)
#### New Contributors
- [@bbonamin](https://togithub.com/bbonamin) made their first contribution in [https://github.com/sergiodxa/remix-utils/pull/304](https://togithub.com/sergiodxa/remix-utils/pull/304)
- [@balzdur](https://togithub.com/balzdur) made their first contribution in [https://github.com/sergiodxa/remix-utils/pull/303](https://togithub.com/sergiodxa/remix-utils/pull/303)
- [@kandros](https://togithub.com/kandros) made their first contribution in [https://github.com/sergiodxa/remix-utils/pull/329](https://togithub.com/sergiodxa/remix-utils/pull/329)
**Full Changelog**: https://github.com/sergiodxa/remix-utils/compare/v7.5.0...v7.6.0
### [`v7.5.0`](https://togithub.com/sergiodxa/remix-utils/releases/tag/v7.5.0)
[Compare Source](https://togithub.com/sergiodxa/remix-utils/compare/v7.4.0...v7.5.0)
#### What's Changed
##### New Features
- Change useHydrated to use useSyncExternalStore by [@sergiodxa](https://togithub.com/sergiodxa) in [https://github.com/sergiodxa/remix-utils/pull/294](https://togithub.com/sergiodxa/remix-utils/pull/294)
##### Other Changes
- Bump eslint-plugin-unicorn from 49.0.0 to 50.0.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/293](https://togithub.com/sergiodxa/remix-utils/pull/293)
**Full Changelog**: https://github.com/sergiodxa/remix-utils/compare/v7.4.0...v7.5.0
### [`v7.4.0`](https://togithub.com/sergiodxa/remix-utils/releases/tag/v7.4.0)
[Compare Source](https://togithub.com/sergiodxa/remix-utils/compare/v7.3.0...v7.4.0)
#### What's Changed
##### New Features
- Add useDebounceSubmit by [@jacobparis](https://togithub.com/jacobparis) in [https://github.com/sergiodxa/remix-utils/pull/291](https://togithub.com/sergiodxa/remix-utils/pull/291)
##### Documentation Changes
- Fix typo in docs by [@G-Rath](https://togithub.com/G-Rath) in [https://github.com/sergiodxa/remix-utils/pull/284](https://togithub.com/sergiodxa/remix-utils/pull/284)
##### Other Changes
- Update CI to run for external contributors by [@G-Rath](https://togithub.com/G-Rath) in [https://github.com/sergiodxa/remix-utils/pull/285](https://togithub.com/sergiodxa/remix-utils/pull/285)
#### New Contributors
- [@G-Rath](https://togithub.com/G-Rath) made their first contribution in [https://github.com/sergiodxa/remix-utils/pull/285](https://togithub.com/sergiodxa/remix-utils/pull/285)
**Full Changelog**: https://github.com/sergiodxa/remix-utils/compare/v7.3.0...v7.4.0
### [`v7.3.0`](https://togithub.com/sergiodxa/remix-utils/releases/tag/v7.3.0)
[Compare Source](https://togithub.com/sergiodxa/remix-utils/compare/v7.2.0...v7.3.0)
#### What's Changed
##### New Features
- Allow passing input props to ExistingSearchParams by [@jacobparis](https://togithub.com/jacobparis) in [https://github.com/sergiodxa/remix-utils/pull/282](https://togithub.com/sergiodxa/remix-utils/pull/282)
- Deduplicate connections to SSE with useEventSource regardless of the event by [@na2hiro](https://togithub.com/na2hiro) in [https://github.com/sergiodxa/remix-utils/pull/281](https://togithub.com/sergiodxa/remix-utils/pull/281)
##### Bug Fixes
- Fix useDebounceSubmit recursively calling itself by [@jacobparis](https://togithub.com/jacobparis) in [https://github.com/sergiodxa/remix-utils/pull/283](https://togithub.com/sergiodxa/remix-utils/pull/283)
#### New Contributors
- [@na2hiro](https://togithub.com/na2hiro) made their first contribution in [https://github.com/sergiodxa/remix-utils/pull/281](https://togithub.com/sergiodxa/remix-utils/pull/281)
**Full Changelog**: https://github.com/sergiodxa/remix-utils/compare/v7.2.0...v7.3.0
### [`v7.2.0`](https://togithub.com/sergiodxa/remix-utils/releases/tag/v7.2.0)
[Compare Source](https://togithub.com/sergiodxa/remix-utils/compare/v7.1.0...v7.2.0)
#### What's Changed
##### New Features
- Add ExistingSearchParams util by [@jacobparis](https://togithub.com/jacobparis) in [https://github.com/sergiodxa/remix-utils/pull/279](https://togithub.com/sergiodxa/remix-utils/pull/279)
##### Documentation Changes
- Fix broken honeypot-inputs import in README by [@jacobparis](https://togithub.com/jacobparis) in [https://github.com/sergiodxa/remix-utils/pull/275](https://togithub.com/sergiodxa/remix-utils/pull/275)
- Improve Honeypot instructions in README by [@dvnrsn](https://togithub.com/dvnrsn) in [https://github.com/sergiodxa/remix-utils/pull/276](https://togithub.com/sergiodxa/remix-utils/pull/276)
##### Other Changes
- Bump msw from 1.3.2 to 2.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/264](https://togithub.com/sergiodxa/remix-utils/pull/264)
- Bump actions/setup-node from 3 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/266](https://togithub.com/sergiodxa/remix-utils/pull/266)
- Bump eslint-plugin-unicorn from 48.0.1 to 49.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/269](https://togithub.com/sergiodxa/remix-utils/pull/269)
- Bump [@arethetypeswrong/cli](https://togithub.com/arethetypeswrong/cli) from 0.12.2 to 0.13.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/271](https://togithub.com/sergiodxa/remix-utils/pull/271)
- Bump vite from 4.5.0 to 5.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/277](https://togithub.com/sergiodxa/remix-utils/pull/277)
#### New Contributors
- [@jacobparis](https://togithub.com/jacobparis) made their first contribution in [https://github.com/sergiodxa/remix-utils/pull/275](https://togithub.com/sergiodxa/remix-utils/pull/275)
- [@dvnrsn](https://togithub.com/dvnrsn) made their first contribution in [https://github.com/sergiodxa/remix-utils/pull/276](https://togithub.com/sergiodxa/remix-utils/pull/276)
**Full Changelog**: https://github.com/sergiodxa/remix-utils/compare/v7.1.0...v7.2.0
### [`v7.1.0`](https://togithub.com/sergiodxa/remix-utils/releases/tag/v7.1.0)
[Compare Source](https://togithub.com/sergiodxa/remix-utils/compare/v7.0.2...v7.1.0)
#### What's Changed
##### New Features
- Add Sec-Fetch utils by [@sergiodxa](https://togithub.com/sergiodxa) in [https://github.com/sergiodxa/remix-utils/pull/257](https://togithub.com/sergiodxa/remix-utils/pull/257)
- Add timers utils by [@sergiodxa](https://togithub.com/sergiodxa) in [https://github.com/sergiodxa/remix-utils/pull/259](https://togithub.com/sergiodxa/remix-utils/pull/259)
##### Documentation Changes
- Convert remix-utils to regex on serverDependenciesToBundle by [@buildtheui](https://togithub.com/buildtheui) in [https://github.com/sergiodxa/remix-utils/pull/254](https://togithub.com/sergiodxa/remix-utils/pull/254)
- Update import paths in README by [@Erij-Maherzia-BEN-BRAHIM](https://togithub.com/Erij-Maherzia-BEN-BRAHIM) in [https://github.com/sergiodxa/remix-utils/pull/251](https://togithub.com/sergiodxa/remix-utils/pull/251)
##### Bug Fixes
- Fix useGlobalNavigationState export in package.json by [@sergiodxa](https://togithub.com/sergiodxa) in [https://github.com/sergiodxa/remix-utils/pull/258](https://togithub.com/sergiodxa/remix-utils/pull/258)
- Add "id" attribute to Honeypot input by [@hakimLyon](https://togithub.com/hakimLyon) in [https://github.com/sergiodxa/remix-utils/pull/256](https://togithub.com/sergiodxa/remix-utils/pull/256)
##### Other Changes
- Validate package.json exports by [@ruisaraiva19](https://togithub.com/ruisaraiva19) in [https://github.com/sergiodxa/remix-utils/pull/246](https://togithub.com/sergiodxa/remix-utils/pull/246)
#### New Contributors
- [@buildtheui](https://togithub.com/buildtheui) made their first contribution in [https://github.com/sergiodxa/remix-utils/pull/254](https://togithub.com/sergiodxa/remix-utils/pull/254)
- [@hakimLyon](https://togithub.com/hakimLyon) made their first contribution in [https://github.com/sergiodxa/remix-utils/pull/256](https://togithub.com/sergiodxa/remix-utils/pull/256)
- [@Erij-Maherzia-BEN-BRAHIM](https://togithub.com/Erij-Maherzia-BEN-BRAHIM) made their first contribution in [https://github.com/sergiodxa/remix-utils/pull/251](https://togithub.com/sergiodxa/remix-utils/pull/251)
**Full Changelog**: https://github.com/sergiodxa/remix-utils/compare/v7.0.2...v7.1.0
### [`v7.0.2`](https://togithub.com/sergiodxa/remix-utils/releases/tag/v7.0.2)
[Compare Source](https://togithub.com/sergiodxa/remix-utils/compare/v7.0.1...v7.0.2)
#### What's Changed
##### Documentation Changes
- Fix getClientLocales and useLocales docs by [@sergiodxa](https://togithub.com/sergiodxa) in [https://github.com/sergiodxa/remix-utils/pull/245](https://togithub.com/sergiodxa/remix-utils/pull/245)
##### Bug Fixes
- Import paths docs fix by [@sergiodxa](https://togithub.com/sergiodxa) in [https://github.com/sergiodxa/remix-utils/pull/248](https://togithub.com/sergiodxa/remix-utils/pull/248)
**Full Changelog**: https://github.com/sergiodxa/remix-utils/compare/v7.0.1...v7.0.2
### [`v7.0.1`](https://togithub.com/sergiodxa/remix-utils/releases/tag/v7.0.1)
[Compare Source](https://togithub.com/sergiodxa/remix-utils/compare/136bc7023f5a676ecb8042f2a9736f2c0abbba8d...v7.0.1)
#### What's Changed
##### New Features
- Add support for Remix v2 by [@sergiodxa](https://togithub.com/sergiodxa) in [https://github.com/sergiodxa/remix-utils/pull/215](https://togithub.com/sergiodxa/remix-utils/pull/215)
- [Replace useTransition with useNavigation](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/606bb05b37dcc4417c9ed4d2c8ede7b1c5e9c260)
- [Support useRevalidator on useGlobalTransitionStates](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/c3fc583a9b6dd18ac59ddd27fd8f92aeb79acbc7)
- [Rename useGlobalTransitionStates to useGlobalNavigationState](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/6b9b0a3a462ac7157ebea47b6c0f96e7b2b5e6fb)
- [Add useDebounceFetcher util](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/9b4f94997162a9998b9318b567c77f15ed22c063)
- [Remove deprecated DynamicLinks](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/aaf148570766d563b3669948e1559c79ce93ebc2)
- [Remove deprecated StructuredData](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/a25b912129c0d7096b904967c5d106470713f41b)
- [Add support to re-use connections on useEventSource](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/3f161e1b5ec84866d44edd3443fe2cbb2461cba4)
- [Handle /\ with safeRedirect](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/b048d3b052f8472ba9a23ade205175a3a3add57e)
- [Implement new cookie-based CSRF token](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/f657cbe3179ad48b8d9b8ed1ff531f7f81850c10)
- [Create getFetcherType and useFetcherType utils](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/51438476cac2b1cacb9a86b6caa226f6248525c5)
- [Add respondTo and parseAcceptHeader utils](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/8e79b37a1a658932008b836395f0b440075f5747)
- [Add Honeypot feature](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/601a6694788fef1c9e3ababbb9ecda5d193f8ccf)
- [Remove support for React 16 and 17](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/e1d68c546fa186d062b1814fba3abb8b95277e3a)
- [Increase required Node version to v18](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/136bc7023f5a676ecb8042f2a9736f2c0abbba8d)
- [Publish as ESM-only](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/93e6a9bd451e0e0d66bc9887be8540c72add1066)
- [Update ExternalScripts](https://togithub.com/sergiodxa/remix-utils/pull/215/commits/2e7e934b7dd501ab1c5106c051bef32ac07f328b)
> **Note**
> See [Upgrade from Remix Utils v6](https://togithub.com/sergiodxa/remix-utils#upgrade-from-remix-utils-v6) in README on how to upgrade.
##### Documentation Changes
- Fix typo in event-stream comment by [@matthewlparker](https://togithub.com/matthewlparker) in [https://github.com/sergiodxa/remix-utils/pull/219](https://togithub.com/sergiodxa/remix-utils/pull/219)
- Mention using moduleResolution: Bundler by [@sergiodxa](https://togithub.com/sergiodxa) in [https://github.com/sergiodxa/remix-utils/pull/242](https://togithub.com/sergiodxa/remix-utils/pull/242)
##### Other Changes
- Bump actions/setup-node from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/234](https://togithub.com/sergiodxa/remix-utils/pull/234)
- Bump zod from 3.19.1 to 3.22.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/235](https://togithub.com/sergiodxa/remix-utils/pull/235)
- Bump actions/checkout from 1 to 4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/236](https://togithub.com/sergiodxa/remix-utils/pull/236)
- Bump [@types/crypto-js](https://togithub.com/types/crypto-js) from 4.1.1 to 4.1.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/239](https://togithub.com/sergiodxa/remix-utils/pull/239)
- Bump eslint-plugin-promise from 6.0.0 to 6.1.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/237](https://togithub.com/sergiodxa/remix-utils/pull/237)
- Bump eslint-plugin-jest-dom from 4.0.1 to 5.1.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/sergiodxa/remix-utils/pull/238](https://togithub.com/sergiodxa/remix-utils/pull/238)
- Upgrade dependencies by [@sergiodxa](https://togithub.com/sergiodxa) in [https://github.com/sergiodxa/remix-utils/pull/241](https://togithub.com/sergiodxa/remix-utils/pull/241)
- Use Bun to install dependencies by [@sergiodxa](https://togithub.com/sergiodxa) in [https://github.com/sergiodxa/remix-utils/pull/243](https://togithub.com/sergiodxa/remix-utils/pull/243)
#### New Contributors
- [@matthewlparker](https://togithub.com/matthewlparker) made their first contribution in [https://github.com/sergiodxa/remix-utils/pull/219](https://togithub.com/sergiodxa/remix-utils/pull/219)
- [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/sergiodxa/remix-utils/pull/234](https://togithub.com/sergiodxa/remix-utils/pull/234)
**Full Changelog**: https://github.com/sergiodxa/remix-utils/compare/v6.6.0...v7.0.1
### [`v7.0.0`](https://togithub.com/sergiodxa/remix-utils/compare/v6.6.0...136bc7023f5a676ecb8042f2a9736f2c0abbba8d)
[Compare Source](https://togithub.com/sergiodxa/remix-utils/compare/v6.6.0...136bc7023f5a676ecb8042f2a9736f2c0abbba8d)
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^6.6.0
->^7.6.0
Release Notes
sergiodxa/remix-utils (remix-utils)
### [`v7.6.0`](https://togithub.com/sergiodxa/remix-utils/releases/tag/v7.6.0) [Compare Source](https://togithub.com/sergiodxa/remix-utils/compare/v7.5.0...v7.6.0) #### What's Changed ##### New Features - Cast redirectBack return value to TypedResponseConfiguration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.