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

Update redux-form to version 6.5.0 πŸš€ #74

Closed
wants to merge 1 commit into from

Conversation

greenkeeperio-bot
Copy link
Contributor

Hello lovely humans,

redux-form just published its new version 6.5.0.

State Update πŸš€
Dependency redux-form
New version 6.5.0
Type devDependency

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


  • Event callbacks! - You may now pass onChange, onBlur, onFocus, etc. props to Field, and those callbacks will be called as redux-form is processing the events. Also, in your callback, you may call event.preventDefault() to prevent the event from being processed by redux-form. #2385 #2334

  • Added props to onSubmitSuccess and onSubmitFail. #2396 #2394
  • New getFormNames(state) selector. #2402 #2397
  • New getFormInitialValues(state) selector. #2460
  • Allowed multiple form names to be passed to destroy() action creator #2402
  • Added keepSubmitSucceeded config option. #2426 #1994
  • Supplied props to field-level validation functions. #2431 #2430

Bug Fixes

  • Provided form name to Field's component as a meta prop. #2400 #2386
  • Avoided unnecessary deepEqual() call for pristine. #2401 #2380
  • Removed array-findindex-polyfill. #2403 #2337
  • Fixed unexpected value updates when a radio button loses focus. #2445 #2444
  • Allowed internal storage to be a Record. #2423
  • Fixed immutable exports. #2425 #2025
  • Update Fields cached handlers when names prop changes. #2474 #2161
  • Set value properly for file inputs. #2452
  • Keep track of registration count in registeredFields. #2470 #2016 #2223 #1705 #1990
  • Replaced shallowequal with lodash isequalwith. #2506
  • Do not set FieldArray as touched on submit. #2473 #2014
  • Fields inside a FormSection now have their name props prefixed. #2464 #2121

⚠️ This last one could potentially be a breaking change, but probably nothing is depending on the unprefixed name, so we've slipped it into a feature release. Please berate @erikras on Twitter if this causes problems.


A 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.


✨ Try the all new Greenkeeper GitHub Integration ✨
With Integrations first-class bot support landed on GitHub and we’ve rewritten Greenkeeper to take full advantage of it. Simpler setup, fewer pull-requests, faster than ever.

Screencast

Try it today. Free for private repositories during beta.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 24.845% when pulling 755cc2d on greenkeeper-redux-form-6.5.0 into 06b3540 on master.

@codecov-io
Copy link

Current coverage is 23.71% (diff: 100%)

Merging #74 into master will not change coverage

@@             master        #74   diff @@
==========================================
  Files            36         36          
  Lines           683        683          
  Methods         115        115          
  Messages          0          0          
  Branches        108        108          
==========================================
  Hits            162        162          
  Misses          521        521          
  Partials          0          0          

Powered by Codecov. Last update 06b3540...755cc2d

@JonatanSalas JonatanSalas deleted the greenkeeper-redux-form-6.5.0 branch February 24, 2017 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants