Releases: tfso/njs-tfso-repository
Releases · tfso/njs-tfso-repository
1.2.141
odata; escaping of chars and probably dateliterals
1.2.139
- Date/DateTime for OData
- Repository is iterable through iterable method
query
- Wildcard support for criteria (OData queries for now, or using *)
1.2.131
- fixing datatype Date for OData
- key of object isn't visited as identifier
- fixing javascript parser
- fixing reducer for boolean
- adding getCriteriaGroups for Repository
- fixing first && OperatorType
- asyncIterator exists in Node 10+ but not below
1.2.124
- fixing datatype Date for OData
- key of object isn't visited as identifier
- fixing javascript parser
- fixing reducer for boolean
- adding getCriteriaGroups for Repository
1.2.114
- Exposing literals and expression in Template Literal to make it compatible with ES6 tagged template functions
- Operator "slice" with begin and end, and a custom token
- Operator "skipWhile"
- IRecordSetMeta has a continuationToken that may be returned by Repositories.
- Support for Indexer to object literals
- toString for expressions
1.2.105
partial + nested properties for criterias in base repository
1.2.101
few fixes
1.2.98
Repository
- beautiful iterable repository
- passing in [query, parentQuery] for all iterators that is using IEnumerable, handy when optimizing filters
Enumerable
- bugfixing join operator
- making Enumerable either iterator or asyncIterator, never both + always passing in IEnumerable as first argument in iterator.
- async enumerable by using async generator ('for await' magic)
- adding missing properties to IEnumerable
- lambda; join and select
- making enumerable a truly iterable from a to z
- intersection for Where and more correct evaluate of members
- remapper of key/value in expression
OData
- small fixes to support OData (it has Identifier instead of Member)
- visit method for odata, both solvable and unsolvable
- OData; case insensitive
- swapping out odata-parser with a modified pegjs grammar
Expressions
- support for array literals, conditional expr, template literal
- cleaning up this/global parameters vs input parameters in reducervisitor
- swapping out jsep with pegjs grammar for javascript
- bugfixing for optional identifiers in logical 'or' (as it is unsolvable since it's an identifier instead of literal)
1.1.97
- repository uses enumerable
- swapping out odata-parser with pegjs grammar
1.0.59
- OData support for WhereOperator/Enumerable
- Exposing meta for RecordSet
- Support for total length (for paging)
- Bug fixes