Releases: integreat-io/map-transform
Releases · integreat-io/map-transform
v0.2.0
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
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 nopath
, 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
New feature: Map without setting default values by using noDefaults()
.
v0.1.4
- Implement transform and filter pipelines
- Rename
fields
tomapping
- Support mapping definitions as nested objects
v0.1.3
A little enhancement to the paths to support e.g. data.items[].title
.
v0.1.2
- 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
Two new paths: pathRev
and pathToRev
.
v0.1.0
A simple start with path definitions and default values. There's more to come ...