Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages (next) #2847

Merged
merged 1 commit into from
Oct 27, 2020
Merged

Version Packages (next) #2847

merged 1 commit into from
Oct 27, 2020

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

next is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on next.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

formik@3.0.0-next.0

Major Changes

  • 5efd691 #2255 Thanks @jaredpalmer! - Added parse, format, and formatOnBlur to getFieldProps options, <Field>, and useField. Going forward, there is no reason aside from backwards compatibility to continue using either formikProps.handleChange or formikProps.handleBlur. These are both inferior to the onChange and onBlur functions returned by getFieldProps() which the ability to utilize parse, format, and formatOnBlur.

    Breaking Change
    Instead of just passing back formikProps.handleChange and formikProps.handleBlur, the onChange and onBlur handlers returned by getFieldProps() (and thus useField/<Field>) are now scoped to the field already and now accept either a React Synthetic event or a value. In the past, you could need to curry the handler with the string name of field to get this functionality. This likely doesn't impact many users, but it is technically breaking nonetheless.

formik-native@2.1.10-next.0

Patch Changes

  • Updated dependencies [5efd691]:
    • formik@3.0.0-next.0

@vercel
Copy link

vercel bot commented Oct 27, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/formium/formik/kbaa028d9
✅ Preview: https://formik-git-changeset-release-next.formium.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant