Skip to content

Commit 52fe6b4

Browse files
andrew-colemanmattbaileyuk
authored andcommitted
publish v1.7.0
1 parent dcb52bc commit 52fe6b4

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
#### 1.7.0 Milestone Release
2+
3+
- New syntax (`@` operator) to support cross-referencing and complex data joins (issue #333)
4+
- New syntax (`#` operator) to get current context position in sequence (issue #187)
5+
- Equality operators (`=`, `!=`) now perform deep object/array comparison
6+
- New functions
7+
- `$error` - Explicitly throw an error with message (issue #167)
8+
- `$assert` - Throw error (with message) if assertion evaluates to false (issue #369)
9+
- `$single` - Returns the single value in an array (issue #348)
10+
- `$encodeUrl`, `$encodeUrlComponent`, `$decodeUrl`, `$decodeUrlComponent` - URL/URI helper functions (issue #103)
11+
- `$distinct` - Returns array with duplicate values removed
12+
- Enhanced functions
13+
- `$reduce` - Now works with a 4-argument function parameter (issue #102)
14+
- `$number` - Can now cast numeric strings with leading zeros (issue #368)
15+
- `$string` - Now has optional second argument to "prettify" objects (issue #334)
16+
- Minimum node.js runtime v8 (dropped support for v6). Added support for Node 12.
17+
- Fixed bugs #316, #332, #349
18+
119
#### 1.6.5 Maintenance Release
220

321
- Fix concurrency bug in chain operator (issue #335)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsonata",
3-
"version": "1.6.5",
3+
"version": "1.7.0",
44
"description": "JSON query and transformation language",
55
"module": "jsonata.js",
66
"main": "jsonata.js",

0 commit comments

Comments
 (0)