Skip to content

v0.2.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 08 Aug 10:59
· 109 commits to main since this release
47e9423

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

Despite some small breaking changes, the upgrade should be very smooth:

Removed exports

  • respondWithResponse: h3 now support returning a Response
  • getRequestFromEvent: h3 now support event.request
  • getFormData: h3 now has readFormData

You'll most likely have to search and replace getFormData for readFormData.

All utilites are now auto-imported, including the server ones.

Importing from #form-actions is no longer necessary, you can remove the import statements in your server code if you want.

Loaders in useFormActions must always be specified

If you were using implicit loaders in useFormActions, you must now specify them by name.
This was already necessary for proper typescript inference so this shouldn't affect many users.