Skip to content

Releases: PrinsFrank/standards

v3.8.3 New Interslavic alpha3-extensive Language, Avianca TLD unassigned

23 Apr 11:40
9f89884
Compare
Choose a tag to compare

What's Changed

  • TLD Avianca is now unassigned by @github-actions in #219
  • Set up PHP in reusable-update-spec by @szepeviktor in #222
  • Fix PHP version constraints by @szepeviktor in #224
  • Click cookie button in CountryMapping by @szepeviktor in #221
  • Automatic language-extensive spec update by @github-actions in #225

Full Changelog: v3.8.2...v3.8.3

v3.8.2 TLD guardian unassigned and new language tag variants

07 Mar 20:57
0fa1a80
Compare
Choose a tag to compare

What's Changed

"guardian" TLD domain got unassigned

  • Automatic tld spec update by @github-actions in #217

New language tag variants: "anpezo", "fascia", "fodom", "gherd", "pehoeji", "tailo" and "valbadia".

  • Automatic language-subtag spec update by @github-actions in #218

Other changes

Full Changelog: v3.8.1...v3.8.2

v3.8.1

08 Feb 12:01
3971c09
Compare
Choose a tag to compare

What's Changed

.comcast and .xfinity Top Level Domains are now not assigned;

  • Automatic tld spec update by @github-actions in #211

Fixes

Full Changelog: v3.8.0...v3.8.1

v3.8.0 Top Level Domain, Script detection for strings and a lot of fixes and improvements!

02 Feb 17:06
f1178f2
Compare
Choose a tag to compare

What's Changed

Introduction of Top Level Domains

There are 6 categories of Top Level Domains, and all of them have been introduced as seperate enums:

CountryCodeTLD::from('nl');                      // CountryCodeTLD::nl
CountryCodeTLD::nl;                              // CountryCodeTLD::nl
CountryCodeTLD::from('nl')->value;               // 'nl'
CountryCodeTLD::from('nl')->name;                // 'nl'
CountryCodeTLD::from('nl')->isAssigned();        // true
CountryCodeTLD::from('nl')->getCountryAlpha2();  // CountryAlpha2::Netherlands
CountryCodeTLD::from('nl')->getCountryAlpha3();  // CountryAlpha3::Netherlands
CountryCodeTLD::from('nl')->getCountryNumeric(); // CountryNumeric::Netherlands

GenericRestrictedTLD::from('name');                // GenericRestrictedTLD::name
GenericRestrictedTLD::name;                        // GenericRestrictedTLD::name
GenericRestrictedTLD::from('name')->value;         // 'name'
GenericRestrictedTLD::from('name')->name;          // 'name'
GenericRestrictedTLD::from('name')->isAssigned();  // true

GenericTLD::from('aaa');                // GenericTLD::aaa
GenericTLD::aaa;                        // GenericTLD::aaa
GenericTLD::from('aaa')->value;         // 'aaa'
GenericTLD::from('aaa')->name;          // 'aaa'
GenericTLD::from('aaa')->isAssigned();  // true

InfrastructureTLD::from('arpa');                // InfrastructureTLD::arpa
InfrastructureTLD::arpa;                        // InfrastructureTLD::arpa
InfrastructureTLD::from('arpa')->value;         // 'arpa'
InfrastructureTLD::from('arpa')->name;          // 'arpa'
InfrastructureTLD::from('arpa')->isAssigned();  // true

SponsoredTLD::from('aero');                // SponsoredTLD::aero
SponsoredTLD::arpa;                        // SponsoredTLD::aero
SponsoredTLD::from('aero')->value;         // 'aero'
SponsoredTLD::from('aero')->name;          // 'aero'
SponsoredTLD::from('aero')->isAssigned();  // true

TestTLD::from('テスト');              // TestTLD::tesuto_katakana
TestTLD::tesuto_katakana;            // TestTLD::tesuto_katakana
TestTLD::from('テスト')->value;       // 'テスト'
TestTLD::from('テスト')->name;        // 'tesuto_katakana'
TestTLD::from('テスト')->isAssigned() // false

Retrieving scripts for strings

It is now possible to retrieve the script(s) for a string:

ScriptAlias::allForString('еюeuеюευ');         // [ScriptAlias::Cyrillic, ScriptAlias::Greek, ScriptAlias::Latin]
ScriptAlias::hasMultipleForString('еюeuеюευ'); // true
ScriptAlias::mostCommonInString('еюeuеюευ');   // ScriptAlias::Cyrillic

ScriptCode::allForString('еюeuеюευ');         // [ScriptCode::Cyrillic, ScriptCode::Greek, ScriptCode::Latin]
ScriptCode::hasMultipleForString('еюeuеюευ'); // true
ScriptCode::mostCommonInString('еюeuеюευ');   // ScriptCode::Cyrillic

ScriptNumber::allForString('еюeuеюευ');         // [ScriptNumber::Cyrillic, ScriptAlias::Greek, ScriptAlias::Latin]
ScriptNumber::hasMultipleForString('еюeuеюευ'); // true
ScriptNumber::mostCommonInString('еюeuеюευ');   // ScriptNumber::Cyrillic

LanguageExtensive has received some updates

  • Automatic language-extensive spec update by @github-actions in #145, #167 and #202

Fixes and Improvements

New Contributors

Full Changelog: v3.7.0...v...

Read more

v3.7.0 Sierra Leone has finished currency transition: Sierra_Leone_Old is now deprecated and not returned by currencyForCountry

01 Jan 13:47
bd6945e
Compare
Choose a tag to compare

What's Changed

  • Sierra Leone has finished currency transition: Sierra_Leone_Old is now deprecated and not returned by currencyForCountry by @github-actions in #130

Other

Full Changelog: v3.6.0...v3.7.0

v3.6.0 Allow configurable subtag separator for LanguageTags/Locales when parsing from string or casting to string

27 Dec 14:38
aff7c5b
Compare
Choose a tag to compare

What's Changed

  • Allow configurable subtag separator when parsing from string or casting to string by @PrinsFrank in #125

Full Changelog: v3.5.0...v3.6.0

v3.5.0 Added '__toString' method to LanguageTag

26 Dec 21:23
06e615c
Compare
Choose a tag to compare

What's Changed

  • Add Stringable/__toString() to LanguageTags (Locales) by @PrinsFrank in #124

Full Changelog: v3.4.0...v3.5.0

v3.4.0 Country/Language names in different languages, Number/Currency formatting based on country/language, National call prefixes

22 Dec 16:10
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.3.0...v3.4.0

v3.3.0 Relationship between country and language & Minor units for currencies

02 Dec 11:36
1331328
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.2.0...v3.3.0

v3.2.0 Add relationships between Countries and Currencies

01 Dec 14:20
9c64486
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.1.0...v3.2.0