Skip to content

Releases: glhd/laravel-addressing

3.3.0

22 Jul 17:12
Compare
Choose a tag to compare

Adds Laravel 11 support

Full Changelog: 3.2.0...3.3.0

3.2.0

17 Feb 21:31
Compare
Choose a tag to compare

Added Laravel 10 support

3.1.0

18 Feb 17:26
Compare
Choose a tag to compare

Changed

  • Added support for PHP 8 and Laravel 9

Added

  • Add 'orFail' variants of country and administrative area methods
  • Added Macroable to entities

3.0.0

04 Aug 17:07
Compare
Choose a tag to compare

The 3.0.0 release is mostly around dropping support for older versions of Laravel and PHP. The codebase has been updated with PHP 7.4-compatible type hints and a few files have been tweaked to support the latest Laravel 8 release. Other than that, the only feature change is that entity attributes can be accessed as properties or via getters. This is particularly useful if you want to use Laravel's collection methods like pluck()/etc.

Changed

  • Dropped support for older PHP and Laravel versions
  • Switched to PHP 7.4 syntax (more usage of type hints)
  • Switched to GitHub actions for CI
  • Implemented Get a Changelog standard

Added

  • Added support for accessing values as attributes (i.e. $country->country_code as well as $country->getCountryCode())
  • Added additional tests

Fixed

  • Updated the collection methods to support Laravel's new pop($count) method signature

2.2.1

01 Jun 10:54
6f8ef25
Compare
Choose a tag to compare

Fixes issue with nullable data in some countries.

2.2.0

31 Dec 15:30
Compare
Choose a tag to compare

Updates composer.json to support PHP 8 and adds tests.

2.1.0

22 Sep 15:38
bc42200
Compare
Choose a tag to compare

Adds Laravel 8 support.

2.0.1

10 Mar 19:48
1e0f7b1
Compare
Choose a tag to compare

This should not cause breaking changes for most people, but we're tagging it as 2.0 because technically the behavior is different:

  • The postal code and administrative area validators will now pass if provided an empty string in a country that does not require that address field. So, an empty postal code in the US will fail, but an empty postal code in Ireland will pass. This is more a bugfix than a breaking change, but it's a change of behavior regardless.
  • The administrative area validator will now pass if we don't have a list of valid areas for the country
  • Added Laravel 7 support

2.0.0

10 Mar 19:13
b4481a1
Compare
Choose a tag to compare
Merge pull request #20 from glhd/analysis-1bE2xP

Apply fixes from StyleCI

1.0.3

03 Dec 22:41
93d77e1
Compare
Choose a tag to compare

Fixed dependency version constraint