Skip to content

v1.6.8

Compare
Choose a tag to compare
@chaance chaance released this 12 Aug 15:38
· 3188 commits to main since this release
1a194e5

What's Changed

💅 Enhancements

  • You can now use .mjs or .cjs file extensions for remix.config (#3675)
  • We added support for importing .sql files as text content (#3190)
  • We made some optimizations in our compiler to make MDX builds deterministic (and a little faster!) (#3966)
  • Your load context is now type safe! The AppLoadContext type is now an an interface mapping string to unknown (#1876). This allows you to extend it via module augmentation:
    declare module "@remix-run/server-runtime" {
      interface AppLoadContext {
        // add custom properties here!
      }
    }
  • We added a subscribe method to the transition manager, which allows subscribing and unsubscribing for React 18 strict mode compliance (#3964)

🐛 Bug fixes

  • Previously, if an action was omitted from <Form> or useFormAction, the action value would default to ".". This is incorrect, as "." should resolve based on the current path, but an empty action resolves relative to the current URL (including the search and hash values). We've fixed this to differentiate between the two, meaning that the resolved action will preserve the full URL. (#3697)
  • Fixed a few types to work more seamlessly with changes in @types/react@18 (#3917)

Changes by package

New Contributors


Full Changelog: v1.6.7...v1.6.8