Skip to content

Commit

Permalink
1.0.0-alpha.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Dec 25, 2018
1 parent 2b737fc commit 4091ebb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
## next
## 1.0.0-alpha.7

- Disallowed a whitespace between a dot and a bracket in `.[`, `.(` and `..(` tokens
- Changed filter (i.e. `.[]` or `.filter()`) behaviour for a non-array value to return a value itself when expression is truthy or `undefined` otherwise
- Changed semanthic of main jora method `jora(query, methods?, debug?)` -> `jora(query, options?)` where `options` is `{ methods?, debug? }`
- Implemented stat mode (turn on by `stat` option, i.e. `jora(query, { stat: true })`) to return a query stat interface instead of resulting data
- Implemented tolerant parse mode (turn on by `tolerant` option, i.e. `jora(query, { tolerant: true })`) to supress parsing errors when possible
- Changed semanthic `jora(query, methods?, debug?)` -> `jora(query, options?)` where `options` is `{ methods?, debug? }`
- Added stat mode (turns on by `stat` option, i.e. `jora(query, { stat: true })`) to return a query stat interface (an object with `stat()` and `suggestion()` methods) instead of resulting data
- Added tolerant parse mode (turns on by `tolerant` option, i.e. `jora(query, { tolerant: true })`) to supress parsing errors when possible
- Added library `version` to export
- Fixed parser edge cases for division (`/`) and regexp

## 1.0.0-alpha.6 (December 7, 2018)

Expand Down
2 changes: 1 addition & 1 deletion 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-alpha.6",
"version": "1.0.0-alpha.7",
"description": "JavaScript object query engine",
"keywords": [],
"homepage": "https://github.com/lahmatiy/jora",
Expand Down

0 comments on commit 4091ebb

Please sign in to comment.