Skip to content

Releases: csandman/yup-phone-lite

2.0.1

18 Jan 21:52
Compare
Choose a tag to compare

What's Changed

  • Cleanup by @csandman in #15
    • Should be entirely behind the scenes, check the PR for full details

Full Changelog: v2.0.0...v2.0.1

2.0.0

18 Jan 03:44
Compare
Choose a tag to compare

What's Changed

  • New internals Fix by @csandman in #14
    • Add CodeSandbox CI integration for testing before releases
    • Fix #12
      • Remove rollup entirely in favor of an approach using strictly babel
      • Also remove the UMD build (only CJS or ESM)

This is a major release because of the removal of rollup along with UMD bundles. If anything else is broken due to this version, leave an issue and it will be addressed.

Full Changelog: v1.2.0...v2.0.0

1.2.0

13 Jan 20:31
Compare
Choose a tag to compare

What's Changed

  • Add an option to pass an array of country codes instead of a singular one. See the docs for more info.
  • chore(package): bump dependencies and adjust config as per latest changes by @mihai-ro in #10

Full Changelog: v1.1.2...v1.2.0

1.1.2

14 Jul 18:29
Compare
Choose a tag to compare

What's Changed

  • Fix the last updates by @csandman in #8
    • An attempt to fix the error #7 by tweaking the updates made in the last version to align better with the original yup-phone package.

Full Changelog: v1.1.1...v1.1.2

1.1.1

13 Jul 19:35
Compare
Choose a tag to compare

What's Changed

  • refactor(lib): update dependencies, replace deprecated by @mihai-ro in #6
  • Other behind the scenes changes to keep code up to date such as:
    • New scripts for linting, formatting, and publishing
    • Pre-commit hooks with husky and lint-staged

New Contributors

Full Changelog: v1.1.0...v1.1.1

1.1.0

19 Aug 23:29
Compare
Choose a tag to compare

This release fixes an issue made on the original repo (abhisekp/yup-phone#313) in which an empty string fails, even though that should be left to yups native .required() function.

Thanks to @tomdye for bringing this to my attention!

Breaking Changes

If you were previously using this package without the .required() chained function and are expecting validation to fail on an empty string, you will need to add .required() to make it validate in the same way.