Data transformations on arrays of uniform objects.
Breaking changes:
- Calculator calling signature changed from
calculator(columnName)
(data row object as context) tocalculator(dataRow, columnName)
(data row object as first parameter).
Breaking changes:
- The default
headerify
behavior is now an unopinionated pass-through. - The
headerify
module has been upgraded to an API.
To force the internal modules to use the previous behavior, issue the following statement before use:
headerify.transform = headerify.capitalize;
For backwards compatibility, the following deprecated usage still works as before, providing the expected capitalize behavior:
header = headerify(field);
However, the new usage is used internally by the data source modules:
header = headerify.transform(field);
This uses the transform
method, which by default is set to the unopinionated headerify.passthrough
which returns its input.