Skip to content

2.0.0

Compare
Choose a tag to compare
@quiqueporta quiqueporta released this 27 Oct 21:55
· 14 commits to master since this release
9fb2986

We have improved the instantiation time by ~60% among other things.
Now creating a value object is faster.

  • Improve instantiation time
  • Rename CannotBeChangeException to CannotBeChanged
  • Rename InvariantReturnValueException to InvariantMustReturnBool
  • Rename NotDeclaredArgsException to ConstructorWithoutArguments
  • Rename ViolatedInvariantException to InvariantViolation
  • Simplifly invariants now receive self-attribute only
  • Fix replace_mutable_kwargs_with_immutable_types for set kwargs