Update redux-form to version 6.5.0 π #74
Closed
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.
Hello lovely humans,
redux-form just published its new version 6.5.0.
This version is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of redux-form.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Do you have any ideas how I could improve these pull requests? Did I report anything you think isnβt right?
Are you unsure about how things are supposed to work?
There is a collection of frequently asked questions and while Iβm just a bot, there is a group of people who are happy to teach me new things. Let them know.
Good luck with your project β¨
You rock!
π΄
GitHub Release
πΎ π 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. π
The new version differs by 737 commits .
525da9e
v6.5.0
5d5f671
Do not set FieldArray as touched on submit, as it causes its entry in storeState.fields to become an object instead of an array. The ARRAY_* reducers expects the fields entry to be an array. Fixes #2014. (#2473)
f3d8eb2
Chore/switch shallowequal to lodash isequalwith (#2506)
020c0ed
Keep track of registration count in registeredFields (#2470)
86c64fe
fix: when the Field type is "file", value can not be updated (#2452)
29d3495
Remove undocumented name, validate and warn from FieldArray props. (#2467)
ee24f42
Clarify what to do when StackOverflow questions get no answers (#2497)
4514088
Excluded tests from code climate
762590f
Enable Code Climate (#2486)
b0bdf77
Update ConnectedFields cached handlers when names prop changes. Fixes bug introduced by #2161. (#2474)
162d45d
Breaking change: Change Fields names instance API to return FormSection prefixed names, to be consistent with Field and FieldArray. (#2464)
fc363d7
Add initial value selector (#2460)
d3f5146
Add more tests for validateIfNeeded & warnIfNeeded (#2450)
4960b46
Provide validation functions with access to form props (#2431)
0dd634b
feat(initialize): add keepSubmitSucceeded option (#2426)
There are 250 commits in total. See the full diff.
Screencast
Try it today. Free for private repositories during beta.