Migration Guide (v1 -> v2) — EricksonLopez.Events
Upgrading v1.0.0 to v2.0.0 (BC-001–BC-018)
Section titled “Upgrading v1.0.0 to v2.0.0 (BC-001–BC-018)”ITransactionalEventPublisherremoved (ADR-037): Transactional event staging belongs inEricksonLopez.Outboxrather thanEvents.Contracts.IEventTypeRegistry.TryGetDescriptor: Signature changed toTryGetDescriptor(EventType, EventVersion, out HandlerDescriptor)(with 4-paramHandlerDescriptorconstructor).TenantId&EventTypecase-insensitivity: Comparisons are normalized case-insensitively.- CloudEvents &
EventVersiondefaults:EventVersiondefaults to1; CloudEvents mapping guards against header collisions and enforces[EventSource]. - Parallel execution & scoping:
ParallelExecutionStrategysurfacesAggregateExceptionand respectsHandlerScopePolicy.Auto. - Immutability analyzers (
ELE001,ELE006): Mutable collections or setters onIEventfail build underTreatWarningsAsErrors.