final-form

🏁 Framework agnostic, high performance, subscription-based form state management

OTHER License

Downloads
1.8M
Stars
3K
Committers
94

Bot releases are hidden (Show)

final-form - v4.20.10 Latest Release

Published by erikras about 1 year ago

  • Merge pull request #475 from xxleyi/add-async-validating-test 16923ad
  • test: async validating 1367ca0
  • Merge pull request #473 from xxleyi/fix-async-validating d20c44b
  • Merge pull request #470 from final-form/dependabot/npm_and_yarn/axios-and-github-build-0.21.4 f5fa420
  • fix: async validating 72c9d73

https://github.com/final-form/final-form/compare/v4.20.9...v4.20.10

final-form - v4.20.9

Published by erikras over 1 year ago

  • bump package size restriction a5b145e
  • Merge pull request #467 from amje/patch-1 db16fb8
  • Merge pull request #460 from OnimBeta/main 27490ec
  • Merge pull request #469 from final-form/dependabot/npm_and_yarn/minimatch-3.1.2 8875bde
  • Merge branch 'jarnaiz-main' fbea3c0
  • Merge branch 'main' of github.com:jarnaiz/final-form into jarnaiz-main b152502
  • Bump minimatch from 3.0.4 to 3.1.2 b2d3390
  • Revert validator allValues optional argument 78604ff
  • fix /final-form/final-form/issues/457 b142260
  • fix: #411 ceed78e

https://github.com/final-form/final-form/compare/v4.20.8...v4.20.9

final-form - v4.20.8

Published by erikras almost 2 years ago

  • Merge pull request #461 from antonvialibri1/fix-for-array-checkboxes-inputs-after-regression-introduced-in-version-4.20.3 b905214
  • Merge pull request #446 from final-form/dependabot/npm_and_yarn/follow-redirects-1.14.8 24bc8b3
  • Merge pull request #452 from final-form/dependabot/npm_and_yarn/minimist-1.2.6 b084b4b
  • Merge pull request #454 from final-form/dependabot/npm_and_yarn/simple-get-3.1.1 0499149
  • Merge pull request #466 from final-form/dependabot/npm_and_yarn/decode-uri-component-0.2.2 ec23212
  • Merge pull request #468 from final-form/dependabot/npm_and_yarn/json5-1.0.2 a5063e4
  • Merge branch 'huan086-feature/fix-up-field-state' 3b49609
  • Merge branch 'feature/fix-up-field-state' of github.com:huan086/final-form into huan086-feature/fix-up-field-state b666d1c
  • Bump json5 from 1.0.1 to 1.0.2 fef51c5
  • Bump decode-uri-component from 0.2.0 to 0.2.2 5464d69
  • Fix for issue #456 - Fixes unwanted breaking change for array input names introduced in v4.20.3 (a3575ef0c51277ab253e58fbb580de11de73f101) - v4.20.2 used to work fine 3e47a6b
  • Bump simple-get from 3.1.0 to 3.1.1 fba79fa
  • Bump minimist from 1.2.5 to 1.2.6 a75117b
  • Bump follow-redirects from 1.14.4 to 1.14.8 6ace61a
  • If mutator creates a new field in MutableState for keeping the field state of a renamed field, set the blur, focus and change function of InternalFieldState when registerField is called. 33e551f

https://github.com/final-form/final-form/compare/v4.20.7...v4.20.8

final-form - v4.20.7

Published by erikras over 2 years ago

  • Make allValues argument optional on type FieldValidator (#394)
  • Prevent formState.values from initializing to undefined (#450)

https://github.com/final-form/final-form/compare/v4.20.6...v4.20.7

final-form - v4.20.6

Published by erikras almost 3 years ago

Bug Fixes

  • Better fix for async error bug #441

https://github.com/final-form/final-form/compare/v4.20.5...v4.20.6

final-form - v4.20.5

Published by erikras almost 3 years ago

Bug Fixes

  • Don't clear async errors between validations #440

https://github.com/final-form/final-form/compare/v4.20.4...v4.20.5

final-form - v4.20.4

Published by erikras about 3 years ago

Oops. Apologies!

  • Remove engines from package.json #434

https://github.com/final-form/final-form/compare/v4.20.3...v4.20.4

final-form - v4.20.3

Published by erikras about 3 years ago

Bug Fixes

Type Fixes

  • Fix documentation and TypeScript definition of FormApi.restart #425
  • TypeScript: Make restart and initialize take InitialFormValues instead of FormValues #429 #389

https://github.com/final-form/final-form/compare/v4.20.2...v4.20.3

final-form - v4.20.2

Published by erikras over 3 years ago

Bug Fixes

  • Notify form (#386) #383
  • Do not use defaultValue in register call if formState already has it (#372)
  • Fix validating field state when blurring before the promise is resolved (#369)
  • Fix reset in onSubmit (#363) #362
  • Fix a crash when renamed field is unregistered (#385) #384
  • Force field level initialization over form level (#364)

Type Fixes

https://github.com/final-form/final-form/compare/v4.20.1...v4.20.2

final-form - v4.20.1

Published by erikras over 4 years ago

Hi, @erikras here. The primary purpose for adding scarf as a dependency to this library was to gain some insights into just who is using this library. Nothing but the IP addresses of the computers running the npm install were ever recorded, which were back referenced to determine corporation identity. It was never "malware", but for sure it broke the contract assumption of "I can run npm install without anyone collecting data about me". Every day that assumption is more tenuous, as the 21st century internet continues the trend towards the default assumption being "someone is collecting data about me". But I, personally, don't feel right participating in that trend. The month or so that I had scarf installed confirmed that the largest Silicon Valley giants are using this library. Further spying will not produce more value. I would like to apologize for violating your trust.

That said, the psychosocial rot that is consuming Open Source is the broken funding model. If each of you would request the equivalent of one hour of your salary every month to go to libraries you use (and save you way more than one hour per month), we OSS devs would feel less compelled to search for funding solutions. Please consider adding a line item... ❤️

Changes

  • Remove scarf dep #361
final-form - v4.20.0

Published by erikras over 4 years ago

Features

  • Add restart() API method to reset all form and field state #348 #333
  • Add modifiedSinceLastSubmit to field and form state #345 #215

Bug Fixes

  • Fix validation preventing update of form state submit errors #325
  • Fix missing field state argument if validator function is wrapped with unknown number of args #337

Type Fixes

  • Type safety improvements to FieldState and FormApi #318
  • Add InitialValues type default to Partial<FormValues> #332 #314

https://github.com/final-form/final-form/compare/v4.19.1...v4.20.0

final-form - v4.19.1

Published by erikras over 4 years ago

Bug Fixes

https://github.com/final-form/final-form/compare/v4.19.0...v4.19.1

final-form - v4.19.0

Published by erikras over 4 years ago

Features

Optimizations

  • Optimize toPath method by caching results #329

https://github.com/final-form/final-form/compare/v4.18.7...v4.19.0

final-form - v4.18.7

Published by erikras over 4 years ago

Bug Fixes

  • Fix field initial value validation #301 #296
  • Stop resubmitting when validator throw an error and log the error instead #309 #308
  • Reinitialize non-registered values with keepDirtyOnReinitialize #311

https://github.com/final-form/final-form/compare/v4.18.6...v4.18.7

final-form - v4.18.6

Published by erikras almost 5 years ago

Bug Fixes

  • Only set initial value on field reg if no initial value from form #294 final-form/react-final-form#636 final-form/react-final-form#533 final-form/react-final-form#536
  • Use defaultValue when initialValue(s) is undefined #282 #387
  • Added dirtyFieldsSinceLastSubmit to FormState #290 #184
  • Allow nested batch() calls #281

Type Fixes

  • Fixed config typing form mutators #275

https://github.com/final-form/final-form/compare/v4.18.5...v4.18.6

final-form - v4.18.5

Published by erikras about 5 years ago

Bug Fixes

  • No need to run validation on field register without validator #267

https://github.com/final-form/final-form/compare/v4.18.4...v4.18.5

final-form - v4.18.4

Published by erikras about 5 years ago

Bug Fixes

  • Ignore old async-validation results #265 #147

That one has been causing problems for a long time. Thanks @shrugs!

also....

🎉🎉🎉 ➡️ New Docs Site ⬅️ 🎉🎉🎉

https://github.com/final-form/final-form/compare/v4.18.3...vpatch

final-form - v4.18.3

Published by erikras about 5 years ago

Bug Fixes

  • Fixed bug where changing field-level validation would not update other fields (#263)
  • Better compatibility with IE11 (#260)

Type Fixes

  • Use SubmissionErrors type alias consistently (#262)
  • Better TypeScript typing for FieldState.initial (#251)
  • Improve setConfig TypeScript typing (#259)
  • Improve ARRAY_ERROR & FORM_ERROR TypeScript types (#254)

https://github.com/final-form/final-form/compare/v4.18.2...v4.18.3

final-form - v4.18.2

Published by erikras over 5 years ago

  • Rebind event handlers when field is renamed b0d9bea

https://github.com/final-form/final-form/compare/v4.18.1...v4.18.2

final-form - v4.18.1

Published by erikras over 5 years ago

  • Fix bug when mutator removes field state #246

https://github.com/final-form/final-form/compare/v4.18.0...v4.18.1