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.Loggerto capture every failed DML operation, including per-record failures underallowPartialSuccess(), 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 thrownDmlExceptionas 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 samecommitWork(). See Deferred Validation. accessMode(System.AccessLevel)(#52) — enum-based alternative touserMode()/systemMode(). See Field-Level Security.@NamespaceAccessibleAPI (#58) — all public entry points are accessible across namespace boundaries.
Changes
- Salesforce API version updated to v66.0.
- Documentation: new pages for Examples, Hard Delete, Record & Records, Shared Instance, Commit Hooks, and Execution Control; documentation is now versioned — use the version switcher in the top navigation.
Older Releases
See GitHub Releases for v3.1.0 and earlier.
