Releases: RomiC/rsql-builder
Releases · RomiC/rsql-builder
Custom list operators
This release introduces custom links operators. Before it, it was only possible to create custom operations with a single element. Thanks to the efforts of @safo6m starting from now custom operations with multiple arguments can be created:
function myInList(value): Operation {
return new Operation(`(${escapeValue(value)})`, '=myInList=');
}
ESM-modules
This version introduces ESM module, which should be more compact and have better readability. CommonJS module is still being supported.
Exposing Comparison
This PR addresses a small fix (#278) related to missing export of Comparison
class.
Custom Operations
Bugfix for empty strings
- Starting from now all empty string will be quoted:
import {and, comparison, eq} from 'rsql-builder';
and(comparison('name', eq(''))); // name==""
Forgotten export
Made comparison
function part of public API
Switched to commonjs to support nodejs
v1.0.1 Updated badge in readme
Basic functionality
v1.0.0 Set up autopublishing via Travis