Skip to content

v0.8.1

Compare
Choose a tag to compare
@edmundhung edmundhung released this 03 Sep 13:59
· 275 commits to main since this release

Improvements

  • Introduced a params option on the refine helper for better error map support (#264) by @jansedlon
refine(ctx, {
  when: intent === 'submit' || intent === 'validate/field',
  validate: () => validate(...),
  params: {
    i18n: "key"
  }
})
  • Added a insert list intent for inserting a new row to a list at a given index. If no index is given, then the element will be appended at the end of the list. Both append and prepend list intent are deprecated and will be removed on v1. (#270) by @albert-schilling
<button {...list.insert('name', { index, defaultValue })}>Insert</button>
  • Fixed an issue with zod returning only the first error on zod v3.22 caused by a preprocess bug upstream. (#283)
  • Fixed a bug with zod default not working properly due to empty value not stripped. (#282)
  • Improved zod parse helper handling on environment with no File constructor defined. (#281)

New Contributors

Full Changelog: v0.8.0...v0.8.1