Skip to content

Releases: integreat-io/map-transform

v0.2.0

17 Sep 12:53
62a70bc
Compare
Choose a tag to compare

The entire project has been rewritten to support an approach based on transform pipelines instead of configuration objects. This is breaking change, details are found in the readme.

v0.1.6

01 Aug 11:17
Compare
Choose a tag to compare

Bug fixes and some changes:

  • When nothing is mapped from the data, null is returned instead of an empty object
  • Fields (on the mapping definition) with no path, are simply skipped
  • Completed the set of path defs, and filter and transform pipelines, with 'From' and 'To' versions for normal and reverse mapping. Some have aliases without 'To' and 'From', to simplify the most basic definitions

v0.1.5

31 Jul 09:26
Compare
Choose a tag to compare

New feature: Map without setting default values by using noDefaults().

v0.1.4

16 Jul 15:19
Compare
Choose a tag to compare
  • Implement transform and filter pipelines
  • Rename fields to mapping
  • Support mapping definitions as nested objects

v0.1.3

17 Jun 20:23
Compare
Choose a tag to compare

A little enhancement to the paths to support e.g. data.items[].title.

v0.1.2

11 Jun 18:35
Compare
Choose a tag to compare
  • Use data object as-is when no fields
  • Rev paths may be set to null to keep .rev() from using the non-rev options as default

v0.1.1

11 Jun 10:23
Compare
Choose a tag to compare

Two new paths: pathRev and pathToRev.

v0.1.0

09 Jun 11:27
Compare
Choose a tag to compare

A simple start with path definitions and default values. There's more to come ...