Migration Guide (v1 -> v2) — EricksonLopez.Specification
Upgrading v1.0.0 to v2.0.0 (BC-001–BC-011)
Section titled “Upgrading v1.0.0 to v2.0.0 (BC-001–BC-011)”IExpressionSpecification<T>moved toAbstractions:TypeForwardedTopreserves binary compatibility, but recompile referencingEricksonLopez.Specification.Abstractions.- Removed transitive
Specificationdependency fromLinq: ReferenceEricksonLopez.Specificationexplicitly if needed. Spec.Betweenbounds validation: Inverted bounds now throwArgumentException.ReadRepositoryResultExtensionscancellation:OperationCanceledExceptionis rethrown rather than converted intoResult.Failure.- Interpreter &Hasher depth limits (
512):ExpressionInterpreter,ExpressionEqualityComparer, andExpressionHasherenforce depth limits (512) and namespace allowlists. - Cursor
IComparablecheck:SeekAfter/SeekBeforevalidateIComparablecursors.