Skip to content

v4.1.0

Compare
Choose a tag to compare
@erikras erikras released this 04 Mar 19:23
· 235 commits to master since this release

🎉 New Features 🎉 (requires final-form@4.12.0)

  • Two new props to Field: defaultValue and initialValue allow fine grain control over how your field values are initialized at the field level. #387
  • Added meta.modified flag for all fields. A field becomes modified the first time its value changes. Previously, with dirty, if the user returned the value to the initial value, the form state had no evidence that the value had ever changed. This is what modified provides.

Bug Fixes

  • Fixed displayName of context provider HOC #375

Type Fixes

  • Updated FieldProps.validate type definition #413
  • Add Typescript typings for third argument of validate function #429

Build Improvements

  • Externalized babel helpers using @babel/runtime #402
  • More selective on Travis node versions #386
  • Remove unused prop-types dependency #424
  • Better Typescript tests #418