Skip to content

Releases: DirectoryTree/LdapRecord-Laravel

v2.2.2

03 Apr 15:42
d7107f1
Compare
Choose a tag to compare

Changed

  • Forward missing method calls on DatabaseUserProvider to EloquentUserProvider - 8dab566 - #258

Added

v2.2.1

19 Mar 02:01
Compare
Choose a tag to compare

Changed

  • Bump minimum LdapRecord core version to v2.3.0 - 8e2d0f3
  • Use new Query::setBaseDn() method in Testing\EmulatedBuilder - 9395d43

v2.2.0

17 Mar 01:58
Compare
Choose a tag to compare

Fixed

  • Type-hints in ldap:import and ldap:browse commands requiring LdapRecord\Models\Entry class have been properly updated to use the base LdapRecord\Models\Model class instead.

Added

v2.1.2

07 Mar 01:40
Compare
Choose a tag to compare

Fixed

v2.1.1

12 Feb 23:24
Compare
Choose a tag to compare

Added

  • Missing ramsey/uuid composer package requirement for use with older Laravel & Lumen versions that do not require it - debf5d3

v2.1.0

11 Feb 14:00
Compare
Choose a tag to compare

Changed

v1.7.6

02 Jan 00:20
Compare
Choose a tag to compare

Changed

  • Use email as the default input field when throwing validation exceptions while listening for bind failures - 41445c7
  • Handle LDAP user resolution the same across DatabaseUserProvider and NoDatabaseUserProvider to ensure validation exceptions aren't caught - b265cb7, 352673e

v2.0.1

02 Jan 00:17
Compare
Choose a tag to compare

Changed

  • Use email as the default input field when throwing validation exceptions while listening for bind failures - 1801a69
  • Handle LDAP user resolution the same across DatabaseUserProvider and NoDatabaseUserProvider to ensure validation exceptions aren't caught - 9458526, 3d75a0d

Added

v2.0.0

24 Dec 23:01
Compare
Choose a tag to compare

Upgrading

Please view the upgrade guide to view any notable changes that may have affected your application.

Changed

  • Bumped core LdapRecord requirement to v2.*

  • All authentication events have been moved to a new namespace and renamed:

    • Events\Authenticating to Events\Auth\Binding
    • Events\Authenticated to Events\Auth\Bound
    • Events\AuthenticationFailed to Events\Auth\BindFailed
    • Events\AuthenticationRejected to Events\Auth\Rejected
    • Events\AuthenticatedWithWindows to Events\Auth\CompletedWithWindows
    • Events\AuthenticatedModelTrashed to Events\Auth\EloquentUserTrashed
    • Events\DiscoveredWithCredentials to Events\Auth\DiscoveredWithCredentials
  • Nearly all authentication events now have the same public properties ($object, $eloquent) for consistency and ease of implementation:

    • Auth\Binding
    • Auth\Bound
    • Auth\BindFailed
    • Auth\Completed
    • Auth\Rejected
    • Auth\CompletedWithWindows
    • Auth\EloquentUserTrashed
  • All previous import events have been moved into a new namespace:

    • Events\Imported to: Events\Import\Imported
    • Events\Importing to: Events\Import\Importing
    • Events\Synchronized to: Events\Import\Synchronized
    • Events\Synchronizing to: Events\Import\Synchronizing
    • Events\DeletedMissing to: Events\Import\DeletedMissing
  • Nearly all import events now have the same public properties ($object, $eloquent) for consistency and ease of implementation:

    • Events\Import\Imported
    • Events\Import\Importing
    • Events\Import\Synchronized
    • Events\Import\Synchronizing
    • Events\Import\DeletedMissing
  • Directory Emulator must now be torn down manually while running tests using DirectoryEmulator::tearDown():

protected function tearDown(): void
{
    DirectoryEmulator::teardown();

    parent::tearDown();
}

Added

  • Laravel Breeze documentation
  • Browse your LDAP connections interactively using the ldap:browse command
  • Class based imports using a new LdapRecord\Laravel\Import\Importer class
  • Ability to hook into new import events:
    • Import\Saved
    • Import\Started
    • Import\Completed
    • Import\Deleted
    • Import\DeletedMissing
    • Import\ImportFailed
    • Import\Restored
  • Ability to hook into new Auth\Completed event,
  • Attribute Hydrator classes have been moved into a new namespace:
    • EloquentHydrator to: Import\EloquentHydrator
    • EloquentUserHydrator to: Import\EloquentUserHydrator
    • Hydrators\Hydrator to: Import\Hydrators\Hydrator
    • Hydrators\GuidHydrator to: Import\Hydrators\GuidHydrator
    • Hydrators\DomainHydrator to: Import\Hydrators\DomainHydrator
    • Hydrators\PasswordHydrator to: Import\Hydrators\PasswordHydrator
    • Hydrators\AttributeHydrator to: Import\Hydrators\AttributeHydrator
  • LdapImporter has been renamed moved into a new namespace:
    • LdapImporter to Import\Synchronizer
  • LdapUserImporter has been renamed and moved into a new namespace:
    • LdapUserImporter to: Import\UserSynchronizer

v1.7.5

15 Dec 03:09
Compare
Choose a tag to compare

Fixed

  • Properly pass the affected Eloquent model ID's in DeletedMissing event when models are soft-deleted during ldap:import command - dcc0505
  • DirectoryEmulator::tearDown() will now properly flush the connection Container instance's connections, event dispatcher, and logger - 0f0c40f - #230