Update dependency react-hook-form to v7.79.0#17
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
1431217 to
73a2a74
Compare
73a2a74 to
573f01a
Compare
573f01a to
e618c0b
Compare
e618c0b to
710ce78
Compare
710ce78 to
b86e9a8
Compare
b86e9a8 to
cccadbc
Compare
cccadbc to
0c73c68
Compare
0c73c68 to
6bf7a59
Compare
6bf7a59 to
75457bf
Compare
7ceb2ff to
fdf5d61
Compare
fdf5d61 to
dd633b4
Compare
dd633b4 to
21103e1
Compare
21103e1 to
539c577
Compare
539c577 to
e83f931
Compare
e83f931 to
4129e8a
Compare
4129e8a to
a56d8f1
Compare
a56d8f1 to
b14a6ea
Compare
b14a6ea to
19d00c7
Compare
19d00c7 to
60d703f
Compare
60d703f to
bd60911
Compare
bd60911 to
1ace960
Compare
1ace960 to
1fde5e9
Compare
1fde5e9 to
9203936
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
7.19.5→7.79.0Release Notes
react-hook-form/react-hook-form (react-hook-form)
v7.79.0Compare Source
Added
disabledoption touseFieldArrayFixed
ControlleronChangepromise return typedeepEqualfalse positives with shared object referencesshouldUseNativeValidationbehavior for radio groupscreateFormControlstability with fast refresh in dev modeStrictModevalue preservation during remountformState.errorsreactivity with React compilerv7.78.0Compare Source
v7.77.0Compare Source
Added
resetDefaultValuesAPIFixed
isDirtyinsubscribepayload afterreset(..., { keepValues: true })shouldUnregisterreset({})behavior requiring double-call to take effectFieldArrayerrors overriding nested fieldsSecurity
get()against prototype-path traversal (__proto__/constructor/prototype)Performance
v7.76.1: Version 7.76.1Compare Source
🐞 fix: pass options parameter through setValues to enable validation (#13457)
🐞 fix(setValues): emit whole-form change without stale name/type (#13450)
🚗 perf(setValues): thread skipClone through setFieldValue (#13448)
🚗 perf(setValues): skip redundant per-field deep clones (#13445)
Revert "🐞 fix: treat NaN as empty when valueAsNumber is true in validateField (#13388)"
thanks to @philibea & @maxkostow
v7.76.0Compare Source
v7.75.0: Version 7.75.0Compare Source
🦧 feat: improve get dirty fields prune empty fields (#13363)
🎹 typescript 6.0 (#13330)
🌡️ chore: minor improvement on setValue & reset (#13366)
🐞 fix #13403: include setValues in FormProvider context value (#13404)
🐞 fix: recompute isDirty after re-registering a previously unregistered field (#13399)
🐞 fix: preserve watch updates on field array unmount fixes #13375 (#13385)
🐞 fix: prevent useWatch re-render when unrelated field validation is … (#13398)
thanks to @dfedoryshchev, @cyky & @gkarabelos
v7.74.0: Version 7.74.0Compare Source
🪇 feat: setValues (#13201)
🐞 fix: preserve previous field value when useController name changes (#13395)
🐞 fix: handle null parent when unregistering nested field (#13396)
🐞 fix: treat NaN as empty when valueAsNumber is true in validateField (#13388)
🪢 fix build to exclude test files (#13387)
thanks to @Yihao-G & @mixelburg
v7.73.1Compare Source
v7.72.1Compare Source
v7.72.0Compare Source
v7.71.2Compare Source
v7.71.1Compare Source
v7.71.0Compare Source
v7.70.0Compare Source
v7.69.0Compare Source
v7.68.0Compare Source
v7.67.0Compare Source
v7.66.1Compare Source
v7.66.0Compare Source
v7.65.0Compare Source
v7.64.0Compare Source
v7.63.0Compare Source
v7.62.0Compare Source
v7.61.1Compare Source
v7.61.0Compare Source
v7.60.0Compare Source
v7.59.0Compare Source
v7.58.1Compare Source
v7.58.0Compare Source
v7.57.0Compare Source
v7.56.4Compare Source
v7.56.3Compare Source
v7.56.2Compare Source
v7.56.1Compare Source
v7.56.0Compare Source
v7.55.0Compare Source
v7.54.2Compare Source
v7.54.1Compare Source
v7.54.0Compare Source
v7.53.2Compare Source
v7.53.1Compare Source
v7.53.0Compare Source
v7.52.2Compare Source
v7.52.1Compare Source
v7.52.0Compare Source
v7.51.5Compare Source
v7.51.4Compare Source
v7.51.3Compare Source
v7.51.2Compare Source
v7.51.1Compare Source
v7.51.0Compare Source
v7.50.1Compare Source
v7.50.0Compare Source
v7.49.3Compare Source
v7.49.2: Version 7.49.2Compare Source
🐞 fix #11292 issue with controller validation prop (#11294)
v7.49.1: Version 7.49.1Compare Source
🐞 fix #11276 issue with disabled omit on Controller (#11277)
🐞 fix #11287 disabled prop cause const dirtyFields update (#11291)
v7.49.0Compare Source
Added
errorsprop atuseFormv7.48.2: Version 7.48.2Compare Source
🐞 #11106 fix disabled prop not update dirty formState (#11143)
🐞 fix controller update with
disabledprop fromuseForm(#11142)v7.48.1: Version 7.48.1Compare Source
🐞 fix controller update with disabled prop from useForm
v7.48.0Compare Source
Added
disabledprop foruseFormto disable the entire formv7.47.0Compare Source
Added
resetapi withkeepIsSubmitSuccessfuloption, keep successfully submitted form state.v7.46.2: Version 7.46.2Compare Source
🐞 fix implicit type coercion (#10949)
🙄 close #10932 omit disabled prop when not defined (#10937)
🔧 fix controller test is dirty (#10899)
thanks to @samimakicc & @pierluigigiancola
v7.46.1: Version 7.46.1Compare Source
🐞 fix #10878 return disabled field state (#10879)
thanks to @Moshyfawn
v7.46.0Compare Source
Added
disabledpropexactoption for array name inuseWatchChanged
isDirtywhen settingdisabledinregisterv7.45.4: Version 7.45.4Compare Source
🐞 fix #10767 dep issue with replayio (#10768)
🐞 fix #10762 async submit with Form component (#10766)
🫖 add test case for issue #10744 to avoid future regressions (#10759)
thanks to @eg-bernardo
v7.45.3: Version 7.45.3Compare Source
📼 add Replay Test Suites (#10681)
Revert "🧑🎓 close #10585 update controller value on each render (#10586)"
🐞 close #10682 make sure action flag gets reset after useEffect (#10732)
thanks to @jasonLaster
v7.45.2: Version 7.45.2Compare Source
🧾 fix(types): async defaultValues await promise value (#10637)
🥲 revert strict type check on Controller onChange (#10609)
📖 docs(changelog 7.45.0): typo and format (#10624)
📖 fix:test-spelling-error (#10629)
thanks to @anton-g, @milhamm, @moshfeu & @OlliePrentice
v7.45.1: Version 7.45.1Compare Source
🐞 fix #10602 issue with reactive values props update (#10606)
🧑🎓 close #10585 update controller value on each render (#10586)
🧪 test(generated-id): setting window performance undefined without ts-ignore (#10584)
thanks to @mateoguzmana
v7.45.0Compare Source
Changed
onChangeuseFormContextv7.44.3: Version 7.44.3Compare Source
🦉 fix: add named component export (#10486)
💭 fix React import inconsistency (#10479)
🏙️ fix: removed code from the README updater which was trying to read a non-existent
docs/Helpers.yaml📝 fix doc: update urls from /api to /docs (#10468)
thanks to @Moshyfawn @@protofarer @farfromrest
v7.44.2: Version 7.44.2Compare Source
🪟 fix #10456
object.hasownreplaced withhasOwnProperty(#10458)v7.44.1: Version 7.44.1Compare Source
🐞 fix
<Form />component content-type json type missing (#10454)v7.44.0Compare Source
Added
<Form />componentTransformedValueswithuseFormContextuseFormContext<FormValue, TransformedValues>()TTransformedValuestoFormProviderFormProviderProps<TFieldValues, TContext, TTransformedValues>
v7.43.9: Version 7.43.9Compare Source
🍄 close #10195 close async defaultValues not load (#10203)
Revert "🐞 fix #10139 useFieldArray array error not updating in some cases (#10150)"
v7.43.8: Version 7.43.8Compare Source
🪡 related #10143 did not update dirty until interacted (#10157)
🐞 fix #10139 useFieldArray array error not updating in some cases (#10150)
thanks to @kylemclean
v7.43.7: Version 7.43.7Compare Source
🐞 fix #10131 regression on NaN data type (#10132)
🐞 fix #10129 useFieldArray unmount fieldArray wihtout register (#10130)
🦶 upgrade to TS 5.0.0 (#9834)
v7.43.6: Version 7.43.6Compare Source
🐞 fix(appendErrors): incorrect type, it can take an array of errors (#10125)
✍️ close #10096 react strict mode with mounted field value (#10102)
🦮 fix: isLoading form state (#10095)
📝 fix: typos in tsdoc (#10088)
🩴 close #10078 prevent stabled aysnc validation (#10082)
🐞 fix #10064 native validation when subscribe to isValid (#10072)
📝 correct typo in field array type declaration (#10066)
thanks to @jorisre @chrisbarless @mjw-isp and @adamtowle
v7.43.5: Version 7.43.5Compare Source
🐰 prevent runtime error with subscribe function (#10052)
🪔 close #10045 improve
useControllerdefaultValue restore under strict mode with doubleuseEffect(#10049)📷 improve form values state update (#10029)
v7.43.4: Version 7.43.4Compare Source
🐞 fix #10021 issue with
.nextruntime error and fix cypress action (#10026)v7.43.3: Version 7.43.3Compare Source
📐 fix
resetFielddefaultValue type and reduce any type (#10024)🐞 fix #9997 issue on the mounted state is updated with values prop (#10001)
Revert "🏍 delete dirty fields node instead of marking as false (#9156)" (#9996)
💅 improve state subscription consistency (#9984)
v7.43.2: Version 7.43.2Compare Source
🐞 fix #9972 input focus with submitted form (#9978)
💉 improve perf & save some bytes (#9968)
🐞 fix #9955 useForm values prop keepDirtyValues not update
isDirty(#9959)🗑️ remove JSX message check (#9921)
v7.43.1: Version 7.43.1Compare Source
🐞 fix #9871 issue with error type (#9873)
🐞 fix #9842
clearErrorsmethod does not support global error (#9843)v7.43.0Compare Source
Added
v7.42.1: Version 7.42.1Compare Source
🐞 fix #9773 useFormState missing state update (#9777)
🐞 fix #9765 fix issue with strictMode with isValid state (#9771)
v7.42.0Compare Source
Added
validatesupport second argument for form valuesChanged
handleSubmitno longer catchonSubmitcallback errorfieldState.invalidv7.41.5: Version 7.41.5Compare Source
🐞 fix #9713 regression on validate function with react native (#9714)
thanks @Moshyfawn
v7.41.4: Version 7.41.4Compare Source
🐞 fix #9709 calling setValue breaks future onChange calls from a Controller (#9710)
thanks @Moshyfawn
v7.41.3: Version 7.41.3Compare Source
💁♂️ close #9684 revert
UnPackAsyncDefaultValuesto avoid TS breaking changev7.41.2: Version 7.41.2Compare Source
🤦🏻♂️fix #9661 regression on required valueAsNumber (#9662)
v7.41.1: 🎅 Version 7.41.1Compare Source
🐞 fix #9659 NaN prevent validation update (#9660)
🕯️ close #9524
useWatchreturn undefined value (#9653)📖 adjust contributing document (#9641)
💆🏻 fix #9621 with the inline default value (#9622)
🩻 docs: update contribution guidelines (#9605)
thanks to @Mini-ghost and @stefanpl
v7.41.0Compare Source
Added
useFormaddedvaluespropsisLoadingformState for asyncdefaultValuesChanged
useFormsupport asyncdefaultValuespropsv7.40.0Compare Source
Changed
v7.39.7: Version 7.39.7Compare Source
Revert "🪶 improve useFormContext perf by avoid reference re-create … …with omit (#9407)"
v7.39.6: Version 7.39.6Compare Source
🚀 fix fieldArray changes only notify relevant subscribers (#9448)
🪶 improve
useFormContextperf by avoid reference re-create with omit ( #9407)💆🏻 fix potential watch() global state overwrite (#9450)
🦏 close #9410 improve UX when subscribe to both isValid and
errorsstate (#9413)🥨 added eslint rule for no-extra-boolean-cast (#9449)
thanks to @elton-okawa
v7.39.5Compare Source
Changed
useFormStatewill trigger an extra re-render to reflect the currentformStatev7.39.4: Version 7.39.4Compare Source
🐞 fix #9366
useWatchwith shadow clone Set data (#9369)🐞 fix #9365 native validation error persists (#9370)
v7.39.3: Version 7.39.3Compare Source
🤦 fix #9355 by revert "🥸 related #9310 regression to include actual ref instead custom object ( #9312)"
v7.39.2: Version 7.39.2Compare Source
⌨️ close #9339 objects of validation rules type (#9341)
🥸 related #9310 regression to include actual ref instead custom object ( #9312)
v7.39.1: Version 7.39.1Compare Source
Revert "🤯 use input reference instead custom object (#9132)" (#9311)
v7.39.0Compare Source
Changed
isValidformState is no longer only applicable withonChange,onTouched, andonBlurmode.v7.38.0Compare Source
Added
v7.37.0Compare Source
Added
defaultValuesChanged
v7.36.1: Version 7.36.1Compare Source
🪲 fix #9082 inconsistency between single/group of checkboxes disabled check state (#9083)
🌡️ improve setFocus to prevent throw error (#9081)
v7.36.0Compare Source
Added
v7.35.0Compare Source
Added
FieldPathByValuefield path by value generic implementationChanged
v7.34.2: Version 7.34.2Compare Source
Revert "🧳 let
isSubmittingstate update after valid form (#8829)"v7.34.1: Version 7.34.1Compare Source
🐞 fix(path): keys of Date | FileList | File shouldn't be add to the PathImpl #8804
🐞 fix Date, FileList, File and Blob FieldErrors mapping #8772
🚌 update
isSubmittingstate after valid form #8829🧃 upgrade to cypress 10 #8769
📖 fix nested fields example #8840
📖 add nested form example #8703
📖 improve doc of single watch #8773
📖 fixing typo (Contruído to Construído) on pt-BR translation #8762
thanks to @HarmonyEarth, @yleflour, @glekner, @vemoo, @ronny1020 and @joaoeffting
v7.34.0Compare Source
Added
useFieldArraywithrulespropv7.33.1: Version 7.33.1Compare Source
🐏 fix #8584: field errors type with optional fields (#8591)
🧳 close #8600 update code example for NestedValue input
🖼 Integrate jest-preview into react-hook-form (#8577)
🤓 improve the readability of Merge type (#8570)
🚝 test: migration from ts-jest to @swc/jest (#8572)
🏹 refactor: use const instead of props (#8571)
🔍 feat: Add ability to search test file on watch mode (#8573)
🧘🏻 ensure the field is focused when selected (#8566)
thanks to @nvh95, @elstgav and @kotarella1110
v7.33.0Compare Source
v7.32.2: Version 7.32.2Compare Source
🏋🏻 improve build dist package size (#8511)
🐞 fix #8506
delayErrornot overwrite existing function call (#8509)📖 update the use of validadtionSchema in v7 examples (#8501)
thanks, @bryantobing12
v7.32.1: Version 7.32.1Compare Source
🐞 fix #8493 error not trigger with delayError (#8494)
🔍 fix null or undefined cases caught by TS ^4.8 (#8487)
🥸 funnel along with appropriate constraints for (upcoming) TypeScript 4.8 (#8484)
thanks to @DanielRosenwasser
v7.32.0Compare Source
Changed
UseFormRegisterReturnname type change fromstringtoTFieldNamev7.31.3: Version 7.31.3Compare Source
🧑💻 Support TypeScript 4.7+ ESM (#8390)
🧾 Fix typo (#8389)
ℹ️ fix export types order
🪝 upgrade to TS 4.7 (#8402)
🕸 close #8404 use isWeb instead of globalThis (#8406)
🥬 save cloneObject bytes (#8407)
thanks to @davbrito, @rossng, @hwanyoungChoi and @Moshyfawn
v7.31.2: Version 7.31.2Compare Source
🐞 fix(reset): set
isSubmittedto formState value ifkeepIsSubmittedistrue(#8368)thanks to @blabute
v7.31.1: Version 7.31.1Compare Source
🎭 close #7472 include a proxy check with field state to improve
useControllerperf (#8334)🐞 fix #8339 Revert "🗑 remove the reference for blob and file list (#8305)"
🚮 remove dead code (#8337)
thanks to @NMinhNguyen
v7.31.0Compare Source
Added
resetoptional prop:keepDirtyValuesChanged
useFieldArrayauto-correct field array errors on user action[
v7.30.0](https://redirect.github.com/react-hook-form/react-hook-form/blob/HEAD/CHANGELOG.md#7300---2022-4-Configuration
📅 Schedule: (UTC)
🚦 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 was generated by Mend Renovate. View the repository job log.