woocommerce / woocommerce-blocks

(Deprecated) This plugin has been merged into woocommerce/woocommerce
https://wordpress.org/plugins/woo-gutenberg-products-block/
GNU General Public License v3.0
405 stars 219 forks source link

Bump react-number-format from 4.9.3 to 5.3.1 #12227

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 7 months ago

Bumps react-number-format from 4.9.3 to 5.3.1.

Release notes

Sourced from react-number-format's releases.

Bug fixes

  • Fix infinite rerender when values.value is used valueIsNumericString not provided. #786
  • Fix for delete of decimalSeparator happening when fixeDecimalScale is set. #789

Bug fixes with NumberFormatBase API improvement.

Bug fixes

  • Fix for prop values on not updating (not reflecting on input) on StrictMode. Regression of v5.2.0
  • fix(number_format_base): prevent warnings in SRR when using useLayoutEffect. by @​NicolasMontone

Regression fix from 5.2.0

Regression fix: try to correct the value if the old formatted value is provided but the format prop changes

Bug fixes and valueIsNumericString prop improvement.

Improvements

  • Optimize rendering, and avoid multiple rerender when number format is mounted.
  • Try to guess valueIsNumericString based on props and value, so the user no longer has to define this prop, if the format prop (prefix/ suffix for numeric format, format prop for pattern format) doesn't have the number in it.

Fixes

  • Fixes #736 - Fix for focus on mount getting reset.
  • Fixed #740 - fixed type for the format, removeFormat, getCaretBoundary.
  • Fixed #741 - Thousand and decimal formatting broken while typing when value isNumericString is set to false
  • Fixed #742 - cursor position getting changed when format props are updated during typing.
  • Fixed #725 - The cursor position not being correct when allowed decimal separator is typed
  • Fixed a couple of false positive tests and some regressions around those.

Bug fixes

  • Fixed #694 Prefix/Suffix containing numbers gets appended to value.
  • Fixed #691 Prefix/Suffix blocking input when set to a number
  • Fixed #729 Prefix '-' does not allow to remove first number
  • Added fixedDecimalScale prop to doc #735 by @​arminbashizade

Bug fixes

  • Fixed #712 (Extra character added if you start typing from start of the input while input is fully filled)
  • Fixed #711 (The caret is not moved when typing a decimal separator at an existing decimal separator)
  • Mark module as side effect free (#713 by @​topaxi )
  • pass type parameter to SyntheticEvent in event source object. (#703 by @​yukiyokotani )

Bug fixes

  • Fixed typo on patternFormatter export. #698
  • Fixed cursor position getting reset if isAllowed returns false. #699
  • Fixed doc for isAllowed prop. #697 by @​3794

Bug fixes

... (truncated)

Commits
  • ec2f10f Release for bug fix
  • dc9a0c8 - Fix for delete of decimalSeparator happening when fixeDecimalScale is set. ...
  • 424c750 - Fix infinite rerender when values.value is used valueIsNumericString not pr...
  • 5565aa8 Add note for minValue and maxValue
  • 1100ad7 Add comment on doc to not use customInput as render prop.
  • 9e0fd53 Version upgrade for release.
  • e502b2c - Fix #774
  • 1d1171f - Update readme for linking the documentation in better way.
  • 29cc1d2 Doc update
  • 30e6537 Update README.md
  • Additional commits viewable in compare view


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
github-actions[bot] commented 7 months ago

Thank you for your interest in contributing to WooCommerce!

WooCommerce Blocks has been merged into the WooCommerce Monorepo.

From now on, please open any issues or pull requests in the woocommerce/woocommerce repository.

dependabot[bot] commented 7 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.