Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.8 KB

CHANGELOG.md

File metadata and controls

43 lines (25 loc) · 1.8 KB

Changelog

All notable changes to nova-phone-field will be documented in this file.

Updates should follow the Keep a CHANGELOG principles.

2.0.0 - 2023-07-19

What's Changed

  • PhoneNumber field can now be copyable by @JamesHemery and @ch-hamzzyy in #8 and #4
  • PhoneNumber field can now show helper text by @JamesHemery in #8
  • Upgrade to inputmask 5 (fixes copy/paste and indicator change problems) by @JamesHemery in #8
  • Replaced PHPCS by Laravel Pint by @JamesHemery in #8

Breaking change

Values are now stored in E.164 format. Previously, the formatted value was stored, which later caused problems for usage.

Now with the E.164 format, you can use the phone number directly. We use libphonenumber-js to format it on the Index and Detail of your resources.

To replace previously saved values you can use this query :

UPDATE _table_ SET _field_=CONCAT('+', REGEXP_REPLACE(_field_, '\\D', ''))

New Contributors

  • @ch-hamzzyy made their first contribution in #5

Full Changelog: https://github.com/YieldStudio/nova-phone-field/compare/1.0.1...2.0.0

1.0.1 - 2022-06-02

Full Changelog: https://github.com/YieldStudio/nova-phone-field/compare/1.0.0...1.0.1

  • Fix +33 (French number) mask

1.0.0 - 2022-06-01