Skip to content

v2.0.1-rc.13

Pre-release
Pre-release
Compare
Choose a tag to compare
@jaredpalmer jaredpalmer released this 21 Aug 15:39

Improvements

  • Field registration has been moved into useField(). This means that you can now pass useField() a field-level validation function.
    const [field, meta] = useField({ name: 'boop', validate: (value) => ({  /* ... */ }) })
  • Added checkbox and async submit examples to Storybook
  • Added a security policy to project (see: SECURITY.md)

Bugfixes

  • Fixed invariant logic around warning when Formik context is undefined
  • Fixed issue when Calling API too soon will yield error Cannot call an event handler while rendering despite using React.useEffect (#1763)

Internal

  • Switched from CircleCI to GitHub CI + GitHub Actions

Commits

v2.0.1-rc.12...v2.0.1-rc.13