Skip to content

Commit

Permalink
1.0.0-beta.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Apr 18, 2022
1 parent a9faebf commit d904518
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## next
## 1.0.0-beta.6 (April 18, 2022)

- Added support for custom methods as jora query (a string) in `jora.setup()`
- Added a check for all methods are defined on query compilation to avoid runtime exceptions
- Improved error message when a methods is not defined, i.e. `Method "foo" is not defined` instead of `m.foo is not a function`
- Added support for custom methods as a string (jora query) in `jora.setup()`
- Added a check for all methods are defined on query compilation step to avoid runtime exceptions
- Allowed `g`, `m`, `s` and `u` flags in regexp literals
- Disallowed a backslash before closing quote or apostrophe in string literals
- Improved error message when a methods is not defined, i.e. `Method "foo" is not defined` instead of `m.foo is not a function`
- Improved error locations in string literals
- Disallowed a backslash before closing quote or apostrophe in string literals
- Fixed `match()` method to work well for RegExp with `g` flag and for strings when `matchAll` is true
- Fixed `sort()` method to perform a stable sort for old js-engines and always place `undefined` values last
- Fixed range in details for bad input errors
Expand All @@ -31,6 +31,7 @@
}> | null
```
- All the changes are targeted to improve performance and memory consumption when a query is performing to a huge datasets (hundreds of thousands of values). As a result a suggestions fetching is boosted up to 30-40 times for such cases.
- Converted to Dual Package, i.e. ESM and CommonJS support
- Changed Node.js support to `^10.12.0 || ^12.20.0 || ^14.13.0 || >=15.0.0`
- Changed dist modules:
- Removed `jora.min.js`
Expand Down
6 changes: 3 additions & 3 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.5",
"version": "1.0.0-beta.6",
"description": "JavaScript object query engine",
"author": "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)",
"repository": "discoveryjs/jora",
Expand Down

0 comments on commit d904518

Please sign in to comment.