Releases: quiqueporta/simple-value-object
Releases · quiqueporta/simple-value-object
3.3.0
3.2.0
Add customs exceptions for invariants
3.0.1
Removed unused imports
3.0.0
This new version is a complete rewrite of the library, now it uses data classes to define the value objects.
With this change we can use type hints to define the fields and the library will take care of the rest.
Now you have autocomplete and type checking in your IDE. With the previous version, you did no autocomplete or type-checking.
You should be able to use this library with any version of Python 3.7 or higher.
2.0.0
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
1.5.0
Remove python 2.x compatibility
1.4.0
Bump version
1.3.0
Update README
1.2.0
Reduced the creation time
0.3.1
Increase version