Banda-Media / lunchMemo

Lunch Memo makes it easy to organize lunch with your colleagues and other professionals in your area. Spend less time finding lunch spots and scheduling with everyone and simply your lunch life with LunchMemo.
http://www.lunchmemo.com
Apache License 2.0
3 stars 0 forks source link

Bump react-hook-form from 6.14.2 to 7.7.1 #350

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps react-hook-form from 6.14.2 to 7.7.1.

Release notes

Sourced from react-hook-form's releases.

Version 7.7.1

๐ŸŽ“ only register absent fields with shouldUnregister: false (#5418)

Version 7.7.0

๐ŸŒŸ feature: focus with trigger (#4960)

trigger('firstName', { shouldFocus: true})

๐Ÿงผ bubble up the error when thrown in submit handler (#5391)

Version 7.6.10

๐Ÿž close #5379 getFieldValueAs return undefined when supplied with undefined (#5381) ๐Ÿ› fix #5382 trigger() return incorrect valid state (#5383)

Version 7.6.9

๐Ÿ› fix #5366 inline defaultValue validation (#5376) โŒจ๏ธ improve controller defaultValue prop type (#5375) ๐Ÿ‹๐Ÿปโ€โ™€๏ธ reduce logic with value check (#5356)

Version 7.6.8

๐Ÿž fix #5361 remove check field logic for getFieldValues (#5363) ๐Ÿž fix #5277 Update value when switch to enabled from initial disabled state (#5350) ๐Ÿ“ฆ update typescript and remove object define in useController (#5353)

Version 7.6.7

๐Ÿž fix #5344 avoid re-register inputs (#5345) ๐Ÿ‘Œ close #5283 useFieldArray issue with restrict mode (#5331) ๐Ÿ‹๐Ÿปโ€โ™€๏ธ save esm bundle size (#5327) โŒจ๏ธ accept readonly field path arrays (#5317)

Version 7.6.6

๐Ÿ› fix #5300 issue with register absent deep nested object (#5302) ๐Ÿ•ต๏ธ close #5297 issue with get with empty path (#5298)

Version 7.6.5

๐Ÿž fix #5286 useWatch with fieldArray inconsistent behaviour (#5287)

Version 7.6.4

๐Ÿž fix #5276 setValue with null (#5278)

Version 7.6.3

๐Ÿž fix #5246 useFieldArray with nested arrays throws error (#5251) ๐Ÿž fix #5262 register checkbox issue with absent register (#5263)

Version 7.6.2

๐Ÿž fix #5234 should render error logic for valid state (#5235) โŒจ๏ธ fix missing-register-options-generic-type (#5238)

... (truncated)

Changelog

Sourced from react-hook-form's changelog.

[7.7.1] - 2021-05-30

Fxied

  • shouldUnregister: false should not shallow merge or register absent input fields from defaultValues

[7.7.0] - 2021-05-29

Added

  • trigger support focus with error input
trigger('inputName', { shouldFocus: true });

Changed

  • handleSubmit will throw error within the onSubmit callback

[7.6.0] - 2021-05-15

Changed

  • useForm will register missing inputs from defaultValues
const App = () => {
  const { register, handleSubmit } = useForm({
    defaultValues: {
      test: { firstName: 'bill', lastName: 'luo' },
    },
  });

const onSubmit = (data) => { // missing registered input will be included console.log(data); // { test: { firstName: 'bill', lastName: 'luo' } } };

return ( <form onSubmit={handleSubmit(onSubmit)}> <input {...register('test.firstName')} /> <button /> </form> ); };

[7.5.0] - 2021-05-09

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

๐Ÿ” Inspect: https://vercel.com/andresmweber/lunch-memo/7sKAnYquMtkuZkwqh7TsJftegGnM
โœ… Preview: Failed

codeclimate[bot] commented 3 years ago

Code Climate has analyzed commit 3cee57a3 and detected 0 issues on this pull request.

View more on Code Climate.

dependabot-preview[bot] commented 3 years ago

Superseded by #353.