Skip to content

Releases: ossplz/simple-mapper

Proper module

22 Apr 22:12
Compare
Choose a tag to compare

This update is mainly about getting us into a proper angular module format. It changes the build system to use ngc and rollup from npm run (rather than ng build), and karma for testing.

Getting up to speed

03 Apr 02:20
Compare
Choose a tag to compare

Features:

  1. Validation - automatically validates provided view models, by default (helps check for typos).
  2. Configuration options:
    1. noUnmappedWarnings (default: false) - turn on/off warnings, globally. Can be overridden at the method level.
    2. validateOnStartup (default: true) - whether to validate on instantiation.

Misc/Bug fixes

None.

By-reference mappables

02 Apr 22:20
Compare
Choose a tag to compare

Features:

  1. Added by-reference mappables so you no longer need to provide the view models to the mapper engine at init.
//...
@mappable(MyClass)
property: MyClass = null;

Misc/Bugs

  1. Fixed a strange bug wherein typescript might decide to provide a reference to a function rather than its prototype object when referenced from a decorator.
  2. Fixed async tests, added tests.
  3. Updated readme to reflect new feature.

1.0.5

01 Apr 16:55
Compare
Choose a tag to compare

Bug fixes, code coverage, documentation updates.

Initial release

26 Mar 21:11
Compare
Choose a tag to compare

First release just to get it out there.