Version 3.0.0

September 27, 2024
  • Now requires Craft 5.3.0.
  • Added support for keyword search.
  • Added support for previewing fields in card views.
  • Added support for inline editing in element indexes.
  • Added support for querying fields by region and number.
  • Added support for element query conditions.
  • Added support for field condition rules.
  • Added support for GraphQL mutations.
  • Added the ability to control the preview format in element and card previews.
  • Added support for field merging
  • Improved styling
  • Changed to default region setting field to use selectize.
  • Added \rynpsc\phonenumber\services\PhoneNumber::convertNumbersToLinks.
  • Removed \rynpsc\phonenumber\field\PhoneNumberField::getRegionOptions,
  • Changed \rynpsc\phonenumber\services\PhoneNumber::getAllSupportedRegions to return a Collection.

Version 2.2.0

September 20, 2023
  • Added Feed Me integration.

Version 2.1.0

July 4, 2022
  • Added craft.phoneNumber.getAllSupportedRegions to output a list of countries and their respective calling codes.

Version 2.0.1

May 24, 2022
  • Fixed issued when creating a new field (#18)

Version 2.0.0

May 4, 2022

Added

  • Added formatForCountry method
  • Added formatForMobileDialing method
  • Added getCarrierName method
  • Added getExtension method
  • Added getTimeZones method
  • Added carrierName to GraphQl type
  • Added extension to GraphQL type
  • Added formatForCountry to GraphQL type
  • Added formatForMobileDialing to GraphQL type
  • Added format to GraphQL type
  • Added timezones to GraphQL type
  • Added support for locale and region arguments to description GraphQL field

Changed

  • Now requires Craft 4.

Version 1.5.0

May 1, 2021

Added

  • Added tel as an alias for rfc3966 in the format method.
  • Added ability to set the content of the links generated by the getLink method and tel filter.

Version 1.4.4

April 15, 2021

Changed

  • Now requires Craft 3.6.12 or later
  • Updated focus styles to match Craft's new styles added in 3.6.12.

Version 1.4.3

March 12, 2021

Fixed

  • Fixed issue with field value normalization #12

Version 1.4.2

January 27, 2021

Fixed

  • Fixed region button padding.

Version 1.4.1

December 13, 2020

Fixed

  • Fixed GraphQL error when devMode is set to false.

Version 1.4.0

December 5, 2020

Added

  • Added GraphQL content type (#10).

Version 1.3.0

January 20, 2020

Changed

  • Updated styles for Craft 3.4.

Version 1.2.5

October 15, 2019

Fixed

  • Fixed issue where tel filter returned incorrect href value in when running Craft 3.3..

Version 1.2.4

September 20, 2019

Fixed

  • Fix issue where getLink() returned incorrect href value in when running Craft 3.3..

Version 1.2.3

May 5, 2019

Fixed

  • Fixed error when converting from a plain text field (#1).

Version 1.2.2

February 10, 2019

Fixed

  • Fixed incorrect string replacement with tel filter when dealing with multi-byte strings.

Version 1.2.1

January 4, 2019

Fixed

  • Fixed issue with tel filter when string is null.

Version 1.2.0

October 19, 2018

Added

  • Added getType() to PhoneNumberModel.
  • Added getDescription() to PhoneNumberModel.

Version 1.1.1

September 24, 2018

Fixed

  • Fixed issue where classes were being incorrectly applied in IE11.

Version 1.1.0

September 10, 2018

Added

  • Added ability to pass in a country code to the tel filter to parse national numbers.

Version 1.0.0

September 5, 2018
  • Initial release