Skip to content

Releases: integreat-io/map-transform

v0.5.5

03 Aug 14:27
212be66
Compare
Choose a tag to compare

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

02 Aug 22:17
b157b0f
Compare
Choose a tag to compare

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

01 Aug 08:24
Compare
Choose a tag to compare

Changes:

  • Throw on missing pipeline one step further up in the process (in apply operation)

v0.5.2

30 Jul 18:10
Compare
Choose a tag to compare

Bug fixes:

  • The compare transformer was incapable of matching with null. It would always return false

v0.5.1

26 Jul 19:18
Compare
Choose a tag to compare

Changes:

  • Provide separate types for Transformer and AsyncTransformer

v0.5.0

26 Jul 17:30
Compare
Choose a tag to compare

Breaking change:

  • We now support async transformers, and so the main function is also async.

v0.4.6

25 Jul 07:34
Compare
Choose a tag to compare

New feature:

  • You may now use symbols as id for transformers and pipelines.

v0.4.5

24 Jul 19:46
Compare
Choose a tag to compare

New features:

  • Provide a modifyOperationObject() function on the options object to modify any operation object before they are processed by MapTransform. This way you may provide your own aliases.

v0.4.4

27 May 21:05
Compare
Choose a tag to compare

Bugfix:

  • Will map to and from undefined in map transformer

v0.4.3

24 May 20:10
Compare
Choose a tag to compare

Bugfix:

  • { $alt: [...] } won't swallow context from alt paths any longer