All notable changes to this project will be documented in this file automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! This project adheres to Semantic Versioning.
- Update dependency mocha to v11 [Self-hosted Renovate Bot]
Update dependencies [Thodoris Greasidis]
- Wrap composite comparison operations with parenthesis when necessary [Thodoris Greasidis]
- tsconfig: Switch the module compiler option to Node16 [Thodoris Greasidis]
- Update tsconfig target to es2023 [Thodoris Greasidis]
- Update minimum supported nodejs version to 20.14.0 [Thodoris Greasidis]
- Make @balena/sbvr-types a peer dependency [Thodoris Greasidis]
- Lint fixes [Thodoris Greasidis]
Update dependencies & tests to match [Thodoris Greasidis]
Update `@balena/sbvr-types` devDependency [Harald Fischer]
- Update dependency @balena/abstract-sql-compiler to v9 [Self-hosted Renovate Bot]
- Return
ISODateString
instead ofdate
[fisehara]
- Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
- Add checksum to WebResource [Otávio Jacobi]
- Change contents to snake_case [Otávio Jacobi]
- Expose WebResource as WebResourceType [Otávio Jacobi]
- Adds WebResource type [Otávio Jacobi]
Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard]
- Switch from
export =
toexport default
[Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
- Add test cases for Objects in JSON validate [fisehara]
- Drop
require-npm4-to-publish
devDependency [fisehara]- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Switch
JSON
to useJSON
db type instead ofTEXT
[Pagan Gazzard]- Switch
Boolean
to useBOOLEAN
db type instead ofINTEGER
[Pagan Gazzard]- Assert that JSON input typeof is object [Josh Bowling]
- Add Big Serial type [Josh Bowling]
- Flowzone: Allow external contributions [Josh Bowling]
- Use bind vars for $top and $skip options [Pagan Gazzard]
- Fix type checking of the declaration file [Pagan Gazzard]
- Update dependency husky to v9 [Self-hosted Renovate Bot]
- Update dependency peggy to v4 [Self-hosted Renovate Bot]
- Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
- Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
- Optimize by moving constant values into global init [fisehara]
- Update dependencies [fisehara]
- Allow running CI on external PRs [Pagan Gazzard]
Support number references as boolean types [Pagan Gazzard]
- Use bind vars for $top and $skip options [Pagan Gazzard]
- Support PUT/PATCH/DELETE requests on resources with a translated ID field [Thodoris Greasidis]
Update dependencies [Pagan Gazzard]
- Adds
EndsWithNode
andContainsNode
typings [Pagan Gazzard]Update `@balena/sbvr-types` devDependency [Harald Fischer]
- Update dependency @balena/abstract-sql-compiler to v9 [Self-hosted Renovate Bot]
- Return
ISODateString
instead ofdate
[fisehara]
- Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
- Add checksum to WebResource [Otávio Jacobi]
- Change contents to snake_case [Otávio Jacobi]
- Expose WebResource as WebResourceType [Otávio Jacobi]
- Adds WebResource type [Otávio Jacobi]
- Fix type checking of the declaration file [Pagan Gazzard]
- Update dependency husky to v9 [Self-hosted Renovate Bot]
- Update dependency peggy to v4 [Self-hosted Renovate Bot]
- Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
- Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
- Update dependency @balena/sbvr-types to v8 [Self-hosted Renovate Bot]
- Switch to an inflection library from npm which does not monkey patch [Pagan Gazzard]
- Updated
@balena/sbvr-types
[Harald Fischer]
- Add typings for all abstract sql fragments, fixing where necessary [Pagan Gazzard]
- Explicitly type the
compare
function forhashed
[Pagan Gazzard]
- Accept
Date
for the write types ofDate Time
/Date
/Time
[Pagan Gazzard]
- Export typescript read/write types for each sbvr type [Pagan Gazzard]
- Update Big Serial concept type to Big Integer [Josh Bowling]
- Add Big Serial to Type.sbvr [Josh Bowling]
- Update prepare script for husky v9 [Josh Bowling]
- Update dependency husky to v9 [Self-hosted Renovate Bot]
- Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
- Improve JSON typings [Pagan Gazzard]
- Remove unnecessary catch bindings [Pagan Gazzard]
- Improve validate typings [Pagan Gazzard]
- Improve fetchProcessing typings [Pagan Gazzard]
- Tests: convert to typescript [Pagan Gazzard]
Properly error when using fields of a partial index as an alternate key [Thodoris Greasidis]
- Cast Big Serial to integer [Josh Bowling]
- Update prepare script for husky v9 [Josh Bowling]
- Update dependency husky to v9 [Self-hosted Renovate Bot]
- Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
- Update dependency @balena/lint to v8 [Thodoris Greasidis]
- Export the generateRuleHashAcronym helper [Thodoris Greasidis]
- Add support for unique indexes with NOT DISTINCT NULLS [Thodoris Greasidis]
- Add support for partial unique indexes [Thodoris Greasidis]
Update dependency @balena/odata-parser to v3 [Self-hosted Renovate Bot]
- Optimize by moving constant values into global init [fisehara]
- Update dependencies [fisehara]
- Allow running CI on external PRs [Pagan Gazzard]
- Use optional chaining operator [Pagan Gazzard]
- Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
- Update TypeScript to 5.4.3 [Thodoris Greasidis]
- Update
@balena/sbvr-types
[Harald Fischer]
- Update dependency husky to v9 [Self-hosted Renovate Bot]
- Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
- Update
@balena/sbvr-types
devDependencies [fisehara]- Fix linter issue [fisehara]
- Require at least one field to be updated for PATCH requests [Pagan Gazzard]
- Simplify support for MERGE as an alias for PATCH [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Update dependency @types/node to v20 [Self-hosted Renovate Bot]
- Optimize by moving constant values into global init [fisehara]
- Update dependencies [fisehara]
- Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
- Optimize Duplications of
ComputedField
queries [fisehara]
- Update dependency @types/chai-things to v0.0.38 [Self-hosted Renovate Bot]
- Update dependency @types/chai-things to v0.0.37 [Self-hosted Renovate Bot]
Update dependencies eslint, sbvrTypes, abstract-sql-compiler [Harald Fischer]
Update @balena/sbvr-types to 6.0.0 [Otávio Jacobi]
- Change contents to snake_case [Otávio Jacobi]
- Expose WebResource as WebResourceType [Otávio Jacobi]
- Adds WebResource type [Otávio Jacobi]
Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard]
- Switch from
export =
toexport default
[Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
- Fix TS errors for the latest sbvrTypes [Thodoris Greasidis]
- Drop
require-npm4-to-publish
asengines
used [fisehara]Update @balena/odata-to-abstract-sql to 6.x [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
####### odata-parser-3.0.0 - 2023-04-26
- Use optional chaining operator [Pagan Gazzard]
- Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
####### odata-parser-2.5.0 - 2023-04-26
- Update to peggy 3 and make us of the repetition operator [Pagan Gazzard]
####### sbvr-types-4.0.0 - 2023-04-26
- Add test cases for Objects in JSON validate [fisehara]
- Drop
require-npm4-to-publish
devDependency [fisehara]- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Switch
JSON
to useJSON
db type instead ofTEXT
[Pagan Gazzard]- Switch
Boolean
to useBOOLEAN
db type instead ofINTEGER
[Pagan Gazzard]- Assert that JSON input typeof is object [Josh Bowling]
- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Switch
AggregateJSON
to use the newerReferencedField
format [Pagan Gazzard]
- Collapse
AliasedFunction
intoFunctionMatch
[Pagan Gazzard]Improve typings [Pagan Gazzard]
####### abstract-sql-compiler-8.4.1 - 2023-04-25
- Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
####### abstract-sql-compiler-8.4.0 - 2023-04-24
- Add support for using field type nodes with an AggregateJSON node [Pagan Gazzard]
####### abstract-sql-compiler-8.3.13 - 2023-04-24
- Deprecate
AliasableFromTypeNodes
type as it's redundant [Pagan Gazzard]####### abstract-sql-compiler-8.3.12 - 2023-04-17
- Revert tightening of
OrderBy
to only field nodes [Pagan Gazzard]####### abstract-sql-compiler-8.3.11 - 2023-04-13
- Do not allow ON clauses for CROSS JOIN as it is invalid [Pagan Gazzard]
- Stop accepting
ExtractJSONPathAsText
/ToJSON
as unknown node types [Pagan Gazzard]####### abstract-sql-compiler-8.3.10 - 2023-04-13
- Fix DateNode/AnyNode typings [Pagan Gazzard]
####### abstract-sql-compiler-8.3.9 - 2023-04-13
Update dependencies [Pagan Gazzard]
######## sbvr-types-3.5.0 - 2023-03-21
- Add Big Serial type [Josh Bowling]
######## sbvr-types-3.4.19 - 2022-12-08
- Flowzone: Allow external contributions [Josh Bowling]
####### abstract-sql-compiler-8.3.8 - 2023-04-12
- Improve typings [Pagan Gazzard]
####### abstract-sql-compiler-8.3.7 - 2023-04-12
- Remove typing for non-existent JSON node [Pagan Gazzard]
####### abstract-sql-compiler-8.3.6 - 2023-04-12
- Tighten the
isXValue
function typings [Pagan Gazzard]####### abstract-sql-compiler-8.3.5 - 2023-04-12
- Correctly treat
Value
nodes as rewritten toText
by the optimizer [Pagan Gazzard]- Add EmbeddedTextNode typing [Pagan Gazzard]
####### abstract-sql-compiler-8.3.4 - 2023-04-12
- Enforce the first argument of ExtractJSONPathAsText is a JSON type node [Pagan Gazzard]
####### abstract-sql-compiler-8.3.3 - 2023-04-12
- Improve node typings [Pagan Gazzard]
####### abstract-sql-compiler-8.3.2 - 2023-04-12
- Add more node typings [Pagan Gazzard]
####### abstract-sql-compiler-8.3.1 - 2023-04-12
- Add more node typings [Pagan Gazzard]
####### abstract-sql-compiler-8.3.0 - 2023-04-11
- Support boolean nodes in a ValuesNode [Pagan Gazzard]
####### abstract-sql-compiler-8.2.0 - 2023-04-11
- Add
Between
node type [Pagan Gazzard]####### abstract-sql-compiler-8.1.0 - 2023-04-11
- Add
BitwiseAnd
/BitwiseShiftRight
node types [Pagan Gazzard]####### abstract-sql-compiler-8.0.2 - 2023-04-06
- Add
NotInNode
type [Pagan Gazzard]- Add
IsDistinctFromNode
/IsNotDistinctFromNode
types [Pagan Gazzard]- Add
CharacterLengthNode
type [Pagan Gazzard]####### abstract-sql-compiler-8.0.1 - 2023-04-06
- Adds Cast node type to tree parsing [Otávio Jacobi]
####### odata-parser-2.4.6 - 2023-02-24
- Improve typings [Pagan Gazzard]
####### odata-parser-2.4.5 - 2023-02-23
- Use const/let as appropriate [Pagan Gazzard]
####### odata-parser-2.4.4 - 2023-02-23
- Use shorthand object notation [Pagan Gazzard]
####### odata-parser-2.4.3 - 2023-02-23
- Update dependencies [Pagan Gazzard]
- Remove support for the legacy AggregateJSON format of
[tableName, fieldName]
[Pagan Gazzard]- Remove support for the legacy boolean format of
true|false
[Pagan Gazzard]- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Remove support for the legacy alias format of
[node, alias]
[Pagan Gazzard]- Remove support for the legacy table format of
tableName
[Pagan Gazzard]- Remove support for the legacy null formats of
null
and'Null'
[Pagan Gazzard]- Reflect the usage of BOOLEAN db type [Pagan Gazzard]
Update @balena/sbvr-types to 4.x [Pagan Gazzard]
- Add test cases for Objects in JSON validate [fisehara]
- Drop
require-npm4-to-publish
devDependency [fisehara]- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Switch
JSON
to useJSON
db type instead ofTEXT
[Pagan Gazzard]- Switch
Boolean
to useBOOLEAN
db type instead ofINTEGER
[Pagan Gazzard]- Assert that JSON input typeof is object [Josh Bowling]
- Use native
StartsWith
node type for postgres [Pagan Gazzard]- Convert
EscapeForLike
into a standalone node type [Pagan Gazzard]Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard]
- Switch from
export =
toexport default
[Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
- Add test cases for Objects in JSON validate [fisehara]
- Drop
require-npm4-to-publish
devDependency [fisehara]- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Switch
JSON
to useJSON
db type instead ofTEXT
[Pagan Gazzard]- Switch
Boolean
to useBOOLEAN
db type instead ofINTEGER
[Pagan Gazzard]- Assert that JSON input typeof is object [Josh Bowling]
- Add Big Serial type [Josh Bowling]
- Flowzone: Allow external contributions [Josh Bowling]
- Allow running CI on external PRs [Pagan Gazzard]
- Add checksum to WebResource [Otávio Jacobi]
- Change contents to snake_case [Otávio Jacobi]
- Expose WebResource as WebResourceType [Otávio Jacobi]
- Adds WebResource type [Otávio Jacobi]
- Switch from
export =
toexport default
[Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
- Support bind references as boolean types [Pagan Gazzard]
- Update dependency @balena/sbvr-types to v8 [Self-hosted Renovate Bot]
- Switch to an inflection library from npm which does not monkey patch [Pagan Gazzard]
- Updated
@balena/sbvr-types
[Harald Fischer]
- Change the exported Types to an interface so that they can be augmented [Thodoris Greasidis]
- Update @balena/lint to v8.2.7 [Josh Bowling]
- Update BigInteger and BigSerial TsTypes [Josh Bowling]
- Improve BigInteger and BigSerial support [Josh Bowling]
- Add typings for all abstract sql fragments, fixing where necessary [Pagan Gazzard]
- Explicitly type the
compare
function forhashed
[Pagan Gazzard]
- Accept
Date
for the write types ofDate Time
/Date
/Time
[Pagan Gazzard]
- Export typescript read/write types for each sbvr type [Pagan Gazzard]
- Update Big Serial concept type to Big Integer [Josh Bowling]
- Add Big Serial to Type.sbvr [Josh Bowling]
- Update prepare script for husky v9 [Josh Bowling]
- Update dependency husky to v9 [Self-hosted Renovate Bot]
- Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
- Improve JSON typings [Pagan Gazzard]
- Remove unnecessary catch bindings [Pagan Gazzard]
- Improve validate typings [Pagan Gazzard]
- Improve fetchProcessing typings [Pagan Gazzard]
- Tests: convert to typescript [Pagan Gazzard]
- Change the exported Types to an interface so that they can be augmented [Thodoris Greasidis]
- Update @balena/lint to v8.2.7 [Josh Bowling]
- Update BigInteger and BigSerial TsTypes [Josh Bowling]
- Improve BigInteger and BigSerial support [Josh Bowling]
- tsconfig: Switch the module compiler option to Node16 [Thodoris Greasidis]
- Update minimum supported nodejs version to 20.14.0 [Thodoris Greasidis]
Support number references as boolean types [Pagan Gazzard]
- Use bind vars for $top and $skip options [Pagan Gazzard]
- Support PUT/PATCH/DELETE requests on resources with a translated ID field [Thodoris Greasidis]
Update dependencies [Pagan Gazzard]
- Adds
EndsWithNode
andContainsNode
typings [Pagan Gazzard]Update `@balena/sbvr-types` devDependency [Harald Fischer]
- Update dependency @balena/abstract-sql-compiler to v9 [Self-hosted Renovate Bot]
- Return
ISODateString
instead ofdate
[fisehara]
- Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
- Add checksum to WebResource [Otávio Jacobi]
- Change contents to snake_case [Otávio Jacobi]
- Expose WebResource as WebResourceType [Otávio Jacobi]
- Adds WebResource type [Otávio Jacobi]
- Fix type checking of the declaration file [Pagan Gazzard]
- Update dependency husky to v9 [Self-hosted Renovate Bot]
- Update dependency peggy to v4 [Self-hosted Renovate Bot]
- Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
- Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
- Update dependency @balena/sbvr-types to v8 [Self-hosted Renovate Bot]
- Switch to an inflection library from npm which does not monkey patch [Pagan Gazzard]
- Updated
@balena/sbvr-types
[Harald Fischer]
- Add typings for all abstract sql fragments, fixing where necessary [Pagan Gazzard]
- Explicitly type the
compare
function forhashed
[Pagan Gazzard]
- Accept
Date
for the write types ofDate Time
/Date
/Time
[Pagan Gazzard]
- Export typescript read/write types for each sbvr type [Pagan Gazzard]
- Update Big Serial concept type to Big Integer [Josh Bowling]
- Add Big Serial to Type.sbvr [Josh Bowling]
- Update prepare script for husky v9 [Josh Bowling]
- Update dependency husky to v9 [Self-hosted Renovate Bot]
- Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
- Improve JSON typings [Pagan Gazzard]
- Remove unnecessary catch bindings [Pagan Gazzard]
- Improve validate typings [Pagan Gazzard]
- Improve fetchProcessing typings [Pagan Gazzard]
- Tests: convert to typescript [Pagan Gazzard]
Properly error when using fields of a partial index as an alternate key [Thodoris Greasidis]
- Cast Big Serial to integer [Josh Bowling]
- Update prepare script for husky v9 [Josh Bowling]
- Update dependency husky to v9 [Self-hosted Renovate Bot]
- Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
- Update dependency @balena/lint to v8 [Thodoris Greasidis]
- Export the generateRuleHashAcronym helper [Thodoris Greasidis]
- Add support for unique indexes with NOT DISTINCT NULLS [Thodoris Greasidis]
- Add support for partial unique indexes [Thodoris Greasidis]
Update dependency @balena/odata-parser to v3 [Self-hosted Renovate Bot]
- Optimize by moving constant values into global init [fisehara]
- Update dependencies [fisehara]
- Allow running CI on external PRs [Pagan Gazzard]
- Use optional chaining operator [Pagan Gazzard]
- Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
- Update TypeScript to 5.4.3 [Thodoris Greasidis]
- Update
@balena/sbvr-types
[Harald Fischer]
- Update dependency husky to v9 [Self-hosted Renovate Bot]
- Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
- Update
@balena/sbvr-types
devDependencies [fisehara] - Fix linter issue [fisehara]
- Require at least one field to be updated for PATCH requests [Pagan Gazzard]
- Simplify support for MERGE as an alias for PATCH [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Update dependency @types/node to v20 [Self-hosted Renovate Bot]
- Optimize by moving constant values into global init [fisehara]
- Update dependencies [fisehara]
- Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
- Optimize Duplications of
ComputedField
queries [fisehara]
- Update dependency @types/chai-things to v0.0.38 [Self-hosted Renovate Bot]
- Update dependency @types/chai-things to v0.0.37 [Self-hosted Renovate Bot]
Update dependencies eslint, sbvrTypes, abstract-sql-compiler [Harald Fischer]
Update @balena/sbvr-types to 6.0.0 [Otávio Jacobi]
- Change contents to snake_case [Otávio Jacobi]
- Expose WebResource as WebResourceType [Otávio Jacobi]
- Adds WebResource type [Otávio Jacobi]
Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard]
- Switch from
export =
toexport default
[Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
- Fix TS errors for the latest sbvrTypes [Thodoris Greasidis]
- Drop
require-npm4-to-publish
asengines
used [fisehara]Update @balena/odata-to-abstract-sql to 6.x [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Use optional chaining operator [Pagan Gazzard]
- Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
- Update to peggy 3 and make us of the repetition operator [Pagan Gazzard]
- Add test cases for Objects in JSON validate [fisehara]
- Drop
require-npm4-to-publish
devDependency [fisehara]- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Switch
JSON
to useJSON
db type instead ofTEXT
[Pagan Gazzard]- Switch
Boolean
to useBOOLEAN
db type instead ofINTEGER
[Pagan Gazzard]- Assert that JSON input typeof is object [Josh Bowling]
- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Switch
AggregateJSON
to use the newerReferencedField
format [Pagan Gazzard]
- Collapse
AliasedFunction
intoFunctionMatch
[Pagan Gazzard]Improve typings [Pagan Gazzard]
- Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Add support for using field type nodes with an AggregateJSON node [Pagan Gazzard]
- Deprecate
AliasableFromTypeNodes
type as it's redundant [Pagan Gazzard]
- Revert tightening of
OrderBy
to only field nodes [Pagan Gazzard]
- Do not allow ON clauses for CROSS JOIN as it is invalid [Pagan Gazzard]
- Stop accepting
ExtractJSONPathAsText
/ToJSON
as unknown node types [Pagan Gazzard]
- Fix DateNode/AnyNode typings [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Add Big Serial type [Josh Bowling]
- Flowzone: Allow external contributions [Josh Bowling]
- Improve typings [Pagan Gazzard]
- Remove typing for non-existent JSON node [Pagan Gazzard]
- Tighten the
isXValue
function typings [Pagan Gazzard]
- Correctly treat
Value
nodes as rewritten toText
by the optimizer [Pagan Gazzard]- Add EmbeddedTextNode typing [Pagan Gazzard]
- Enforce the first argument of ExtractJSONPathAsText is a JSON type node [Pagan Gazzard]
- Improve node typings [Pagan Gazzard]
- Add more node typings [Pagan Gazzard]
- Add more node typings [Pagan Gazzard]
- Support boolean nodes in a ValuesNode [Pagan Gazzard]
- Add
Between
node type [Pagan Gazzard]
- Add
BitwiseAnd
/BitwiseShiftRight
node types [Pagan Gazzard]
- Add
NotInNode
type [Pagan Gazzard]- Add
IsDistinctFromNode
/IsNotDistinctFromNode
types [Pagan Gazzard]- Add
CharacterLengthNode
type [Pagan Gazzard]
- Adds Cast node type to tree parsing [Otávio Jacobi]
- Improve typings [Pagan Gazzard]
- Use const/let as appropriate [Pagan Gazzard]
- Use shorthand object notation [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Remove support for the legacy AggregateJSON format of
[tableName, fieldName]
[Pagan Gazzard]- Remove support for the legacy boolean format of
true|false
[Pagan Gazzard]- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Remove support for the legacy alias format of
[node, alias]
[Pagan Gazzard]- Remove support for the legacy table format of
tableName
[Pagan Gazzard]- Remove support for the legacy null formats of
null
and'Null'
[Pagan Gazzard]- Reflect the usage of BOOLEAN db type [Pagan Gazzard]
Update @balena/sbvr-types to 4.x [Pagan Gazzard]
- Add test cases for Objects in JSON validate [fisehara]
- Drop
require-npm4-to-publish
devDependency [fisehara]- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Switch
JSON
to useJSON
db type instead ofTEXT
[Pagan Gazzard]- Switch
Boolean
to useBOOLEAN
db type instead ofINTEGER
[Pagan Gazzard]- Assert that JSON input typeof is object [Josh Bowling]
- Use native
StartsWith
node type for postgres [Pagan Gazzard]- Convert
EscapeForLike
into a standalone node type [Pagan Gazzard]Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard]
- Switch from
export =
toexport default
[Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
- Add test cases for Objects in JSON validate [fisehara]
- Drop
require-npm4-to-publish
devDependency [fisehara]- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Switch
JSON
to useJSON
db type instead ofTEXT
[Pagan Gazzard]- Switch
Boolean
to useBOOLEAN
db type instead ofINTEGER
[Pagan Gazzard]- Assert that JSON input typeof is object [Josh Bowling]
- Add Big Serial type [Josh Bowling]
- Flowzone: Allow external contributions [Josh Bowling]
- Allow running CI on external PRs [Pagan Gazzard]
- Add checksum to WebResource [Otávio Jacobi]
- Change contents to snake_case [Otávio Jacobi]
- Expose WebResource as WebResourceType [Otávio Jacobi]
- Adds WebResource type [Otávio Jacobi]
- Switch from
export =
toexport default
[Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
- Support bind references as boolean types [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Use optional chaining operator [Pagan Gazzard]
- Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
- Update to peggy 3 and make us of the repetition operator [Pagan Gazzard]
- Add test cases for Objects in JSON validate [fisehara]
- Drop
require-npm4-to-publish
devDependency [fisehara]- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Switch
JSON
to useJSON
db type instead ofTEXT
[Pagan Gazzard]- Switch
Boolean
to useBOOLEAN
db type instead ofINTEGER
[Pagan Gazzard]- Assert that JSON input typeof is object [Josh Bowling]
- Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
- Switch
AggregateJSON
to use the newerReferencedField
format [Pagan Gazzard]
- Collapse
AliasedFunction
intoFunctionMatch
[Pagan Gazzard]
Improve typings [Pagan Gazzard]
- Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Add support for using field type nodes with an AggregateJSON node [Pagan Gazzard]
- Deprecate
AliasableFromTypeNodes
type as it's redundant [Pagan Gazzard]
- Revert tightening of
OrderBy
to only field nodes [Pagan Gazzard]
- Do not allow ON clauses for CROSS JOIN as it is invalid [Pagan Gazzard]
- Stop accepting
ExtractJSONPathAsText
/ToJSON
as unknown node types [Pagan Gazzard]
- Fix DateNode/AnyNode typings [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Add Big Serial type [Josh Bowling]
- Flowzone: Allow external contributions [Josh Bowling]
- Improve typings [Pagan Gazzard]
- Remove typing for non-existent JSON node [Pagan Gazzard]
- Tighten the
isXValue
function typings [Pagan Gazzard]
- Correctly treat
Value
nodes as rewritten toText
by the optimizer [Pagan Gazzard]- Add EmbeddedTextNode typing [Pagan Gazzard]
- Enforce the first argument of ExtractJSONPathAsText is a JSON type node [Pagan Gazzard]
- Improve node typings [Pagan Gazzard]
- Add more node typings [Pagan Gazzard]
- Add more node typings [Pagan Gazzard]
- Support boolean nodes in a ValuesNode [Pagan Gazzard]
- Add
Between
node type [Pagan Gazzard]
- Add
BitwiseAnd
/BitwiseShiftRight
node types [Pagan Gazzard]
- Add
NotInNode
type [Pagan Gazzard]- Add
IsDistinctFromNode
/IsNotDistinctFromNode
types [Pagan Gazzard]- Add
CharacterLengthNode
type [Pagan Gazzard]
- Adds Cast node type to tree parsing [Otávio Jacobi]
- Improve typings [Pagan Gazzard]
- Use const/let as appropriate [Pagan Gazzard]
- Use shorthand object notation [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Fixes ODataBindings imported types [Otávio Jacobi]
- Update typings to the minimal subset of the abstract sql model we need [Pagan Gazzard]
Update dependency @balena/lf-to-abstract-sql to 5.0.0 [Renovate Bot]
- Expand
lfInfo
to also include the root table name [Carol Schulze]
Update dependency @balena/abstract-sql-compiler to 8.0.0 [Renovate Bot]
- Add binds for affected IDs in compiled rules [Carol Schulze]
- Cache the
ResourceMapping
result to avoid unnecessary work [Pagan Gazzard]
Respect `modifyFields`/`modifyName` in the table definition [Pagan Gazzard]
- Add
modifyFields
/modifyName
to table definition [Pagan Gazzard]
- Add the AbstractSql node
Any
[Carol Schulze]
- Add support for rules optimizations when using COUNT(*) = 0 [Pagan Gazzard]
- Flowzone: Allow external contributions [Josh Bowling]
- Fix: move @balena/odata-to-abstract-sql to dev dependencies [Pagan Gazzard]
- Tests: update @balena/odata-to-abstract-sql to 5.x [Pagan Gazzard]
- Fix deprecation notice module name [Pagan Gazzard]
- Add deprecation notices to the legacy null formats of
null
and'Null'
[Pagan Gazzard]- Add deprecation notice to the legacy table format of
tableName
[Pagan Gazzard]- Add deprecation notice to the legacy alias format of
[node, alias]
[Pagan Gazzard]
- Always replace the table being modified in definitions, ignoring aliases [Pagan Gazzard]
- Integrate beta version of sbvr-types supporting WebResource [Ramiro González Maciel]
- Integrate beta version of sbvr-types supporting WebResource [Ramiro González Maciel]
- Tests: reduce lodash usage [Pagan Gazzard]
- Flowzone: Allow external contributions [Josh Bowling]
- Switch insert casts from using legacy
'Null'
to using a['Null']
node [Pagan Gazzard]
- Remove package-lock.json [Pagan Gazzard]
Update dependencies [fisehara]
- Fix date fields used inside arithmetic expressions [fisehara]
- Add support for getting the modified fields of an aliased query [Pagan Gazzard]
- Fix replacing an aliased resource select with bind vars for inserts [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Add an option to always use minimized aliases [Pagan Gazzard]
- Switch from balenaCI to flowzone [Pagan Gazzard]
Add support for `/$count` with nested `$filter` in $orderby & $orderby [Thodoris Greasidis]
- Add support for
/$count
with nested$filter
in $orderby & $orderby [Thodoris Greasidis]
- Add source map [Pagan Gazzard]
- Stop using _.compact [Thodoris Greasidis]
- Stop using _.isObject in favor of the native methods [Thodoris Greasidis]
- Stop using Lodash's Dictionary type [Thodoris Greasidis]
- Avoid unnecessary loop when adding computed fields to
SELECT *
[Thodoris Greasidis]
- Use
SELECT *, $computedFields
for adding computed fields [Pagan Gazzard]
- Use nullish coalescing when sensible [Pagan Gazzard]
- Improve support for computed fields by respecting them in more places [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Expose
isAliasNode
helper [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Remove .circleci/config.yml [Thodoris Greasidis]
- Add support for
ConcatenateWithSeparator
nodes [Thodoris Greasidis]
- Add reference property type [Harald Fischer]
- Avoid the operation type optimization for HAVING clauses [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Remove circleci [Pagan Gazzard]
- Remove circleci [Pagan Gazzard]
- Use the full alias for the prefix hash [Pagan Gazzard]
- Use a hash instead of random str when it's necessary to shorten aliases [Pagan Gazzard]
- Improve
ResourceFunction
typings [Pagan Gazzard]
- Fix
isBindReference
check for non-null non-object types [Pagan Gazzard]
- Convert tests to type checked javascript [Pagan Gazzard]
Add SBVR Date TIme Type to DateTrunc Wrapper JS Date format has only milliseconds precision, postgresql stores TIMESTAMPS with microseconds precission. Comparisions may fail, when giving millisecond JS dates but comparing on microseconds. [fisehara]
- Support for non postgres db engines [fisehara]
- Supprt date_trunc postgres date function for DateValue [fisehara]
- Update dependencies [Pagan Gazzard]
- Delete CODEOWNERS [Thodoris Greasidis]
- Add support for
CurrentTimestamp
/CurrentDate
nodes [Pagan Gazzard]Update sbvr-types to 3.4.3 [Thodoris Greasidis]
- Support boolean results from the db as well as integer [Pagan Gazzard]
- Allow duration seconds to be nullable [Pagan Gazzard]
- Re-enable all tests [Pagan Gazzard]
- Revert "Remove now unnecessary hack for casting SERIAL types" [Pagan Gazzard]
- Remove now unnecessary hack for casting SERIAL types [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Update dev dependencies [Pagan Gazzard]
- Remove unnecessary native fact type entries for synonymous forms [Pagan Gazzard]
- Add a
Current Time
name that can be used to refer to the current time [Pagan Gazzard]
- Add
is before
&is after
verbs to the Date & DateTime types [Thodoris Greasidis]
- Add support for the
contains
verb to the text type [Thodoris Greasidis]- Add support for the
ends with
verb to the text type [Thodoris Greasidis]- Add support for the
starts with
verb to the text type [Thodoris Greasidis]
- Enable strict options by default and only disable specific ones [Pagan Gazzard]
- Enable narrowing down create/delete referenced fields for nested exists [Pagan Gazzard]
- Generalize/share the referenced fields code and cover more cases [Pagan Gazzard]
- Fix
getModifiedFields
forUpsertQuery
s [Pagan Gazzard]
- Separate code relating to referenced fields out of the main file [Pagan Gazzard]
- Add an
action
property to modified fields of create/update/delete [Pagan Gazzard]- Automatically add
ruleReferencedFields
toSqlRule
s [Pagan Gazzard]- Add a
getRuleReferencedFields
which is tailored for rules [Pagan Gazzard]
- Add test for optimizeSchema optimizing rules [Pagan Gazzard]
- Optimize the abstract sql of rules when running
optimizeSchema
[Pagan Gazzard]
- Fix schema optimizations when table and resource names are different [Pagan Gazzard]
- Convert some lodash usage to native equivalents [Pagan Gazzard]
- Optimize Is[Not]DistinctFrom and [Not]Exists for non-null values [Pagan Gazzard]
- Optimize EXISTS/NOT EXISTS for empty queries [Pagan Gazzard]
- Optimize away AND/ORs with false/true respectively [Pagan Gazzard]
- Optimize out booleans from AND/OR where possible [Pagan Gazzard]
- Delete CODEOWNERS [Thodoris Greasidis]
Update abstract-sql-compiler to 7.4.2 [Thodoris Greasidis]
- Improve Relationship typings [Thodoris Greasidis]
- Fix
containsNode
when that node type is at the top level [Pagan Gazzard]
Add support for official abstract-sql table definitions [Pagan Gazzard]
- Add support for table definitions [Pagan Gazzard]
- Allow compiling
*QueryNode
s to direct strings without binds [Pagan Gazzard]
- Improve typings for compilation results [Pagan Gazzard]
- Add an
optimizeSchema
function [Pagan Gazzard]
- Add check constraint support at the table level [Pagan Gazzard]
- Convert tests from coffeescript to type-checked javascript [Pagan Gazzard]
- Fix the
NOT(NOT(...))
optimization [Pagan Gazzard]
- Remove some type casts [Pagan Gazzard]
- Avoid trying to rewrite binds if there are none to rewrite [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
Update sbvr-types and make use of `castType` [Pagan Gazzard]
- Add a
castType
property to type functions [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Remove accidental
necessity
from theAbstractSqlField
types [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Add support for metadata argument in $format [Pagan Gazzard]
- Export
isBindReference
[Pagan Gazzard]
Add support for specifying named keys [Pagan Gazzard]
- Add support for specifying named keys [Pagan Gazzard]
Improve typings [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Improve
BindNode
typing [Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- Allow specifying valid methods for a specific match call [Pagan Gazzard]
- Rename to @balena/odata-to-abstract-sql [Pagan Gazzard]
Update to @balena/abstract-sql-compiler 7.x [Pagan Gazzard]
- Allow adding to the FromTypeNode set [Pagan Gazzard]
- Rename to @balena/abstract-sql-compiler [Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- Convert all returned promises to native promises instead of bluebird [Pagan Gazzard]
- Update tsconfig to target es2018 [Pagan Gazzard]
- Drop support for node 6/8 [Pagan Gazzard]
Update to @balena/sbvr-types 3.0.0 [Pagan Gazzard]
- Convert
fetchProcessing
to synchronous functions [Pagan Gazzard]- Update to bcrypt 4.x [Pagan Gazzard]
- Enable strict tsconfig [Pagan Gazzard]
- Make use of
import type
where relevant [Pagan Gazzard]- Update to balena-lint 5.x [Pagan Gazzard]
- Rename to @balena/sbvr-types [Pagan Gazzard]
- Drop node 8 support [Pagan Gazzard]
- Update tsconfig target to es2018 [Pagan Gazzard]
- Convert all returned promises to native promises instead of bluebird [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Update to mocha 7.x [Pagan Gazzard]
- Convert coffeescript tests to javascript [Pagan Gazzard]
- Drop support for node 6/8 [Pagan Gazzard]
- Rename to @balena/sbvr-parser [Pagan Gazzard]
- CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
- CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
- Update to to @balena/sbvr-types [Pagan Gazzard]
- Update to @balena/lint 5.x [Pagan Gazzard]
- Reduce lodash usage [Pagan Gazzard]
- Include linting as part of the tests [Pagan Gazzard]
- Convert from UMD module to commonjs module [Pagan Gazzard]
- Rename to @balena/lf-to-abstract-sql [Pagan Gazzard]
- Drop support for node 8 [Pagan Gazzard]
- Move @balena/sbvr-parser to production dependencies [Pagan Gazzard]
Update to @balena/sbvr-parser [Pagan Gazzard]
- Update to mocha 7.x [Pagan Gazzard]
- Convert coffeescript tests to javascript [Pagan Gazzard]
- Drop support for node 6/8 [Pagan Gazzard]
- Rename to @balena/sbvr-parser [Pagan Gazzard]
- CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
- CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
- Update to to @balena/sbvr-types [Pagan Gazzard]
- Update to @balena/lint 5.x [Pagan Gazzard]
- Reduce lodash usage [Pagan Gazzard]
- CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
Update to @balena/sbvr-types 3.0.0 [Pagan Gazzard]
- Convert
fetchProcessing
to synchronous functions [Pagan Gazzard]- Update to bcrypt 4.x [Pagan Gazzard]
- Enable strict tsconfig [Pagan Gazzard]
- Make use of
import type
where relevant [Pagan Gazzard]- Update to balena-lint 5.x [Pagan Gazzard]
- Rename to @balena/sbvr-types [Pagan Gazzard]
- Drop node 8 support [Pagan Gazzard]
- Update tsconfig target to es2018 [Pagan Gazzard]
- Convert all returned promises to native promises instead of bluebird [Pagan Gazzard]
- Switch to balena-lint [Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- Remove unused imports [Pagan Gazzard]
- Remove production lodash dependency [Pagan Gazzard]
- Switch to native some [Pagan Gazzard]
- Switch to native findIndex [Pagan Gazzard]
- Switch to native every [Pagan Gazzard]
- Switch to native find [Pagan Gazzard]
- Switch to native forEach where possible [Pagan Gazzard]
- Switch to native includes [Pagan Gazzard]
- Switch to native array type checking [Pagan Gazzard]
- Switch to native string type checking [Pagan Gazzard]
- Switch to native Object.assign [Pagan Gazzard]
- Always treat numbered terms as if they're used [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- CI: Remove circleci deploy in favor of balenaCI [Pagan Gazzard]
- CI: Add node 12 to the test matrix [Pagan Gazzard]
- CI: Remove node 6 from the test matrix [Pagan Gazzard]
- Update dependencies and use resin-lint for automatic lint fixes [Pagan Gazzard]
- Add node 12 to the test matrix [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- Add support for using
of
instead ofthat is of
[Pagan Gazzard]
- Add support for
a given
as a universal quantification [Pagan Gazzard]
- Allow including terms as part of a verb by using
[]
brackets [Pagan Gazzard]
- Only add the destination of a link table if it's actually necessary [Pagan Gazzard]
- CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- Add support for enum definitions on fact types [Pagan Gazzard]
- Fix
updateModifiedAt
formatting [Pagan Gazzard]
- Add node 12 tests [Pagan Gazzard]
- Add repo.yml for upstream changelogs [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
- Add automatic modified at fields [Pagan Gazzard]
- Rename to @balena/odata-parser [Pagan Gazzard]
- Update to @balena/lint 5.x [Pagan Gazzard]
- Drop support for nodejs 8 [Pagan Gazzard]
- CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
- CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
Make use of odata-parser types [Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- Add typings [Pagan Gazzard]
- Improve aliased from handling in
getReferencedFields
[Pagan Gazzard]
- Use an abstract-sql-optimiser prepass to simplify getReferencedFields [Pagan Gazzard]
- Optimise exactly 0 to not exists [Pagan Gazzard]
- Add support for computed fields [Pagan Gazzard]
Unify the handling of adding fields with or without a $select [Pagan Gazzard]
- Fix adding parameter alias to the options object [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
- Add support for computed fields [Pagan Gazzard]
- Add tests for
getReferencedFields
[Pagan Gazzard]
- Update and fix lodash typings [Pagan Gazzard]
- Update husky/mocha dev dependencies [Pagan Gazzard]
Fix typescript compilation [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
- Add node 12 tests [Pagan Gazzard]
- Add repo.yml for upstream changelogs [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
- Add node 12 tests [Pagan Gazzard]
- Add repo.yml for upstream changelogs [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
- Fix off-by-one error when having to resort to a random alias [Pagan Gazzard]
- Add support for definitions for the target table of insert queries [Pagan Gazzard]
- Add path key where statements to the select subquery for inserts [Pagan Gazzard]
- Convert == to === [Pagan Gazzard]
Improve typing of `dataTypeValidate` and sbvr-types [Pagan Gazzard]
- Switch to balena-lint [Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- Remove unused imports [Pagan Gazzard]
- Remove production lodash dependency [Pagan Gazzard]
- Enforce strict type checking [Pagan Gazzard]
Dev: Update to @balena/sbvr-parser 1.x [Pagan Gazzard]
- Update to mocha 7.x [Pagan Gazzard]
- Convert coffeescript tests to javascript [Pagan Gazzard]
- Drop support for node 6/8 [Pagan Gazzard]
- Rename to @balena/sbvr-parser [Pagan Gazzard]
- CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
- CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
- Update to to @balena/sbvr-types [Pagan Gazzard]
- Update to @balena/lint 5.x [Pagan Gazzard]
Dev: Update to @balena/lf-to-abstract-sql 4.x [Pagan Gazzard]
- Include linting as part of the tests [Pagan Gazzard]
- Convert from UMD module to commonjs module [Pagan Gazzard]
- Rename to @balena/lf-to-abstract-sql [Pagan Gazzard]
- Drop support for node 8 [Pagan Gazzard]
- Move @balena/sbvr-parser to production dependencies [Pagan Gazzard]
Update to @balena/odata-parser 2.x [Pagan Gazzard]
- Rename to @balena/odata-parser [Pagan Gazzard]
- Update to @balena/lint 5.x [Pagan Gazzard]
- Drop support for nodejs 8 [Pagan Gazzard]
- CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
- CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
Dev: Update lf-to-abstract-sql to 3.x [Pagan Gazzard]
Update to @balena/sbvr-parser [Pagan Gazzard]
- Update to mocha 7.x [Pagan Gazzard]
- Convert coffeescript tests to javascript [Pagan Gazzard]
- Drop support for node 6/8 [Pagan Gazzard]
- Rename to @balena/sbvr-parser [Pagan Gazzard]
- CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
- CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
- Update to to @balena/sbvr-types [Pagan Gazzard]
- Update to @balena/lint 5.x [Pagan Gazzard]
- Reduce lodash usage [Pagan Gazzard]
- CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
Update to @balena/sbvr-types 3.0.0 [Pagan Gazzard]
- Convert
fetchProcessing
to synchronous functions [Pagan Gazzard]- Update to bcrypt 4.x [Pagan Gazzard]
- Enable strict tsconfig [Pagan Gazzard]
- Make use of
import type
where relevant [Pagan Gazzard]- Update to balena-lint 5.x [Pagan Gazzard]
- Rename to @balena/sbvr-types [Pagan Gazzard]
- Drop node 8 support [Pagan Gazzard]
- Update tsconfig target to es2018 [Pagan Gazzard]
- Convert all returned promises to native promises instead of bluebird [Pagan Gazzard]
- Switch to balena-lint [Pagan Gazzard]
- Improve typings [Pagan Gazzard]
- Remove unused imports [Pagan Gazzard]
- Remove production lodash dependency [Pagan Gazzard]
- Switch to native some [Pagan Gazzard]
- Switch to native findIndex [Pagan Gazzard]
- Switch to native every [Pagan Gazzard]
- Switch to native find [Pagan Gazzard]
- Switch to native forEach where possible [Pagan Gazzard]
- Switch to native includes [Pagan Gazzard]
- Switch to native array type checking [Pagan Gazzard]
- Switch to native string type checking [Pagan Gazzard]
- Switch to native Object.assign [Pagan Gazzard]
- Always treat numbered terms as if they're used [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- CI: Remove circleci deploy in favor of balenaCI [Pagan Gazzard]
- CI: Add node 12 to the test matrix [Pagan Gazzard]
- CI: Remove node 6 from the test matrix [Pagan Gazzard]
- Update dependencies and use resin-lint for automatic lint fixes [Pagan Gazzard]
- Add node 12 to the test matrix [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- Add support for using
of
instead ofthat is of
[Pagan Gazzard]
- Add support for
a given
as a universal quantification [Pagan Gazzard]
- Allow including terms as part of a verb by using
[]
brackets [Pagan Gazzard]
- Only add the destination of a link table if it's actually necessary [Pagan Gazzard]
- CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- Add support for enum definitions on fact types [Pagan Gazzard]
- Fix
updateModifiedAt
formatting [Pagan Gazzard]
- Add node 12 tests [Pagan Gazzard]
- Add repo.yml for upstream changelogs [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
- Add automatic modified at fields [Pagan Gazzard]
Update to @balena/sbvr-types 3.0.0 [Pagan Gazzard]
- Convert
fetchProcessing
to synchronous functions [Pagan Gazzard]- Update to bcrypt 4.x [Pagan Gazzard]
- Enable strict tsconfig [Pagan Gazzard]
- Make use of
import type
where relevant [Pagan Gazzard]- Update to balena-lint 5.x [Pagan Gazzard]
- Rename to @balena/sbvr-types [Pagan Gazzard]
- Drop node 8 support [Pagan Gazzard]
- Update tsconfig target to es2018 [Pagan Gazzard]
- Convert all returned promises to native promises instead of bluebird [Pagan Gazzard]
- Switch to balena-lint [Pagan Gazzard]
- Improve typings [Pagan Gazzard]
Optimize `getRelationships` [Pagan Gazzard]
- Reduce lodash usage [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- CI: Remove circleci deploy in favor of balenaCI [Pagan Gazzard]
- CI: Add node 12 to the test matrix [Pagan Gazzard]
- CI: Remove node 6 from the test matrix [Pagan Gazzard]
- Update dependencies and use resin-lint for automatic lint fixes [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- ✨: Add support for canAccess method call on resource [Andreas Fitzek]
- Reduce lodash usage [Pagan Gazzard]
- Switch to native forEach where possible [Pagan Gazzard]
- Switch to native map [Pagan Gazzard]
- Switch to native find [Pagan Gazzard]
- Switch to native some [Pagan Gazzard]
- Switch to native includes [Pagan Gazzard]
- Switch to native string type check [Pagan Gazzard]
- Switch to native number type check [Pagan Gazzard]
- Switch to native array type check [Pagan Gazzard]
- Fix linting and make use of import type [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- Add support for using
of
instead ofthat is of
[Pagan Gazzard]
- Add support for
a given
as a universal quantification [Pagan Gazzard]
- Allow including terms as part of a verb by using
[]
brackets [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- CI: Remove circleci deploy in favor of balenaCI [Pagan Gazzard]
- CI: Add node 12 to the test matrix [Pagan Gazzard]
- CI: Remove node 6 from the test matrix [Pagan Gazzard]
- Update dependencies and use resin-lint for automatic lint fixes [Pagan Gazzard]
- Add node 12 to the test matrix [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- 📝♻️ : Improve RelationshipMapping typing and docs [Andreas Fitzek]
- Only create functions if they don't already exist [Pagan Gazzard]
- Add support for sum [Pagan Gazzard]
- Add support for average [Pagan Gazzard]
- Add tests for count [Pagan Gazzard]
- Add support for coalesce [Pagan Gazzard]
Update dependencies [Pagan Gazzard]
- Add node 12 to the test matrix [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- Update resin-lint to 3.x and use it for auto-linting [Pagan Gazzard]
- Fix query type check [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- Trim trigger names to the max of 63 characters [Pagan Gazzard]
- Update dev dependencies [Pagan Gazzard]
- ✨: Add custom resource functions [Andreas Fitzek]
- Remove unsupported node 6 from the test matrix [Pagan Gazzard]
- Add support for computed field when selecting from a resource alias [Pagan Gazzard]
- Add CODEOWNERS [Pagan Gazzard]
- Add support for
/$count
in filters [Pagan Gazzard]
Optimise generating resource mappings [Pagan Gazzard]
- Optimise merging of operands in
FilterByExpressionLoop
[Pagan Gazzard]
- Improve error messages on failing to resolve relationships [Pagan Gazzard]
- Add support for
TableNode
definitions [Pagan Gazzard]
Add typings support for `ResourceNode`s in join nodes [Pagan Gazzard]
- Add support for inner/left/right/full joins [Pagan Gazzard]
- Update dependencies [Pagan Gazzard]
- Update tsconfig target to es2018 [Pagan Gazzard]
- Use
IsDistinctFrom
/IsNotDistinctFrom
for odataeq
/ne
[Pagan Gazzard]
- Make use of odata-parser types [Pagan Gazzard]
View details
- Improve typings [Pagan Gazzard]
- Add typings [Pagan Gazzard]
- Improve aliased from handling in
getReferencedFields
[Pagan Gazzard]
- Use an abstract-sql-optimiser prepass to simplify getReferencedFields [Pagan Gazzard]
- Optimise exactly 0 to not exists [Pagan Gazzard]
- Add support for computed fields [Pagan Gazzard]
- Unify the handling of adding fields with or without a $select [Pagan Gazzard]
View details
- Fix adding parameter alias to the options object [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
- Add support for computed fields [Pagan Gazzard]
- Add tests for
getReferencedFields
[Pagan Gazzard]
- Update and fix lodash typings [Pagan Gazzard]
- Update husky/mocha dev dependencies [Pagan Gazzard]
- Fix typescript compilation [Pagan Gazzard]
View details
- Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
- Add node 12 tests [Pagan Gazzard]
- Add repo.yml for upstream changelogs [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
- Add node 12 tests [Pagan Gazzard]
- Add repo.yml for upstream changelogs [Pagan Gazzard]
- Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
- Fix off-by-one error when having to resort to a random alias [Pagan Gazzard]
- Add path key where statements to the select subquery for inserts [Pagan Gazzard]
- Add support for definitions for the target table of insert queries [Pagan Gazzard]
- Improve typings, typing
tree
as theAbstractSqlQuery
it is [Pagan Gazzard]
- Add support for automatically resolved
ResourceNode
s in definitions [Pagan Gazzard] - Convert the translator into typescript [Pagan Gazzard]
- Further optimise
generateShortAliases
[Pagan Gazzard]
- Optimise
generateShortAliases
[Pagan Gazzard]
- Add typescript linting and prettier commit hook [Pagan Gazzard]
- Update dev dependencies [Pagan Gazzard]
- Switch to using a prepare script so npm git installs can work [Pagan Gazzard]
- Switch to generating commonjs format [Pagan Gazzard]
- Add typings [Pagan Gazzard]
- Fix adding the id to body vars for PUT requests [Pagan Gazzard]
- Throw an error when trying to directly reference a virtual field [Pagan Gazzard]
- Optimise
ResolveRelationship
call to_.get
[Pagan Gazzard]
- Support navigation properties that only appear as method args [Pagan Gazzard]
- Avoid unnecessarily adding the path key to update queries [Pagan Gazzard]
- Apply inserts/updates/deletes direct to the base table, whilst respecting the definition for filters on them. #21 [Pagan Gazzard]
- Add support for native
in
statements. #20 [Pagan Gazzard]
- Update dependencies #19 [Pagan Gazzard]
- Require npm 4+ to publish, to avoid issues with publishing #18 [Pagan Gazzard]
- Update to memoizee ^0.4.12 #17 [Pagan Gazzard]
- Add node 10 to the circleci tests. #16 [Pagan Gazzard]
- Move circle.yml to .circleci/config.yml #16 [Pagan Gazzard]
- Update to lf-to-abstract-sql 2.x and make use of the relationship lookup being the resource name. #14 [Pagan Gazzard]
- Memoize
sqlNameToODataName
andodataNameToSqlName
#15 [Pagan Gazzard]
- Add support for more query options in PUT/PATCH/DELETE queries. #13 [Pagan Gazzard]
- Cast nulls to the correct type as well, since nulls can also cause problems in some queries if not cast #12 [Pagan Gazzard]
- Add support for resources which are defined via an abstract SQL chunk. #11 [Pagan Gazzard]
- Set up circleci auto-publishing #10 [Pagan Gazzard]
- Added versionist #8 [Giovanni Garufi]
- As a last resort use a random string to shorten the alias if the other methods were unable to shorten it enough
- Add more levels of alias shortening in order to be able to more aggressively shortern aliases whilst still maintaining some readability (as aliases quickly get a lot longer now the verb is included)
- Added
sqlNameToODataName
andodataNameToSqlName
for converting between odata and abstract sql resource names. - Switched to using the abstract sql model directly as the client model, this adds support for
- Synonymous form navigation, meaning we can navigate both
pilot trained pilot
andpilot was trained by pilot
to specify a direction. - Synonyms, meaning we can use both aircraft and plane interchangeably, eg
aircraft
instead ofplane
,pilot__can_fly__aircraft
instead ofpilot__can_fly__plane
, etc
- Synonymous form navigation, meaning we can navigate both
- Switched to generating the client model in the tests, rather than committing it.
- Fixed the
all
lambda for cases where there are more than one of the parent resource
- Changed to requiring an array of body keys rather than an object of key/value pairs. This makes the cache hit rate on memoisation reasonable.
- Changed to return an object containing the tree and an object of key/value pairs that should be added to the body.
- Added support for parsing binds in the odata tree.
- Made sure parsing fails if the path.key is invalid.
- Added functionality to sensibly shorten table aliases (requires using the new
setClientModel
function), to handle cases where aliases can grow too large for the database.
- Fixed an undefined variable issue on an unknown mapping.
- Added support for /$count
- Added tests for count
- Switched to using sensible aliases for tables so that self-references can be handled.
- Fixed cases where prop.property or prop.lambda could be ignored.
- Switched to throwing errors rather than strings so that we get stack traces
- Added support for duration literals.
- Added support for the majority of OData 4 functions.
- Updated to lodash v4
- Updated ometa-js
- Added support for lambda operations on nested properties.
- Fixed issues with field scoping of foreign keys with
$expand($select)
queries that do not include the foreign key in the select. - Fixed database error on insert filter with navigation property.
- Added support for nested expands like
$expand=resource($expand=subresource)
- Switched to a scoped package.
- Fixed an issue when an expand references its parent in an option (eg.
/pilot?$expand=licence($filter=pilot/id eq 1)
)
- Fixed some cases where failing to parse was silently ignored.
- Added support for $filter, $orderby, $top, $skip, and $select as expand options.
- Updated lodash to ^3.0.0
- Added support for true/false/null
- Implemented support for PUT filters.
- Added support for resource names with underscores.
- Cast bind vars in inserts in order to guarantee the database knows the correct type in cases where it could be ambiguous.
- Fixed id fields that had spaces.
- Implemented support for POST filters.
- Proper support for keys in $links