Morphism Versions Save

⚡ Type-safe data transformer for JavaScript, TypeScript & Node.js.

v2.1.1

4 years ago

2.1.1 (2020-05-03)

Bug Fixes

  • cherry pick fix for ActionSelector on @next branch (1e9de48)
  • Destination type is properly inferred from source and provided class (c3aefad)
  • mapper type fails on undefined source (b5c2c8d)
  • provide destination property to Selector Action to infer return type of fn (0665af2)
  • use expression instead of interface to avoid typescript widening type (6310583)
  • use typescript exact version (2a9fcd0)

v2.1.0-beta.1

4 years ago

2.1.0-beta.1 (2020-01-25)

Features

  • first pre-release release (df2b326)

v1.12.3

4 years ago

1.12.3 (2019-12-14)

Bug Fixes

  • provide destination property to Selector Action to infer return type of fn (0665af2)

v1.12.2

4 years ago

1.12.2 (2019-11-11)

Bug Fixes

  • use expression instead of interface to avoid typescript widening type (6310583)

v2.2.3@next

4 years ago

2.2.3 (2019-09-01)

Bug Fixes

  • expose ValidatorError instead of ValidationError (b77bcad)
  • recover ValidationError from validation/reporter (9c92b5e)

v2.2.2@next

4 years ago

2.2.2 (2019-09-01)

Bug Fixes

  • expose ValidationError class (51a6c5c)

v2.2.1@next

4 years ago

2.2.1 (2019-09-01)

Bug Fixes

  • expose Validation object instead of Validation interface (45c8eec)

v2.2.0@next

4 years ago

2.2.0 (2019-08-31)

Features

  • export validation artifacts (ddb7cbd)

v1.12.1

4 years ago

1.12.1 (2019-08-31)

Bug Fixes

  • cherry pick fix for ActionSelector on @next branch (1e9de48)
  • Destination type is properly inferred from source and provided class (c3aefad)
  • mapper type fails on undefined source (b5c2c8d)
  • use typescript exact version (2a9fcd0)

v2.1.0@next

4 years ago

2.1.0 (2019-07-27)

Bug Fixes

  • ActionSelector type takes Source and Target (0a5972e)
  • avoid to throw literal exception (bec21d6)
  • remove not used registry cache in ctor parameter (48f96a1)
  • Use unique created symbol instead of looking for one in a global repository (0b128b3)

Features

  • add alphanum rule to StringValidator (bcf66c1)
  • add boolean parser and validator (943af2e)
  • add generic type validator (43187b2)
  • add helper function to extract a symbol name (1b8d34a)
  • add length rule to StringValidator (976f6be)
  • add min/max rules to NumberValidator (7c72a40)
  • add number parser and validator (7693e92)
  • add regex rule to StringValidator (2df471c)
  • add simple reporter and formatter along with validators (62d27e7)
  • add string parser and validator (d58ef32)
  • add type for value property validation (6222b39)
  • allow to add a user custom validator (e0a228e)
  • allow to throw when validation fails with schema options (02e2564)
  • allow to use a reporter with a custom formatter, and also pass it to the schema options (0e5d0e8)
  • allow to use an Action Selector with only a fn callback. path is now optional (33d0d2e)
  • export Reporter class, singleton and Formatter interface (cbc99d8)
  • schema: ActionSelector can be used with validation options (1ebaa57)
  • schema: possible now to use ActionSelector without fn callback (7ef14d2)
  • improve boolean validator by parsing boolean from string (1d40229)
  • Push errors on target's symbol property when validation does not pass (5f0bfdf)
  • update types to handle basic types to validate (9f469e5)