Releases: sergiodxa/remix-utils
Releases · sergiodxa/remix-utils
v7.7.0
What's Changed
New Features
- Make TypedCookie take input type of schema by @nichtsam in #363
- Add enabled flag to useEventSource (default = true) by @rossipedia in #387
- Add optional
id
attribute toScriptDescriptor
by @mnemitz in #379
Documentation Changes
- Add warning about
preloadRouteAssets
by @jansedlon in #349 - Setup typedoc to generate API reference docs by @sergiodxa in #356
- Fix typo in README by @nickretallack in #377
Other Changes
- Bump eslint-plugin-testing-library from 6.2.0 to 6.2.1 by @dependabot in #337
- Bump @testing-library/react from 14.3.0 to 15.0.2 by @dependabot in #338
- Bump @vitest/coverage-v8 from 1.4.0 to 1.5.0 by @dependabot in #339
- Bump @types/react from 18.2.75 to 18.2.78 by @dependabot in #340
- Bump type-fest from 4.15.0 to 4.18.1 by @dependabot in #360
- Bump eslint-plugin-testing-library from 6.2.1 to 6.2.2 by @dependabot in #348
- Switch to Biome by @sergiodxa in #361
- Bump oven-sh/setup-bun from 1 to 2 by @dependabot in #368
New Contributors
- @jansedlon made their first contribution in #349
- @nickretallack made their first contribution in #377
- @mnemitz made their first contribution in #379
Full Changelog: v7.6.0...v7.7.0
v7.6.0
What's Changed
New Features
- Cast redirectBack return value to TypedResponse by @balzdur in #303
- Expose CSRF#getToken method by @sergiodxa in #335
Documentation Changes
- Add clarification on building for CJS with Vite by @bbonamin in #304
- Replace LoaderArgs and ActionArgs with LoaderFunctionArgs and ActionFunctionArgs by @kandros in #329
Other Changes
- Bump happy-dom from 12.10.3 to 13.1.4 by @dependabot in #298
- Bump eslint-plugin-unicorn from 50.0.1 to 51.0.1 by @dependabot in #305
- Bump @typescript-eslint/parser from 6.21.0 to 7.0.1 by @dependabot in #308
- Bump @typescript-eslint/eslint-plugin from 6.21.0 to 7.0.2 by @dependabot in #313
- Bump @vitest/coverage-v8 from 0.34.6 to 1.3.1 by @dependabot in #312
- Bump @arethetypeswrong/cli from 0.13.10 to 0.14.1 by @dependabot in #314
- Bump @arethetypeswrong/cli from 0.14.1 to 0.15.0 by @dependabot in #319
- Bump happy-dom from 13.10.1 to 14.3.6 by @dependabot in #326
- Bump eslint-plugin-unicorn from 51.0.1 to 52.0.0 by @dependabot in #334
New Contributors
- @bbonamin made their first contribution in #304
- @balzdur made their first contribution in #303
- @kandros made their first contribution in #329
Full Changelog: v7.5.0...v7.6.0
v7.5.0
What's Changed
New Features
- Change useHydrated to use useSyncExternalStore by @sergiodxa in #294
Other Changes
- Bump eslint-plugin-unicorn from 49.0.0 to 50.0.1 by @dependabot in #293
Full Changelog: v7.4.0...v7.5.0
v7.4.0
What's Changed
New Features
- Add useDebounceSubmit by @jacobparis in #291
Documentation Changes
Other Changes
New Contributors
Full Changelog: v7.3.0...v7.4.0
v7.3.0
What's Changed
New Features
- Allow passing input props to ExistingSearchParams by @jacobparis in #282
- Deduplicate connections to SSE with useEventSource regardless of the event by @na2hiro in #281
Bug Fixes
- Fix useDebounceSubmit recursively calling itself by @jacobparis in #283
New Contributors
Full Changelog: v7.2.0...v7.3.0
v7.2.0
What's Changed
New Features
- Add ExistingSearchParams util by @jacobparis in #279
Documentation Changes
- Fix broken honeypot-inputs import in README by @jacobparis in #275
- Improve Honeypot instructions in README by @dvnrsn in #276
Other Changes
- Bump msw from 1.3.2 to 2.0.0 by @dependabot in #264
- Bump actions/setup-node from 3 to 4 by @dependabot in #266
- Bump eslint-plugin-unicorn from 48.0.1 to 49.0.0 by @dependabot in #269
- Bump @arethetypeswrong/cli from 0.12.2 to 0.13.1 by @dependabot in #271
- Bump vite from 4.5.0 to 5.0.0 by @dependabot in #277
New Contributors
- @jacobparis made their first contribution in #275
- @dvnrsn made their first contribution in #276
Full Changelog: v7.1.0...v7.2.0
v7.1.0
What's Changed
New Features
- Add Sec-Fetch utils by @sergiodxa in #257
- Add timers utils by @sergiodxa in #259
Documentation Changes
- Convert remix-utils to regex on serverDependenciesToBundle by @buildtheui in #254
- Update import paths in README by @Erij-Maherzia-BEN-BRAHIM in #251
Bug Fixes
- Fix useGlobalNavigationState export in package.json by @sergiodxa in #258
- Add "id" attribute to Honeypot input by @hakimLyon in #256
Other Changes
- Validate package.json exports by @ruisaraiva19 in #246
New Contributors
- @buildtheui made their first contribution in #254
- @hakimLyon made their first contribution in #256
- @Erij-Maherzia-BEN-BRAHIM made their first contribution in #251
Full Changelog: v7.0.2...v7.1.0
v7.0.2
What's Changed
Documentation Changes
- Fix getClientLocales and useLocales docs by @sergiodxa in #245
Bug Fixes
- Import paths docs fix by @sergiodxa in #248
Full Changelog: v7.0.1...v7.0.2
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