Skip to content

Latest commit

 

History

History
3338 lines (2828 loc) · 90.2 KB

CHANGELOG.md

File metadata and controls

3338 lines (2828 loc) · 90.2 KB

Change Log

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.

7.0.1 - 2024-12-04

  • Update dependency mocha to v11 [Self-hosted Renovate Bot]

7.0.0 - 2024-10-08

Update dependencies [Thodoris Greasidis]

abstract-sql-compiler-10.0.1 - 2024-10-07

  • Wrap composite comparison operations with parenthesis when necessary [Thodoris Greasidis]

abstract-sql-compiler-10.0.0 - 2024-10-07

  • 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]

lf-to-abstract-sql-5.0.2 - 2024-03-05

Update `@balena/sbvr-types` devDependency [Harald Fischer]
sbvr-types-7.0.1 - 2024-03-04
  • Update dependency @balena/abstract-sql-compiler to v9 [Self-hosted Renovate Bot]
sbvr-types-7.0.0 - 2024-03-04
  • Return ISODateString instead of date [fisehara]
sbvr-types-6.1.1 - 2024-01-02
  • Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
sbvr-types-6.1.0 - 2023-10-03
  • Add checksum to WebResource [Otávio Jacobi]
sbvr-types-6.0.0 - 2023-08-09
  • Change contents to snake_case [Otávio Jacobi]
sbvr-types-5.2.0 - 2023-08-08
  • Expose WebResource as WebResourceType [Otávio Jacobi]
sbvr-types-5.1.0 - 2023-08-03
  • Adds WebResource type [Otávio Jacobi]

lf-to-abstract-sql-5.0.1 - 2023-05-16

Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard]
sbvr-types-5.0.0 - 2023-05-16
  • Switch from export = to export default [Pagan Gazzard]
sbvr-types-4.0.2 - 2023-05-03
  • Improve typings [Pagan Gazzard]
sbvr-types-4.0.1 - 2023-05-02
  • boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
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 use JSON db type instead of TEXT [Pagan Gazzard]
  • Switch Boolean to use BOOLEAN db type instead of INTEGER [Pagan Gazzard]
  • Assert that JSON input typeof is object [Josh Bowling]
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]

odata-parser-3.1.0 - 2024-10-03

  • Use bind vars for $top and $skip options [Pagan Gazzard]

odata-parser-3.0.8 - 2024-06-04

  • Fix type checking of the declaration file [Pagan Gazzard]

odata-parser-3.0.7 - 2024-04-13

  • Update dependency husky to v9 [Self-hosted Renovate Bot]

odata-parser-3.0.6 - 2024-04-12

  • Update dependency peggy to v4 [Self-hosted Renovate Bot]

odata-parser-3.0.5 - 2024-04-12

  • Update dependency lint-staged to v15 [Self-hosted Renovate Bot]

odata-parser-3.0.4 - 2024-04-12

  • Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]

odata-parser-3.0.3 - 2024-01-04

  • Optimize by moving constant values into global init [fisehara]

odata-parser-3.0.2 - 2024-01-04

  • Update dependencies [fisehara]

odata-parser-3.0.1 - 2023-09-25

  • Allow running CI on external PRs [Pagan Gazzard]

odata-to-abstract-sql-6.4.0 - 2024-10-04

Support number references as boolean types [Pagan Gazzard]
odata-parser-3.1.0 - 2024-10-03
  • Use bind vars for $top and $skip options [Pagan Gazzard]

odata-to-abstract-sql-6.3.0 - 2024-08-26

  • Support PUT/PATCH/DELETE requests on resources with a translated ID field [Thodoris Greasidis]

odata-to-abstract-sql-6.2.8 - 2024-08-26

Update dependencies [Pagan Gazzard]
abstract-sql-compiler-9.2.0 - 2024-06-12
  • Adds EndsWithNode and ContainsNode typings [Pagan Gazzard]
lf-to-abstract-sql-5.0.2 - 2024-03-05
Update `@balena/sbvr-types` devDependency [Harald Fischer]
sbvr-types-7.0.1 - 2024-03-04
  • Update dependency @balena/abstract-sql-compiler to v9 [Self-hosted Renovate Bot]
sbvr-types-7.0.0 - 2024-03-04
  • Return ISODateString instead of date [fisehara]
sbvr-types-6.1.1 - 2024-01-02
  • Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
sbvr-types-6.1.0 - 2023-10-03
  • Add checksum to WebResource [Otávio Jacobi]
sbvr-types-6.0.0 - 2023-08-09
  • Change contents to snake_case [Otávio Jacobi]
sbvr-types-5.2.0 - 2023-08-08
  • Expose WebResource as WebResourceType [Otávio Jacobi]
sbvr-types-5.1.0 - 2023-08-03
  • Adds WebResource type [Otávio Jacobi]
odata-parser-3.0.8 - 2024-06-04
  • Fix type checking of the declaration file [Pagan Gazzard]
odata-parser-3.0.7 - 2024-04-13
  • Update dependency husky to v9 [Self-hosted Renovate Bot]
odata-parser-3.0.6 - 2024-04-12
  • Update dependency peggy to v4 [Self-hosted Renovate Bot]
odata-parser-3.0.5 - 2024-04-12
  • Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
odata-parser-3.0.4 - 2024-04-12
  • Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
sbvr-parser-1.4.6 - Invalid date
  • Update dependency @balena/sbvr-types to v8 [Self-hosted Renovate Bot]
sbvr-parser-1.4.5 - 2024-06-18
  • Switch to an inflection library from npm which does not monkey patch [Pagan Gazzard]
sbvr-parser-1.4.4 - 2024-03-05
  • Updated @balena/sbvr-types [Harald Fischer]
sbvr-types-7.1.3 - 2024-06-12
  • Add typings for all abstract sql fragments, fixing where necessary [Pagan Gazzard]
sbvr-types-7.1.2 - 2024-06-12
  • Explicitly type the compare function for hashed [Pagan Gazzard]
sbvr-types-7.1.1 - 2024-06-04
  • Accept Date for the write types of Date Time/Date/Time [Pagan Gazzard]
sbvr-types-7.1.0 - 2024-04-25
  • Export typescript read/write types for each sbvr type [Pagan Gazzard]
sbvr-types-7.0.10 - 2024-04-09
  • Update Big Serial concept type to Big Integer [Josh Bowling]
sbvr-types-7.0.9 - 2024-04-09
  • Add Big Serial to Type.sbvr [Josh Bowling]
sbvr-types-7.0.8 - 2024-04-09
  • Update prepare script for husky v9 [Josh Bowling]
  • Update dependency husky to v9 [Self-hosted Renovate Bot]
sbvr-types-7.0.7 - 2024-04-09
  • Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
sbvr-types-7.0.6 - 2024-03-21
  • Improve JSON typings [Pagan Gazzard]
sbvr-types-7.0.5 - 2024-03-13
  • Remove unnecessary catch bindings [Pagan Gazzard]
sbvr-types-7.0.4 - 2024-03-13
  • Improve validate typings [Pagan Gazzard]
sbvr-types-7.0.3 - 2024-03-12
  • Improve fetchProcessing typings [Pagan Gazzard]
sbvr-types-7.0.2 - 2024-03-12
  • Tests: convert to typescript [Pagan Gazzard]

odata-to-abstract-sql-6.2.7 - 2024-04-23

Properly error when using fields of a partial index as an alternate key [Thodoris Greasidis]
abstract-sql-compiler-9.1.4 - 2024-04-09
  • Cast Big Serial to integer [Josh Bowling]
abstract-sql-compiler-9.1.3 - 2024-04-09
  • Update prepare script for husky v9 [Josh Bowling]
  • Update dependency husky to v9 [Self-hosted Renovate Bot]
abstract-sql-compiler-9.1.2 - 2024-04-09
  • Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
abstract-sql-compiler-9.1.1 - 2024-03-26
  • Update dependency @balena/lint to v8 [Thodoris Greasidis]
abstract-sql-compiler-9.1.0 - 2024-03-26
  • 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]
abstract-sql-compiler-9.0.7 - 2024-03-22
Update dependency @balena/odata-parser to v3 [Self-hosted Renovate Bot]
odata-parser-3.0.3 - 2024-01-04
  • Optimize by moving constant values into global init [fisehara]
odata-parser-3.0.2 - 2024-01-04
  • Update dependencies [fisehara]
odata-parser-3.0.1 - 2023-09-25
  • Allow running CI on external PRs [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]
abstract-sql-compiler-9.0.6 - 2024-03-21
  • Update TypeScript to 5.4.3 [Thodoris Greasidis]
abstract-sql-compiler-9.0.5 - 2024-03-05
  • Update @balena/sbvr-types [Harald Fischer]

odata-to-abstract-sql-6.2.6 - 2024-04-13

  • Update dependency husky to v9 [Self-hosted Renovate Bot]

odata-to-abstract-sql-6.2.5 - 2024-04-10

  • Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]

odata-to-abstract-sql-6.2.4 - 2024-03-05

  • Update @balena/sbvr-types devDependencies [fisehara]
  • Fix linter issue [fisehara]

odata-to-abstract-sql-6.2.3 - 2024-01-15

  • Require at least one field to be updated for PATCH requests [Pagan Gazzard]

odata-to-abstract-sql-6.2.2 - 2024-01-15

  • Simplify support for MERGE as an alias for PATCH [Pagan Gazzard]

odata-to-abstract-sql-6.2.1 - 2024-01-15

Update dependencies [Pagan Gazzard]
abstract-sql-compiler-9.0.4 - 2024-01-02
  • Update dependency @types/node to v20 [Self-hosted Renovate Bot]
odata-parser-3.0.3 - 2024-01-04
  • Optimize by moving constant values into global init [fisehara]
odata-parser-3.0.2 - 2024-01-04
  • Update dependencies [fisehara]
sbvr-types-6.1.1 - 2024-01-02
  • Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]

odata-to-abstract-sql-6.2.0 - 2023-11-24

  • Optimize Duplications of ComputedField queries [fisehara]

odata-to-abstract-sql-6.1.3 - 2023-11-10

  • Update dependency @types/chai-things to v0.0.38 [Self-hosted Renovate Bot]

odata-to-abstract-sql-6.1.2 - 2023-10-20

  • Update dependency @types/chai-things to v0.0.37 [Self-hosted Renovate Bot]

odata-to-abstract-sql-6.1.1 - 2023-10-19

Update dependencies eslint, sbvrTypes, abstract-sql-compiler [Harald Fischer]
abstract-sql-compiler-9.0.3 - 2023-08-09
Update @balena/sbvr-types to 6.0.0 [Otávio Jacobi]
sbvr-types-6.0.0 - 2023-08-09
  • Change contents to snake_case [Otávio Jacobi]
sbvr-types-5.2.0 - 2023-08-08
  • Expose WebResource as WebResourceType [Otávio Jacobi]
sbvr-types-5.1.0 - 2023-08-03
  • Adds WebResource type [Otávio Jacobi]
abstract-sql-compiler-9.0.2 - 2023-05-16
Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard]
sbvr-types-5.0.0 - 2023-05-16
  • Switch from export = to export default [Pagan Gazzard]
sbvr-types-4.0.2 - 2023-05-03
  • Improve typings [Pagan Gazzard]
sbvr-types-4.0.1 - 2023-05-02
  • boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
abstract-sql-compiler-9.0.1 - 2023-05-15
  • Fix TS errors for the latest sbvrTypes [Thodoris Greasidis]
abstract-sql-compiler-9.0.0 - 2023-05-02
  • Drop require-npm4-to-publish as engines used [fisehara]
Update @balena/odata-to-abstract-sql to 6.x [Pagan Gazzard]
odata-to-abstract-sql-6.0.1 - 2023-04-27
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 use JSON db type instead of TEXT [Pagan Gazzard]
  • Switch Boolean to use BOOLEAN db type instead of INTEGER [Pagan Gazzard]
  • Assert that JSON input typeof is object [Josh Bowling]
odata-to-abstract-sql-6.0.0 - 2023-04-26
  • Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
  • Switch AggregateJSON to use the newer ReferencedField format [Pagan Gazzard]
odata-to-abstract-sql-5.9.6 - 2023-04-25
  • Collapse AliasedFunction into FunctionMatch [Pagan Gazzard]
odata-to-abstract-sql-5.9.5 - 2023-04-25
Improve typings [Pagan Gazzard]

####### abstract-sql-compiler-8.4.1 - 2023-04-25

  • Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
odata-to-abstract-sql-5.9.4 - 2023-04-24
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 to Text 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]
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 use JSON db type instead of TEXT [Pagan Gazzard]
  • Switch Boolean to use BOOLEAN db type instead of INTEGER [Pagan Gazzard]
  • Assert that JSON input typeof is object [Josh Bowling]
abstract-sql-compiler-8.5.0 - 2023-04-27
  • Use native StartsWith node type for postgres [Pagan Gazzard]
  • Convert EscapeForLike into a standalone node type [Pagan Gazzard]
lf-to-abstract-sql-5.0.1 - 2023-05-16
Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard]
sbvr-types-5.0.0 - 2023-05-16
  • Switch from export = to export default [Pagan Gazzard]
sbvr-types-4.0.2 - 2023-05-03
  • Improve typings [Pagan Gazzard]
sbvr-types-4.0.1 - 2023-05-02
  • boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
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 use JSON db type instead of TEXT [Pagan Gazzard]
  • Switch Boolean to use BOOLEAN db type instead of INTEGER [Pagan Gazzard]
  • Assert that JSON input typeof is object [Josh Bowling]
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]
odata-parser-3.0.1 - 2023-09-25
  • Allow running CI on external PRs [Pagan Gazzard]
sbvr-types-6.1.0 - 2023-10-03
  • Add checksum to WebResource [Otávio Jacobi]
sbvr-types-6.0.0 - 2023-08-09
  • Change contents to snake_case [Otávio Jacobi]
sbvr-types-5.2.0 - 2023-08-08
  • Expose WebResource as WebResourceType [Otávio Jacobi]
sbvr-types-5.1.0 - 2023-08-03
  • Adds WebResource type [Otávio Jacobi]
sbvr-types-5.0.0 - 2023-05-16
  • Switch from export = to export default [Pagan Gazzard]
sbvr-types-4.0.2 - 2023-05-03
  • Improve typings [Pagan Gazzard]
sbvr-types-4.0.1 - 2023-05-02
  • boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]

odata-to-abstract-sql-6.1.0 - 2023-08-16

  • Support bind references as boolean types [Pagan Gazzard]

sbvr-parser-1.4.6 - Invalid date

  • Update dependency @balena/sbvr-types to v8 [Self-hosted Renovate Bot]

sbvr-parser-1.4.5 - 2024-06-18

  • Switch to an inflection library from npm which does not monkey patch [Pagan Gazzard]

sbvr-parser-1.4.4 - 2024-03-05

  • Updated @balena/sbvr-types [Harald Fischer]

sbvr-types-9.0.2 - 2024-09-17

  • Change the exported Types to an interface so that they can be augmented [Thodoris Greasidis]

sbvr-types-9.0.1 - 2024-08-05

  • Update @balena/lint to v8.2.7 [Josh Bowling]

sbvr-types-9.0.0 - 2024-08-02

  • Update BigInteger and BigSerial TsTypes [Josh Bowling]

sbvr-types-8.0.0 - 2024-06-12

  • Improve BigInteger and BigSerial support [Josh Bowling]

sbvr-types-7.1.3 - 2024-06-12

  • Add typings for all abstract sql fragments, fixing where necessary [Pagan Gazzard]

sbvr-types-7.1.2 - 2024-06-12

  • Explicitly type the compare function for hashed [Pagan Gazzard]

sbvr-types-7.1.1 - 2024-06-04

  • Accept Date for the write types of Date Time/Date/Time [Pagan Gazzard]

sbvr-types-7.1.0 - 2024-04-25

  • Export typescript read/write types for each sbvr type [Pagan Gazzard]

sbvr-types-7.0.10 - 2024-04-09

  • Update Big Serial concept type to Big Integer [Josh Bowling]

sbvr-types-7.0.9 - 2024-04-09

  • Add Big Serial to Type.sbvr [Josh Bowling]

sbvr-types-7.0.8 - 2024-04-09

  • Update prepare script for husky v9 [Josh Bowling]
  • Update dependency husky to v9 [Self-hosted Renovate Bot]

sbvr-types-7.0.7 - 2024-04-09

  • Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]

sbvr-types-7.0.6 - 2024-03-21

  • Improve JSON typings [Pagan Gazzard]

sbvr-types-7.0.5 - 2024-03-13

  • Remove unnecessary catch bindings [Pagan Gazzard]

sbvr-types-7.0.4 - 2024-03-13

  • Improve validate typings [Pagan Gazzard]

sbvr-types-7.0.3 - 2024-03-12

  • Improve fetchProcessing typings [Pagan Gazzard]

sbvr-types-7.0.2 - 2024-03-12

  • Tests: convert to typescript [Pagan Gazzard]

sbvr-types-9.0.2 - 2024-09-17

  • Change the exported Types to an interface so that they can be augmented [Thodoris Greasidis]

sbvr-types-9.0.1 - 2024-08-05

  • Update @balena/lint to v8.2.7 [Josh Bowling]

sbvr-types-9.0.0 - 2024-08-02

  • Update BigInteger and BigSerial TsTypes [Josh Bowling]

sbvr-types-8.0.0 - 2024-06-12

  • 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]

6.4.0 - 2024-10-04

Support number references as boolean types [Pagan Gazzard]

odata-parser-3.1.0 - 2024-10-03

  • Use bind vars for $top and $skip options [Pagan Gazzard]

6.3.0 - 2024-08-26

  • Support PUT/PATCH/DELETE requests on resources with a translated ID field [Thodoris Greasidis]

6.2.8 - 2024-08-26

Update dependencies [Pagan Gazzard]

abstract-sql-compiler-9.2.0 - 2024-06-12

  • Adds EndsWithNode and ContainsNode typings [Pagan Gazzard]

lf-to-abstract-sql-5.0.2 - 2024-03-05

Update `@balena/sbvr-types` devDependency [Harald Fischer]

sbvr-types-7.0.1 - 2024-03-04

  • Update dependency @balena/abstract-sql-compiler to v9 [Self-hosted Renovate Bot]

sbvr-types-7.0.0 - 2024-03-04

  • Return ISODateString instead of date [fisehara]

sbvr-types-6.1.1 - 2024-01-02

  • Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]

sbvr-types-6.1.0 - 2023-10-03

  • Add checksum to WebResource [Otávio Jacobi]

sbvr-types-6.0.0 - 2023-08-09

  • Change contents to snake_case [Otávio Jacobi]

sbvr-types-5.2.0 - 2023-08-08

  • Expose WebResource as WebResourceType [Otávio Jacobi]

sbvr-types-5.1.0 - 2023-08-03

  • Adds WebResource type [Otávio Jacobi]

odata-parser-3.0.8 - 2024-06-04

  • Fix type checking of the declaration file [Pagan Gazzard]

odata-parser-3.0.7 - 2024-04-13

  • Update dependency husky to v9 [Self-hosted Renovate Bot]

odata-parser-3.0.6 - 2024-04-12

  • Update dependency peggy to v4 [Self-hosted Renovate Bot]

odata-parser-3.0.5 - 2024-04-12

  • Update dependency lint-staged to v15 [Self-hosted Renovate Bot]

odata-parser-3.0.4 - 2024-04-12

  • Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]

sbvr-parser-1.4.6 - Invalid date

  • Update dependency @balena/sbvr-types to v8 [Self-hosted Renovate Bot]

sbvr-parser-1.4.5 - 2024-06-18

  • Switch to an inflection library from npm which does not monkey patch [Pagan Gazzard]

sbvr-parser-1.4.4 - 2024-03-05

  • Updated @balena/sbvr-types [Harald Fischer]

sbvr-types-7.1.3 - 2024-06-12

  • Add typings for all abstract sql fragments, fixing where necessary [Pagan Gazzard]

sbvr-types-7.1.2 - 2024-06-12

  • Explicitly type the compare function for hashed [Pagan Gazzard]

sbvr-types-7.1.1 - 2024-06-04

  • Accept Date for the write types of Date Time/Date/Time [Pagan Gazzard]

sbvr-types-7.1.0 - 2024-04-25

  • Export typescript read/write types for each sbvr type [Pagan Gazzard]

sbvr-types-7.0.10 - 2024-04-09

  • Update Big Serial concept type to Big Integer [Josh Bowling]

sbvr-types-7.0.9 - 2024-04-09

  • Add Big Serial to Type.sbvr [Josh Bowling]

sbvr-types-7.0.8 - 2024-04-09

  • Update prepare script for husky v9 [Josh Bowling]
  • Update dependency husky to v9 [Self-hosted Renovate Bot]

sbvr-types-7.0.7 - 2024-04-09

  • Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]

sbvr-types-7.0.6 - 2024-03-21

  • Improve JSON typings [Pagan Gazzard]

sbvr-types-7.0.5 - 2024-03-13

  • Remove unnecessary catch bindings [Pagan Gazzard]

sbvr-types-7.0.4 - 2024-03-13

  • Improve validate typings [Pagan Gazzard]

sbvr-types-7.0.3 - 2024-03-12

  • Improve fetchProcessing typings [Pagan Gazzard]

sbvr-types-7.0.2 - 2024-03-12

  • Tests: convert to typescript [Pagan Gazzard]

6.2.7 - 2024-04-23

Properly error when using fields of a partial index as an alternate key [Thodoris Greasidis]

abstract-sql-compiler-9.1.4 - 2024-04-09

  • Cast Big Serial to integer [Josh Bowling]

abstract-sql-compiler-9.1.3 - 2024-04-09

  • Update prepare script for husky v9 [Josh Bowling]
  • Update dependency husky to v9 [Self-hosted Renovate Bot]

abstract-sql-compiler-9.1.2 - 2024-04-09

  • Update dependency lint-staged to v15 [Self-hosted Renovate Bot]

abstract-sql-compiler-9.1.1 - 2024-03-26

  • Update dependency @balena/lint to v8 [Thodoris Greasidis]

abstract-sql-compiler-9.1.0 - 2024-03-26

  • 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]

abstract-sql-compiler-9.0.7 - 2024-03-22

Update dependency @balena/odata-parser to v3 [Self-hosted Renovate Bot]

odata-parser-3.0.3 - 2024-01-04

  • Optimize by moving constant values into global init [fisehara]

odata-parser-3.0.2 - 2024-01-04

  • Update dependencies [fisehara]

odata-parser-3.0.1 - 2023-09-25

  • Allow running CI on external PRs [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]

abstract-sql-compiler-9.0.6 - 2024-03-21

  • Update TypeScript to 5.4.3 [Thodoris Greasidis]

abstract-sql-compiler-9.0.5 - 2024-03-05

  • Update @balena/sbvr-types [Harald Fischer]

6.2.6 - 2024-04-13

  • Update dependency husky to v9 [Self-hosted Renovate Bot]

6.2.5 - 2024-04-10

  • Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]

6.2.4 - 2024-03-05

  • Update @balena/sbvr-types devDependencies [fisehara]
  • Fix linter issue [fisehara]

6.2.3 - 2024-01-15

  • Require at least one field to be updated for PATCH requests [Pagan Gazzard]

6.2.2 - 2024-01-15

  • Simplify support for MERGE as an alias for PATCH [Pagan Gazzard]

6.2.1 - 2024-01-15

Update dependencies [Pagan Gazzard]

abstract-sql-compiler-9.0.4 - 2024-01-02

  • Update dependency @types/node to v20 [Self-hosted Renovate Bot]

odata-parser-3.0.3 - 2024-01-04

  • Optimize by moving constant values into global init [fisehara]

odata-parser-3.0.2 - 2024-01-04

  • Update dependencies [fisehara]

sbvr-types-6.1.1 - 2024-01-02

  • Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]

6.2.0 - 2023-11-24

  • Optimize Duplications of ComputedField queries [fisehara]

6.1.3 - 2023-11-10

  • Update dependency @types/chai-things to v0.0.38 [Self-hosted Renovate Bot]

6.1.2 - 2023-10-20

  • Update dependency @types/chai-things to v0.0.37 [Self-hosted Renovate Bot]

6.1.1 - 2023-10-19

Update dependencies eslint, sbvrTypes, abstract-sql-compiler [Harald Fischer]

abstract-sql-compiler-9.0.3 - 2023-08-09

Update @balena/sbvr-types to 6.0.0 [Otávio Jacobi]

sbvr-types-6.0.0 - 2023-08-09

  • Change contents to snake_case [Otávio Jacobi]

sbvr-types-5.2.0 - 2023-08-08

  • Expose WebResource as WebResourceType [Otávio Jacobi]

sbvr-types-5.1.0 - 2023-08-03

  • Adds WebResource type [Otávio Jacobi]

abstract-sql-compiler-9.0.2 - 2023-05-16

Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard]

sbvr-types-5.0.0 - 2023-05-16

  • Switch from export = to export default [Pagan Gazzard]

sbvr-types-4.0.2 - 2023-05-03

  • Improve typings [Pagan Gazzard]

sbvr-types-4.0.1 - 2023-05-02

  • boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]

abstract-sql-compiler-9.0.1 - 2023-05-15

  • Fix TS errors for the latest sbvrTypes [Thodoris Greasidis]

abstract-sql-compiler-9.0.0 - 2023-05-02

  • Drop require-npm4-to-publish as engines used [fisehara]
Update @balena/odata-to-abstract-sql to 6.x [Pagan Gazzard]

odata-to-abstract-sql-6.0.1 - 2023-04-27

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 use JSON db type instead of TEXT [Pagan Gazzard]
  • Switch Boolean to use BOOLEAN db type instead of INTEGER [Pagan Gazzard]
  • Assert that JSON input typeof is object [Josh Bowling]

odata-to-abstract-sql-6.0.0 - 2023-04-26

  • Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
  • Switch AggregateJSON to use the newer ReferencedField format [Pagan Gazzard]

odata-to-abstract-sql-5.9.6 - 2023-04-25

  • Collapse AliasedFunction into FunctionMatch [Pagan Gazzard]

odata-to-abstract-sql-5.9.5 - 2023-04-25

Improve typings [Pagan Gazzard]
abstract-sql-compiler-8.4.1 - 2023-04-25
  • Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]

odata-to-abstract-sql-5.9.4 - 2023-04-24

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 to Text 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]

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 use JSON db type instead of TEXT [Pagan Gazzard]
  • Switch Boolean to use BOOLEAN db type instead of INTEGER [Pagan Gazzard]
  • Assert that JSON input typeof is object [Josh Bowling]

abstract-sql-compiler-8.5.0 - 2023-04-27

  • Use native StartsWith node type for postgres [Pagan Gazzard]
  • Convert EscapeForLike into a standalone node type [Pagan Gazzard]

lf-to-abstract-sql-5.0.1 - 2023-05-16

Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard]

sbvr-types-5.0.0 - 2023-05-16

  • Switch from export = to export default [Pagan Gazzard]

sbvr-types-4.0.2 - 2023-05-03

  • Improve typings [Pagan Gazzard]

sbvr-types-4.0.1 - 2023-05-02

  • boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]

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 use JSON db type instead of TEXT [Pagan Gazzard]
  • Switch Boolean to use BOOLEAN db type instead of INTEGER [Pagan Gazzard]
  • Assert that JSON input typeof is object [Josh Bowling]

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]

odata-parser-3.0.1 - 2023-09-25

  • Allow running CI on external PRs [Pagan Gazzard]

sbvr-types-6.1.0 - 2023-10-03

  • Add checksum to WebResource [Otávio Jacobi]

sbvr-types-6.0.0 - 2023-08-09

  • Change contents to snake_case [Otávio Jacobi]

sbvr-types-5.2.0 - 2023-08-08

  • Expose WebResource as WebResourceType [Otávio Jacobi]

sbvr-types-5.1.0 - 2023-08-03

  • Adds WebResource type [Otávio Jacobi]

sbvr-types-5.0.0 - 2023-05-16

  • Switch from export = to export default [Pagan Gazzard]

sbvr-types-4.0.2 - 2023-05-03

  • Improve typings [Pagan Gazzard]

sbvr-types-4.0.1 - 2023-05-02

  • boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]

6.1.0 - 2023-08-16

  • Support bind references as boolean types [Pagan Gazzard]

6.0.1 - 2023-04-27

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 use JSON db type instead of TEXT [Pagan Gazzard]
  • Switch Boolean to use BOOLEAN db type instead of INTEGER [Pagan Gazzard]
  • Assert that JSON input typeof is object [Josh Bowling]

6.0.0 - 2023-04-26

  • Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
  • Switch AggregateJSON to use the newer ReferencedField format [Pagan Gazzard]

5.9.6 - 2023-04-25

  • Collapse AliasedFunction into FunctionMatch [Pagan Gazzard]

5.9.5 - 2023-04-25

Improve typings [Pagan Gazzard]

abstract-sql-compiler-8.4.1 - 2023-04-25

  • Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]

5.9.4 - 2023-04-24

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 to Text 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]

5.9.3 - 2023-03-08

  • Fixes ODataBindings imported types [Otávio Jacobi]

5.9.2 - 2023-02-15

  • Update typings to the minimal subset of the abstract sql model we need [Pagan Gazzard]

5.9.1 - 2023-02-13

Update dependency @balena/lf-to-abstract-sql to 5.0.0 [Renovate Bot]

lf-to-abstract-sql-5.0.0 - 2023-02-10

  • Expand lfInfo to also include the root table name [Carol Schulze]

5.9.0 - 2023-02-13

Update dependency @balena/abstract-sql-compiler to 8.0.0 [Renovate Bot]

abstract-sql-compiler-8.0.0 - 2023-02-13

  • Add binds for affected IDs in compiled rules [Carol Schulze]

5.8.1 - 2023-02-13

  • Cache the ResourceMapping result to avoid unnecessary work [Pagan Gazzard]

5.8.0 - 2023-01-23

Respect `modifyFields`/`modifyName` in the table definition [Pagan Gazzard]

abstract-sql-compiler-7.25.0 - 2023-01-23

  • Add modifyFields/modifyName to table definition [Pagan Gazzard]

abstract-sql-compiler-7.24.0 - 2023-01-16

  • Add the AbstractSql node Any [Carol Schulze]

abstract-sql-compiler-7.23.0 - 2022-12-08

  • Add support for rules optimizations when using COUNT(*) = 0 [Pagan Gazzard]

abstract-sql-compiler-7.22.5 - 2022-12-08

  • Flowzone: Allow external contributions [Josh Bowling]

abstract-sql-compiler-7.22.4 - Invalid date

  • Fix: move @balena/odata-to-abstract-sql to dev dependencies [Pagan Gazzard]

abstract-sql-compiler-7.22.3 - Invalid date

  • Tests: update @balena/odata-to-abstract-sql to 5.x [Pagan Gazzard]

abstract-sql-compiler-7.22.2 - Invalid date

  • Fix deprecation notice module name [Pagan Gazzard]

abstract-sql-compiler-7.22.1 - 2022-11-29

  • 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]

5.7.7 - 2023-01-23

  • Always replace the table being modified in definitions, ignoring aliases [Pagan Gazzard]

5.7.6 - 2023-01-20

  • Integrate beta version of sbvr-types supporting WebResource [Ramiro González Maciel]

5.7.5 - 2023-01-16

  • Integrate beta version of sbvr-types supporting WebResource [Ramiro González Maciel]

5.7.4 - 2023-01-10

  • Tests: reduce lodash usage [Pagan Gazzard]

5.7.3 - 2022-12-08

  • Flowzone: Allow external contributions [Josh Bowling]

5.7.2 - 2022-11-29

  • Switch insert casts from using legacy 'Null' to using a ['Null'] node [Pagan Gazzard]

5.7.1 - 2022-11-25

  • Remove package-lock.json [Pagan Gazzard]

5.7.0 - 2022-11-24

Update dependencies [fisehara]

abstract-sql-compiler-7.22.0 - 2022-11-23

  • Fix date fields used inside arithmetic expressions [fisehara]

abstract-sql-compiler-7.21.1 - 2022-11-22

  • Add support for getting the modified fields of an aliased query [Pagan Gazzard]

5.6.2 - 2022-11-22

  • Fix replacing an aliased resource select with bind vars for inserts [Pagan Gazzard]

5.6.1 - 2022-11-22

  • Update dependencies [Pagan Gazzard]

5.6.0 - 2022-11-22

  • Add an option to always use minimized aliases [Pagan Gazzard]

5.5.1 - 2022-10-14

  • Switch from balenaCI to flowzone [Pagan Gazzard]

5.5.0 - 2022-09-15

Add support for `/$count` with nested `$filter` in $orderby & $orderby [Thodoris Greasidis]

odata-parser-2.4.0 - 2022-09-15

  • Add support for /$count with nested $filter in $orderby & $orderby [Thodoris Greasidis]

odata-parser-2.3.0 - 2022-06-06

  • Add source map [Pagan Gazzard]

5.4.15 - 2022-07-26

  • Stop using _.compact [Thodoris Greasidis]
  • Stop using _.isObject in favor of the native methods [Thodoris Greasidis]
  • Stop using Lodash's Dictionary type [Thodoris Greasidis]

5.4.14 - 2022-06-25

  • Avoid unnecessary loop when adding computed fields to SELECT * [Thodoris Greasidis]

5.4.13 - 2022-06-03

  • Use SELECT *, $computedFields for adding computed fields [Pagan Gazzard]

5.4.12 - 2022-06-03

  • Use nullish coalescing when sensible [Pagan Gazzard]

5.4.11 - 2022-05-19

  • Improve support for computed fields by respecting them in more places [Pagan Gazzard]

5.4.10 - 2022-05-19

Update dependencies [Pagan Gazzard]

abstract-sql-compiler-7.20.0 - 2022-05-19

  • Expose isAliasNode helper [Pagan Gazzard]

abstract-sql-compiler-7.19.1 - 2022-04-08

Update dependencies [Pagan Gazzard]

sbvr-types-3.4.7 - 2022-04-08

  • Update dependencies [Pagan Gazzard]
  • Remove circleci [Pagan Gazzard]

sbvr-types-3.4.6 - 2021-09-21

  • Avoid creating a new Date object when we already have one [Pagan Gazzard]

5.4.9 - 2022-04-08

Update dependencies [Pagan Gazzard]

abstract-sql-compiler-7.19.0 - 2022-03-24

  • Remove .circleci/config.yml [Thodoris Greasidis]
  • Add support for ConcatenateWithSeparator nodes [Thodoris Greasidis]

abstract-sql-compiler-7.18.0 - 2022-02-16

  • Add reference property type [Harald Fischer]

abstract-sql-compiler-7.17.1 - 2022-01-24

  • Avoid the operation type optimization for HAVING clauses [Pagan Gazzard]

odata-parser-2.2.9 - 2022-04-08

  • Update dependencies [Pagan Gazzard]
  • Remove circleci [Pagan Gazzard]
  • Remove circleci [Pagan Gazzard]

5.4.8 - 2022-01-13

  • Use the full alias for the prefix hash [Pagan Gazzard]

5.4.7 - 2022-01-11

  • Use a hash instead of random str when it's necessary to shorten aliases [Pagan Gazzard]

5.4.6 - 2021-11-30

  • Improve ResourceFunction typings [Pagan Gazzard]

5.4.5 - 2021-11-26

  • Fix isBindReference check for non-null non-object types [Pagan Gazzard]

5.4.4 - 2021-09-07

  • Convert tests to type checked javascript [Pagan Gazzard]

5.4.3 - 2021-08-24

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]

abstract-sql-compiler-7.13.4 - 2021-08-17

  • Support for non postgres db engines [fisehara]

abstract-sql-compiler-7.13.3 - 2021-07-28

  • Supprt date_trunc postgres date function for DateValue [fisehara]

abstract-sql-compiler-7.13.2 - 2021-07-26

  • Update dependencies [Pagan Gazzard]

abstract-sql-compiler-7.13.1 - 2021-06-30

  • Delete CODEOWNERS [Thodoris Greasidis]

abstract-sql-compiler-7.13.0 - 2021-05-18

  • Add support for CurrentTimestamp/CurrentDate nodes [Pagan Gazzard]

abstract-sql-compiler-7.12.7 - 2021-05-18

Update sbvr-types to 3.4.3 [Thodoris Greasidis]

sbvr-types-3.4.3 - 2021-05-11

  • Support boolean results from the db as well as integer [Pagan Gazzard]

abstract-sql-compiler-7.12.6 - 2021-05-18

  • Allow duration seconds to be nullable [Pagan Gazzard]

abstract-sql-compiler-7.12.5 - 2021-05-18

  • Re-enable all tests [Pagan Gazzard]

abstract-sql-compiler-7.12.4 - 2021-05-04

  • Revert "Remove now unnecessary hack for casting SERIAL types" [Pagan Gazzard]

abstract-sql-compiler-7.12.3 - 2021-05-03

  • Remove now unnecessary hack for casting SERIAL types [Pagan Gazzard]

abstract-sql-compiler-7.12.2 - 2021-03-22

Update dependencies [Pagan Gazzard]

sbvr-types-3.4.2 - 2021-03-22

  • Update dev dependencies [Pagan Gazzard]

sbvr-types-3.4.1 - 2021-02-10

  • Remove unnecessary native fact type entries for synonymous forms [Pagan Gazzard]

sbvr-types-3.4.0 - 2021-02-08

  • Add a Current Time name that can be used to refer to the current time [Pagan Gazzard]

sbvr-types-3.3.0 - 2021-02-05

  • Add is before & is after verbs to the Date & DateTime types [Thodoris Greasidis]

sbvr-types-3.2.0 - 2021-01-29

  • Add support for the contains verb to the text type [Thodoris Greasidis]
  • Add support for theends with verb to the text type [Thodoris Greasidis]
  • Add support for the starts with verb to the text type [Thodoris Greasidis]

abstract-sql-compiler-7.12.1 - 2021-03-22

  • Enable strict options by default and only disable specific ones [Pagan Gazzard]

abstract-sql-compiler-7.12.0 - 2021-03-05

  • Enable narrowing down create/delete referenced fields for nested exists [Pagan Gazzard]

abstract-sql-compiler-7.11.0 - 2021-03-01

  • Generalize/share the referenced fields code and cover more cases [Pagan Gazzard]

abstract-sql-compiler-7.10.2 - 2021-02-12

  • Fix getModifiedFields for UpsertQuerys [Pagan Gazzard]

abstract-sql-compiler-7.10.1 - 2021-01-29

  • Separate code relating to referenced fields out of the main file [Pagan Gazzard]

abstract-sql-compiler-7.10.0 - 2021-01-29

  • Add an action property to modified fields of create/update/delete [Pagan Gazzard]
  • Automatically add ruleReferencedFields to SqlRules [Pagan Gazzard]
  • Add a getRuleReferencedFields which is tailored for rules [Pagan Gazzard]

abstract-sql-compiler-7.9.1 - 2021-01-29

  • Add test for optimizeSchema optimizing rules [Pagan Gazzard]

abstract-sql-compiler-7.9.0 - 2021-01-25

  • Optimize the abstract sql of rules when running optimizeSchema [Pagan Gazzard]

abstract-sql-compiler-7.8.2 - 2021-01-15

  • Fix schema optimizations when table and resource names are different [Pagan Gazzard]

abstract-sql-compiler-7.8.1 - 2021-01-04

  • Convert some lodash usage to native equivalents [Pagan Gazzard]

abstract-sql-compiler-7.8.0 - 2021-01-01

  • Optimize Is[Not]DistinctFrom and [Not]Exists for non-null values [Pagan Gazzard]

abstract-sql-compiler-7.7.0 - 2021-01-01

  • Optimize EXISTS/NOT EXISTS for empty queries [Pagan Gazzard]

abstract-sql-compiler-7.6.0 - 2021-01-01

  • Optimize away AND/ORs with false/true respectively [Pagan Gazzard]

abstract-sql-compiler-7.5.0 - 2021-01-01

  • Optimize out booleans from AND/OR where possible [Pagan Gazzard]

5.4.2 - 2021-06-30

  • Delete CODEOWNERS [Thodoris Greasidis]

5.4.1 - 2020-12-26

Update abstract-sql-compiler to 7.4.2 [Thodoris Greasidis]

abstract-sql-compiler-7.4.2 - 2020-12-21

  • Improve Relationship typings [Thodoris Greasidis]

abstract-sql-compiler-7.4.1 - 2020-12-18

  • Fix containsNode when that node type is at the top level [Pagan Gazzard]

5.4.0 - 2020-12-18

Add support for official abstract-sql table definitions [Pagan Gazzard]

abstract-sql-compiler-7.4.0 - 2020-12-18

  • Add support for table definitions [Pagan Gazzard]

abstract-sql-compiler-7.3.0 - 2020-12-18

  • Allow compiling *QueryNodes to direct strings without binds [Pagan Gazzard]

abstract-sql-compiler-7.2.1 - 2020-12-18

  • Improve typings for compilation results [Pagan Gazzard]

abstract-sql-compiler-7.2.0 - 2020-12-16

  • Add an optimizeSchema function [Pagan Gazzard]

abstract-sql-compiler-7.1.0 - 2020-12-09

  • Add check constraint support at the table level [Pagan Gazzard]

abstract-sql-compiler-7.0.7 - 2020-12-09

  • Convert tests from coffeescript to type-checked javascript [Pagan Gazzard]

abstract-sql-compiler-7.0.6 - 2020-11-30

  • Fix the NOT(NOT(...)) optimization [Pagan Gazzard]

abstract-sql-compiler-7.0.5 - 2020-11-30

  • Remove some type casts [Pagan Gazzard]

5.3.2 - 2020-12-18

  • Avoid trying to rewrite binds if there are none to rewrite [Pagan Gazzard]

5.3.1 - 2020-11-25

Update dependencies [Pagan Gazzard]

abstract-sql-compiler-7.0.4 - 2020-11-25

Update sbvr-types and make use of `castType` [Pagan Gazzard]

sbvr-types-3.1.2 - 2020-11-25

  • Add a castType property to type functions [Pagan Gazzard]

sbvr-types-3.1.1 - 2020-11-25

  • Update dependencies [Pagan Gazzard]

abstract-sql-compiler-7.0.3 - 2020-10-02

  • Remove accidental necessity from the AbstractSqlField types [Pagan Gazzard]

odata-parser-2.2.1 - 2020-11-25

  • Update dependencies [Pagan Gazzard]

odata-parser-2.2.0 - 2020-08-18

  • Add support for metadata argument in $format [Pagan Gazzard]

5.3.0 - 2020-07-21

  • Export isBindReference [Pagan Gazzard]

5.2.0 - 2020-07-20

Add support for specifying named keys [Pagan Gazzard]

odata-parser-2.1.0 - 2020-07-10

  • Add support for specifying named keys [Pagan Gazzard]

5.1.1 - 2020-07-10

Improve typings [Pagan Gazzard]

abstract-sql-compiler-7.0.2 - 2020-07-10

Update dependencies [Pagan Gazzard]

sbvr-types-3.1.0 - 2020-06-17

  • Update dependencies [Pagan Gazzard]

abstract-sql-compiler-7.0.1 - 2020-07-10

  • Improve BindNode typing [Pagan Gazzard]

odata-parser-2.0.1 - 2020-07-10

  • Improve typings [Pagan Gazzard]

5.1.0 - 2020-06-19

  • Allow specifying valid methods for a specific match call [Pagan Gazzard]

5.0.0 - 2020-05-22

  • Rename to @balena/odata-to-abstract-sql [Pagan Gazzard]
Update to @balena/abstract-sql-compiler 7.x [Pagan Gazzard]

abstract-sql-compiler-7.0.0 - 2020-05-21

  • 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]

sbvr-types-3.0.0 - 2020-05-08

  • 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]

abstract-sql-compiler-6.13.6 - 2020-05-19

Update dependencies [Pagan Gazzard]

sbvr-parser-1.0.1 - 2020-05-11

  • Update to mocha 7.x [Pagan Gazzard]

sbvr-parser-1.0.0 - 2020-05-08

  • Convert coffeescript tests to javascript [Pagan Gazzard]
  • Drop support for node 6/8 [Pagan Gazzard]
  • Rename to @balena/sbvr-parser [Pagan Gazzard]

sbvr-parser-0.2.11 - 2020-05-08

  • CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
  • CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]

sbvr-parser-0.2.10 - 2020-05-08

  • Update to to @balena/sbvr-types [Pagan Gazzard]

sbvr-parser-0.2.9 - 2020-05-08

  • Update to @balena/lint 5.x [Pagan Gazzard]

sbvr-parser-0.2.8 - 2020-04-27

  • Reduce lodash usage [Pagan Gazzard]

lf-to-abstract-sql-4.0.0 - 2020-05-11

  • 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]

lf-to-abstract-sql-3.2.6 - 2020-05-11

Update to @balena/sbvr-parser [Pagan Gazzard]
sbvr-parser-1.0.1 - 2020-05-11
  • Update to mocha 7.x [Pagan Gazzard]
sbvr-parser-1.0.0 - 2020-05-08
  • Convert coffeescript tests to javascript [Pagan Gazzard]
  • Drop support for node 6/8 [Pagan Gazzard]
  • Rename to @balena/sbvr-parser [Pagan Gazzard]
sbvr-parser-0.2.11 - 2020-05-08
  • CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
  • CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
sbvr-parser-0.2.10 - 2020-05-08
  • Update to to @balena/sbvr-types [Pagan Gazzard]
sbvr-parser-0.2.9 - 2020-05-08
  • Update to @balena/lint 5.x [Pagan Gazzard]
sbvr-parser-0.2.8 - 2020-04-27
  • Reduce lodash usage [Pagan Gazzard]

lf-to-abstract-sql-3.2.5 - 2020-05-08

  • CI: Add nodejs 14 to the test matrix [Pagan Gazzard]

lf-to-abstract-sql-3.2.4 - 2020-05-08

Update to @balena/sbvr-types 3.0.0 [Pagan Gazzard]
sbvr-types-3.0.0 - 2020-05-08
  • 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]
sbvr-types-2.0.9 - 2020-05-07
  • Switch to balena-lint [Pagan Gazzard]
sbvr-types-2.0.8 - 2020-05-05
  • Improve typings [Pagan Gazzard]
sbvr-types-2.0.7 - 2020-04-30
  • Remove unused imports [Pagan Gazzard]
sbvr-types-2.0.6 - 2020-04-27
  • Remove production lodash dependency [Pagan Gazzard]

lf-to-abstract-sql-3.2.3 - 2020-04-20

  • 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]

lf-to-abstract-sql-3.2.2 - 2020-04-16

  • Always treat numbered terms as if they're used [Pagan Gazzard]

lf-to-abstract-sql-3.2.1 - 2020-04-14

Update dependencies [Pagan Gazzard]
sbvr-types-2.0.5 - 2020-03-17
  • 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]
sbvr-types-2.0.4 - 2020-01-22
  • Add node 12 to the test matrix [Pagan Gazzard]
  • Update dependencies [Pagan Gazzard]
  • Add CODEOWNERS [Pagan Gazzard]
sbvr-parser-0.2.7 - 2020-01-22
  • Add CODEOWNERS [Pagan Gazzard]
sbvr-parser-0.2.6 - 2019-12-30
  • Add support for using of instead of that is of [Pagan Gazzard]
sbvr-parser-0.2.5 - 2019-12-30
  • Add support for a given as a universal quantification [Pagan Gazzard]
sbvr-parser-0.2.4 - 2019-12-27
  • Allow including terms as part of a verb by using [] brackets [Pagan Gazzard]

lf-to-abstract-sql-3.2.0 - 2020-04-13

  • Only add the destination of a link table if it's actually necessary [Pagan Gazzard]

lf-to-abstract-sql-3.1.2 - 2020-02-26

  • CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]

lf-to-abstract-sql-3.1.1 - 2020-01-22

  • Add CODEOWNERS [Pagan Gazzard]

lf-to-abstract-sql-3.1.0 - 2019-11-01

  • Add support for enum definitions on fact types [Pagan Gazzard]

lf-to-abstract-sql-3.0.2 - 2019-06-14

  • Fix updateModifiedAt formatting [Pagan Gazzard]

lf-to-abstract-sql-3.0.1 - 2019-05-08

  • Add node 12 tests [Pagan Gazzard]
  • Add repo.yml for upstream changelogs [Pagan Gazzard]
  • Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]

lf-to-abstract-sql-3.0.0 - 2019-03-08

  • Add automatic modified at fields [Pagan Gazzard]

odata-parser-2.0.0 - 2020-05-11

  • 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]

odata-to-abstract-sql-3.3.0 - 2019-06-07

Make use of odata-parser types [Pagan Gazzard]
odata-parser-1.1.1 - 2019-06-07
  • Improve typings [Pagan Gazzard]
odata-parser-1.1.0 - 2019-06-06
  • Add typings [Pagan Gazzard]
abstract-sql-compiler-6.6.0 - 2019-06-03
  • Improve aliased from handling in getReferencedFields [Pagan Gazzard]
abstract-sql-compiler-6.5.1 - 2019-06-03
  • Use an abstract-sql-optimiser prepass to simplify getReferencedFields [Pagan Gazzard]
sbvr-parser-0.2.3 - 2019-06-04
  • Optimise exactly 0 to not exists [Pagan Gazzard]

odata-to-abstract-sql-3.2.0 - 2019-05-31

  • Add support for computed fields [Pagan Gazzard]

odata-to-abstract-sql-3.1.3 - 2019-05-31

Unify the handling of adding fields with or without a $select [Pagan Gazzard]
odata-parser-1.0.4 - 2019-05-27
  • Fix adding parameter alias to the options object [Pagan Gazzard]
odata-parser-1.0.3 - 2019-05-08
  • Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
abstract-sql-compiler-6.5.0 - 2019-05-30
  • Add support for computed fields [Pagan Gazzard]
abstract-sql-compiler-6.4.3 - 2019-05-30
  • Add tests for getReferencedFields [Pagan Gazzard]
abstract-sql-compiler-6.4.2 - 2019-05-09
  • Update and fix lodash typings [Pagan Gazzard]
  • Update husky/mocha dev dependencies [Pagan Gazzard]
abstract-sql-compiler-6.4.1 - 2019-05-08
Fix typescript compilation [Pagan Gazzard]
sbvr-parser-0.2.2 - 2019-05-08
  • 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]

odata-to-abstract-sql-3.1.2 - 2019-05-08

  • Add node 12 tests [Pagan Gazzard]
  • Add repo.yml for upstream changelogs [Pagan Gazzard]
  • Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]

odata-to-abstract-sql-3.1.1 - 2019-04-22

  • Fix off-by-one error when having to resort to a random alias [Pagan Gazzard]

odata-to-abstract-sql-3.1.0 - 2019-03-08

  • 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]

abstract-sql-compiler-6.13.5 - 2020-05-07

Improve typing of `dataTypeValidate` and sbvr-types [Pagan Gazzard]

sbvr-types-2.0.9 - 2020-05-07

  • Switch to balena-lint [Pagan Gazzard]

sbvr-types-2.0.8 - 2020-05-05

  • Improve typings [Pagan Gazzard]

sbvr-types-2.0.7 - 2020-04-30

  • Remove unused imports [Pagan Gazzard]

sbvr-types-2.0.6 - 2020-04-27

  • Remove production lodash dependency [Pagan Gazzard]

4.5.3 - 2020-05-19

  • Enforce strict type checking [Pagan Gazzard]

4.5.2 - 2020-05-18

Dev: Update to @balena/sbvr-parser 1.x [Pagan Gazzard]

sbvr-parser-1.0.1 - 2020-05-11

  • Update to mocha 7.x [Pagan Gazzard]

sbvr-parser-1.0.0 - 2020-05-08

  • Convert coffeescript tests to javascript [Pagan Gazzard]
  • Drop support for node 6/8 [Pagan Gazzard]
  • Rename to @balena/sbvr-parser [Pagan Gazzard]

sbvr-parser-0.2.11 - 2020-05-08

  • CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
  • CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]

sbvr-parser-0.2.10 - 2020-05-08

  • Update to to @balena/sbvr-types [Pagan Gazzard]

sbvr-parser-0.2.9 - 2020-05-08

  • Update to @balena/lint 5.x [Pagan Gazzard]

4.5.1 - 2020-05-18

Dev: Update to @balena/lf-to-abstract-sql 4.x [Pagan Gazzard]

lf-to-abstract-sql-4.0.0 - 2020-05-11

  • 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]

4.5.0 - 2020-05-12

Update to @balena/odata-parser 2.x [Pagan Gazzard]

odata-parser-2.0.0 - 2020-05-11

  • 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]

4.4.7 - 2020-05-12

Dev: Update lf-to-abstract-sql to 3.x [Pagan Gazzard]

lf-to-abstract-sql-3.2.6 - 2020-05-11

Update to @balena/sbvr-parser [Pagan Gazzard]

sbvr-parser-1.0.1 - 2020-05-11

  • Update to mocha 7.x [Pagan Gazzard]

sbvr-parser-1.0.0 - 2020-05-08

  • Convert coffeescript tests to javascript [Pagan Gazzard]
  • Drop support for node 6/8 [Pagan Gazzard]
  • Rename to @balena/sbvr-parser [Pagan Gazzard]

sbvr-parser-0.2.11 - 2020-05-08

  • CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
  • CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]

sbvr-parser-0.2.10 - 2020-05-08

  • Update to to @balena/sbvr-types [Pagan Gazzard]

sbvr-parser-0.2.9 - 2020-05-08

  • Update to @balena/lint 5.x [Pagan Gazzard]

sbvr-parser-0.2.8 - 2020-04-27

  • Reduce lodash usage [Pagan Gazzard]

lf-to-abstract-sql-3.2.5 - 2020-05-08

  • CI: Add nodejs 14 to the test matrix [Pagan Gazzard]

lf-to-abstract-sql-3.2.4 - 2020-05-08

Update to @balena/sbvr-types 3.0.0 [Pagan Gazzard]

sbvr-types-3.0.0 - 2020-05-08

  • 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]

sbvr-types-2.0.9 - 2020-05-07

  • Switch to balena-lint [Pagan Gazzard]

sbvr-types-2.0.8 - 2020-05-05

  • Improve typings [Pagan Gazzard]

sbvr-types-2.0.7 - 2020-04-30

  • Remove unused imports [Pagan Gazzard]

sbvr-types-2.0.6 - 2020-04-27

  • Remove production lodash dependency [Pagan Gazzard]

lf-to-abstract-sql-3.2.3 - 2020-04-20

  • 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]

lf-to-abstract-sql-3.2.2 - 2020-04-16

  • Always treat numbered terms as if they're used [Pagan Gazzard]

lf-to-abstract-sql-3.2.1 - 2020-04-14

Update dependencies [Pagan Gazzard]

sbvr-types-2.0.5 - 2020-03-17

  • 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]

sbvr-types-2.0.4 - 2020-01-22

  • Add node 12 to the test matrix [Pagan Gazzard]
  • Update dependencies [Pagan Gazzard]
  • Add CODEOWNERS [Pagan Gazzard]

sbvr-parser-0.2.7 - 2020-01-22

  • Add CODEOWNERS [Pagan Gazzard]

sbvr-parser-0.2.6 - 2019-12-30

  • Add support for using of instead of that is of [Pagan Gazzard]

sbvr-parser-0.2.5 - 2019-12-30

  • Add support for a given as a universal quantification [Pagan Gazzard]

sbvr-parser-0.2.4 - 2019-12-27

  • Allow including terms as part of a verb by using [] brackets [Pagan Gazzard]

lf-to-abstract-sql-3.2.0 - 2020-04-13

  • Only add the destination of a link table if it's actually necessary [Pagan Gazzard]

lf-to-abstract-sql-3.1.2 - 2020-02-26

  • CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]

lf-to-abstract-sql-3.1.1 - 2020-01-22

  • Add CODEOWNERS [Pagan Gazzard]

lf-to-abstract-sql-3.1.0 - 2019-11-01

  • Add support for enum definitions on fact types [Pagan Gazzard]

lf-to-abstract-sql-3.0.2 - 2019-06-14

  • Fix updateModifiedAt formatting [Pagan Gazzard]

lf-to-abstract-sql-3.0.1 - 2019-05-08

  • Add node 12 tests [Pagan Gazzard]
  • Add repo.yml for upstream changelogs [Pagan Gazzard]
  • Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]

lf-to-abstract-sql-3.0.0 - 2019-03-08

  • Add automatic modified at fields [Pagan Gazzard]

4.4.6 - 2020-05-08

Update to @balena/sbvr-types 3.0.0 [Pagan Gazzard]

sbvr-types-3.0.0 - 2020-05-08

  • 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]

sbvr-types-2.0.9 - 2020-05-07

  • Switch to balena-lint [Pagan Gazzard]

sbvr-types-2.0.8 - 2020-05-05

  • Improve typings [Pagan Gazzard]

4.4.5 - 2020-05-05

Optimize `getRelationships` [Pagan Gazzard]

abstract-sql-compiler-6.13.4 - 2020-04-30

  • Reduce lodash usage [Pagan Gazzard]

abstract-sql-compiler-6.13.3 - 2020-04-14

Update dependencies [Pagan Gazzard]

sbvr-types-2.0.5 - 2020-03-17

  • 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]

odata-parser-1.4.1 - 2020-04-10

  • Update dependencies [Pagan Gazzard]

odata-parser-1.4.0 - 2020-03-02

  • ✨: Add support for canAccess method call on resource [Andreas Fitzek]

4.4.4 - 2020-04-27

  • Reduce lodash usage [Pagan Gazzard]

4.4.3 - 2020-04-20

  • 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]

4.4.2 - 2020-04-14

  • Fix linting and make use of import type [Pagan Gazzard]

4.4.1 - 2020-04-14

Update dependencies [Pagan Gazzard]

sbvr-parser-0.2.7 - 2020-01-22

  • Add CODEOWNERS [Pagan Gazzard]

sbvr-parser-0.2.6 - 2019-12-30

  • Add support for using of instead of that is of [Pagan Gazzard]

sbvr-parser-0.2.5 - 2019-12-30

  • Add support for a given as a universal quantification [Pagan Gazzard]

sbvr-parser-0.2.4 - 2019-12-27

  • Allow including terms as part of a verb by using [] brackets [Pagan Gazzard]

odata-parser-1.4.1 - 2020-04-10

  • Update dependencies [Pagan Gazzard]

sbvr-types-2.0.5 - 2020-03-17

  • 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]

sbvr-types-2.0.4 - 2020-01-22

  • Add node 12 to the test matrix [Pagan Gazzard]
  • Update dependencies [Pagan Gazzard]
  • Add CODEOWNERS [Pagan Gazzard]

abstract-sql-compiler-6.13.2 - 2020-03-25

  • 📝♻️ : Improve RelationshipMapping typing and docs [Andreas Fitzek]

abstract-sql-compiler-6.13.1 - 2020-02-26

  • Only create functions if they don't already exist [Pagan Gazzard]

abstract-sql-compiler-6.13.0 - 2020-02-21

  • Add support for sum [Pagan Gazzard]
  • Add support for average [Pagan Gazzard]
  • Add tests for count [Pagan Gazzard]

abstract-sql-compiler-6.12.0 - 2020-02-21

  • Add support for coalesce [Pagan Gazzard]

abstract-sql-compiler-6.11.6 - 2020-02-21

Update dependencies [Pagan Gazzard]

sbvr-types-2.0.4 - 2020-01-22

  • Add node 12 to the test matrix [Pagan Gazzard]
  • Update dependencies [Pagan Gazzard]
  • Add CODEOWNERS [Pagan Gazzard]

abstract-sql-compiler-6.11.5 - 2020-02-06

  • Update resin-lint to 3.x and use it for auto-linting [Pagan Gazzard]

abstract-sql-compiler-6.11.4 - 2020-02-06

  • Fix query type check [Pagan Gazzard]

abstract-sql-compiler-6.11.3 - 2020-01-22

  • Add CODEOWNERS [Pagan Gazzard]

abstract-sql-compiler-6.11.2 - 2020-01-09

  • Trim trigger names to the max of 63 characters [Pagan Gazzard]

abstract-sql-compiler-6.11.1 - 2019-11-22

  • Update dev dependencies [Pagan Gazzard]

4.4.0 - 2020-03-02

  • ✨: Add custom resource functions [Andreas Fitzek]

4.3.0 - 2020-02-11

  • Remove unsupported node 6 from the test matrix [Pagan Gazzard]
  • Add support for computed field when selecting from a resource alias [Pagan Gazzard]

4.2.1 - 2020-01-22

  • Add CODEOWNERS [Pagan Gazzard]

4.2.0 - 2019-11-22

  • Add support for /$count in filters [Pagan Gazzard]

4.1.2 - 2019-09-23

Optimise generating resource mappings [Pagan Gazzard]

odata-parser-1.2.3 - 2019-09-20

  • Optimise merging of operands in FilterByExpressionLoop [Pagan Gazzard]

4.1.1 - 2019-09-19

  • Improve error messages on failing to resolve relationships [Pagan Gazzard]

4.1.0 - 2019-08-29

  • Add support for TableNode definitions [Pagan Gazzard]
Add typings support for `ResourceNode`s in join nodes [Pagan Gazzard]

abstract-sql-compiler-6.8.0 - 2019-08-29

  • Add support for inner/left/right/full joins [Pagan Gazzard]

4.0.1 - 2019-08-22

  • Update dependencies [Pagan Gazzard]

4.0.0 - 2019-06-14

  • Update tsconfig target to es2018 [Pagan Gazzard]
  • Use IsDistinctFrom/IsNotDistinctFrom for odata eq/ne [Pagan Gazzard]

3.3.0 - 2019-06-07

  • Make use of odata-parser types [Pagan Gazzard]
View details

odata-parser-1.1.1 - 2019-06-07

  • Improve typings [Pagan Gazzard]

odata-parser-1.1.0 - 2019-06-06

  • Add typings [Pagan Gazzard]

abstract-sql-compiler-6.6.0 - 2019-06-03

  • Improve aliased from handling in getReferencedFields [Pagan Gazzard]

abstract-sql-compiler-6.5.1 - 2019-06-03

  • Use an abstract-sql-optimiser prepass to simplify getReferencedFields [Pagan Gazzard]

sbvr-parser-0.2.3 - 2019-06-04

  • Optimise exactly 0 to not exists [Pagan Gazzard]

3.2.0 - 2019-05-31

  • Add support for computed fields [Pagan Gazzard]

3.1.3 - 2019-05-31

  • Unify the handling of adding fields with or without a $select [Pagan Gazzard]
View details

odata-parser-1.0.4 - 2019-05-27

  • Fix adding parameter alias to the options object [Pagan Gazzard]

odata-parser-1.0.3 - 2019-05-08

  • Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]

abstract-sql-compiler-6.5.0 - 2019-05-30

  • Add support for computed fields [Pagan Gazzard]

abstract-sql-compiler-6.4.3 - 2019-05-30

  • Add tests for getReferencedFields [Pagan Gazzard]

abstract-sql-compiler-6.4.2 - 2019-05-09

  • Update and fix lodash typings [Pagan Gazzard]
  • Update husky/mocha dev dependencies [Pagan Gazzard]

abstract-sql-compiler-6.4.1 - 2019-05-08

  • Fix typescript compilation [Pagan Gazzard]
View details

sbvr-parser-0.2.2 - 2019-05-08

  • 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]

3.1.2 - 2019-05-08

  • Add node 12 tests [Pagan Gazzard]
  • Add repo.yml for upstream changelogs [Pagan Gazzard]
  • Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]

3.1.1 - 2019-04-22

  • Fix off-by-one error when having to resort to a random alias [Pagan Gazzard]

3.1.0 - 2019-03-04

  • 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]

3.0.1 - 2019-01-28

  • Improve typings, typing tree as the AbstractSqlQuery it is [Pagan Gazzard]

3.0.0 - 2018-12-07

  • Add support for automatically resolved ResourceNodes in definitions [Pagan Gazzard]
  • Convert the translator into typescript [Pagan Gazzard]

2.4.3 - 2018-11-16

  • Further optimise generateShortAliases [Pagan Gazzard]

2.4.2 - 2018-11-15

  • Optimise generateShortAliases [Pagan Gazzard]

2.4.1 - 2018-11-14

  • Add typescript linting and prettier commit hook [Pagan Gazzard]

v2.4.0 - 2018-11-03

  • 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]

v2.3.0 - 2018-10-18

  • Add typings [Pagan Gazzard]

v2.2.6 - 2018-10-17

  • Fix adding the id to body vars for PUT requests [Pagan Gazzard]

v2.2.5 - 2018-09-17

  • Throw an error when trying to directly reference a virtual field [Pagan Gazzard]

v2.2.4 - 2018-09-14

  • Optimise ResolveRelationship call to _.get [Pagan Gazzard]

v2.2.3 - 2018-09-06

  • Support navigation properties that only appear as method args [Pagan Gazzard]

v2.2.2 - 2018-08-28

  • Avoid unnecessarily adding the path key to update queries [Pagan Gazzard]

v2.2.1 - 2018-06-15

  • Apply inserts/updates/deletes direct to the base table, whilst respecting the definition for filters on them. #21 [Pagan Gazzard]

v2.2.0 - 2018-06-08

  • Add support for native in statements. #20 [Pagan Gazzard]

v2.1.2 - 2018-05-10

  • Update dependencies #19 [Pagan Gazzard]

v2.1.1 - 2018-05-10

  • Require npm 4+ to publish, to avoid issues with publishing #18 [Pagan Gazzard]

v2.1.0 - 2018-05-01

  • Update to memoizee ^0.4.12 #17 [Pagan Gazzard]

v2.0.1 - 2018-04-30

  • Add node 10 to the circleci tests. #16 [Pagan Gazzard]
  • Move circle.yml to .circleci/config.yml #16 [Pagan Gazzard]

v2.0.0 - 2018-04-25

  • Update to lf-to-abstract-sql 2.x and make use of the relationship lookup being the resource name. #14 [Pagan Gazzard]

v1.2.1 - 2018-04-25

  • Memoize sqlNameToODataName and odataNameToSqlName #15 [Pagan Gazzard]

v1.2.0 - 2018-04-20

  • Add support for more query options in PUT/PATCH/DELETE queries. #13 [Pagan Gazzard]

v1.1.1 - 2018-03-02

  • Cast nulls to the correct type as well, since nulls can also cause problems in some queries if not cast #12 [Pagan Gazzard]

v1.1.0 - 2018-01-05

  • Add support for resources which are defined via an abstract SQL chunk. #11 [Pagan Gazzard]

v1.0.2 - 2017-11-29

  • Set up circleci auto-publishing #10 [Pagan Gazzard]

v1.0.1 - 2017-10-27

  • Added versionist #8 [Giovanni Garufi]

v1.0.0

  • 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 and odataNameToSqlName 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 and pilot was trained by pilot to specify a direction.
    • Synonyms, meaning we can use both aircraft and plane interchangeably, eg aircraft instead of plane, pilot__can_fly__aircraft instead of pilot__can_fly__plane, etc
  • Switched to generating the client model in the tests, rather than committing it.

v0.4.1

  • Fixed the all lambda for cases where there are more than one of the parent resource

v0.4.0

  • 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.

v0.3.7

  • Added support for parsing binds in the odata tree.
  • Made sure parsing fails if the path.key is invalid.

v0.3.6

  • 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.

v0.3.5

  • Fixed an undefined variable issue on an unknown mapping.
  • Added support for /$count
  • Added tests for count

v0.3.4

  • 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

v0.3.3

  • Added support for duration literals.
  • Added support for the majority of OData 4 functions.

v0.3.2

  • Updated to lodash v4

v0.3.1

  • Updated ometa-js

v0.3.0

  • 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.

v0.2.6

  • Added support for nested expands like $expand=resource($expand=subresource)

v0.2.5

  • Switched to a scoped package.

v0.2.4

  • Fixed an issue when an expand references its parent in an option (eg. /pilot?$expand=licence($filter=pilot/id eq 1))

v0.2.3

  • Fixed some cases where failing to parse was silently ignored.

v0.2.2

  • Added support for $filter, $orderby, $top, $skip, and $select as expand options.
  • Updated lodash to ^3.0.0

v0.2.1

  • Added support for true/false/null

v0.2.0

  • Implemented support for PUT filters.
  • Added support for resource names with underscores.

v0.1.1

  • Cast bind vars in inserts in order to guarantee the database knows the correct type in cases where it could be ambiguous.

v0.1.0

  • Fixed id fields that had spaces.
  • Implemented support for POST filters.
  • Proper support for keys in $links