Releases: integreat-io/map-transform
Releases · integreat-io/map-transform
v0.5.5
New features:
- Provide a
modifyGetValue()
function on options, that will be called every time a value is pulled out of the data with a path.
Bug fixes:
- Applying pipelines that applied themselves, would give an infinate loop.
v0.5.4
Bug fixes:
- When an unknown pipeline where applied on a prop in a transform object, the error was not thrown until mapping. It now throws on creation.
- A type error caused e.g.
{ $value: 3 }
to be invalid.
v0.5.3
Changes:
- Throw on missing pipeline one step further up in the process (in
apply
operation)
v0.5.2
Bug fixes:
- The
compare
transformer was incapable of matching withnull
. It would always returnfalse
v0.5.1
Changes:
- Provide separate types for
Transformer
andAsyncTransformer
v0.5.0
Breaking change:
- We now support async transformers, and so the main function is also async.
v0.4.6
New feature:
- You may now use symbols as id for transformers and pipelines.
v0.4.5
New features:
- Provide a
modifyOperationObject()
function on theoptions
object to modify any operation object before they are processed by MapTransform. This way you may provide your own aliases.
v0.4.4
Bugfix:
- Will map to and from
undefined
inmap
transformer
v0.4.3
Bugfix:
{ $alt: [...] }
won't swallow context from alt paths any longer