chore(deps): update dependency redux-form to v6.8.0 #36
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:
6.3.2
->6.8.0
Release Notes
redux-form/redux-form (redux-form)
v6.8.0
Compare Source
ππ€π This library passed 500K downloads in May 2017! ππ€π
Bug Fixes
Form
component. #β2939initialValues
. #β2984fieldPropTypes
. #β3001 #β3000react-form/immutable
. #β3023react-form/immutable
. #β3022ConnectField
. #β2964INITIALIZE
settingnull
values for deleted indices. #β3033Features
rerenderOnEveryChange
prop toFieldArray
to allow the whole array to be rerendered whenever any of the fields inside it change. By @βvtaits. #β3009 #β3008formValues()
decorator. By @βwmertens. #β3011 #β2996 #β2852immutableProps
config parameter. By @βmattkrick. #β3019Docs
v6.7.0
Compare Source
Bug Fixes
meta.touched
prop fromFieldArray
#β2836 #β2830deleteInWithCleanUp
bug #β2876 #β2875UNREGISTER
#β2889 #β2884Features
initialized
prop lets your form component know if it has been initialized yet. #β2904 #β2901getFormMeta
selector to read field metadata such astouched
andvisited
. #β2859 #β2585meta.initial
prop toField
components to know what the initial value was. #β2858fieldInputPropTypes
,fieldMetaPropTypes
,fieldPropTypes
forField
components.defaultShouldValidate
anddefaultShouldAsyncValidate
#β2891 #β2890INITIALIZE
action meta data #β2835 #β2832Maintenance
v6.6.3
Compare Source
Bug Fixes
componentWillMount()
. #β2797 #β1385And, the one most of you are clamoring for...
prop-types
to avoid warning from Reactv15.5.x
. #β2800 #β2810π₯ New Code Sandboxes π₯
We now have most of the examples from the documentation as sandboxes on CodeSandbox. This should help greatly for learning and bug reporting. They are on the README, but I will also link to them below:
v6.6.2
Compare Source
Bug Fixes
FieldArray
to be impure #β2465FieldArray
validate
andwarn
propTypes
#β2775clearSubmitErrors
action creator #β2772redux-form/immutable
#β2779 #β2774v6.6.1
Compare Source
Bug Fixes
propTypes
forwarn
andvalidate
. redux-form/redux-form@08a377esyncErrors
when usingredux-form/immutable
. #β2755propTypes
for diehardforbidExtraProps
people. #β2738 #β2707 #β2744STOP_SUBMIT
. #β2731 #β2591Features
dispatch
andprops
parameters to form-wideonChange
. #β2748 #β2728v6.6.0
Compare Source
Bug Fixes
getFormNames()
selector. #β2519 #β2517shouldComponentUpdate
related to thepure
prop. #β2575 #β2567FieldArray
. #β2544 #β2466propTypes
#β2602asyncValidating
prop type error #β2592dispatch
toblur
andchange
props given toonSubmit()
#β2680 #β2663FieldArray
s #β2668 #β2667pristine
calculation to use deep equality. #β2648 #β2647anyTouched
bug onUNTOUCH
. #β2701 #β2698Field
,FieldArray
andFields
components. #β2709propTypes
error. #β2707for...of
construct to fix a problem with IE. π‘ #β2724syncErrors
when using Immutable.js. #β2721Features
onChange
callback! #β2576 #β2530 #β883meta.submitFailed
toFieldArray
props. #β2586 #β2581meta.form
toFieldArray
props #β2712getFormSyncWarnings
#β2624 #β2176clearSubmitErrors()
action. #β2615Coming soon
π₯ I'm currently working on implementing Flow both internally in this library as well as for its public API.
v6.5.0
Compare Source
πΎ π This library just passed 5,000 βοΈ's on Github. π πΎ Thank you, all.
New Features
onChange
,onBlur
,onFocus
, etc. props toField
, and those callbacks will be called asredux-form
is processing the events. Also, in your callback, you may callevent.preventDefault()
to prevent the event from being processed byredux-form
. #β2385 #β2334props
toonSubmitSuccess
andonSubmitFail
. #β2396 #β2394getFormNames(state)
selector. #β2402 #β2397getFormInitialValues(state)
selector. #β2460destroy()
action creator #β2402keepSubmitSucceeded
config option. #β2426 #β1994props
to field-level validation functions. #β2431 #β2430Bug Fixes
Field
's component as ameta
prop. #β2400 #β2386deepEqual()
call forpristine
. #β2401 #β2380array-findindex-polyfill
. #β2403 #β2337Record
. #β2423Fields
cached handlers whennames
prop changes. #β2474 #β2161registeredFields
. #β2470 #β2016 #β2223 #β1705 #β1990shallowequal
withlodash
isequalwith
. #β2506FieldArray
astouched
on submit. #β2473 #β2014Field
s inside aFormSection
now have theirname
props prefixed. #β2464 #β2121A big thanks to all the contributors, and a special thanks to @βhuan086, who contributed more than his fair share of PRs this iteration. π
v6.4.3
Compare Source
Bug Fixes
validate
andwarn
onField
were leaking down into the components. #β2361 #β2356fields.get(index)
was not returning the current value of the field array element. #β2362 #β2355FieldArray
. #β2364 #β2343Minor Features
meta.submitFailed
prop passed into fields. This is useful for error display logic. #β2346 #β567getFormAsyncErrors
selector that works like its siblings. #β2363 #β2201v6.4.2
Compare Source
package.json
#β2353 #β2338v6.4.1
Compare Source
react
andredux
. #β2331 #β2330isValid
selector. #β2270v6.4.0
Compare Source
New Features
Form
component π₯ creates a shallow wrapper of a<form>
tag that allowsredux-form
to call theonSubmit
function when a submit is triggered via aSUBMIT
action or via the instance API. #β2326 #β2238 Kudos to @βdavidkpiano for the idea.forceUnregisterOnUnmount
config parameter that fixes some problems with wizard forms. #β2310 #β2231submitting
,submitSucceeded
andsubmitFailed
. #β2289 #β2173FormSection
operates. #β2329 #β2271 #β2274 WhenFormSection
needs to wrap its children in a component, you may now:div
,section
, etc.className
,style
, to said componentBug Fixes
enableReinitialize
wastrue
. #β2296 #β1901undefined
to be returned from sync validation. #β2273 #β2272Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.