Skip to content

Releases: DirectoryTree/LdapRecord

v2.16.0

16 Jun 12:39
a246840
Compare
Choose a tag to compare

Fixed

  • Ability to chunk relations recursively (i.e. $user->groups()->recursive()->chunk($callback)) - #474

Added

  • Models\Collection::modelDns() method to easily fetch all of the model's Distinguished Name's inside of a model collection
    • This is a parity feature of the Eloquent Collection modelKeys() method - #474
  • HasMany::each($callback) method to easily iterate through each result of a chunked relation query via callback - #474

v2.15.0

13 Jun 17:59
5dbfb05
Compare
Choose a tag to compare

Fixed

  • Unserialized model attributes will now be properly restored to their original values prior to serialization - #457 - #471

v2.14.0

27 May 02:31
Compare
Choose a tag to compare

Added

  • Live integration tests using OpenLDAP docker image - 4ff5385
  • Implement DirectoryServer model type interface - dbb6961

Changed

  • ActiveDirectory\Entry::getRootDse() method has been moved to base Model class - 32cb379
  • Return the model's static $objectClasses if the objectclass attribute is not present - 4e7717b
  • Filter Parser will now always return an array of nodes instead of single GroupNode's - 076591b
  • Filter Parser will now trim unneeded white space in parsed nodes - 0c6d833

Fixed

  • Filter Parser can now parse multiple root filter nodes - 58cc38f

v2.13.0

02 May 13:30
6241c03
Compare
Choose a tag to compare

Added

  • LDAP Filter Parser - #438

Changed

  • Require symfony/polyfill-php80 for some PHP 8 only functions to maintain BC with PHP 7.4

v2.12.0

18 Apr 21:34
6b6e9d8
Compare
Choose a tag to compare

Fixed

  • Model serialization with json_encode - #430

Added

  • $model->originalToArray() method for retrieving a json_encode'able array of a model's original attributes - #430

v2.11.1

15 Mar 13:28
56cf46e
Compare
Choose a tag to compare

Fixed

  • Use correct key to retrieve total count of results in Query::slice() - #420 - Thanks to @KarimGeiger

v2.11.0

08 Mar 14:30
1ac0c94
Compare
Choose a tag to compare

Added

v2.10.1

26 Feb 14:04
Compare
Choose a tag to compare

Fixed

  • Properly update cookie when paginating - bf512d9 - #411

v2.10.0

17 Feb 21:51
Compare
Choose a tag to compare

Added

  • Ability to sort search results server side via User::orderBy('cn')->get() - #401

v2.9.4

09 Feb 14:14
c0213d9
Compare
Choose a tag to compare

Added

  • Laravel 9 Support - #396