Releases: final-form/react-final-form
Releases · final-form/react-final-form
v4.1.0
🎉 New Features 🎉 (requires [email protected])
- Two new props to
Field:defaultValueandinitialValueallow fine grain control over how your field values are initialized at the field level. #387 - Added
meta.modifiedflag 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
displayNameof context provider HOC #375
Type Fixes
- Updated
FieldProps.validatetype definition #413 - Add Typescript typings for third argument of
validatefunction #429
Build Improvements
v4.0.2
v4.0.1
v4.0.0
v3.7.0
Build Stuff
- Shared
@babel/runtimehelper dependency with[email protected]#351 - Loose mode for class properties #366
Types
- Add
meta.submittingtoFieldRenderProps#367
⚠️ Attention ⚠️
This will be the last version before the breaking change of migrating to the new React v16.3 context API.
v3.6.7
v3.6.6
Bug Fixes
- Added
initialValuesEqualprop toFormto allow you to override the default "shallow equal" test forinitialValues, to know when to "reinitialize" the form when theinitialValuesprop changes. Useful for passing in an implementation of "deep equals" when needed. #343 #335 - Fixed hot reloading bug where forms would become unresponsive after hot reloading in either Create React App or Next.js. #344 #270