You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,33 @@ All notable changes to `nova-phone-field` will be documented in this file.
4
4
5
5
Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
6
6
7
+
## 2.0.0 - 2023-07-19
8
+
9
+
### What's Changed
10
+
11
+
- PhoneNumber field can now be `copyable` by @JamesHemery and @ch-hamzzyy in https://github.com/YieldStudio/nova-phone-field/pull/8 and https://github.com/YieldStudio/nova-phone-field/pull/4
12
+
- PhoneNumber field can now show `helper` text by @JamesHemery in https://github.com/YieldStudio/nova-phone-field/pull/8
13
+
- Upgrade to inputmask 5 (fixes copy/paste and indicator change problems) by @JamesHemery in https://github.com/YieldStudio/nova-phone-field/pull/8
14
+
- Replaced PHPCS by Laravel Pint by @JamesHemery in https://github.com/YieldStudio/nova-phone-field/pull/8
15
+
16
+
### Breaking change
17
+
18
+
Values are now stored in [E.164 format](https://en.wikipedia.org/wiki/E.164). Previously, the formatted value was stored, which later caused problems for usage.
19
+
20
+
Now with the E.164 format, you can use the phone number directly. We use [libphonenumber-js](https://www.npmjs.com/package/libphonenumber-js) to format it on the Index and Detail of your resources.
21
+
22
+
To replace previously saved values you can use this query :
23
+
24
+
```sql
25
+
UPDATE _table_ SET _field_=CONCAT('+', REGEXP_REPLACE(_field_, '\\D', ''))
26
+
27
+
```
28
+
### New Contributors
29
+
30
+
-@ch-hamzzyy made their first contribution in https://github.com/YieldStudio/nova-phone-field/pull/5
0 commit comments