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:
^4.1.3
->^8.0.0
Release Notes
redux-form/redux-form
v8.3.9
Compare Source
package.json
#4771v8.3.8
Compare Source
v8.3.7
Compare Source
onSubmit
whenhandleSubmit
changes #4684 #4682v8.3.6
Compare Source
47ad2fd
0c4a047
00b23eb
1bba658
ed62498
263474e
e5a2917
674134e
b1a6960
f6dc97d
lodash-es
08f0fa3
1b89f1f
uglifyjs-webpack-plugin
366f9a2
1570032
e5171b9
untyped-type-import
warnings4316736
v8.3.5
Compare Source
Fixes
engines
seriously9c05207
v8.3.4
Compare Source
Fixes
engines
seriously04d2e93
SubmissionError
detectione705b7c
v8.3.3
Compare Source
Perf
941327f
Misc
*
9ec1b99
Chores
jest
, run tests in parallel, add jest types5c7ab6f
fee51ec
jest-matcher-utils
in favor of jestthis.utils
94b01de
e651e2b
34acd4b
6d70e69
a99cb3f
3f54b7a
v8.3.2
Compare Source
Perf ⏱
Misc 🚀
Documentation 📖
v8.3.1
Compare Source
Fixes
e13c3b2
Tests
96221cd
Chores
accbae9
93db01a
a1c0b23
a0f4d8d
67c6eb6
8814d24
v8.3.0
Compare Source
New Features 😻
ReduxFormContext
#4446 (@jedwards1211)Fixes 🐛
Misc 🚀
flow-bin
#4526 (@iamandrewluca)tests
#4546 (@renatoagds)Documentation 📖
change
usage description #4528 (@milebza)formValues
#4586 (@samomar)v8.2.6
Compare Source
Code Improvements
UNSAFE_*
#4510 #4520Bug Fixes
Security Fixes
^4.17.15
based in a vulnerability #4506 #4508v8.2.5
Compare Source
Bug Fixes
v8.2.4
Compare Source
Bug Fixes
Fix immutable support #4476
v8.2.3
Compare Source
Bug Fixes
Typing Fixes
v8.2.2
Compare Source
This version has a problem, sorry for that
Bug Fixes
Typing Fixes
v8.2.1
Compare Source
This fix returns a bug in Immutable side of redux-form, if you use Immutable, please, stay in
8.2.0
Bug Fixes
v8.2.0
Compare Source
Features
Bug Fixes
clearSubmit
action #4332Typing Fixes
FormProps
export #4352 #3823HandleSubmit
type #4353 #4351FieldProps.type
#4361FieldInputProps.component
redundant definition #4377 #3878v8.1.0
Compare Source
Bug Fixes
displayName
issue #4320@babel/plugin-transform-runtime
#4324 #4329es-build
#4343 #4330isSubmissionError
works for Babel 7 change #4331 #4302New Features
Fields
validation #4301v8.0.4
Compare Source
Build Fixes
v8.0.1
was published to NPMExamples Fixes
react
,redux
, andredux-form
, which should significantly speed them up.v8.0.2
Compare Source
v8.0.1
Compare Source
... because releases never go smoothly ... 🙄 No new changes here.
v8.0.0
Compare Source
withRef
props toforwardRef
.You will now need to use
react-redux@6
andreact@16.4
New Features
sectionPrefix
fromFormName
#4119Bug Fixes
handleSubmit
with redux-form/immutable #4095 #4094updateSyncErrors
#4098 #4040Typing
Event
type #4261v7.4.3
Compare Source
3b123ad
v7.4.2
Compare Source
Bug Fixes
UNSAFE_
silliness fromv7.4.0
. Compatibility with React 15 has actually been restored. #4079 #4078 #4069 #4070 #4072v7.4.1
Compare Source
Bug Fixes
react-lifecycle-compat
polyfill #4079 #4078 #4069 #4070 #4072~Apologies for this mistake! 🙏
v7.4.0
Compare Source
New Features
isDirty
andisPristine
selectors #3900 #3864immutableProps
option toField
component #3849 #3810isAsyncValidating
selector #3910 #3901FormName
component that will call a child render prop with the name of the form it is inside. #4038 #4037Bug Fixes
immutableProps
to HOCpropTypes
#3913initialValues
structure onwithCleanUp
#3619 #4068 #2597 #3366PropTypes.node
toFormSection
's componentpropTypes
#3995 #3859syncErrors
andsyncWarnings
#4010Promise
was halting form submission #4028 #3895 #2056Type Fixes
Dependency Fixes
v4
#3986 🎉v7.3.0
Compare Source
New Features
resetSection
action #3766 #2239keepValues
toinitialize
#3817 #3649Bug Fixes
Flow Fixes
Build Fixes
sideEffects
flag #3870v7.2.3
Compare Source
Bug Fixes
v7.2.2
Compare Source
Bug Fixes
INITIALIZE
happening on first mount. #3797 #3690 #3706v7.2.1
#3807 #3755v7.2.1
Compare Source
Bug Fixes
clearAsyncError
#3709 #3708onSubmitSuccess
#3723 #3636v7.2.0
Compare Source
Features
clearFields()
action that lets you reset a subset of your form. #3576 #3055 #2224 #3626Bug Fixes
updateSyncWarnings()
action. #3631Flow Fixes
v7.1.2
Compare Source
Features
onChange()
#3530Bug Fixes
babel-jest
from dependencies. #3499 #3498 #3546includes()
withindexOf()
#3535 #3533destroyOnUnmount
flag tounregisterField()
#3559 #3558Flow Fixes
meta
prop type toany
#3502v7.1.1
Compare Source
I would like to apologize for recklessly upgrading the ImmutableJS dependency to a
v4.rc
in the previous release,v7.1.1
. That is a breaking change, and will be made inv8
once ImmutableJSv4.0
is officially released. 😳 Sorry about that.Bug Fixes
v7.1.0
#3495 #3490immutable@3.8.2
redux-form/redux-form@03c37d7 #3493flow-bin
version to0.54.0
before the breaking change that causedimmutable@3.8.2
to fail.v7.1.0
Compare Source
🎉 TL;DR: React 16 and Jest! 🎉
v7.1.1
Bug Fixes
Field
andFieldArray
name whensectionPrefix
has changed in thecontext
#3229FieldArray
was not rerendering afterswap()
#3409immutable/deepEqual
to use===
likeplain/deepEqual
was #3479 #3357deepEqual
checks onprops.children
inshouldComponentUpdate()
, a huge performance boost #3480 #3461 #3481checkbox
behavior #3482 #2857 #2922 #3162 #3437onChange
bug #3460 #3153 #3238deepEqual()
bug to makenull != false
#3462 #2600deepEqual()
to compareradio
inputs #3430plugin()
API bug #3486 #2935Flow Fixes
import * from React
to avoid deprecation warnings #3387 #3385Features
name
parameter to field-level validator #3364 #3350FieldArray
propTypes
#3468 #2447valuesMapper
toformValues
HOC #3432shouldValidate()
intoshouldError()
andshouldWarn()
, deprecatingshouldValidate()
#3464 #3449 #3485getFormError()
selector to get form-wide error #3483 #3463Maintenance
mjackson/expect
tofacebook/jest
. This was HUGE. Thanks, @skovhus!!v7.0.4
Compare Source
Bug Fixes
Flow Fixes
onBlur
andonChange
callback flow types. #33240.54
🎉 #3378 #3345v7.0.3
Compare Source
Flow Fixes
Field
andFieldArray
had the wrong type specified for their props.es
folder.Dispatch
type should've beenDispatch<*>
. #3247 #3252Bug Fixes
v7.0.2
Compare Source
Flow Fixes
FieldProps
were being exported incorrectly. #3239 #3213Bug Fixes
UNREGISTER
action not removing deep sync errors. #3219 #3189FormSection
name prop updating. #3210 #3202v7.0.1
Compare Source
Bug Fixes
v6.8.0
andv7.0.0
. #3204 #3172custom
prop in the importablepropTypes
definition #3199{}
when in immutable.js mode. #3201 #3196formValues()
selector. #3203 #3202Features / Docs
v7.0.0
Compare Source
v7
is here!The "breaking change" that warrants this major version bump is extremely minor and will most likely only affect a small minority of you, but I have pledged to be more strict with Semantic Versioning, so it's up to
7
we go.However, there is one exciting announcement to go along with this release:
🎉 Flow Support 🎉
As of
v7
,redux-form
officially supports Flow for static type checking. Flow has been implemented internally in all the library's code (except for tests), and the exported API also has types provided. It even found a few bugs and bad type assumptions along the way.I guarantee you that I have made some mistakes in doing this, and you should expect some rapid iteration on fixing the flow bugs as they are reported in the coming weeks.
undefined
andfalse
are now treated as NOT equal. This will affect yourdirty
/pristine
state, as well as whether or not a field is rerendered when the value goes fromundefined
tofalse
(previously it did not). Most commonly this will manifest itself in a form with no initial values that contains a checkbox: if you check the checkbox totrue
, and then uncheck the checkbox (tofalse
) your form will bedirty
because the checkbox field's original value ofundefined
is not!== false
. If you want such a form to return topristine
after unchecking the checkbox, you will need to provide an initial value offalse
for that field. #3081 #3061 #1762 #1774 #1993 #2600 #2978.Maintenance
v16
to peer dependencies in preparation for its release. #3111 #2842Bug Fixes
immutableProps
introduced inv6.8.0
. #3052 #3048syncErrors
andsyncWarnings
to avoid needless rerendering. #3072STOP_ASYNC_VALIDATION
. #3068 #2953FieldArray
rerendering. #3089 #3008error
orwarn
props changed. #3094 #3012v6.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 [#2581](https://togithub.com/redux-Configuration
📅 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.