v5.0.0
github-actions
released this
26 May 15:23
·
10 commits
to refs/heads/main
since this release
Breaking Changes
Public
- The signature of
getByZipcode()
changed. The method now returns an array of possible Cantons instead of the first Canton that matched. (Some zipcodes can belong to multiple cantons. For example 1290) - A new
getByZipcodeAndCity()
method has been added that accepts a zipcode and optionally a city name to drill down the search further.
Internal
ZipcodeSearch
-class has been renamed toCitySearch
zipcodes.json
has been renamed tocities.json
Added
Changed
- Replace Psalm with Phpstan (#45)