Skip to content

Releases: jsonquerylang/jsonquery

v5.0.4

01 Jul 15:48
Compare
Choose a tag to compare

5.0.4 (2025-07-01)

Bug Fixes

  • remove wrong type JSONQueryPipe and fix the type definition of filter (b30e614)
  • the type definition of JSONQueryPipe (82333d7)
  • the type definition of JSONQueryProperty and JSONQueryFunction (0efaddc)

v5.0.3

28 May 15:37
Compare
Choose a tag to compare

5.0.3 (2025-05-28)

Bug Fixes

  • #24 operators in and not in not working correctly with nullish types (e09aeb2)

v5.0.2

28 May 15:30
Compare
Choose a tag to compare

5.0.2 (2025-05-28)

Bug Fixes

  • #24 function uniq not working correctly with nullish types (b6fd569)

v5.0.1

27 May 09:16
Compare
Choose a tag to compare

5.0.1 (2025-05-27)

Bug Fixes

  • explicitly export TypeScript types (7d6ae32)

v5.0.0

23 May 10:01
Compare
Choose a tag to compare

5.0.0 (2025-05-23)

Bug Fixes

  • ensure eq always returns a boolean (c9700e4)

Features

  • add boolean support to gt, gte, lt, lte (3fd2310)
  • deep equal support (#20) (36678da)
  • define the behavior for handling empty arrays and non-array input in functions (#21) (d496f54)
  • do not throw in gt, gte, lt, lte, and do not throw on empty arrays (#23) (27e5d24)
  • handle ordering mixed types in function sort (46a9d61)
  • implement support for operator precedence (#17) (0d39aeb)

BREAKING CHANGES

  • The operators option changes from an object like { aboutEq: '~=', ... } into an array with custom operators, having a name and precedence, like [{ name: 'aboutEq', op: '~=', at: '==', vararg: false, leftAssociative: true }, ...].

v4.1.1

03 Dec 08:21
Compare
Choose a tag to compare

4.1.1 (2024-12-03)

Bug Fixes

  • document function substring and change it into a standalone function (f252a59)

v4.1.0

03 Dec 08:02
Compare
Choose a tag to compare

4.1.0 (2024-12-03)

Bug Fixes

  • a minor performance improvement in parse (7cea93e)
  • functions filter and if wrongly filtering on empty strings (3019075)
  • throw an error when passing an object to compile instead of a function notation ["object", {...}] (615393a)

Features

  • implement functions reverse, mapObject, mapKeys, mapValues, join, split, number, string (958a31e)
  • refine function split (8104582)
  • turn function text | split(separator) into a standalone function split(text, separator) (7bcff0f)

v4.0.0

12 Nov 08:41
Compare
Choose a tag to compare

4.0.0 (2024-11-12)

Bug Fixes

  • function get now returns null instead of undefined when a property doesn't exist (95d1764)

Features

  • implement a language agnostic JSON test suite (#6) (3c3701d)
  • implement function if (2be6115)

BREAKING CHANGES

  • Function get now returns null instead of undefined when a property doesn't exist

v3.1.1

10 Oct 11:56
Compare
Choose a tag to compare

3.1.1 (2024-10-10)

Bug Fixes

  • CLI files missing in npm package (3ef4b5f)

v3.1.0

10 Oct 11:50
Compare
Choose a tag to compare

3.1.0 (2024-10-10)

Features

  • implement a command line interface (CLI) (4bad6ad)