Releases: qntfy/kazaam
Release v3.4.1
This release adds support for an optional ignore
array in Coalesce()
.
Release v3.4.0
This release adds the ability to delete keys.
Release v3.3.0
This release migrates from the official buger/jsonparser library to the qntfy fork which adds support array indexing support to the Set
command. Kazaam now supports transforms which target the setting of specific elements in arrays as well as prepending or appending to arrays.
Release v3.2.1
This release resolves a bug where only a single UUID would be generated in a specification that required multiple UUIDs due to returning early. The UUID executed was also non-deterministic due to golang's random iteration order for maps.
Release v3.2.0
This release adds an inPlace
option to the shift transform allowing for shuffling of values within the json on top of the source json (ie not starting with a new json document).
This also provides a large bugfix for the UUID transform which previously produced incorrect results.
Release v3.1.1
Release v3.1.0
Release v3.0.0
Kazaam is significantly refactored (#40) to use jsonparser as the underlying JSON manipulation library, rather than go-simplejson. This results in a 2-10x improvement in time, memory usage and allocations / op for most benchmarks. See details in #35
Kazaam now takes []byte
as primary transform input rather than simplejson.Json
objects. String methods are still supported without change.
Kazaam no longer provides full JSON validation in all scenarios, but (relatively very slow) IsJson()
method is provided for convenience for users who wish to validate. Also includes experimental IsJsonFast()
method which recursively iterates through a json object/array looking for parser errors (we will likely roll this approach into main IsJson() method in a future release).
Release Candidate 3 for v3.0.0
Updates from RC2:
- Fix bug where applying
[*]
orover
in a transform on empty array will cause index out of bound panic.
Release Candidate 2 for v3.0.0
Updates from RC1:
- Added experimental
IsJsonFast()
method which recursively iterates through a json object/array looking for parser errors (we will likely roll this approach into main IsJson() method in a future release) - Incorporates bug fixes in underlying
jsonparser