Skip to content

Releases: DirectoryTree/LdapRecord

v2.19.1

02 Dec 19:55
Compare
Choose a tag to compare

Fixed

  • PHP 8.1 str_contains() with null value warning - #530

v2.19.0

06 Nov 18:22
912385e
Compare
Choose a tag to compare

Added

  • Add ability to filter relations based on related object classes via $model->relation()->onlyRelated() - #517

Fixed

  • Timestamp::convertWindowsTimeToDateTime() returns wrong timezone for UTC time - #519

v2.18.0

10 Oct 13:24
f93da38
Compare
Choose a tag to compare

Added

  • Ability to count() model relationships via $model->relation()->count() - d28674a

v2.17.3

07 Oct 14:12
6d8d242
Compare
Choose a tag to compare

Fixed

  • Model events will now be properly dispatched when calling: - #510, #508
    • $model->createAttribute()
    • $model->updateAttribute()
    • $model->deleteAttribute()

v2.17.2

30 Sep 19:39
e0ee9d8
Compare
Choose a tag to compare

Fixed

  • Properly set the LDAP batch modification type of password when user does not exist - #506

v2.17.1

21 Sep 18:36
Compare
Choose a tag to compare

Fixed

  • PHP 8.1 strict types bug with html_entity_decode when attempting to bind with a null password - #503

v2.17.0

01 Sep 13:04
d679be5
Compare
Choose a tag to compare

Added

  • ActiveDirectory\User model methods isEnabled() and isDisabled() methods to determine enablement
  • ActiveDirectory\User model method accountControl() to easily retrieve an AccountControl object populated with the user's userAccountControl value

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