Skip to content

Changelog

v3.2.0

New Features

  • Custom Operation Order (#59) — control the execution order of DML operations with the new DML(List<DML.OperationType> operationOrder) constructor. See Operation Order.
  • Error Logger (#32) — implement DML.Logger to capture every failed DML operation, including per-record failures under allowPartialSuccess(), as a dead letter queue. See Error Logger.
  • Operation ID (#19) — every operation result exposes operationId(), a random UUID for logging and support. includeOperationIdInErrorMessage() appends it to the thrown DmlException as an Error ID the user can pass to their administrator. See Error ID.
  • Deferred Validation (#27) — record validation runs when commitWork() executes each operation, so a record inserted in a unit of work can be updated or deleted in the same commitWork(). See Deferred Validation.
  • accessMode(System.AccessLevel) (#52) — enum-based alternative to userMode() / systemMode(). See Field-Level Security.
  • @NamespaceAccessible API (#58) — all public entry points are accessible across namespace boundaries.

Changes

Older Releases

See GitHub Releases for v3.1.0 and earlier.