Skip to content

Releases: stefanzweifel/php-swiss-cantons

3.0.0

22 Feb 19:35
Compare
Choose a tag to compare

Changed

  • Update README with better examples on how to use the package
  • Passing an invalid language to Canton@setLanguage now throws InvalidLanguageException
  • If a Canton can't be found either by abbreviation, name or zipcode CantonException is thrown
  • Replace most of the internal doc blocks with Type Hints, Return Types and Property Types
  • Internally, data sets are now always cast to arrays instead of objects
  • Switch from Travis to GitHub Actions for testing

Removed

  • Drop support for PHP 7.2
  • Drop support for PHP 7.3
  • Remove Code documentation folder /docs

2.1.0

19 Feb 19:33
Compare
Choose a tag to compare

Removed

  • Drop support for PHP 7.0
  • Drop support for PHP 7.1
  • Remove Liechtenstein Zipcodes from Dataset #27, #31
  • Remove duplicate zipcode for "Le Locle" #28, #29

2.0.1

19 Feb 19:37
8c53f14
Compare
Choose a tag to compare

Fixes

2.0.0

19 Feb 19:35
abda04a
Compare
Choose a tag to compare

Fixes

  • Fix typo (appreviation → abbreviation) (#21)

1.4.0

28 Jul 12:02
b4f3f92
Compare
Choose a tag to compare

You can now retrieve a list of all Cantons instead of just searching for them. See README for details.

1.3.0

03 May 17:53
ce094e7
Compare
Choose a tag to compare
  • Fix wrong translations (See #16 )

1.2.1

04 Oct 18:47
21c93ff
Compare
Choose a tag to compare

Version 1.2.1 🎉

  • Fix issue with lowercase Canton abbreviations (#11)
  • Fix issue with (string) zipcodes (#12)

See CHANGELOG for more.

1.2.0

16 Sep 21:54
Compare
Choose a tag to compare

Version 1.2.0 🎉

  • Remove tightenco/collect as a dependency (#8)

See CHANGELOG for more.

1.1.0

16 Sep 20:59
Compare
Choose a tag to compare

Version 1.1.0

  • Adds a getByZipcode() Search (#4, #6)

1.0.0

26 Jul 17:59
Compare
Choose a tag to compare

1.0.0 Release 🎉