Skip to content

Latest commit

 

History

History
2276 lines (2138 loc) · 64 KB

CHANGELOG.md

File metadata and controls

2276 lines (2138 loc) · 64 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.

5.1.0 - 2024-12-17

  • Add option to replace Serial with Integer [Josh Bowling]

5.0.4 - 2024-12-16

  • Inline type on missing reference [Josh Bowling]

5.0.3 - 2024-12-05

  • Fix peerDependency version format [Pagan Gazzard]

5.0.2 - 2024-12-04

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

5.0.1 - 2024-10-22

  • Fix types export [Pagan Gazzard]

5.0.0 - 2024-10-08

Update dependencies [Thodoris Greasidis]

odata-to-abstract-sql-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]

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

4.0.6 - 2024-09-12

  • Fix built file paths now that package.json is imported rather than required [Pagan Gazzard]

4.0.5 - 2024-09-12

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

4.0.4 - 2024-09-12

  • Correctly use Record<string, never> when there are no writable fields [Pagan Gazzard]

4.0.3 - 2024-09-08

  • Fix accidentally omitting Read types for computed fields [Pagan Gazzard]

4.0.2 - 2024-09-06

  • Fix computed fields to correctly be omitted from Write typings [Pagan Gazzard]
  • Fix tables with definitions to correctly have no writable fields [Pagan Gazzard]

4.0.1 - 2024-09-06

Update dependencies [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]

4.0.0 - 2024-08-06

  • Allow for sbvr-types v7, v8, and v9 [Josh Bowling]
  • Make @balena/sbvr-types a peer dependency [Josh Bowling]

3.3.1 - 2024-07-30

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

sbvr-types-8.0.0 - 2024-06-12

  • Improve BigInteger and BigSerial support [Josh Bowling]

3.3.0 - 2024-06-27

  • Add support for synonyms that only affect part of the relationship [Pagan Gazzard]

3.2.3 - 2024-06-25

  • Avoid misclassifying non-resource arrays in Expanded/Deferred typings [Pagan Gazzard]

3.2.2 - 2024-06-25

Update dependencies [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]

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]

3.2.1 - 2024-06-17

  • Import the actual package.json rather than creating a built copy [Pagan Gazzard]

3.2.0 - 2024-06-17

  • Add a comment to generated types with the version that generated them [Pagan Gazzard]
  • Improve formatting of generated types [Pagan Gazzard]

3.1.2 - 2024-06-06

  • Fix accidental duplicate properties when the verb contains a space [Pagan Gazzard]

3.1.1 - 2024-06-06

  • Include reference aliases in generated types [Pagan Gazzard]

3.1.0 - 2024-05-28

  • Add a default export which maps OData names to typescript interfaces [Pagan Gazzard]

3.0.2 - 2024-05-09

  • Improve Resource typing [Pagan Gazzard]

3.0.1 - 2024-05-04

  • Use [A] | [] rather than [A?] for singular references [Pagan Gazzard]
  • Fix Resource typing to allow for null [Pagan Gazzard]
  • Fix Resource typing for expandable properties [Pagan Gazzard]

3.0.0 - 2024-05-02

  • Export a Resource type which all resources should conform to [Pagan Gazzard]
  • Separate the generation code from the exported type helpers [Pagan Gazzard]
  • Use types directly from sbvr-types [Pagan Gazzard]
  • Expose read vs write selection in generated types [Pagan Gazzard]

2.4.0 - 2024-04-19

  • Improve foreign key typings by referencing the appropriate interface [Pagan Gazzard]

2.3.0 - 2024-04-17

  • Allow using PickDeferred with a single parameter to defer all keys [Pagan Gazzard]
  • Allow using PickExpanded with a single parameter to expand all keys [Pagan Gazzard]

2.2.0 - 2024-04-09

  • Add support for Big Serial [Josh Bowling]

2.1.6 - 2024-04-09

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

2.1.5 - 2024-04-09

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

2.1.4 - 2024-03-04

Update dependencies [Pagan Gazzard]

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]

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]

2.1.3 - 2023-10-24

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

2.1.2 - 2023-08-23

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

2.1.1 - 2023-08-22

  • Type JSON fields as object rather than {} [Thodoris Greasidis]
  • Update @balena/lint to 7.0.0 [Thodoris Greasidis]

2.1.0 - 2023-08-10

  • Adds webresource typing generation [Otávio Jacobi]

2.0.0 - 2023-05-02

  • Update @balena/abstract-sql-compiler to 9.x [Pagan Gazzard]
  • Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
  • Treat ConceptType like foreign keys, in line with pinejs 15 [Pagan Gazzard]

1.5.1 - 2023-04-27

Update dependencies [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]

odata-to-abstract-sql-5.9.3 - 2023-03-08

  • Fixes ODataBindings imported types [Otávio Jacobi]

odata-to-abstract-sql-5.9.2 - 2023-02-15

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

1.5.0 - 2023-03-01

  • Adds native SQL Date type [Otávio Jacobi]

1.4.2 - 2023-02-15

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

1.4.1 - 2023-02-14

  • Update abstract-sql-compiler and odata-to-abstract-sql [Carol Schulze]

1.4.0 - 2022-12-20

  • Generate properties for reverse navigation relations using synonyms [Thodoris Greasidis]

1.3.1 - 2022-12-08

  • Flowzone: Allow external contributions [Josh Bowling]

1.3.0 - 2022-11-24

Update dependencies [fisehara]

odata-to-abstract-sql-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]

odata-to-abstract-sql-5.6.2 - 2022-11-22

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

odata-to-abstract-sql-5.6.1 - 2022-11-22

  • Update dependencies [Pagan Gazzard]

odata-to-abstract-sql-5.6.0 - 2022-11-22

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

odata-to-abstract-sql-5.5.1 - 2022-10-14

  • Switch from balenaCI to flowzone [Pagan Gazzard]

odata-to-abstract-sql-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]

odata-to-abstract-sql-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]

odata-to-abstract-sql-5.4.14 - 2022-06-25

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

odata-to-abstract-sql-5.4.13 - 2022-06-03

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

odata-to-abstract-sql-5.4.12 - 2022-06-03

  • Use nullish coalescing when sensible [Pagan Gazzard]

odata-to-abstract-sql-5.4.11 - 2022-05-19

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

odata-to-abstract-sql-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]

1.2.6 - 2022-11-18

  • Dev: Update pre-commit hook [Josh Bowling]

1.2.5 - 2022-11-18

  • Dev: Migrate husky setup for v8 [Josh Bowling]

1.2.4 - 2022-11-17

  • Update dependency mocha to 10.1.0 [Renovate Bot]

1.2.3 - 2022-11-17

  • Update dependency lint-staged to 13.0.3 [Renovate Bot]

1.2.2 - 2022-11-17

  • Update dependency husky to 8.0.2 [Renovate Bot]

1.2.1 - 2022-10-14

  • Switch from balenaCI to flowzone [Pagan Gazzard]

1.2.0 - 2022-04-15

  • Add support for reverse references using relationships info [Pagan Gazzard]

1.1.2 - 2022-04-08

Update dependencies [Pagan Gazzard]

odata-to-abstract-sql-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]

odata-to-abstract-sql-5.4.8 - 2022-01-13

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

odata-to-abstract-sql-5.4.7 - 2022-01-11

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

odata-to-abstract-sql-5.4.6 - Invalid date

  • Improve ResourceFunction typings [Pagan Gazzard]

odata-to-abstract-sql-5.4.5 - 2021-11-26

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

odata-to-abstract-sql-5.4.4 - 2021-09-07

  • Convert tests to type checked javascript [Pagan Gazzard]

odata-to-abstract-sql-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 - Invalid date

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

odata-to-abstract-sql-5.4.2 - Invalid date

  • Delete CODEOWNERS [Thodoris Greasidis]

1.1.1 - 2021-01-04

  • Fix PickExpanded/PickDeferred type helpers [Pagan Gazzard]

1.1.0 - 2020-12-30

  • Add type helpers for dealing with expanded/deferred read types [Pagan Gazzard]

1.0.3 - 2020-12-30

  • Use the referenced field's data type for foreign keys/concept types [Pagan Gazzard]

1.0.2 - 2020-12-30

  • Fix defaulting mode to read [Pagan Gazzard]

1.0.1 - 2020-12-28

  • Fix types for ConceptType fields [Pagan Gazzard]

1.0.0 - 2020-12-28

  • Support generating typescript interfaces from an abstract sql model [Pagan Gazzard]