Skip to content

Commit

Permalink
1.0.0-beta.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Jul 12, 2022
1 parent 8db4a32 commit b7f2f2b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
## next
## 1.0.0-beta.7 (July 12, 2022)

- Fixed `syntax.tokenize()` method to use a tolerant parser when `tolerantMode` parameter is `true`
- Fixed parsing failures in tolerant mode on blocks `[]`, `.[]`, `()`, `.()` and `..()` when their body starts with an operator, a keyword, etc.
- Fixed suggestions when pattern is a single quoted string (i.e. for `'foo'` in `.[field='foo']`)
- Fixed suggestions for `Pick` nodes when query is a complex expression, e.g. a function (#35)
- Fixed suggestions for `Block` nodes with empty body in strict parse mode
- Fixed processing `\0` in strings as a null character for a [parity](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String#escape_sequences) with JavaScript
- Fixed `Indentifier` node to store an empty string as a name instead of `_` for placeholder identifiers in tolerant parse mode. This fixes the problem of restoring a query from an AST after parsing in tolerant mode
- Added `Placeholder` node type
- Added processing `\0` as a null character in strings for a [parity](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String#escape_sequences) with JavaScript
- Changed `Block` node to store a `Placeholder` node instead of `null` when block's body is empty
- Changed `Indentifier` node to store an empty string as a name instead of `_` for placeholder identifiers in tolerant parse mode. This fixes the problem of restoring a query from an AST after parsing in tolerant mode

## 1.0.0-beta.6 (April 18, 2022)

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jora",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"description": "JavaScript object query engine",
"author": "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)",
"repository": "discoveryjs/jora",
Expand Down

0 comments on commit b7f2f2b

Please sign in to comment.