Migration Guides (v1 -> v2 -> v3 -> v4) — SharedKernel
- Extracted
Result,Error,ValueObject,Specification, andPagedListinto standaloneEricksonLopez.*packages. - Consolidated
EricksonLopez.SharedKernel.DomainintoEricksonLopez.SharedKernel.
Migrating v2.0.0 to v3.0.0 (BC-001–BC-011)
Section titled “Migrating v2.0.0 to v3.0.0 (BC-001–BC-011)”- Removed parameterless
Entity/AggregateRootconstructors (defaultID throwsArgumentException) and removedIsTransient(). - Replaced
AggregateRoot.DomainEvents+ClearDomainEvents()withDrainDomainEvents(). - Relocated
IDomainEventtoEricksonLopez.Events.Contractsand disabledImplicitUsings.
Migrating v3.0.0 to v4.0.0 (BC-012–BC-017)
Section titled “Migrating v3.0.0 to v4.0.0 (BC-012–BC-017)”- Deleted
StrongIdGenerator: Adopt[StrongId<T>]fromEricksonLopez.DomainPrimitives. - Removed transitive
DomainPrimitives.Abstractions: Reference it explicitly where needed. DomainEventsInterceptortiming: Default changed fromBeforeCommittoAfterCommit.- Async dispatch: Synchronous
IDomainEventDispatcher.DispatchthrowsNotSupportedExceptionby default.