Releases: Goltergaul/definition
Releases · Goltergaul/definition
1.1.2
1.1.1
Fixed
- Fixed model inheritance
1.1.0
Changed
- Performance optimizations
1.0.0
Since the interface has proven itself by now, this release marks it officially as stable
Removed deprecated methods
Removed deprecated version of GreaterThanEqual definition that had a typo in it (GreaterThenEqual)
Removed deprecated version of GreaterThan definition that had a typo in it (GreaterThen)
Removed deprecated version of LessThanEqual definition that had a typo in it (LessThenEqual)
Removed deprecated version of LessThan definition that had a typo in it (LessThen)
0.8.1
Fixed
- Definition::Model#eql? returns true when comparing two models with the same content
0.8.0
Added
- A Definition::Initializer mixin that can be used to validate keyword arguments of a class constructor
Changed
- Include more information in the internal non-translated error messages. E.g. the max size of a LessThenEqual definition
- Renamed GreaterThen, GreaterThenEqual, LessThen and LessThenEqual to fix typo (Then VS Than) Backwards compatibility is ensured
Breaking changes
- The Definition::ValueObject was removed and replaced by Definition:Model which has a nicer DSL and only works with hash data structures. See upgrade notes
0.7.1
Fixed bugs
- Passing
nil
into aDefinition::CoercibleType(Float)
definition crashed the validation