Releases: edmundhung/conform
Releases · edmundhung/conform
v1.1.5
Improvements
- Fixed an issue with
unstable_useControl
not resetting the value of the registered input on form reset (#674)
Full Changelog: v1.1.4...v1.1.5
v1.1.4
Improvements
- The default value are now serialized properly when inserting an item to a list (#648)
- Fixed Bigint support on default value (#613, #619, #636)
- Addressed a few typos and code snippet issues on the docs (#621, #622, #646)
- Improved build and test setup thanks to @lifeiscontent 🙌🏼 (#616, #615)
New Contributors
- @kesoji made their first contribution in #622
- @zwhitchcox made their first contribution in #621
- @jtakahashi64 made their first contribution in #646
Full Changelog: v1.1.3...v1.1.4
v1.1.3
What's Changed
- Narrow the
type
prop returned from thegetInputProps
helper by @AMEH64 in #579 - Remove usage of
instanceof
for Zod schemas by @colinhacks in #601 - fix: getButtonProps types by @lifeiscontent in #597
- fix: subfield errors should be consider validated based on its parent by @edmundhung in #607
- fix: setValue should work with null by @edmundhung in #608
- fix: root key should be updated after form update by @edmundhung in #609
- chore(playground): ensure css is built before remix build by @edmundhung in #614
New Contributors
- @colinhacks made their first contribution in #601
Full Changelog: v1.1.2...v1.1.3
v1.1.2
What's Changed
- Swapped out the usage of Object.hasOwn as introduced in v1.1.1 with Object.prototype.hasOwnProperty for better browser support
Full Changelog: v1.1.1...v1.1.2
v1.1.1
What's Changed
- Fixed a vulnerability with Prototype Pollution. You can find the details here.
- Fixed broken link to intent button page on docs by @marilari88 in #581
Full Changelog: v1.1.0...v1.1.1
v1.1.0
Improvements
- The form value should now keep in synced on DOM updates (e.g. when you render an addition input) (#491)
- You can now access the latest form or field metadata in the callback without the need to subscribe it during render (#467)
- Form errors will be cleared immediately on form submit now instead of waiting until the server result is back (#553)
- Both the
update
andreset
intents now accept an optional index similar to theinsert
intent (#555) - Conform will revalidate on blur only if there was any changes made before (i.e. an input event was triggered) to minimize the chance server error get cleared simply because of moving focus out of the inputs. (#559)
- The
useFormMetadata
hook now accept noformId
(#560) - Fixed an issue with form reset failed if the form element is unmounted and form id getting out of sync (#571)
- The
type
prop returned from thegetCollectionProps
helper is narrowed down to the specific type by @AMEH64 (#562) - Added object and array support to getYupConstraint by @gglee89 (#465)
Docs
New japanese docs are now available on ja.conform.guide! Huge thanks to @coji for the translations. (#558)
- Added a language switcher by @coji (#544)
- Fixed wrong import example by @hpiaia (#574)
- Added one-time-code input to shadcn-ui examples by @lewisblackburn (#530)
New Contributors
- @lewisblackburn made their first contribution in #530
- @hpiaia made their first contribution in #574
- @gglee89 made their first contribution in #465
- @AMEH64 made their first contribution in #562
Full Changelog: v1.0.6...v1.1.0
v1.1.0-pre.0
Improvements
- The form value should now keep in synced on DOM updates (e.g. when you render an addition input) (#491)
- You can now access the latest form or field metadata in the callback without the need to subscribe it during render (#467)
- Form errors will be cleared immediately on form submit now instead of waiting until the server result is back (#553)
- Both the
update
andreset
intents now accept an optional index similar to theinsert
intent (#555) - Conform will revalidate on blur only if there was any changes made before (i.e. an input event was triggered) to minimize the chance server error get cleared simply because of moving focus out of the inputs. (#559)
- The
useFormMetadata
hook now accept noformId
(#560)
Full Changelog: v1.0.6...v1.1.0-pre.0
v1.0.6
What's Changed
- docs(tutorial.md): Fix some typos & grammar by @machour in #535
- fix: ensure nested list keys to be generated properly by @edmundhung in #537
- fix: validate only if the form element is mounted by @edmundhung in #538
New Contributors
Full Changelog: v1.0.5...v1.0.6
v1.0.5
What's Changed
- docs: Fix missing map index in intent-button.md by @hawkcookie in #517
- docs: using a variable-width font for docs by @aust1nz in #500
- fix: conform should derive keys of nested list properly by @edmundhung in #528
- fix: update form value at the form level by @edmundhung in #521
Full Changelog: v1.0.4...v1.0.5
v1.0.4
What's Changed
- Reverted the changes made in v1.0.3 to resolve an issue with form value out of sync if multiple intents are dispatched in a single callback (#513) which caused another issue when used in lifecycle method (#512)
Full Changelog: v1.0.3...v1.0.4