Releases: sergiodxa/remix-utils
Releases · sergiodxa/remix-utils
v7.0.1
What's Changed
New Features
- Add support for Remix v2 by @sergiodxa in #215
- Replace useTransition with useNavigation
- Support useRevalidator on useGlobalTransitionStates
- Rename useGlobalTransitionStates to useGlobalNavigationState
- Add useDebounceFetcher util
- Remove deprecated DynamicLinks
- Remove deprecated StructuredData
- Add support to re-use connections on useEventSource
- Handle /\ with safeRedirect
- Implement new cookie-based CSRF token
- Create getFetcherType and useFetcherType utils
- Add respondTo and parseAcceptHeader utils
- Add Honeypot feature
- Remove support for React 16 and 17
- Increase required Node version to v18
- Publish as ESM-only
- Update ExternalScripts
Note
See Upgrade from Remix Utils v6 in README on how to upgrade.
Documentation Changes
- Fix typo in event-stream comment by @matthewlparker in #219
- Mention using moduleResolution: Bundler by @sergiodxa in #242
Other Changes
- Bump actions/setup-node from 2 to 3 by @dependabot in #234
- Bump zod from 3.19.1 to 3.22.4 by @dependabot in #235
- Bump actions/checkout from 1 to 4 by @dependabot in #236
- Bump @types/crypto-js from 4.1.1 to 4.1.2 by @dependabot in #239
- Bump eslint-plugin-promise from 6.0.0 to 6.1.1 by @dependabot in #237
- Bump eslint-plugin-jest-dom from 4.0.1 to 5.1.0 by @dependabot in #238
- Upgrade dependencies by @sergiodxa in #241
- Use Bun to install dependencies by @sergiodxa in #243
New Contributors
- @matthewlparker made their first contribution in #219
- @dependabot made their first contribution in #234
Full Changelog: v6.6.0...v7.0.1
v6.6.0
What's Changed
New Features
- Pass abort function to eventStream callback and accept headers option by @tugrul in #210
- Improve eventStream function by @sergiodxa in #212
- Make this package
npm install
able from GitHub by @lpsinger in #198
New Contributors
Full Changelog: v6.5.0...v6.6.0
v6.5.0
What's Changed
New Features
- Expose matches to ExternalScripts, DynamicLinks and StructuredData by @sergiodxa in #211
Full Changelog: v6.4.1...v6.5.0
v6.4.1
What's Changed
New Features
- Export ServerOnly component by @sergiodxa in #209
Full Changelog: v6.4.0...v6.4.1
v6.4.0
What's Changed
New Features
- Create ServerOnly component by @sergiodxa in #207
Full Changelog: v6.3.0...v6.4.0
v6.3.0
What's Changed
New Features
- Add HTTP-X-Forwarded-For by @sergiodxa in #194
Full Changelog: v6.2.0...v6.3.0
v6.1.0
What's Changed
New Features
- Detect IP on Shopify Oxygen by @juanpprieto in #175
- Add timeout helper by @sergiodxa in #179
- Add component to treat anchors as client side navigation by @tom-sherman in #169
- Add useDelegatedAnchors and PrefetchPageAnchors by @sergiodxa in #183
Documentation Changes
- Fix renaming of
handleRequest
functions by @ananni13 in #153 - Typo Fix: z.optiona() → z.optional() by @uceumice in #156
- Add note suggesting to use
<Suspense>
instead of<ClientOnly>
by @tom-sherman in #159 - Fix link in ClientOnly doc by @tom-sherman in #160
- Fix typo by @albisserAdrian in #165
- Add example using handleRequest function for cors by @takagimeow in #167
- Fix missing redirectBack return by @arjunyel in #180
New Contributors
- @ananni13 made their first contribution in #153
- @uceumice made their first contribution in #156
- @tom-sherman made their first contribution in #159
- @albisserAdrian made their first contribution in #165
- @takagimeow made their first contribution in #167
- @juanpprieto made their first contribution in #175
Full Changelog: v6.0.0...v6.1.0
v6.0.0
What's Changed
Breaking Changes
- Upgrade Remix packages to v1.10.0 by @sergiodxa in #149
- Remove
useDataRefresh
by @sergiodxa in #149 - Remove
useRouteData
by @sergiodxa in #149 - Fix breaking change in
EntryContext
by @sergiodxa in #149 - Make
namedAction
useTypedResponse
by @sergiodxa in #149
New Features
- Add
xml
response helper by @piotrkulpinski in #150 - Add
txt
response helper by @piotrkulpinski in #152 - Add
safeRedirect
utility by @sergiodxa in #149 - Add
jsonHash
function by @sergiodxa in #149 - Stop using deprecated type from type-fest by @sergiodxa in #149
Documentation
- Update README examples to use Component, LoaderArgs and ActionArgs by @sergiodxa in #149
- Update
xml
andtxt
examples in README by @sergiodxa in #149
New Contributors
- @piotrkulpinski made their first contribution in #150
Full Changelog: v5.3.0...v6.0.0
v5.3.0
What's Changed
Deprecations
- Deprecate
useDataRefresh
by @sergiodxa in #147 - Deprecate
useRouteData
by @sergiodxa in #148
Full Changelog: v5.2.1...v5.3.0