Skip to content

3.0.0

Compare
Choose a tag to compare
@inxilpro inxilpro released this 04 Aug 17:07
· 25 commits to main since this release

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