Releases: forge-42/remix-hook-form
Releases · forge-42/remix-hook-form
v5.1.1
Fixes #114
Fixes #113
Full Changelog: v5.1.0...v5.1.1
v5.1.0
What's Changed
Fixes #105
- Chore: fix prettier npm scripts by @vmosyaykin in #110
- Improve defaultValue prop resolution by @vmosyaykin in #109
- fix for undefined handling by @AlemTuzlak in #112
New Contributors
- @vmosyaykin made their first contribution in #110
Full Changelog: v5.0.4...v5.1.0
v5.0.4
v5.0.3
What's Changed
- Export generateFormData function by @kveperedo in #90
New Contributors
- @kveperedo made their first contribution in #90
Full Changelog: v5.0.2...v5.0.3
v5.0.2
What's Changed
- fix:
isSubmittingflashesfalseduring form submission by @MonsterDeveloper in #103
Full Changelog: v5.0.1...v5.0.2
v5.0.1
UseRemixFormReturn export
The package now exports the Type UseRemixFormReturn
Full Changelog: v5.0.0...v5.0.1
v5.0.0
remix-hook-form respects Form element props
From v5 onwards remix-hook-form will respect your
component props, namelyencType and method props which will allow you to not use submitConfig and rely on these props, also this will improve the Progessive enhancement aspect because the form would still work without JS the same way.
Submitting JSON data now works
There was an issue with remix-hook-form where it submitted json form data as actual FormData, this is resolved with v5.
README updates
README now includes a working example of submitting files.
getValidatedFormData now takes in FormData
Before this release it only took in requests, now you can pass in formData and it will work the same as before.
What's Changed
- Update README.md by @devstojko in #91
- docs(README): fix typo in defaultValues by @machour in #95
- The one where you can change the encType by @AlemTuzlak in #98
New Contributors
- @devstojko made their first contribution in #91
- @machour made their first contribution in #95
Full Changelog: v4.3.0...v5.0.0
v4.3.0
What's Changed
- Fix extra re-renders caused by formState changes by @ekerik220 in #86
New Contributors
- @ekerik220 made their first contribution in #86
Full Changelog: v4.2.0...v4.3.0
v4.2.0
v4.1.0
What's Changed
- fix: replace deprecated zod method in readme by @geeron in #68
- docs: update readme and specify install of react-hook-form by @geeron in #70
- fix: add passthrough options to reset by @Roanmh in #74
- feat: added handling for date in createFormData by @TheYoxy in #67
New Contributors
- @geeron made their first contribution in #68
- @Roanmh made their first contribution in #74
- @TheYoxy made their first contribution in #67
Full Changelog: v4.0.0...v4.1.0