Releases: stalniy/ucast
Releases · stalniy/ucast
@ucast/[email protected]
2.0.0 (2020-08-08)
Bug Fixes
- docs: removes
$
sign from README examples (44a8383)
Code Refactoring
- interpreters: removes
$
prefix from names of operator interpreters (377d89f)
BREAKING CHANGES
- interpreters: removes
$
prefix from names of operator interpreters. Also renames$in
towithin
becausein
is a reserved word in JS. This ensures we can safely import/re-export symbols from this package and other parsers/interpreters inside/from single file:
Before:
import { $in, $and } from '@ucast/objection'
After:
import { within, and } from '@ucast/objection'
@ucast/[email protected]
2.0.0 (2020-08-08)
Bug Fixes
- docs: removes
$
sign from README examples (0dc924a)
Code Refactoring
- parser: removes
$
from operator name in resulting AST (e589a9c)
BREAKING CHANGES
- parser:
MongoQueryParser.parse
returns AST with operator names that doesn't have$
prefix. This was done to make it easier import/re-export parser instructions and operator interpreters from single package
@ucast/[email protected]
@ucast/[email protected]
@ucast/[email protected]
@ucast/[email protected]
2.0.0 (2020-08-08)
Code Refactoring
- interpreters: removes
$
prefix from names of operator interpreters (04ea7ac)
Performance Improvements
- build: adds es6cjs format which works few times faster then umd in node env (4adba3b)
BREAKING CHANGES
- interpreters: removes
$
prefix from names of operator interpreters. Also renames$in
towithin
becausein
is a reserved word in JS. This ensures we can safely import/re-export symbols from this package and other parsers/interpreters inside/from single file:
Before:
import { $in, $and } from '@ucast/js'
After:
import { within, and } from '@ucast/js'