Skip to content

v0.11.0-rc.1

Compare
Choose a tag to compare
@jaredpalmer jaredpalmer released this 29 Jan 21:04
· 1476 commits to main since this release

Formik 0.11.0 Release Candidate 1

The New stuff πŸ’Ž ✨

  • Adds optional bracket path support
  • Fixes TypeScript 2.6.2 issue and improves type inferencing. Thank you @weswigham and the Microsoft TypeScript team for supporting Formik. Going forward, TypeScript core now checks / smoke tests against Formik (and Apollo) to make sure that any changes are either non-breaking, or coordinated.
  • Added an example to the next branch of how to do a multi-step form wizard.

Potentially Breaking Change ⚠️ πŸš’ 🚫 PLEASE READ.

  • dirty (and thus isValid) has changed due to popular demand/consensus.

Old meaning: "has any field been touched?"
New meaning: "has any field value changed?"

In the works πŸ‘·β€β™€οΈ 🚧

  • onReset: (values: Values, bag: FormikBag<Values>) config / prop that runs prior to a resetForm
  • unsafe_setFormikState: (whateveryouwant: any) => void.
  • submitCount: Will track number of submit attempts
  • An optimized version of <Field> that does not rerender
  • Add meta property on <Field>.
  • Leverage forthcoming context API
  • validateForm, isValidating

Future πŸ‘€ ⏭

  • softSubmit, handleSoftSubmit?
  • async render funsies