Skip to content

Releases: PrinsFrank/standards

v2.2.0 Country groups added: EU, EEA, EFTA, BRICS etc

27 Sep 09:51
64ceb8d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.2.0

v2.1.0 Currency symbols added

10 Jul 17:50
Compare
Choose a tag to compare

v2.0.1 "Netherlands (the)" has been renamed to "Netherlands (Kingdom of the)"

10 Apr 09:34
027646b
Compare
Choose a tag to compare

What's Changed

"Netherlands (the)" has been renamed to "Netherlands (Kingdom of the)" in the CountryName specification by @github-actions in #51

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

v2.0.0 Readability Improvements

25 Mar 17:58
Compare
Choose a tag to compare

As this package is getting adopted and more people start using it, I got some valid feedback on the readability of the standards in codebases.

  • If you want to use a country code in code, you need to navigate the namespaces or know the ISO code of the spec for the country codes
  • If a country has a long formal name, using the enum name may span an entire line of code decreasing readability.

This update solves both of these problems.

For an upgrade guide please check the UPGRADING.md in the root of this project.

Full Changelog: v1.6.0...v2.0.0

v1.6.0 Added short country code variant

19 Mar 11:21
Compare
Choose a tag to compare

As the country code enums names are based on the actual country name, they can become quite long and decrease readability when used in code. As to not make any backwards incompatible changes, a new set of country code enums was added in the CountryCodeShort namespace that are optimised for use in code.

v1.5.1 Croation Kuna has been replaced by the Euro, so it has been deprecated

01 Jan 19:44
06ef346
Compare
Choose a tag to compare

What's Changed

As of today Croatia joined the Eurozone and Schengen area, and the country will use the Euro instead of the Croatian Kuna. As such, the Kuna has already been removed from the ISO4217 specification by the maintaining upstream party for it - the six group.

To maintain backwards compatibility in this minor release, the enum cases will stay in this specification package and will just be marked as deprecated.

  • Automatic Currency spec update by @github-actions in #50

Full Changelog: v1.5.0...v1.5.1

v1.5.0 Added HTTP Methods

27 Nov 18:25
Compare
Choose a tag to compare

What's Changed

  • Added HTTP Methods

Other changes

  • Add incremental backoff to spec updating so manual retries are not ne… by @PrinsFrank in #46

Full Changelog: v1.4.0...v1.5.0

v1.4.0 Add UnitEnum utility class

24 Sep 14:02
11aa611
Compare
Choose a tag to compare

What's Changed

  • Add UnitEnum utility class providing similar function as BackedEnum functionality but for UnitEnums instead.
  • Update the six group datasource url for currency codes as it has been update on their website by @PrinsFrank in #44

Full Changelog: v1.3.0...v1.4.0

v1.3.0 Expand BackedEnum utility class with ::names, ::values and ::toArray

24 Aug 20:08
Compare
Choose a tag to compare

What's Changed

  • Add ::names ::values ::toArray helper to BackedEnum by @lakuapik in #33

Full Changelog: v1.2.0...v1.3.0

v1.2.0 Added Country calling codes

14 Aug 17:55
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1.2.0