Skip to content

Releases: jsonata-js/jsonata

1.8.5 Maintenance Release

19 Aug 11:06

Choose a tag to compare

  • Fix regression with singleton sequence of array type (issue #462)
  • Correctly handle empty array input to group expression (issue #527)
  • Fix bug with outer array when evaluating wildcard (issue #495)

1.8.4 Maintenance Release

26 Oct 11:53

Choose a tag to compare

  • Fix bug in $eval when second arg is an empty array (issue #463)
  • Fix bug in toMillis() parsing timezones (issue #477)

1.8.3 Maintenance Release

22 Apr 13:47

Choose a tag to compare

  • Remove incomplete polyfill for Array.from() (issue #432)
  • Fix $not to return empty sequence for missing inputs (issue #433)
  • Fix RangeError (stack overflow) when querying very large objects (issue #434)

1.8.2 Maintenance Release

25 Mar 08:49
66ecc0b

Choose a tag to compare

  • Fix bug with regex usage in partially applied functions (issue #427)
  • Fix regression when the $string() function is applied to a top-level array (PR #429)

1.8.1 Maintenance Release

06 Feb 09:40

Choose a tag to compare

  • Fix bug in timezone handling for ISO week date formats (issue #403)

1.8.0 Milestone Release

31 Jan 11:26

Choose a tag to compare

  • New syntax (% parent operator) to select the parent of the current context value (issue #299)
  • New function $type to return the data type of the argument (issue #208)
  • Added versioning to the documentation site (issue #385)
  • Fixed bugs #382, #387, #396, #399

1.7.0 Milestone Release

02 Oct 12:53

Choose a tag to compare

  • New syntax (@ operator) to support cross-referencing and complex data joins (issue #333)
  • New syntax (# operator) to get current context position in sequence (issue #187)
  • Equality operators (=, !=) now perform deep object/array comparison
  • New functions
    • $error - Explicitly throw an error with message (issue #167)
    • $assert - Throw error (with message) if assertion evaluates to false (issue #369)
    • $single - Returns the single value in an array (issue #348)
    • $encodeUrl, $encodeUrlComponent, $decodeUrl, $decodeUrlComponent - URL/URI helper functions (issue #103)
    • $distinct - Returns array with duplicate values removed
  • Enhanced functions
    • $reduce - Now works with a 4-argument function parameter (issue #102)
    • $number - Can now cast numeric strings with leading zeros (issue #368)
    • $string - Now has optional second argument to "prettify" objects (issue #334)
  • Minimum node.js runtime v8 (dropped support for v6). Added support for Node 12.
  • Fixed bugs #316, #332, #349

1.6.5 Maintenance Release

02 Jul 09:17

Choose a tag to compare

  • Fix concurrency bug in chain operator (issue #335)
  • Fix flattening login in map operator (issue #314)
  • Fix message inserts for errors thrown in function bodies (issue #297)
  • Limit array size allocatable by range operator to ten million entries (issue #240)

1.6.4 Maintenance Release

11 Jan 09:36
f957613

Choose a tag to compare

  • Fix performance regression (PR #292)
  • Fix bug in $each function (PR #293)

1.6.3 Maintenance Release

20 Dec 09:34

Choose a tag to compare

  • Fix es5 build and polyfills to enable test suite to (mostly) run in Nashorn (PR #288)
  • Extra polyfill required for running jsonata-es5.js in IE 11 (PR #289)