Skip to content

Releases: edmundhung/conform

v1.1.5

17 Jun 21:03
650c3d7
Compare
Choose a tag to compare

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

27 May 20:30
Compare
Choose a tag to compare

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

Full Changelog: v1.1.3...v1.1.4

v1.1.3

28 Apr 21:08
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.1.3

v1.1.2

23 Apr 20:37
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.1...v1.1.2

v1.1.1

23 Apr 20:35
Compare
Choose a tag to compare

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

09 Apr 20:09
Compare
Choose a tag to compare

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 and reset intents now accept an optional index similar to the insert 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 no formId (#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 the getCollectionProps 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)

New Contributors

Full Changelog: v1.0.6...v1.1.0

v1.1.0-pre.0

01 Apr 16:32
Compare
Choose a tag to compare
v1.1.0-pre.0 Pre-release
Pre-release

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 and reset intents now accept an optional index similar to the insert 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 no formId (#560)

Full Changelog: v1.0.6...v1.1.0-pre.0

v1.0.6

24 Mar 20:02
Compare
Choose a tag to compare

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

21 Mar 22:08
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.4...v1.0.5

v1.0.4

11 Mar 20:38
Compare
Choose a tag to compare

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