Skip to content

Releases: Goltergaul/definition

1.1.2

22 Aug 12:15
Compare
Choose a tag to compare

Fixed

Fixed "TypeError: no _dump_data is defined for class Proc" error that ocurred when a definition model inherits from another model that uses lambda based definitions

1.1.1

22 Aug 12:15
9c77bd4
Compare
Choose a tag to compare

Fixed

  • Fixed model inheritance

1.1.0

22 Jan 14:40
Compare
Choose a tag to compare

Changed

  • Performance optimizations

1.0.0

15 Feb 09:20
Compare
Choose a tag to compare

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

06 Oct 06:21
Compare
Choose a tag to compare

Fixed

  • Definition::Model#eql? returns true when comparing two models with the same content

0.8.0

05 Oct 14:20
Compare
Choose a tag to compare

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

04 Mar 11:19
31408ae
Compare
Choose a tag to compare

Fixed bugs

  • Passing nil into a Definition::CoercibleType(Float) definition crashed the validation