Skip to content
This repository was archived by the owner on May 31, 2019. It is now read-only.

Update dependency formik to v1.5.7#129

Open
renovate[bot] wants to merge 1 commit intostagingfrom
renovate/formik-1.x
Open

Update dependency formik to v1.5.7#129
renovate[bot] wants to merge 1 commit intostagingfrom
renovate/formik-1.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Feb 17, 2019

This PR contains the following updates:

Package Type Update Change References
formik dependencies patch 1.5.0 -> 1.5.7 source

Release Notes

jaredpalmer/formik

v1.5.7

Compare Source

Patch

  • Provide better typing for isInitialValid method when using withFormik

Commits

  • Provide better typing for isInitialValid method when using withFormik (#​1490) b6c630d
  • Add version for 1.4.4 patch 1cccc6c

v1.5.6

Compare 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

  • Cast hoist in connect() to R.CompType cb443e2
  • Bump docs to 1.5.5 7c0236b

v1.5.5

Compare Source

Patch

  • Updated to latest version of hoist-non-react-statics
  • Removed internal (and effectively redundant typedefs for @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

v1.5.4

Compare Source

Improvements

Internally, Formik uses an undocumented utility function called setIn to support deep state updates (and nested fields). In this release, we altered the behavior of setIn to 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
shouldComponentUpdate methods for nested structures as it allows direct
comparison 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

v1.5.3

Compare Source

Improvements

  • setIn keeps class inheritance for the top level object (#​1429) 316023b

Commits

v1.5.2

Compare Source

Improvements

  • Improve handling and types of non-event values in the overloaded handleChange and handleBlur methods so that they can more easily be used with React Native (Web) and other renderers. (#​1216)

v1.5.1

Compare Source

Fixes

  • Fixed bug causing React to warn against unmounted setState calls during certain validation scenarios (#​1338)

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot changed the title Update dependency formik to v1.5.1 Update dependency formik to v1.5.2 Apr 2, 2019
@renovate renovate bot force-pushed the renovate/formik-1.x branch from 3f8ce08 to f58f0c9 Compare April 2, 2019 19:42
@renovate renovate bot changed the title Update dependency formik to v1.5.2 Update dependency formik to v1.5.4 May 4, 2019
@renovate renovate bot force-pushed the renovate/formik-1.x branch from f58f0c9 to 89f83e1 Compare May 4, 2019 11:56
@renovate renovate bot force-pushed the renovate/formik-1.x branch from 89f83e1 to 1dd50c4 Compare May 19, 2019 09:53
@renovate renovate bot changed the title Update dependency formik to v1.5.4 Update dependency formik to v1.5.7 May 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant