mapper

๐Ÿ”ฅ An Object-Object AutoMapper for TypeScript ๐Ÿ”ฅ

MIT License

Downloads
732.2K
Stars
952
Committers
19

Bot releases are visible (Hide)

mapper - Release 8.3.4

Published by nartc over 2 years ago

8.3.4 (2022-05-04)

Bug Fixes

  • core: treat property that is typed-converted as-is because they cannot go through normal mapping pipeline (819485f)

Documentations

mapper - Release 8.3.3

Published by nartc over 2 years ago

8.3.3 (2022-04-13)

Bug Fixes

  • core: condition and substitutions should respect automap nature of a property (1ab671d), closes #461
  • core: map as-is for same identifiers (270cb53), closes #460
mapper - Release 8.3.2

Published by nartc over 2 years ago

8.3.2 (2022-04-11)

Bug Fixes

  • core: update applyMetadata to ensure selfReference properties are handled (109b5f0)
mapper - Release 8.3.1

Published by nartc over 2 years ago

8.3.1 (2022-04-11)

Bug Fixes

  • classes: adjust packageJson exports to include secondary entry points (a82c0c3)
mapper - Release 8.3.0

Published by nartc over 2 years ago

8.3.0 (2022-04-11)

Features

  • core: applyMetadata now needs to know whether it's applying to a model as Source or as Destination (70d267a)

Bug Fixes

  • core: not clearing metadataMap on dispose (f2ae39c)
mapper - Release 8.2.4

Published by nartc over 2 years ago

8.2.4 (2022-04-10)

Bug Fixes

  • core: add custom node inspect to log meaningful message for Mapper (empty object as Proxy) (de9725a)
mapper - Release 8.2.3

Published by nartc over 2 years ago

8.2.3 (2022-04-07)

Bug Fixes

  • classes: use class constructor's name instead of constructor function (#452) (8b413f9)
  • core: remove constraint on postMap (remove seal on destination) (2c38340), closes #450
mapper - Release 8.2.2

Published by nartc over 2 years ago

8.2.2 (2022-04-07)

Bug Fixes

  • mikro: adjust serializeEntity to return the object with id for uninitialized reference (62f5c0f)
mapper - Release 8.2.1

Published by nartc over 2 years ago

8.2.1 (2022-04-07)

Bug Fixes

  • core: adjust getFlatteningPaths to flatten more as needed (b8734ec)
mapper - Release 8.2.0

Published by nartc over 2 years ago

8.2.0 (2022-04-07)

Features

  • core: allow preMap and postMap to also be called with the Mapping (1e0fa62)

Bug Fixes

  • mikro: ensure serializeEntity follows the metadata object to accommodate depth of serialization (54cd373)
mapper - Release 8.1.0

Published by nartc over 2 years ago

8.1.0 (2022-04-03)

mapper - Release 8.1.0-beta.0

Published by nartc over 2 years ago

8.1.0-beta.0 (2022-04-03)

Features

  • repo: change to use ESM while still supporting cjs (7866e00)
mapper - Release 8.0.1

Published by nartc over 2 years ago

8.0.1 (2022-03-30)

Bug Fixes

  • classes: add a metadataTracker to track identifier whose metadata has already been extracted (7cd1ae2)
  • core: revert export symbols as no need (bb5d32f)
mapper - Release 8.0.1-beta.1

Published by nartc over 2 years ago

8.0.1-beta.1 (2022-03-30)

Bug Fixes

  • classes: fix infinity loop with circular dependency models (3360992)
  • core: export symbols (a87acb5)
mapper - Release 8.0.1-beta.0

Published by nartc over 2 years ago

8.0.1-beta.0 (2022-03-30)

Bug Fixes

  • repo: adjust exports field in package json across packages (f462395)
mapper - Release 8.0.0

Published by nartc over 2 years ago

8.0.0 (2022-03-30)

It is finally here ๐ŸŽ‰. Highlights:

  • Smaller bundle-size
  • Support CJS and ESM
  • Functional approach with tree-shake in mind
  • Custom Constructor

Check out the Migration Guide

7.3.14 (2022-03-05)

Bug Fixes

  • mikro: use getEntity as unwrap value instead of recursion (292759c)

7.3.13 (2022-03-05)

Bug Fixes

  • mikro: recursively unwrap collections (a445b3b)

7.3.12 (2022-03-05)

Bug Fixes

  • mikro: run toJSON on reference (a5e2a67)

7.3.11 (2022-03-05)

Bug Fixes

  • mikro: ensure preMapArray run instantiate correctly (7b2ef67)
mapper - Release 8.0.0-beta.18

Published by nartc over 2 years ago

8.0.0-beta.18 (2022-03-30)

mapper - Release 8.0.0-beta.17

Published by nartc over 2 years ago

8.0.0-beta.17 (2022-03-28)

mapper - Release 8.0.0-beta.16

Published by nartc over 2 years ago

8.0.0-beta.16 (2022-03-27)

mapper - Release 8.0.0-beta.15

Published by nartc over 2 years ago

8.0.0-beta.15 (2022-03-24)