ObjectModel Versions Save

Strong Dynamically Typed Object Modeling for JavaScript

v1.1.0

7 years ago
  • model.extend can now take models and/or models definitions as arguments
  • fixed some issues with object deep merging on model extensions
  • make array models keys enumerable

v1.2.0

7 years ago
  • null is now a valid value for an optional property
  • stack errors instead of throwing the first error catched
  • added custom error collectors
  • assert API has changed and now receives an optional description
  • validate API has changed and now receives an optional error collector

v2.0.0

7 years ago
  • support for IE<11 had to be dropped (explainations)
  • removed Model.instanceOf as it is not useful anymore: use the instanceof operator
  • reduced the library size by ~ 20%

v2.0.1

7 years ago
  • better model string formatting
  • fixed custom error collector inheritance in extended models