This repository was archived by the owner on May 31, 2019. It is now read-only.
Open
Conversation
3f8ce08 to
f58f0c9
Compare
f58f0c9 to
89f83e1
Compare
89f83e1 to
1dd50c4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.5.0->1.5.7Release Notes
jaredpalmer/formik
v1.5.7Compare Source
Patch
isInitialValidmethod when usingwithFormikCommits
isInitialValidmethod when usingwithFormik(#1490)b6c630d1cccc6cv1.5.6Compare Source
Patch
Fix types for
connect()for realz.1.5.5 vs. 1.5.6
// connect.d.ts import * as React from 'react'; import { FormikContext } from './types'; export declare const FormikProvider: React.ProviderExoticComponent<React.ProviderProps<FormikContext<any>>>, FormikConsumer: React.ExoticComponent<React.ConsumerProps<FormikContext<any>>>; export declare function connect<OuterProps, Values = {}>(Comp: React.ComponentType<OuterProps & { formik: FormikContext<Values>; -}>): any; +}>): React.ComponentType<OuterProps>;Commits
cb443e27c0236bv1.5.5Compare Source
Patch
hoist-non-react-statics@types/hoist-non-react-statics) which caused pain and sadness for TS users. We were not really using the type defs anyways since we were casting the output to React.SFC. This was causing the type declarations to have dynamic type imports and even some triple slash directives. 😭😭😭Luckily, this is fixed now.
Commits
34a080547af0f4c63d38ffc36095b745c8aa260256050512b9ce3757v1.5.4Compare Source
Improvements
Internally, Formik uses an undocumented utility function called
setInto support deep state updates (and nested fields). In this release, we altered the behavior ofsetInto shallow copy unchanged siblings along the update path to be updated instead of deeply cloning the whole object.This should enable significant performance improvements when implementing
shouldComponentUpdatemethods for nested structures as it allows directcomparison of object / arrays to see if there has been changes to any of
their child values (because unchanged objects retain the same JS
reference).
Commits
setInto usecloneinstead ofcloneDeep. (#1235)d34537bd74805dv1.5.3Compare Source
Improvements
setInkeeps class inheritance for the top level object (#1429)316023bCommits
4dbb93f77eddec1de8b43316023bae88fc522db39c50882a2a940e37481aead3d2007f8c5fcf882d6650c5243949d03575v1.5.2Compare Source
Improvements
handleChangeandhandleBlurmethods so that they can more easily be used with React Native (Web) and other renderers. (#1216)v1.5.1Compare Source
Fixes
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.