Skip to content

Commit d904518

Browse files
committed
1.0.0-beta.6
1 parent a9faebf commit d904518

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
## next
1+
## 1.0.0-beta.6 (April 18, 2022)
22

3-
- Added support for custom methods as jora query (a string) in `jora.setup()`
4-
- Added a check for all methods are defined on query compilation to avoid runtime exceptions
5-
- Improved error message when a methods is not defined, i.e. `Method "foo" is not defined` instead of `m.foo is not a function`
3+
- Added support for custom methods as a string (jora query) in `jora.setup()`
4+
- Added a check for all methods are defined on query compilation step to avoid runtime exceptions
65
- Allowed `g`, `m`, `s` and `u` flags in regexp literals
7-
- Disallowed a backslash before closing quote or apostrophe in string literals
6+
- Improved error message when a methods is not defined, i.e. `Method "foo" is not defined` instead of `m.foo is not a function`
87
- Improved error locations in string literals
8+
- Disallowed a backslash before closing quote or apostrophe in string literals
99
- Fixed `match()` method to work well for RegExp with `g` flag and for strings when `matchAll` is true
1010
- Fixed `sort()` method to perform a stable sort for old js-engines and always place `undefined` values last
1111
- Fixed range in details for bad input errors
@@ -31,6 +31,7 @@
3131
}> | null
3232
```
3333
- 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.
34+
- Converted to Dual Package, i.e. ESM and CommonJS support
3435
- Changed Node.js support to `^10.12.0 || ^12.20.0 || ^14.13.0 || >=15.0.0`
3536
- Changed dist modules:
3637
- Removed `jora.min.js`

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jora",
3-
"version": "1.0.0-beta.5",
3+
"version": "1.0.0-beta.6",
44
"description": "JavaScript object query engine",
55
"author": "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)",
66
"repository": "discoveryjs/jora",

0 commit comments

Comments
 (0)