@balena/pinejs 15.0.0-true-boolean-911aca4062d3132ad3c34712014739b6849fa13a → 15.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. package/.dockerignore +4 -0
  2. package/.github/workflows/flowzone.yml +21 -0
  3. package/.husky/pre-commit +4 -0
  4. package/.pinejs-cache.json +1 -0
  5. package/.resinci.yml +1 -0
  6. package/.versionbot/CHANGELOG.yml +9678 -2001
  7. package/CHANGELOG.md +2975 -2
  8. package/Dockerfile +14 -0
  9. package/Gruntfile.ts +3 -6
  10. package/README.md +10 -1
  11. package/VERSION +1 -0
  12. package/build/browser.ts +1 -1
  13. package/build/config.ts +0 -1
  14. package/docker-compose.npm-test.yml +11 -0
  15. package/docs/AdvancedUsage.md +77 -63
  16. package/docs/GettingStarted.md +90 -41
  17. package/docs/Migrations.md +102 -1
  18. package/docs/ProjectConfig.md +12 -21
  19. package/docs/Testing.md +7 -0
  20. package/out/bin/abstract-sql-compiler.js +17 -17
  21. package/out/bin/abstract-sql-compiler.js.map +1 -1
  22. package/out/bin/odata-compiler.js +23 -20
  23. package/out/bin/odata-compiler.js.map +1 -1
  24. package/out/bin/sbvr-compiler.js +22 -22
  25. package/out/bin/sbvr-compiler.js.map +1 -1
  26. package/out/bin/utils.d.ts +2 -2
  27. package/out/bin/utils.js +3 -3
  28. package/out/bin/utils.js.map +1 -1
  29. package/out/config-loader/config-loader.d.ts +9 -8
  30. package/out/config-loader/config-loader.js +135 -78
  31. package/out/config-loader/config-loader.js.map +1 -1
  32. package/out/config-loader/env.d.ts +41 -16
  33. package/out/config-loader/env.js +46 -2
  34. package/out/config-loader/env.js.map +1 -1
  35. package/out/data-server/sbvr-server.d.ts +2 -19
  36. package/out/data-server/sbvr-server.js +44 -38
  37. package/out/data-server/sbvr-server.js.map +1 -1
  38. package/out/database-layer/db.d.ts +32 -14
  39. package/out/database-layer/db.js +120 -41
  40. package/out/database-layer/db.js.map +1 -1
  41. package/out/express-emulator/express.js +10 -11
  42. package/out/express-emulator/express.js.map +1 -1
  43. package/out/http-transactions/transactions.d.ts +2 -18
  44. package/out/http-transactions/transactions.js +29 -21
  45. package/out/http-transactions/transactions.js.map +1 -1
  46. package/out/migrator/async.d.ts +7 -0
  47. package/out/migrator/async.js +168 -0
  48. package/out/migrator/async.js.map +1 -0
  49. package/out/migrator/migrations.sbvr +43 -0
  50. package/out/migrator/sync.d.ts +9 -0
  51. package/out/migrator/sync.js +106 -0
  52. package/out/migrator/sync.js.map +1 -0
  53. package/out/migrator/utils.d.ts +78 -0
  54. package/out/migrator/utils.js +283 -0
  55. package/out/migrator/utils.js.map +1 -0
  56. package/out/odata-metadata/odata-metadata-generator.js +10 -13
  57. package/out/odata-metadata/odata-metadata-generator.js.map +1 -1
  58. package/out/passport-pinejs/passport-pinejs.d.ts +1 -1
  59. package/out/passport-pinejs/passport-pinejs.js +8 -7
  60. package/out/passport-pinejs/passport-pinejs.js.map +1 -1
  61. package/out/pinejs-session-store/pinejs-session-store.d.ts +1 -1
  62. package/out/pinejs-session-store/pinejs-session-store.js +20 -6
  63. package/out/pinejs-session-store/pinejs-session-store.js.map +1 -1
  64. package/out/sbvr-api/abstract-sql.d.ts +3 -2
  65. package/out/sbvr-api/abstract-sql.js +9 -9
  66. package/out/sbvr-api/abstract-sql.js.map +1 -1
  67. package/out/sbvr-api/cached-compile.js +1 -1
  68. package/out/sbvr-api/cached-compile.js.map +1 -1
  69. package/out/sbvr-api/common-types.d.ts +6 -5
  70. package/out/sbvr-api/control-flow.d.ts +8 -1
  71. package/out/sbvr-api/control-flow.js +36 -9
  72. package/out/sbvr-api/control-flow.js.map +1 -1
  73. package/out/sbvr-api/errors.d.ts +47 -40
  74. package/out/sbvr-api/errors.js +78 -77
  75. package/out/sbvr-api/errors.js.map +1 -1
  76. package/out/sbvr-api/express-extension.d.ts +4 -0
  77. package/out/sbvr-api/hooks.d.ts +16 -15
  78. package/out/sbvr-api/hooks.js +74 -48
  79. package/out/sbvr-api/hooks.js.map +1 -1
  80. package/out/sbvr-api/odata-response.d.ts +2 -2
  81. package/out/sbvr-api/odata-response.js +28 -30
  82. package/out/sbvr-api/odata-response.js.map +1 -1
  83. package/out/sbvr-api/permissions.d.ts +17 -16
  84. package/out/sbvr-api/permissions.js +369 -304
  85. package/out/sbvr-api/permissions.js.map +1 -1
  86. package/out/sbvr-api/sbvr-utils.d.ts +33 -15
  87. package/out/sbvr-api/sbvr-utils.js +397 -235
  88. package/out/sbvr-api/sbvr-utils.js.map +1 -1
  89. package/out/sbvr-api/translations.d.ts +6 -0
  90. package/out/sbvr-api/translations.js +150 -0
  91. package/out/sbvr-api/translations.js.map +1 -0
  92. package/out/sbvr-api/uri-parser.d.ts +23 -17
  93. package/out/sbvr-api/uri-parser.js +33 -27
  94. package/out/sbvr-api/uri-parser.js.map +1 -1
  95. package/out/sbvr-api/user.sbvr +2 -0
  96. package/out/server-glue/module.d.ts +6 -6
  97. package/out/server-glue/module.js +4 -2
  98. package/out/server-glue/module.js.map +1 -1
  99. package/out/server-glue/server.js +5 -5
  100. package/out/server-glue/server.js.map +1 -1
  101. package/package.json +89 -73
  102. package/pinejs.png +0 -0
  103. package/repo.yml +9 -9
  104. package/src/bin/abstract-sql-compiler.ts +5 -7
  105. package/src/bin/odata-compiler.ts +11 -13
  106. package/src/bin/sbvr-compiler.ts +11 -17
  107. package/src/bin/utils.ts +3 -5
  108. package/src/config-loader/config-loader.ts +167 -53
  109. package/src/config-loader/env.ts +106 -6
  110. package/src/data-server/sbvr-server.js +44 -38
  111. package/src/database-layer/db.ts +205 -64
  112. package/src/express-emulator/express.js +10 -11
  113. package/src/http-transactions/transactions.js +29 -21
  114. package/src/migrator/async.ts +323 -0
  115. package/src/migrator/migrations.sbvr +43 -0
  116. package/src/migrator/sync.ts +152 -0
  117. package/src/migrator/utils.ts +458 -0
  118. package/src/odata-metadata/odata-metadata-generator.ts +12 -15
  119. package/src/passport-pinejs/passport-pinejs.ts +9 -7
  120. package/src/pinejs-session-store/pinejs-session-store.ts +15 -1
  121. package/src/sbvr-api/abstract-sql.ts +17 -14
  122. package/src/sbvr-api/common-types.ts +2 -1
  123. package/src/sbvr-api/control-flow.ts +45 -11
  124. package/src/sbvr-api/errors.ts +82 -77
  125. package/src/sbvr-api/express-extension.ts +6 -1
  126. package/src/sbvr-api/hooks.ts +123 -50
  127. package/src/sbvr-api/odata-response.ts +23 -28
  128. package/src/sbvr-api/permissions.ts +548 -415
  129. package/src/sbvr-api/sbvr-utils.ts +581 -259
  130. package/src/sbvr-api/translations.ts +248 -0
  131. package/src/sbvr-api/uri-parser.ts +63 -49
  132. package/src/sbvr-api/user.sbvr +2 -0
  133. package/src/server-glue/module.ts +16 -10
  134. package/src/server-glue/server.ts +5 -5
  135. package/tsconfig.dev.json +1 -0
  136. package/tsconfig.json +1 -2
  137. package/typings/lf-to-abstract-sql.d.ts +6 -9
  138. package/typings/memoizee.d.ts +1 -1
  139. package/.github/CODEOWNERS +0 -1
  140. package/circle.yml +0 -37
  141. package/docs/todo.txt +0 -22
  142. package/out/migrator/migrator.d.ts +0 -20
  143. package/out/migrator/migrator.js +0 -188
  144. package/out/migrator/migrator.js.map +0 -1
  145. package/src/migrator/migrator.ts +0 -286
package/CHANGELOG.md CHANGED
@@ -4,12 +4,2969 @@ All notable changes to this project will be documented in this file
4
4
  automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
5
  This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
- ## 15.0.0 - 2021-05-04
7
+ # v15.0.0
8
+ ## (2023-05-17)
9
+
10
+ * Stop re-exporting `ODataRequest` as `HookRequest` [Pagan Gazzard]
11
+ * Don't add a returning clause to requests if affectedIds has been populated [Pagan Gazzard]
12
+ * Remove the deprecated `data` property from `PRERESPOND` hooks [Pagan Gazzard]
13
+ * Remove support for the deprecated db result form of async migrations [Pagan Gazzard]
14
+ * Update grunt [Harald Fischer]
15
+ * Do not convert `null` to the default value in `customApiKeyMiddleware` [Pagan Gazzard]
16
+ * Use `{ value: modelValue }` for se and odataMetadata model entries [Pagan Gazzard]
17
+ * Switch mysql `sql_mode` from `ANSI_QUOTES` to `ANSI` [Pagan Gazzard]
18
+ * Make `actor` a required property of the req.apiKey object [Pagan Gazzard]
19
+ * Change `resolveAuthHeader`/`resolveApiKey` to throw on invalid api keys [Pagan Gazzard]
20
+ * Do not bail in `resolveAuthHeader` if there is an existing api key [Pagan Gazzard]
21
+ * Do not bail in `resolveApiKey` if there is an existing api key [Pagan Gazzard]
22
+ * Treat ConceptType fields as expandable/foreign key fields as they are [Pagan Gazzard]
23
+ * Throw rather than warn on invalid value for `PINEJS_DEBUG` [Pagan Gazzard]
24
+ * Remove support for `DEBUG` env var in favor of only `PINEJS_DEBUG` [Pagan Gazzard]
25
+ * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
26
+ * Reflect the usage of BOOLEAN/JSON database types [Pagan Gazzard]
27
+
28
+ <details>
29
+ <summary> Update dependencies [Pagan Gazzard] </summary>
30
+
31
+ > ## abstract-sql-compiler-9.0.2
32
+ > ### (2023-05-16)
33
+ >
34
+ >
35
+ > <details>
36
+ > <summary> Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard] </summary>
37
+ >
38
+ >> ### sbvr-types-5.0.0
39
+ >> #### (2023-05-16)
40
+ >>
41
+ >> * Switch from `export =` to `export default` [Pagan Gazzard]
42
+ >>
43
+ >> ### sbvr-types-4.0.2
44
+ >> #### (2023-05-03)
45
+ >>
46
+ >> * Improve typings [Pagan Gazzard]
47
+ >>
48
+ >> ### sbvr-types-4.0.1
49
+ >> #### (2023-05-02)
50
+ >>
51
+ >> * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
52
+ >>
53
+ >
54
+ > </details>
55
+ >
56
+ >
57
+ > ## abstract-sql-compiler-9.0.1
58
+ > ### (2023-05-15)
59
+ >
60
+ > * Fix TS errors for the latest sbvrTypes [Thodoris Greasidis]
61
+ >
62
+ > ## abstract-sql-compiler-9.0.0
63
+ > ### (2023-05-02)
64
+ >
65
+ > * Drop `require-npm4-to-publish` as `engines` used [fisehara]
66
+ >
67
+ > <details>
68
+ > <summary> Update @balena/odata-to-abstract-sql to 6.x [Pagan Gazzard] </summary>
69
+ >
70
+ >> ### odata-to-abstract-sql-6.0.1
71
+ >> #### (2023-04-27)
72
+ >>
73
+ >>
74
+ >> <details>
75
+ >> <summary> Update dependencies [Pagan Gazzard] </summary>
76
+ >>
77
+ >>> #### odata-parser-3.0.0
78
+ >>> ##### (2023-04-26)
79
+ >>>
80
+ >>> * Use optional chaining operator [Pagan Gazzard]
81
+ >>> * Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
82
+ >>>
83
+ >>> #### odata-parser-2.5.0
84
+ >>> ##### (2023-04-26)
85
+ >>>
86
+ >>> * Update to peggy 3 and make us of the repetition operator [Pagan Gazzard]
87
+ >>>
88
+ >>> #### sbvr-types-4.0.0
89
+ >>> ##### (2023-04-26)
90
+ >>>
91
+ >>> * Add test cases for Objects in JSON validate [fisehara]
92
+ >>> * Drop `require-npm4-to-publish` devDependency [fisehara]
93
+ >>> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
94
+ >>> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
95
+ >>> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
96
+ >>> * Assert that JSON input typeof is object [Josh Bowling]
97
+ >>>
98
+ >>
99
+ >> </details>
100
+ >>
101
+ >>
102
+ >> ### odata-to-abstract-sql-6.0.0
103
+ >> #### (2023-04-26)
104
+ >>
105
+ >> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
106
+ >> * Switch `AggregateJSON` to use the newer `ReferencedField` format [Pagan Gazzard]
107
+ >>
108
+ >> ### odata-to-abstract-sql-5.9.6
109
+ >> #### (2023-04-25)
110
+ >>
111
+ >> * Collapse `AliasedFunction` into `FunctionMatch` [Pagan Gazzard]
112
+ >>
113
+ >> ### odata-to-abstract-sql-5.9.5
114
+ >> #### (2023-04-25)
115
+ >>
116
+ >>
117
+ >> <details>
118
+ >> <summary> Improve typings [Pagan Gazzard] </summary>
119
+ >>
120
+ >>> #### abstract-sql-compiler-8.4.1
121
+ >>> ##### (2023-04-25)
122
+ >>>
123
+ >>> * Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
124
+ >>>
125
+ >>
126
+ >> </details>
127
+ >>
128
+ >>
129
+ >> ### odata-to-abstract-sql-5.9.4
130
+ >> #### (2023-04-24)
131
+ >>
132
+ >>
133
+ >> <details>
134
+ >> <summary> Update dependencies [Pagan Gazzard] </summary>
135
+ >>
136
+ >>> #### abstract-sql-compiler-8.4.0
137
+ >>> ##### (2023-04-24)
138
+ >>>
139
+ >>> * Add support for using field type nodes with an AggregateJSON node [Pagan Gazzard]
140
+ >>>
141
+ >>> #### abstract-sql-compiler-8.3.13
142
+ >>> ##### (2023-04-24)
143
+ >>>
144
+ >>> * Deprecate `AliasableFromTypeNodes` type as it's redundant [Pagan Gazzard]
145
+ >>>
146
+ >>> #### abstract-sql-compiler-8.3.12
147
+ >>> ##### (2023-04-17)
148
+ >>>
149
+ >>> * Revert tightening of `OrderBy` to only field nodes [Pagan Gazzard]
150
+ >>>
151
+ >>> #### abstract-sql-compiler-8.3.11
152
+ >>> ##### (2023-04-13)
153
+ >>>
154
+ >>> * Do not allow ON clauses for CROSS JOIN as it is invalid [Pagan Gazzard]
155
+ >>> * Stop accepting `ExtractJSONPathAsText`/`ToJSON` as unknown node types [Pagan Gazzard]
156
+ >>>
157
+ >>> #### abstract-sql-compiler-8.3.10
158
+ >>> ##### (2023-04-13)
159
+ >>>
160
+ >>> * Fix DateNode/AnyNode typings [Pagan Gazzard]
161
+ >>>
162
+ >>> #### abstract-sql-compiler-8.3.9
163
+ >>> ##### (2023-04-13)
164
+ >>>
165
+ >>>
166
+ >>> <details>
167
+ >>> <summary> Update dependencies [Pagan Gazzard] </summary>
168
+ >>>
169
+ >>>> ##### sbvr-types-3.5.0
170
+ >>>> ###### (2023-03-21)
171
+ >>>>
172
+ >>>> * Add Big Serial type [Josh Bowling]
173
+ >>>>
174
+ >>>> ##### sbvr-types-3.4.19
175
+ >>>> ###### (2022-12-08)
176
+ >>>>
177
+ >>>> * Flowzone: Allow external contributions [Josh Bowling]
178
+ >>>>
179
+ >>>
180
+ >>> </details>
181
+ >>>
182
+ >>>
183
+ >>> #### abstract-sql-compiler-8.3.8
184
+ >>> ##### (2023-04-12)
185
+ >>>
186
+ >>> * Improve typings [Pagan Gazzard]
187
+ >>>
188
+ >>> #### abstract-sql-compiler-8.3.7
189
+ >>> ##### (2023-04-12)
190
+ >>>
191
+ >>> * Remove typing for non-existent JSON node [Pagan Gazzard]
192
+ >>>
193
+ >>> #### abstract-sql-compiler-8.3.6
194
+ >>> ##### (2023-04-12)
195
+ >>>
196
+ >>> * Tighten the `isXValue` function typings [Pagan Gazzard]
197
+ >>>
198
+ >>> #### abstract-sql-compiler-8.3.5
199
+ >>> ##### (2023-04-12)
200
+ >>>
201
+ >>> * Correctly treat `Value` nodes as rewritten to `Text` by the optimizer [Pagan Gazzard]
202
+ >>> * Add EmbeddedTextNode typing [Pagan Gazzard]
203
+ >>>
204
+ >>> #### abstract-sql-compiler-8.3.4
205
+ >>> ##### (2023-04-12)
206
+ >>>
207
+ >>> * Enforce the first argument of ExtractJSONPathAsText is a JSON type node [Pagan Gazzard]
208
+ >>>
209
+ >>> #### abstract-sql-compiler-8.3.3
210
+ >>> ##### (2023-04-12)
211
+ >>>
212
+ >>> * Improve node typings [Pagan Gazzard]
213
+ >>>
214
+ >>> #### abstract-sql-compiler-8.3.2
215
+ >>> ##### (2023-04-12)
216
+ >>>
217
+ >>> * Add more node typings [Pagan Gazzard]
218
+ >>>
219
+ >>> #### abstract-sql-compiler-8.3.1
220
+ >>> ##### (2023-04-12)
221
+ >>>
222
+ >>> * Add more node typings [Pagan Gazzard]
223
+ >>>
224
+ >>> #### abstract-sql-compiler-8.3.0
225
+ >>> ##### (2023-04-11)
226
+ >>>
227
+ >>> * Support boolean nodes in a ValuesNode [Pagan Gazzard]
228
+ >>>
229
+ >>> #### abstract-sql-compiler-8.2.0
230
+ >>> ##### (2023-04-11)
231
+ >>>
232
+ >>> * Add `Between` node type [Pagan Gazzard]
233
+ >>>
234
+ >>> #### abstract-sql-compiler-8.1.0
235
+ >>> ##### (2023-04-11)
236
+ >>>
237
+ >>> * Add `BitwiseAnd`/`BitwiseShiftRight` node types [Pagan Gazzard]
238
+ >>>
239
+ >>> #### abstract-sql-compiler-8.0.2
240
+ >>> ##### (2023-04-06)
241
+ >>>
242
+ >>> * Add `NotInNode` type [Pagan Gazzard]
243
+ >>> * Add `IsDistinctFromNode`/`IsNotDistinctFromNode` types [Pagan Gazzard]
244
+ >>> * Add `CharacterLengthNode` type [Pagan Gazzard]
245
+ >>>
246
+ >>> #### abstract-sql-compiler-8.0.1
247
+ >>> ##### (2023-04-06)
248
+ >>>
249
+ >>> * Adds Cast node type to tree parsing [Otávio Jacobi]
250
+ >>>
251
+ >>> #### odata-parser-2.4.6
252
+ >>> ##### (2023-02-24)
253
+ >>>
254
+ >>> * Improve typings [Pagan Gazzard]
255
+ >>>
256
+ >>> #### odata-parser-2.4.5
257
+ >>> ##### (2023-02-23)
258
+ >>>
259
+ >>> * Use const/let as appropriate [Pagan Gazzard]
260
+ >>>
261
+ >>> #### odata-parser-2.4.4
262
+ >>> ##### (2023-02-23)
263
+ >>>
264
+ >>> * Use shorthand object notation [Pagan Gazzard]
265
+ >>>
266
+ >>> #### odata-parser-2.4.3
267
+ >>> ##### (2023-02-23)
268
+ >>>
269
+ >>> * Update dependencies [Pagan Gazzard]
270
+ >>>
271
+ >>
272
+ >> </details>
273
+ >>
274
+ >>
275
+ >
276
+ > </details>
277
+ >
278
+ > * Remove support for the legacy AggregateJSON format of `[tableName, fieldName]` [Pagan Gazzard]
279
+ > * Remove support for the legacy boolean format of `true|false` [Pagan Gazzard]
280
+ > * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
281
+ > * Remove support for the legacy alias format of `[node, alias]` [Pagan Gazzard]
282
+ > * Remove support for the legacy table format of `tableName` [Pagan Gazzard]
283
+ > * Remove support for the legacy null formats of `null` and `'Null'` [Pagan Gazzard]
284
+ > * Reflect the usage of BOOLEAN db type [Pagan Gazzard]
285
+ >
286
+ > <details>
287
+ > <summary> Update @balena/sbvr-types to 4.x [Pagan Gazzard] </summary>
288
+ >
289
+ >> ### sbvr-types-4.0.0
290
+ >> #### (2023-04-26)
291
+ >>
292
+ >> * Add test cases for Objects in JSON validate [fisehara]
293
+ >> * Drop `require-npm4-to-publish` devDependency [fisehara]
294
+ >> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
295
+ >> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
296
+ >> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
297
+ >> * Assert that JSON input typeof is object [Josh Bowling]
298
+ >>
299
+ >
300
+ > </details>
301
+ >
302
+ >
303
+ > ## abstract-sql-to-typescript-2.0.0
304
+ > ### (2023-05-02)
305
+ >
306
+ > * Update @balena/abstract-sql-compiler to 9.x [Pagan Gazzard]
307
+ > * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
308
+ > * Treat ConceptType like foreign keys, in line with pinejs 15 [Pagan Gazzard]
309
+ >
310
+ > ## odata-parser-3.0.0
311
+ > ### (2023-04-26)
312
+ >
313
+ > * Use optional chaining operator [Pagan Gazzard]
314
+ > * Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
315
+ >
316
+ > ## odata-to-abstract-sql-6.0.1
317
+ > ### (2023-04-27)
318
+ >
319
+ >
320
+ > <details>
321
+ > <summary> Update dependencies [Pagan Gazzard] </summary>
322
+ >
323
+ >> ### odata-parser-3.0.0
324
+ >> #### (2023-04-26)
325
+ >>
326
+ >> * Use optional chaining operator [Pagan Gazzard]
327
+ >> * Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
328
+ >>
329
+ >> ### odata-parser-2.5.0
330
+ >> #### (2023-04-26)
331
+ >>
332
+ >> * Update to peggy 3 and make us of the repetition operator [Pagan Gazzard]
333
+ >>
334
+ >> ### sbvr-types-4.0.0
335
+ >> #### (2023-04-26)
336
+ >>
337
+ >> * Add test cases for Objects in JSON validate [fisehara]
338
+ >> * Drop `require-npm4-to-publish` devDependency [fisehara]
339
+ >> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
340
+ >> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
341
+ >> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
342
+ >> * Assert that JSON input typeof is object [Josh Bowling]
343
+ >>
344
+ >
345
+ > </details>
346
+ >
347
+ >
348
+ > ## odata-to-abstract-sql-6.0.0
349
+ > ### (2023-04-26)
350
+ >
351
+ > * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
352
+ > * Switch `AggregateJSON` to use the newer `ReferencedField` format [Pagan Gazzard]
353
+ >
354
+ > ## sbvr-types-5.0.0
355
+ > ### (2023-05-16)
356
+ >
357
+ > * Switch from `export =` to `export default` [Pagan Gazzard]
358
+ >
359
+ > ## sbvr-types-4.0.2
360
+ > ### (2023-05-03)
361
+ >
362
+ > * Improve typings [Pagan Gazzard]
363
+ >
364
+ > ## sbvr-types-4.0.1
365
+ > ### (2023-05-02)
366
+ >
367
+ > * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
368
+ >
369
+ > ## sbvr-types-4.0.0
370
+ > ### (2023-04-26)
371
+ >
372
+ > * Add test cases for Objects in JSON validate [fisehara]
373
+ > * Drop `require-npm4-to-publish` devDependency [fisehara]
374
+ > * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
375
+ > * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
376
+ > * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
377
+ > * Assert that JSON input typeof is object [Josh Bowling]
378
+ >
379
+
380
+ </details>
381
+
382
+ # v14.64.1
383
+ ## (2023-04-27)
384
+
385
+ * Update async migration function typing to also accept `Promise<number>` [Pagan Gazzard]
386
+
387
+ # v14.64.0
388
+ ## (2023-04-27)
389
+
390
+
391
+ <details>
392
+ <summary> Update dependencies [Pagan Gazzard] </summary>
393
+
394
+ > ## abstract-sql-compiler-8.5.0
395
+ > ### (2023-04-27)
396
+ >
397
+ > * Use native `StartsWith` node type for postgres [Pagan Gazzard]
398
+ > * Convert `EscapeForLike` into a standalone node type [Pagan Gazzard]
399
+ >
400
+ > ## abstract-sql-compiler-8.4.1
401
+ > ### (2023-04-25)
402
+ >
403
+ > * Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
404
+ >
405
+ > ## abstract-sql-compiler-8.4.0
406
+ > ### (2023-04-24)
407
+ >
408
+ > * Add support for using field type nodes with an AggregateJSON node [Pagan Gazzard]
409
+ >
410
+ > ## abstract-sql-compiler-8.3.13
411
+ > ### (2023-04-24)
412
+ >
413
+ > * Deprecate `AliasableFromTypeNodes` type as it's redundant [Pagan Gazzard]
414
+ >
415
+ > ## abstract-sql-compiler-8.3.12
416
+ > ### (2023-04-17)
417
+ >
418
+ > * Revert tightening of `OrderBy` to only field nodes [Pagan Gazzard]
419
+ >
420
+ > ## abstract-sql-compiler-8.3.11
421
+ > ### (2023-04-13)
422
+ >
423
+ > * Do not allow ON clauses for CROSS JOIN as it is invalid [Pagan Gazzard]
424
+ > * Stop accepting `ExtractJSONPathAsText`/`ToJSON` as unknown node types [Pagan Gazzard]
425
+ >
426
+ > ## abstract-sql-compiler-8.3.10
427
+ > ### (2023-04-13)
428
+ >
429
+ > * Fix DateNode/AnyNode typings [Pagan Gazzard]
430
+ >
431
+ > ## abstract-sql-compiler-8.3.9
432
+ > ### (2023-04-13)
433
+ >
434
+ >
435
+ > <details>
436
+ > <summary> Update dependencies [Pagan Gazzard] </summary>
437
+ >
438
+ >> ### sbvr-types-3.5.0
439
+ >> #### (2023-03-21)
440
+ >>
441
+ >> * Add Big Serial type [Josh Bowling]
442
+ >>
443
+ >> ### sbvr-types-3.4.19
444
+ >> #### (2022-12-08)
445
+ >>
446
+ >> * Flowzone: Allow external contributions [Josh Bowling]
447
+ >>
448
+ >
449
+ > </details>
450
+ >
451
+ >
452
+ > ## abstract-sql-compiler-8.3.8
453
+ > ### (2023-04-12)
454
+ >
455
+ > * Improve typings [Pagan Gazzard]
456
+ >
457
+ > ## abstract-sql-compiler-8.3.7
458
+ > ### (2023-04-12)
459
+ >
460
+ > * Remove typing for non-existent JSON node [Pagan Gazzard]
461
+ >
462
+ > ## abstract-sql-compiler-8.3.6
463
+ > ### (2023-04-12)
464
+ >
465
+ > * Tighten the `isXValue` function typings [Pagan Gazzard]
466
+ >
467
+ > ## abstract-sql-compiler-8.3.5
468
+ > ### (2023-04-12)
469
+ >
470
+ > * Correctly treat `Value` nodes as rewritten to `Text` by the optimizer [Pagan Gazzard]
471
+ > * Add EmbeddedTextNode typing [Pagan Gazzard]
472
+ >
473
+ > ## abstract-sql-compiler-8.3.4
474
+ > ### (2023-04-12)
475
+ >
476
+ > * Enforce the first argument of ExtractJSONPathAsText is a JSON type node [Pagan Gazzard]
477
+ >
478
+ > ## abstract-sql-compiler-8.3.3
479
+ > ### (2023-04-12)
480
+ >
481
+ > * Improve node typings [Pagan Gazzard]
482
+ >
483
+ > ## abstract-sql-compiler-8.3.2
484
+ > ### (2023-04-12)
485
+ >
486
+ > * Add more node typings [Pagan Gazzard]
487
+ >
488
+ > ## abstract-sql-compiler-8.3.1
489
+ > ### (2023-04-12)
490
+ >
491
+ > * Add more node typings [Pagan Gazzard]
492
+ >
493
+ > ## abstract-sql-compiler-8.3.0
494
+ > ### (2023-04-11)
495
+ >
496
+ > * Support boolean nodes in a ValuesNode [Pagan Gazzard]
497
+ >
498
+ > ## abstract-sql-compiler-8.2.0
499
+ > ### (2023-04-11)
500
+ >
501
+ > * Add `Between` node type [Pagan Gazzard]
502
+ >
503
+ > ## abstract-sql-compiler-8.1.0
504
+ > ### (2023-04-11)
505
+ >
506
+ > * Add `BitwiseAnd`/`BitwiseShiftRight` node types [Pagan Gazzard]
507
+ >
508
+ > ## abstract-sql-compiler-8.0.2
509
+ > ### (2023-04-06)
510
+ >
511
+ > * Add `NotInNode` type [Pagan Gazzard]
512
+ > * Add `IsDistinctFromNode`/`IsNotDistinctFromNode` types [Pagan Gazzard]
513
+ > * Add `CharacterLengthNode` type [Pagan Gazzard]
514
+ >
515
+ > ## abstract-sql-compiler-8.0.1
516
+ > ### (2023-04-06)
517
+ >
518
+ > * Adds Cast node type to tree parsing [Otávio Jacobi]
519
+ >
520
+ > ## abstract-sql-to-typescript-1.5.1
521
+ > ### (2023-04-27)
522
+ >
523
+ >
524
+ > <details>
525
+ > <summary> Update dependencies [Pagan Gazzard] </summary>
526
+ >
527
+ >> ### odata-to-abstract-sql-5.9.6
528
+ >> #### (2023-04-25)
529
+ >>
530
+ >> * Collapse `AliasedFunction` into `FunctionMatch` [Pagan Gazzard]
531
+ >>
532
+ >> ### odata-to-abstract-sql-5.9.5
533
+ >> #### (2023-04-25)
534
+ >>
535
+ >>
536
+ >> <details>
537
+ >> <summary> Improve typings [Pagan Gazzard] </summary>
538
+ >>
539
+ >>> #### abstract-sql-compiler-8.4.1
540
+ >>> ##### (2023-04-25)
541
+ >>>
542
+ >>> * Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
543
+ >>>
544
+ >>
545
+ >> </details>
546
+ >>
547
+ >>
548
+ >> ### odata-to-abstract-sql-5.9.4
549
+ >> #### (2023-04-24)
550
+ >>
551
+ >>
552
+ >> <details>
553
+ >> <summary> Update dependencies [Pagan Gazzard] </summary>
554
+ >>
555
+ >>> #### abstract-sql-compiler-8.4.0
556
+ >>> ##### (2023-04-24)
557
+ >>>
558
+ >>> * Add support for using field type nodes with an AggregateJSON node [Pagan Gazzard]
559
+ >>>
560
+ >>> #### abstract-sql-compiler-8.3.13
561
+ >>> ##### (2023-04-24)
562
+ >>>
563
+ >>> * Deprecate `AliasableFromTypeNodes` type as it's redundant [Pagan Gazzard]
564
+ >>>
565
+ >>> #### abstract-sql-compiler-8.3.12
566
+ >>> ##### (2023-04-17)
567
+ >>>
568
+ >>> * Revert tightening of `OrderBy` to only field nodes [Pagan Gazzard]
569
+ >>>
570
+ >>> #### abstract-sql-compiler-8.3.11
571
+ >>> ##### (2023-04-13)
572
+ >>>
573
+ >>> * Do not allow ON clauses for CROSS JOIN as it is invalid [Pagan Gazzard]
574
+ >>> * Stop accepting `ExtractJSONPathAsText`/`ToJSON` as unknown node types [Pagan Gazzard]
575
+ >>>
576
+ >>> #### abstract-sql-compiler-8.3.10
577
+ >>> ##### (2023-04-13)
578
+ >>>
579
+ >>> * Fix DateNode/AnyNode typings [Pagan Gazzard]
580
+ >>>
581
+ >>> #### abstract-sql-compiler-8.3.9
582
+ >>> ##### (2023-04-13)
583
+ >>>
584
+ >>>
585
+ >>> <details>
586
+ >>> <summary> Update dependencies [Pagan Gazzard] </summary>
587
+ >>>
588
+ >>>> ##### sbvr-types-3.5.0
589
+ >>>> ###### (2023-03-21)
590
+ >>>>
591
+ >>>> * Add Big Serial type [Josh Bowling]
592
+ >>>>
593
+ >>>> ##### sbvr-types-3.4.19
594
+ >>>> ###### (2022-12-08)
595
+ >>>>
596
+ >>>> * Flowzone: Allow external contributions [Josh Bowling]
597
+ >>>>
598
+ >>>
599
+ >>> </details>
600
+ >>>
601
+ >>>
602
+ >>> #### abstract-sql-compiler-8.3.8
603
+ >>> ##### (2023-04-12)
604
+ >>>
605
+ >>> * Improve typings [Pagan Gazzard]
606
+ >>>
607
+ >>> #### abstract-sql-compiler-8.3.7
608
+ >>> ##### (2023-04-12)
609
+ >>>
610
+ >>> * Remove typing for non-existent JSON node [Pagan Gazzard]
611
+ >>>
612
+ >>> #### abstract-sql-compiler-8.3.6
613
+ >>> ##### (2023-04-12)
614
+ >>>
615
+ >>> * Tighten the `isXValue` function typings [Pagan Gazzard]
616
+ >>>
617
+ >>> #### abstract-sql-compiler-8.3.5
618
+ >>> ##### (2023-04-12)
619
+ >>>
620
+ >>> * Correctly treat `Value` nodes as rewritten to `Text` by the optimizer [Pagan Gazzard]
621
+ >>> * Add EmbeddedTextNode typing [Pagan Gazzard]
622
+ >>>
623
+ >>> #### abstract-sql-compiler-8.3.4
624
+ >>> ##### (2023-04-12)
625
+ >>>
626
+ >>> * Enforce the first argument of ExtractJSONPathAsText is a JSON type node [Pagan Gazzard]
627
+ >>>
628
+ >>> #### abstract-sql-compiler-8.3.3
629
+ >>> ##### (2023-04-12)
630
+ >>>
631
+ >>> * Improve node typings [Pagan Gazzard]
632
+ >>>
633
+ >>> #### abstract-sql-compiler-8.3.2
634
+ >>> ##### (2023-04-12)
635
+ >>>
636
+ >>> * Add more node typings [Pagan Gazzard]
637
+ >>>
638
+ >>> #### abstract-sql-compiler-8.3.1
639
+ >>> ##### (2023-04-12)
640
+ >>>
641
+ >>> * Add more node typings [Pagan Gazzard]
642
+ >>>
643
+ >>> #### abstract-sql-compiler-8.3.0
644
+ >>> ##### (2023-04-11)
645
+ >>>
646
+ >>> * Support boolean nodes in a ValuesNode [Pagan Gazzard]
647
+ >>>
648
+ >>> #### abstract-sql-compiler-8.2.0
649
+ >>> ##### (2023-04-11)
650
+ >>>
651
+ >>> * Add `Between` node type [Pagan Gazzard]
652
+ >>>
653
+ >>> #### abstract-sql-compiler-8.1.0
654
+ >>> ##### (2023-04-11)
655
+ >>>
656
+ >>> * Add `BitwiseAnd`/`BitwiseShiftRight` node types [Pagan Gazzard]
657
+ >>>
658
+ >>> #### abstract-sql-compiler-8.0.2
659
+ >>> ##### (2023-04-06)
660
+ >>>
661
+ >>> * Add `NotInNode` type [Pagan Gazzard]
662
+ >>> * Add `IsDistinctFromNode`/`IsNotDistinctFromNode` types [Pagan Gazzard]
663
+ >>> * Add `CharacterLengthNode` type [Pagan Gazzard]
664
+ >>>
665
+ >>> #### abstract-sql-compiler-8.0.1
666
+ >>> ##### (2023-04-06)
667
+ >>>
668
+ >>> * Adds Cast node type to tree parsing [Otávio Jacobi]
669
+ >>>
670
+ >>> #### odata-parser-2.4.6
671
+ >>> ##### (2023-02-24)
672
+ >>>
673
+ >>> * Improve typings [Pagan Gazzard]
674
+ >>>
675
+ >>> #### odata-parser-2.4.5
676
+ >>> ##### (2023-02-23)
677
+ >>>
678
+ >>> * Use const/let as appropriate [Pagan Gazzard]
679
+ >>>
680
+ >>> #### odata-parser-2.4.4
681
+ >>> ##### (2023-02-23)
682
+ >>>
683
+ >>> * Use shorthand object notation [Pagan Gazzard]
684
+ >>>
685
+ >>> #### odata-parser-2.4.3
686
+ >>> ##### (2023-02-23)
687
+ >>>
688
+ >>> * Update dependencies [Pagan Gazzard]
689
+ >>>
690
+ >>
691
+ >> </details>
692
+ >>
693
+ >>
694
+ >> ### odata-to-abstract-sql-5.9.3
695
+ >> #### (2023-03-08)
696
+ >>
697
+ >> * Fixes ODataBindings imported types [Otávio Jacobi]
698
+ >>
699
+ >> ### odata-to-abstract-sql-5.9.2
700
+ >> #### (2023-02-15)
701
+ >>
702
+ >> * Update typings to the minimal subset of the abstract sql model we need [Pagan Gazzard]
703
+ >>
704
+ >
705
+ > </details>
706
+ >
707
+ >
708
+ > ## abstract-sql-to-typescript-1.5.0
709
+ > ### (2023-03-01)
710
+ >
711
+ > * Adds native SQL Date type [Otávio Jacobi]
712
+ >
713
+ > ## odata-parser-2.5.0
714
+ > ### (2023-04-26)
715
+ >
716
+ > * Update to peggy 3 and make us of the repetition operator [Pagan Gazzard]
717
+ >
718
+ > ## odata-to-abstract-sql-5.9.6
719
+ > ### (2023-04-25)
720
+ >
721
+ > * Collapse `AliasedFunction` into `FunctionMatch` [Pagan Gazzard]
722
+ >
723
+ > ## odata-to-abstract-sql-5.9.5
724
+ > ### (2023-04-25)
725
+ >
726
+ >
727
+ > <details>
728
+ > <summary> Improve typings [Pagan Gazzard] </summary>
729
+ >
730
+ >> ### abstract-sql-compiler-8.4.1
731
+ >> #### (2023-04-25)
732
+ >>
733
+ >> * Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
734
+ >>
735
+ >
736
+ > </details>
737
+ >
738
+ >
739
+ > ## odata-to-abstract-sql-5.9.4
740
+ > ### (2023-04-24)
741
+ >
742
+ >
743
+ > <details>
744
+ > <summary> Update dependencies [Pagan Gazzard] </summary>
745
+ >
746
+ >> ### abstract-sql-compiler-8.4.0
747
+ >> #### (2023-04-24)
748
+ >>
749
+ >> * Add support for using field type nodes with an AggregateJSON node [Pagan Gazzard]
750
+ >>
751
+ >> ### abstract-sql-compiler-8.3.13
752
+ >> #### (2023-04-24)
753
+ >>
754
+ >> * Deprecate `AliasableFromTypeNodes` type as it's redundant [Pagan Gazzard]
755
+ >>
756
+ >> ### abstract-sql-compiler-8.3.12
757
+ >> #### (2023-04-17)
758
+ >>
759
+ >> * Revert tightening of `OrderBy` to only field nodes [Pagan Gazzard]
760
+ >>
761
+ >> ### abstract-sql-compiler-8.3.11
762
+ >> #### (2023-04-13)
763
+ >>
764
+ >> * Do not allow ON clauses for CROSS JOIN as it is invalid [Pagan Gazzard]
765
+ >> * Stop accepting `ExtractJSONPathAsText`/`ToJSON` as unknown node types [Pagan Gazzard]
766
+ >>
767
+ >> ### abstract-sql-compiler-8.3.10
768
+ >> #### (2023-04-13)
769
+ >>
770
+ >> * Fix DateNode/AnyNode typings [Pagan Gazzard]
771
+ >>
772
+ >> ### abstract-sql-compiler-8.3.9
773
+ >> #### (2023-04-13)
774
+ >>
775
+ >>
776
+ >> <details>
777
+ >> <summary> Update dependencies [Pagan Gazzard] </summary>
778
+ >>
779
+ >>> #### sbvr-types-3.5.0
780
+ >>> ##### (2023-03-21)
781
+ >>>
782
+ >>> * Add Big Serial type [Josh Bowling]
783
+ >>>
784
+ >>> #### sbvr-types-3.4.19
785
+ >>> ##### (2022-12-08)
786
+ >>>
787
+ >>> * Flowzone: Allow external contributions [Josh Bowling]
788
+ >>>
789
+ >>
790
+ >> </details>
791
+ >>
792
+ >>
793
+ >> ### abstract-sql-compiler-8.3.8
794
+ >> #### (2023-04-12)
795
+ >>
796
+ >> * Improve typings [Pagan Gazzard]
797
+ >>
798
+ >> ### abstract-sql-compiler-8.3.7
799
+ >> #### (2023-04-12)
800
+ >>
801
+ >> * Remove typing for non-existent JSON node [Pagan Gazzard]
802
+ >>
803
+ >> ### abstract-sql-compiler-8.3.6
804
+ >> #### (2023-04-12)
805
+ >>
806
+ >> * Tighten the `isXValue` function typings [Pagan Gazzard]
807
+ >>
808
+ >> ### abstract-sql-compiler-8.3.5
809
+ >> #### (2023-04-12)
810
+ >>
811
+ >> * Correctly treat `Value` nodes as rewritten to `Text` by the optimizer [Pagan Gazzard]
812
+ >> * Add EmbeddedTextNode typing [Pagan Gazzard]
813
+ >>
814
+ >> ### abstract-sql-compiler-8.3.4
815
+ >> #### (2023-04-12)
816
+ >>
817
+ >> * Enforce the first argument of ExtractJSONPathAsText is a JSON type node [Pagan Gazzard]
818
+ >>
819
+ >> ### abstract-sql-compiler-8.3.3
820
+ >> #### (2023-04-12)
821
+ >>
822
+ >> * Improve node typings [Pagan Gazzard]
823
+ >>
824
+ >> ### abstract-sql-compiler-8.3.2
825
+ >> #### (2023-04-12)
826
+ >>
827
+ >> * Add more node typings [Pagan Gazzard]
828
+ >>
829
+ >> ### abstract-sql-compiler-8.3.1
830
+ >> #### (2023-04-12)
831
+ >>
832
+ >> * Add more node typings [Pagan Gazzard]
833
+ >>
834
+ >> ### abstract-sql-compiler-8.3.0
835
+ >> #### (2023-04-11)
836
+ >>
837
+ >> * Support boolean nodes in a ValuesNode [Pagan Gazzard]
838
+ >>
839
+ >> ### abstract-sql-compiler-8.2.0
840
+ >> #### (2023-04-11)
841
+ >>
842
+ >> * Add `Between` node type [Pagan Gazzard]
843
+ >>
844
+ >> ### abstract-sql-compiler-8.1.0
845
+ >> #### (2023-04-11)
846
+ >>
847
+ >> * Add `BitwiseAnd`/`BitwiseShiftRight` node types [Pagan Gazzard]
848
+ >>
849
+ >> ### abstract-sql-compiler-8.0.2
850
+ >> #### (2023-04-06)
851
+ >>
852
+ >> * Add `NotInNode` type [Pagan Gazzard]
853
+ >> * Add `IsDistinctFromNode`/`IsNotDistinctFromNode` types [Pagan Gazzard]
854
+ >> * Add `CharacterLengthNode` type [Pagan Gazzard]
855
+ >>
856
+ >> ### abstract-sql-compiler-8.0.1
857
+ >> #### (2023-04-06)
858
+ >>
859
+ >> * Adds Cast node type to tree parsing [Otávio Jacobi]
860
+ >>
861
+ >> ### odata-parser-2.4.6
862
+ >> #### (2023-02-24)
863
+ >>
864
+ >> * Improve typings [Pagan Gazzard]
865
+ >>
866
+ >> ### odata-parser-2.4.5
867
+ >> #### (2023-02-23)
868
+ >>
869
+ >> * Use const/let as appropriate [Pagan Gazzard]
870
+ >>
871
+ >> ### odata-parser-2.4.4
872
+ >> #### (2023-02-23)
873
+ >>
874
+ >> * Use shorthand object notation [Pagan Gazzard]
875
+ >>
876
+ >> ### odata-parser-2.4.3
877
+ >> #### (2023-02-23)
878
+ >>
879
+ >> * Update dependencies [Pagan Gazzard]
880
+ >>
881
+ >
882
+ > </details>
883
+ >
884
+ >
885
+ > ## odata-to-abstract-sql-5.9.3
886
+ > ### (2023-03-08)
887
+ >
888
+ > * Fixes ODataBindings imported types [Otávio Jacobi]
889
+ >
890
+ > ## sbvr-types-3.5.0
891
+ > ### (2023-03-21)
892
+ >
893
+ > * Add Big Serial type [Josh Bowling]
894
+ >
895
+ > ## sbvr-types-3.4.19
896
+ > ### (2022-12-08)
897
+ >
898
+ > * Flowzone: Allow external contributions [Josh Bowling]
899
+ >
900
+
901
+ </details>
902
+
903
+ # v14.63.0
904
+ ## (2023-04-27)
905
+
906
+ * Support returning a number from async migrations rather than db result [Pagan Gazzard]
907
+
908
+ # v14.62.9
909
+ ## (2023-04-21)
910
+
911
+ * Narrow the registered express HTTP methods [fisehara]
912
+
913
+ # v14.62.8
914
+ ## (2023-04-19)
915
+
916
+ * Add test cases for native translations [Harald Fischer]
917
+
918
+ # v14.62.7
919
+ ## (2023-04-18)
920
+
921
+ * Update select sql typing [Josh Bowling]
922
+
923
+ # v14.62.6
924
+ ## (2023-04-11)
925
+
926
+ * Guard against translations aliasing to a field that does not exist [Pagan Gazzard]
927
+
928
+ # v14.62.5
929
+ ## (2023-03-23)
930
+
931
+ * Fix resourceName to resourceName native translation [fisehara]
932
+
933
+ # v14.62.4
934
+ ## (2023-02-28)
935
+
936
+ * Rollback async migration tx on failed async mgmt tx [fisehara]
937
+
938
+ # v14.62.3
939
+ ## (2023-02-27)
940
+
941
+ * Fix `isAsyncMigration` to accept mixed fn and sql async migrations [Pagan Gazzard]
942
+
943
+ # v14.62.2
944
+ ## (2023-02-27)
945
+
946
+ * Fix async migrator typings when mixing migrator fns and sql [Pagan Gazzard]
947
+
948
+ # v14.62.1
949
+ ## (2023-02-24)
950
+
951
+
952
+ <details>
953
+ <summary> Update @balena/odata-parser to 2.4.6 [Pagan Gazzard] </summary>
954
+
955
+ > ## odata-parser-2.4.6
956
+ > ### (2023-02-24)
957
+ >
958
+ > * Improve typings [Pagan Gazzard]
959
+ >
960
+ > ## odata-parser-2.4.5
961
+ > ### (2023-02-23)
962
+ >
963
+ > * Use const/let as appropriate [Pagan Gazzard]
964
+ >
965
+ > ## odata-parser-2.4.4
966
+ > ### (2023-02-23)
967
+ >
968
+ > * Use shorthand object notation [Pagan Gazzard]
969
+ >
970
+ > ## odata-parser-2.4.3
971
+ > ### (2023-02-23)
972
+ >
973
+ > * Update dependencies [Pagan Gazzard]
974
+ >
975
+
976
+ </details>
977
+
978
+ # v14.62.0
979
+ ## (2023-02-20)
980
+
981
+ * Use `affectedIds` to narrow the number of rows checked by rules [Carol Schulze]
982
+
983
+ # v14.61.5
984
+ ## (2023-02-20)
985
+
986
+ * Fixes setting only finalized async migration as executed [Harald Fischer]
987
+
988
+ # v14.61.4
989
+ ## (2023-02-20)
990
+
991
+ * Fixes implicit any type [Harald Fischer]
992
+
993
+ # v14.61.3
994
+ ## (2023-02-15)
995
+
996
+ * Tests: use transpile-only for faster tests [Pagan Gazzard]
997
+ * Tests: type-check tests as part of tsconfig.dev.json and fix typing error [Pagan Gazzard]
998
+
999
+ # v14.61.2
1000
+ ## (2023-02-15)
1001
+
1002
+ * Fix read-only hook args when there is a read-only or no transaction [Pagan Gazzard]
1003
+
1004
+ # v14.61.1
1005
+ ## (2023-02-15)
1006
+
1007
+
1008
+ <details>
1009
+ <summary> Update dependencies [Pagan Gazzard] </summary>
1010
+
1011
+ > ## abstract-sql-compiler-7.26.0
1012
+ > ### (2023-02-07)
1013
+ >
1014
+ > * Optimize schema during compilation [Carol Schulze]
1015
+ >
1016
+ > ## abstract-sql-to-typescript-1.4.2
1017
+ > ### (2023-02-15)
1018
+ >
1019
+ > * Update typings to the minimal subset of the abstract sql model we need [Pagan Gazzard]
1020
+ >
1021
+ > ## abstract-sql-to-typescript-1.4.1
1022
+ > ### (2023-02-14)
1023
+ >
1024
+ > * Update `abstract-sql-compiler` and `odata-to-abstract-sql` [Carol Schulze]
1025
+ >
1026
+ > ## abstract-sql-to-typescript-1.4.0
1027
+ > ### (2022-12-20)
1028
+ >
1029
+ > * Generate properties for reverse navigation relations using synonyms [Thodoris Greasidis]
1030
+ >
1031
+ > ## abstract-sql-to-typescript-1.3.1
1032
+ > ### (2022-12-08)
1033
+ >
1034
+ > * Flowzone: Allow external contributions [Josh Bowling]
1035
+ >
1036
+ > ## odata-to-abstract-sql-5.9.2
1037
+ > ### (2023-02-15)
1038
+ >
1039
+ > * Update typings to the minimal subset of the abstract sql model we need [Pagan Gazzard]
1040
+ >
1041
+ > ## odata-to-abstract-sql-5.9.1
1042
+ > ### (2023-02-13)
1043
+ >
1044
+ >
1045
+ > <details>
1046
+ > <summary> Update dependency @balena/lf-to-abstract-sql to 5.0.0 [Renovate Bot] </summary>
1047
+ >
1048
+ >> ### lf-to-abstract-sql-5.0.0
1049
+ >> #### (2023-02-10)
1050
+ >>
1051
+ >> * Expand `lfInfo` to also include the root table name [Carol Schulze]
1052
+ >>
1053
+ >
1054
+ > </details>
1055
+ >
1056
+ >
1057
+ > ## odata-to-abstract-sql-5.9.0
1058
+ > ### (2023-02-13)
1059
+ >
1060
+ >
1061
+ > <details>
1062
+ > <summary> Update dependency @balena/abstract-sql-compiler to 8.0.0 [Renovate Bot] </summary>
1063
+ >
1064
+ >> ### abstract-sql-compiler-8.0.0
1065
+ >> #### (2023-02-13)
1066
+ >>
1067
+ >> * Add binds for affected IDs in compiled rules [Carol Schulze]
1068
+ >>
1069
+ >
1070
+ > </details>
1071
+ >
1072
+ >
1073
+ > ## odata-to-abstract-sql-5.8.1
1074
+ > ### (2023-02-13)
1075
+ >
1076
+ > * Cache the `ResourceMapping` result to avoid unnecessary work [Pagan Gazzard]
1077
+ >
1078
+
1079
+ </details>
1080
+
1081
+ # v14.61.0
1082
+ ## (2023-02-03)
1083
+
1084
+ * Add support for models that are translated to other (newer) models [Pagan Gazzard]
1085
+
1086
+ # v14.60.1
1087
+ ## (2023-01-31)
1088
+
1089
+ * chore(deps): update dependency grunt to 1.6.1 [Renovate Bot]
1090
+
1091
+ # v14.60.0
1092
+ ## (2023-01-30)
1093
+
1094
+ * Revert "chore(deps): update node.js to v19" [fisehara]
1095
+
1096
+ # v14.59.1
1097
+ ## (2023-01-26)
1098
+
1099
+ * Remove duplicate stack trace logging [Pagan Gazzard]
1100
+
1101
+ # v14.59.0
1102
+ ## (2023-01-25)
1103
+
1104
+ * Introduce control means for async migration execution [fisehara]
1105
+
1106
+ # v14.58.0
1107
+ ## (2023-01-25)
1108
+
1109
+ * chore(deps): update node.js to v19 [Renovate Bot]
1110
+
1111
+ # v14.57.2
1112
+ ## (2023-01-25)
1113
+
1114
+ * db: Make the base getTxLevelLock blocking by default [Thodoris Greasidis]
1115
+
1116
+ # v14.57.1
1117
+ ## (2023-01-25)
1118
+
1119
+
1120
+ <details>
1121
+ <summary> Update @balena/abstract-sql-compiler to 7.25.3 [Thodoris Greasidis] </summary>
1122
+
1123
+ > ## abstract-sql-compiler-7.25.3
1124
+ > ### (2023-01-24)
1125
+ >
1126
+ > * Wrap Date & Duration operations with parenthesis when necessary [Thodoris Greasidis]
1127
+ > * Wrap composite math operations with parenthesis when necessary [Thodoris Greasidis]
1128
+ >
1129
+ > ## abstract-sql-compiler-7.25.2
1130
+ > ### (2023-01-24)
1131
+ >
1132
+ > * Tests: update @balena/odata-to-abstract-sql to 5.8 [Thodoris Greasidis]
1133
+ >
1134
+ > ## abstract-sql-compiler-7.25.1
1135
+ > ### (2023-01-23)
1136
+ >
1137
+ > * Change AggregateJSON to use `JSON_AGG` instead of `ARRAY_TO_JSON`+`ARRAY_AGG` [Pagan Gazzard]
1138
+ >
1139
+
1140
+ </details>
1141
+
1142
+ # v14.57.0
1143
+ ## (2023-01-24)
1144
+
1145
+ * Use postgres advisory locks for migration locking. [Harald Fischer]
1146
+
1147
+ # v14.56.0
1148
+ ## (2023-01-23)
1149
+
1150
+ * Update dependency @types/node to 18.11.18 [Renovate Bot]
1151
+
1152
+ # v14.55.0
1153
+ ## (2023-01-23)
1154
+
1155
+ * Update dependency commander to 10.0.0 [Renovate Bot]
1156
+
1157
+ # v14.54.8
1158
+ ## (2023-01-23)
1159
+
1160
+
1161
+ <details>
1162
+ <summary> Update dependencies [Pagan Gazzard] </summary>
1163
+
1164
+ > ## abstract-sql-compiler-7.25.0
1165
+ > ### (2023-01-23)
1166
+ >
1167
+ > * Add `modifyFields`/`modifyName` to table definition [Pagan Gazzard]
1168
+ >
1169
+ > ## abstract-sql-compiler-7.24.0
1170
+ > ### (2023-01-16)
1171
+ >
1172
+ > * Add the AbstractSql node `Any` [Carol Schulze]
1173
+ >
1174
+ > ## lf-to-abstract-sql-4.7.0
1175
+ > ### (2022-12-14)
1176
+ >
1177
+ > * Empty commit to force a new version to be generated [Carol Schulze]
1178
+ > * Add an `lfInfo` entry in the results object [Carol Schulze]
1179
+ >
1180
+ > ## odata-to-abstract-sql-5.8.0
1181
+ > ### (2023-01-23)
1182
+ >
1183
+ >
1184
+ > <details>
1185
+ > <summary> Respect `modifyFields`/`modifyName` in the table definition [Pagan Gazzard] </summary>
1186
+ >
1187
+ >> ### abstract-sql-compiler-7.25.0
1188
+ >> #### (2023-01-23)
1189
+ >>
1190
+ >> * Add `modifyFields`/`modifyName` to table definition [Pagan Gazzard]
1191
+ >>
1192
+ >> ### abstract-sql-compiler-7.24.0
1193
+ >> #### (2023-01-16)
1194
+ >>
1195
+ >> * Add the AbstractSql node `Any` [Carol Schulze]
1196
+ >>
1197
+ >> ### abstract-sql-compiler-7.23.0
1198
+ >> #### (2022-12-08)
1199
+ >>
1200
+ >> * Add support for rules optimizations when using COUNT(*) = 0 [Pagan Gazzard]
1201
+ >>
1202
+ >> ### abstract-sql-compiler-7.22.5
1203
+ >> #### (2022-12-08)
1204
+ >>
1205
+ >> * Flowzone: Allow external contributions [Josh Bowling]
1206
+ >>
1207
+ >> ### abstract-sql-compiler-7.22.4
1208
+ >> #### (Invalid date)
1209
+ >>
1210
+ >> * Fix: move @balena/odata-to-abstract-sql to dev dependencies [Pagan Gazzard]
1211
+ >>
1212
+ >> ### abstract-sql-compiler-7.22.3
1213
+ >> #### (Invalid date)
1214
+ >>
1215
+ >> * Tests: update @balena/odata-to-abstract-sql to 5.x [Pagan Gazzard]
1216
+ >>
1217
+ >> ### abstract-sql-compiler-7.22.2
1218
+ >> #### (Invalid date)
1219
+ >>
1220
+ >> * Fix deprecation notice module name [Pagan Gazzard]
1221
+ >>
1222
+ >> ### abstract-sql-compiler-7.22.1
1223
+ >> #### (2022-11-29)
1224
+ >>
1225
+ >> * Add deprecation notices to the legacy null formats of `null` and `'Null'` [Pagan Gazzard]
1226
+ >> * Add deprecation notice to the legacy table format of `tableName` [Pagan Gazzard]
1227
+ >> * Add deprecation notice to the legacy alias format of `[node, alias]` [Pagan Gazzard]
1228
+ >>
1229
+ >
1230
+ > </details>
1231
+ >
1232
+ >
1233
+ > ## odata-to-abstract-sql-5.7.7
1234
+ > ### (2023-01-23)
1235
+ >
1236
+ > * Always replace the table being modified in definitions, ignoring aliases [Pagan Gazzard]
1237
+ >
1238
+ > ## odata-to-abstract-sql-5.7.6
1239
+ > ### (2023-01-20)
1240
+ >
1241
+ > * Integrate beta version of sbvr-types supporting WebResource [Ramiro González Maciel]
1242
+ >
1243
+ > ## odata-to-abstract-sql-5.7.5
1244
+ > ### (2023-01-16)
1245
+ >
1246
+ > * Integrate beta version of sbvr-types supporting WebResource [Ramiro González Maciel]
1247
+ >
1248
+ > ## odata-to-abstract-sql-5.7.4
1249
+ > ### (2023-01-10)
1250
+ >
1251
+ > * Tests: reduce lodash usage [Pagan Gazzard]
1252
+ >
1253
+ > ## odata-to-abstract-sql-5.7.3
1254
+ > ### (2022-12-08)
1255
+ >
1256
+ > * Flowzone: Allow external contributions [Josh Bowling]
1257
+ >
1258
+ > ## pinejs-client-js-6.12.3
1259
+ > ### (2022-12-28)
1260
+ >
1261
+ > * CI: Convert tests to TypeScript [Josh Bowling]
1262
+ >
1263
+
1264
+ </details>
1265
+
1266
+ # v14.54.7
1267
+ ## (2023-01-13)
1268
+
1269
+ * Filter for `SideEffectHook`s before entering the async rollback loop [Pagan Gazzard]
1270
+
1271
+ # v14.54.6
1272
+ ## (2023-01-12)
1273
+
1274
+ * Handle symbols when proxying for constrained models [Pagan Gazzard]
1275
+
1276
+ # v14.54.5
1277
+ ## (2023-01-11)
1278
+
1279
+ * Prettified according to new rules [fisehara]
1280
+
1281
+ # v14.54.4
1282
+ ## (2022-12-22)
1283
+
1284
+ * Fix pre-commit husky hook [fisehara]
1285
+
1286
+ # v14.54.3
1287
+ ## (2022-12-19)
1288
+
1289
+ * Fix running linting as part of `npm test` [Pagan Gazzard]
1290
+
1291
+ # v14.54.2
1292
+ ## (2022-12-19)
1293
+
1294
+ * Simplify `checkApiKey` by moving checks out to more relevant places [Pagan Gazzard]
1295
+
1296
+ # v14.54.1
1297
+ ## (2022-12-12)
1298
+
1299
+ * Update debugging docs [Pagan Gazzard]
1300
+
1301
+ # v14.54.0
1302
+ ## (2022-12-09)
1303
+
1304
+ * Update postgres Docker tag to v15 [Renovate Bot]
1305
+
1306
+ # v14.53.6
1307
+ ## (2022-12-09)
1308
+
1309
+ * Fix async migrations being able to stop unexpectedly in some failure cases [fisehara]
1310
+
1311
+ # v14.53.5
1312
+ ## (2022-12-08)
1313
+
1314
+
1315
+ <details>
1316
+ <summary> Update dependencies [Pagan Gazzard] </summary>
1317
+
1318
+ > ## abstract-sql-compiler-7.23.0
1319
+ > ### (2022-12-08)
1320
+ >
1321
+ > * Add support for rules optimizations when using COUNT(*) = 0 [Pagan Gazzard]
1322
+ >
1323
+ > ## abstract-sql-compiler-7.22.5
1324
+ > ### (2022-12-08)
1325
+ >
1326
+ > * Flowzone: Allow external contributions [Josh Bowling]
1327
+ >
1328
+ > ## lf-to-abstract-sql-4.6.0
1329
+ > ### (2022-12-08)
1330
+ >
1331
+ > * Switch UniversalQuantification from NOT EXISTS to COUNT(*) = 0 [Pagan Gazzard]
1332
+ >
1333
+ > ## lf-to-abstract-sql-4.5.7
1334
+ > ### (2022-12-08)
1335
+ >
1336
+ > * Flowzone: Allow external contributions [Josh Bowling]
1337
+ >
1338
+
1339
+ </details>
1340
+
1341
+ # v14.53.4
1342
+ ## (2022-12-08)
1343
+
1344
+ * Fix husky pre-commit script [Pagan Gazzard]
1345
+
1346
+ # v14.53.3
1347
+ ## (2022-12-06)
1348
+
1349
+ * Flowzone: Allow external contributions [Josh Bowling]
1350
+
1351
+ # v14.53.2
1352
+ ## (2022-12-02)
1353
+
1354
+
1355
+ <details>
1356
+ <summary> Update eventemitter to 5.x [Pagan Gazzard] </summary>
1357
+
1358
+ > ## abstract-sql-compiler-7.22.4
1359
+ > ### (Invalid date)
1360
+ >
1361
+ > * Fix: move @balena/odata-to-abstract-sql to dev dependencies [Pagan Gazzard]
1362
+ >
1363
+ > ## abstract-sql-compiler-7.22.3
1364
+ > ### (Invalid date)
1365
+ >
1366
+ > * Tests: update @balena/odata-to-abstract-sql to 5.x [Pagan Gazzard]
1367
+ >
1368
+ > ## abstract-sql-compiler-7.22.2
1369
+ > ### (Invalid date)
1370
+ >
1371
+ > * Fix deprecation notice module name [Pagan Gazzard]
1372
+ >
1373
+ > ## abstract-sql-compiler-7.22.1
1374
+ > ### (2022-11-29)
1375
+ >
1376
+ > * Add deprecation notices to the legacy null formats of `null` and `'Null'` [Pagan Gazzard]
1377
+ > * Add deprecation notice to the legacy table format of `tableName` [Pagan Gazzard]
1378
+ > * Add deprecation notice to the legacy alias format of `[node, alias]` [Pagan Gazzard]
1379
+ >
1380
+ > ## lf-to-abstract-sql-4.5.6
1381
+ > ### (2022-11-29)
1382
+ >
1383
+ > * Stop using legacy/deprecated format for table aliases [Pagan Gazzard]
1384
+ >
1385
+ > ## odata-to-abstract-sql-5.7.2
1386
+ > ### (2022-11-29)
1387
+ >
1388
+ > * Switch insert casts from using legacy `'Null'` to using a `['Null']` node [Pagan Gazzard]
1389
+ >
1390
+ > ## odata-to-abstract-sql-5.7.1
1391
+ > ### (2022-11-25)
1392
+ >
1393
+ > * Remove package-lock.json [Pagan Gazzard]
1394
+ >
1395
+ > ## sbvr-parser-1.4.3
1396
+ > ### (2022-11-24)
1397
+ >
1398
+ > * Update dependencies [fisehara]
1399
+ >
1400
+ > ## sbvr-types-3.4.18
1401
+ > ### (2022-11-25)
1402
+ >
1403
+ > * Tests: remove chai-as-promised [Pagan Gazzard]
1404
+ > * Tests: remove bluebird [Pagan Gazzard]
1405
+ > * Tests: remove lodash [Pagan Gazzard]
1406
+ >
1407
+ > ## sbvr-types-3.4.17
1408
+ > ### (2022-11-25)
1409
+ >
1410
+ > * Update dependencies [Pagan Gazzard]
1411
+ >
1412
+ > ## sbvr-types-3.4.16
1413
+ > ### (2022-11-25)
1414
+ >
1415
+ > * Switch from `new Buffer` to `Buffer.from` to avoid deprecation warnings [Pagan Gazzard]
1416
+ >
1417
+ </details>
1418
+
1419
+ # v14.53.1
1420
+ ## (2022-11-24)
1421
+
1422
+
1423
+ <details>
1424
+ <summary> Update dependencies [fisehara] </summary>
1425
+
1426
+ > ## lf-to-abstract-sql-4.5.5
1427
+ > ### (2022-11-17)
1428
+ >
1429
+ > * Update @balena/sbvr-parser from 1.4.1 to 1.4.2 [Josh Bowling]
1430
+ >
1431
+ > ## lf-to-abstract-sql-4.5.4
1432
+ > ### (2022-11-17)
1433
+ >
1434
+ > * Add .npmrc [Josh Bowling]
1435
+ >
1436
+ > ## lf-to-abstract-sql-4.5.3
1437
+ > ### (2022-11-17)
1438
+ >
1439
+ > * Bump dev dependencies [Josh Bowling]
1440
+ >
1441
+ > ## lf-to-abstract-sql-4.5.2
1442
+ > ### (2022-10-14)
1443
+ >
1444
+ > * Switch from balenaCI to flowzone [Pagan Gazzard]
1445
+ >
1446
+ > ## odata-parser-2.4.2
1447
+ > ### (2022-11-03)
1448
+ >
1449
+ > * Test that `/$count` works with a `$filter`containing an 'and' [Thodoris Greasidis]
1450
+ >
1451
+ > ## odata-parser-2.4.1
1452
+ > ### (2022-10-14)
1453
+ >
1454
+ > * Switch from balenaCI to flowzone [Pagan Gazzard]
1455
+ >
1456
+ > ## sbvr-parser-1.4.2
1457
+ > ### (2022-10-14)
1458
+ >
1459
+ > * Switch from balenaCI to flowzone [Pagan Gazzard]
1460
+ >
1461
+ > ## sbvr-types-3.4.15
1462
+ > ### (2022-11-18)
1463
+ >
1464
+ > * Dev: Migrate husky setup for v8 [Josh Bowling]
1465
+ >
1466
+ > ## sbvr-types-3.4.14
1467
+ > ### (2022-11-17)
1468
+ >
1469
+ > * Update dependency mocha to 10.1.0 [Renovate Bot]
1470
+ >
1471
+ > ## sbvr-types-3.4.13
1472
+ > ### (2022-11-17)
1473
+ >
1474
+ > * Update dependency lint-staged to 13.0.3 [Renovate Bot]
1475
+ >
1476
+ > ## sbvr-types-3.4.12
1477
+ > ### (2022-11-17)
1478
+ >
1479
+ > * Update dependency husky to 8.0.2 [Renovate Bot]
1480
+ >
1481
+ > ## sbvr-types-3.4.11
1482
+ > ### (2022-11-17)
1483
+ >
1484
+ > * Dev: Add lint-fix npm script [Josh Bowling]
1485
+ >
1486
+ > ## sbvr-types-3.4.10
1487
+ > ### (2022-11-17)
1488
+ >
1489
+ > * Dev: Move type deps to dev [Josh Bowling]
1490
+ >
1491
+ > ## sbvr-types-3.4.9
1492
+ > ### (2022-11-17)
1493
+ >
1494
+ > * Add .npmrc [Josh Bowling]
1495
+ >
1496
+ > ## sbvr-types-3.4.8
1497
+ > ### (2022-10-14)
1498
+ >
1499
+ > * Switch from balenaCI to flowzone [Pagan Gazzard]
1500
+ >
1501
+ </details>
1502
+
1503
+ # v14.53.0
1504
+ ## (2022-11-24)
1505
+
1506
+
1507
+ <details>
1508
+ <summary> Update dependencies [fisehara] </summary>
1509
+
1510
+ > ## abstract-sql-compiler-7.22.0
1511
+ > ### (2022-11-23)
1512
+ >
1513
+ > * Fix date fields used inside arithmetic expressions [fisehara]
1514
+ >
1515
+ > ## abstract-sql-to-typescript-1.3.0
1516
+ > ### (2022-11-24)
1517
+ >
1518
+ >
1519
+ > <details>
1520
+ > <summary> Update dependencies [fisehara] </summary>
1521
+ >
1522
+ >> ### odata-to-abstract-sql-5.7.0
1523
+ >> #### (2022-11-24)
1524
+ >>
1525
+ >>
1526
+ >> <details>
1527
+ >> <summary> Update dependencies [fisehara] </summary>
1528
+ >>
1529
+ >>> #### abstract-sql-compiler-7.22.0
1530
+ >>> ##### (2022-11-23)
1531
+ >>>
1532
+ >>> * Fix date fields used inside arithmetic expressions [fisehara]
1533
+ >>>
1534
+ >>> #### abstract-sql-compiler-7.21.1
1535
+ >>> ##### (2022-11-22)
1536
+ >>>
1537
+ >>> * Add support for getting the modified fields of an aliased query [Pagan Gazzard]
1538
+ >>>
1539
+ >> </details>
1540
+ >>
1541
+ >>
1542
+ >> ### odata-to-abstract-sql-5.6.2
1543
+ >> #### (2022-11-22)
1544
+ >>
1545
+ >> * Fix replacing an aliased resource select with bind vars for inserts [Pagan Gazzard]
1546
+ >>
1547
+ >> ### odata-to-abstract-sql-5.6.1
1548
+ >> #### (2022-11-22)
1549
+ >>
1550
+ >> * Update dependencies [Pagan Gazzard]
1551
+ >>
1552
+ >> ### odata-to-abstract-sql-5.6.0
1553
+ >> #### (2022-11-22)
1554
+ >>
1555
+ >> * Add an option to always use minimized aliases [Pagan Gazzard]
1556
+ >>
1557
+ >> ### odata-to-abstract-sql-5.5.1
1558
+ >> #### (2022-10-14)
1559
+ >>
1560
+ >> * Switch from balenaCI to flowzone [Pagan Gazzard]
1561
+ >>
1562
+ >> ### odata-to-abstract-sql-5.5.0
1563
+ >> #### (2022-09-15)
1564
+ >>
1565
+ >>
1566
+ >> <details>
1567
+ >> <summary> Add support for `/$count` with nested `$filter` in $orderby & $orderby [Thodoris Greasidis] </summary>
1568
+ >>
1569
+ >>> #### odata-parser-2.4.0
1570
+ >>> ##### (2022-09-15)
1571
+ >>>
1572
+ >>> * Add support for `/$count` with nested `$filter` in $orderby & $orderby [Thodoris Greasidis]
1573
+ >>>
1574
+ >>> #### odata-parser-2.3.0
1575
+ >>> ##### (2022-06-06)
1576
+ >>>
1577
+ >>> * Add source map [Pagan Gazzard]
1578
+ >>>
1579
+ >> </details>
1580
+ >>
1581
+ >>
1582
+ >> ### odata-to-abstract-sql-5.4.15
1583
+ >> #### (2022-07-26)
1584
+ >>
1585
+ >> * Stop using _.compact [Thodoris Greasidis]
1586
+ >> * Stop using _.isObject in favor of the native methods [Thodoris Greasidis]
1587
+ >> * Stop using Lodash's Dictionary type [Thodoris Greasidis]
1588
+ >>
1589
+ >> ### odata-to-abstract-sql-5.4.14
1590
+ >> #### (2022-06-25)
1591
+ >>
1592
+ >> * Avoid unnecessary loop when adding computed fields to `SELECT *` [Thodoris Greasidis]
1593
+ >>
1594
+ >> ### odata-to-abstract-sql-5.4.13
1595
+ >> #### (2022-06-03)
1596
+ >>
1597
+ >> * Use `SELECT *, $computedFields` for adding computed fields [Pagan Gazzard]
1598
+ >>
1599
+ >> ### odata-to-abstract-sql-5.4.12
1600
+ >> #### (2022-06-03)
1601
+ >>
1602
+ >> * Use nullish coalescing when sensible [Pagan Gazzard]
1603
+ >>
1604
+ >> ### odata-to-abstract-sql-5.4.11
1605
+ >> #### (2022-05-19)
1606
+ >>
1607
+ >> * Improve support for computed fields by respecting them in more places [Pagan Gazzard]
1608
+ >>
1609
+ >> ### odata-to-abstract-sql-5.4.10
1610
+ >> #### (2022-05-19)
1611
+ >>
1612
+ >>
1613
+ >> <details>
1614
+ >> <summary> Update dependencies [Pagan Gazzard] </summary>
1615
+ >>
1616
+ >>> #### abstract-sql-compiler-7.20.0
1617
+ >>> ##### (2022-05-19)
1618
+ >>>
1619
+ >>> * Expose `isAliasNode` helper [Pagan Gazzard]
1620
+ >>>
1621
+ >>> #### abstract-sql-compiler-7.19.1
1622
+ >>> ##### (2022-04-08)
1623
+ >>>
1624
+ >>>
1625
+ >>> <details>
1626
+ >>> <summary> Update dependencies [Pagan Gazzard] </summary>
1627
+ >>>
1628
+ >>>> ##### sbvr-types-3.4.7
1629
+ >>>> ###### (2022-04-08)
1630
+ >>>>
1631
+ >>>> * Update dependencies [Pagan Gazzard]
1632
+ >>>> * Remove circleci [Pagan Gazzard]
1633
+ >>>>
1634
+ >>>> ##### sbvr-types-3.4.6
1635
+ >>>> ###### (2021-09-21)
1636
+ >>>>
1637
+ >>>> * Avoid creating a new Date object when we already have one [Pagan Gazzard]
1638
+ >>>>
1639
+ >>> </details>
1640
+ >>>
1641
+ >>>
1642
+ >> </details>
1643
+ >>
1644
+ >>
1645
+ > </details>
1646
+ >
1647
+ >
1648
+ > ## abstract-sql-to-typescript-1.2.6
1649
+ > ### (2022-11-18)
1650
+ >
1651
+ > * Dev: Update pre-commit hook [Josh Bowling]
1652
+ >
1653
+ > ## abstract-sql-to-typescript-1.2.5
1654
+ > ### (2022-11-18)
1655
+ >
1656
+ > * Dev: Migrate husky setup for v8 [Josh Bowling]
1657
+ >
1658
+ > ## abstract-sql-to-typescript-1.2.4
1659
+ > ### (2022-11-17)
1660
+ >
1661
+ > * Update dependency mocha to 10.1.0 [Renovate Bot]
1662
+ >
1663
+ > ## abstract-sql-to-typescript-1.2.3
1664
+ > ### (2022-11-17)
1665
+ >
1666
+ > * Update dependency lint-staged to 13.0.3 [Renovate Bot]
1667
+ >
1668
+ > ## abstract-sql-to-typescript-1.2.2
1669
+ > ### (2022-11-17)
1670
+ >
1671
+ > * Update dependency husky to 8.0.2 [Renovate Bot]
1672
+ >
1673
+ > ## abstract-sql-to-typescript-1.2.1
1674
+ > ### (2022-10-14)
1675
+ >
1676
+ > * Switch from balenaCI to flowzone [Pagan Gazzard]
1677
+ >
1678
+ > ## odata-to-abstract-sql-5.7.0
1679
+ > ### (2022-11-24)
1680
+ >
1681
+ >
1682
+ > <details>
1683
+ > <summary> Update dependencies [fisehara] </summary>
1684
+ >
1685
+ >> ### abstract-sql-compiler-7.22.0
1686
+ >> #### (2022-11-23)
1687
+ >>
1688
+ >> * Fix date fields used inside arithmetic expressions [fisehara]
1689
+ >>
1690
+ >> ### abstract-sql-compiler-7.21.1
1691
+ >> #### (2022-11-22)
1692
+ >>
1693
+ >> * Add support for getting the modified fields of an aliased query [Pagan Gazzard]
1694
+ >>
1695
+ > </details>
1696
+ >
1697
+ >
1698
+ </details>
1699
+
1700
+ # v14.52.2
1701
+ ## (2022-11-22)
1702
+
1703
+
1704
+ <details>
1705
+ <summary> Use minimized aliases when not in debug mode for smaller queries [Pagan Gazzard] </summary>
1706
+
1707
+ > ## abstract-sql-compiler-7.21.1
1708
+ > ### (2022-11-22)
1709
+ >
1710
+ > * Add support for getting the modified fields of an aliased query [Pagan Gazzard]
1711
+ >
1712
+ > ## odata-to-abstract-sql-5.6.2
1713
+ > ### (2022-11-22)
1714
+ >
1715
+ > * Fix replacing an aliased resource select with bind vars for inserts [Pagan Gazzard]
1716
+ >
1717
+ > ## odata-to-abstract-sql-5.6.1
1718
+ > ### (2022-11-22)
1719
+ >
1720
+ > * Update dependencies [Pagan Gazzard]
1721
+ >
1722
+ > ## odata-to-abstract-sql-5.6.0
1723
+ > ### (2022-11-22)
1724
+ >
1725
+ > * Add an option to always use minimized aliases [Pagan Gazzard]
1726
+ >
1727
+ > ## odata-to-abstract-sql-5.5.1
1728
+ > ### (2022-10-14)
1729
+ >
1730
+ > * Switch from balenaCI to flowzone [Pagan Gazzard]
1731
+ >
1732
+ </details>
1733
+
1734
+ # v14.52.1
1735
+ ## (2022-11-20)
1736
+
1737
+ * Update @balena/abstract-sql-compiler from 7.20.0 to 7.21.0 [Josh Bowling]
1738
+
1739
+ # v14.52.0
1740
+ ## (2022-11-18)
1741
+
1742
+
1743
+ <details>
1744
+ <summary> Support `$count: { $filter: {...} }` notation in $filter & $orderby [Thodoris Greasidis] </summary>
1745
+
1746
+ > ## pinejs-client-js-6.12.2
1747
+ > ### (2022-11-18)
1748
+ >
1749
+ > * Fix `$orderby: { a: { $count: ... }, $dir: 'asc' }` typings [Thodoris Greasidis]
1750
+ >
1751
+ > ## pinejs-client-js-6.12.1
1752
+ > ### (2022-11-15)
1753
+ >
1754
+ > * Update TypeScript to 4.9.3 [Thodoris Greasidis]
1755
+ >
1756
+ > ## pinejs-client-js-6.12.0
1757
+ > ### (2022-11-10)
1758
+ >
1759
+ > * Deprecate the 'a/count' notation in $orderby [Thodoris Greasidis]
1760
+ > * Deprecate the $count: { $op: number } notation [Thodoris Greasidis]
1761
+ > * Add support for `$filter: { $op: [{ $count: {} }, number] }` notation [Thodoris Greasidis]
1762
+ >
1763
+ > ## pinejs-client-js-6.11.0
1764
+ > ### (2022-11-09)
1765
+ >
1766
+ > * Deprecate non-$filter props inside `$expand: { a: { $count: {...}}}` [Thodoris Greasidis]
1767
+ > * Add support for `$orderby: { a: { $count: ... }, $dir: 'asc' }` notation [Thodoris Greasidis]
1768
+ >
1769
+ > ## pinejs-client-js-6.10.7
1770
+ > ### (2022-11-07)
1771
+ >
1772
+ > * Refactor the deprecation message definitions [Thodoris Greasidis]
1773
+ >
1774
+ > ## pinejs-client-js-6.10.6
1775
+ > ### (2022-11-01)
1776
+ >
1777
+ > * tests: Support `.only` & `.skip` in the higher level test functions [Thodoris Greasidis]
1778
+ >
1779
+ > ## pinejs-client-js-6.10.5
1780
+ > ### (2022-10-14)
1781
+ >
1782
+ > * Flowzone: Use inherited secrets [Pagan Gazzard]
1783
+ >
1784
+ > ## pinejs-client-js-6.10.4
1785
+ > ### (2022-09-26)
1786
+ >
1787
+ > * Specify node 10 as the minimum supported node engine in the package.json [Thodoris Greasidis]
1788
+ > * Replace balenaCI with flowzone [Thodoris Greasidis]
1789
+ >
1790
+ > ## pinejs-client-js-6.10.3
1791
+ > ### (2022-09-15)
1792
+ >
1793
+ > * Fix $count typings to only allow $filter under it [Thodoris Greasidis]
1794
+ >
1795
+ </details>
1796
+
1797
+ # v14.51.8
1798
+ ## (2022-11-17)
1799
+
1800
+ * Docs: Remove todo.txt [Josh Bowling]
1801
+
1802
+ # v14.51.7
1803
+ ## (2022-11-16)
1804
+
1805
+ * Docs: Update/fix project config doc [Josh Bowling]
1806
+
1807
+ # v14.51.6
1808
+ ## (2022-11-16)
1809
+
1810
+ * Docs: Update/fix getting started doc [Josh Bowling]
1811
+
1812
+ # v14.51.5
1813
+ ## (2022-11-16)
1814
+
1815
+ * Docs: Update/fix advanced usage doc [Josh Bowling]
1816
+
1817
+ # v14.51.4
1818
+ ## (2022-11-15)
1819
+
1820
+ * Update TypeScript to 4.9.3 [Thodoris Greasidis]
1821
+
1822
+ # v14.51.3
1823
+ ## (2022-11-07)
1824
+
1825
+ * Change docker-compose sut spin up for node version testing. [fisehara]
1826
+
1827
+ # v14.51.2
1828
+ ## (2022-11-02)
1829
+
1830
+ * Docs: Improve getting started doc [Josh Bowling]
1831
+
1832
+ # v14.51.1
1833
+ ## (2022-11-01)
1834
+
1835
+ * Docs: Fix TypeScript getting started example [Josh Bowling]
1836
+
1837
+ # v14.51.0
1838
+ ## (2022-09-16)
1839
+
1840
+ * Update lodash typings [Thodoris Greasidis]
1841
+
1842
+ <details>
1843
+ <summary> Add support for `/$count` with nested `$filter` in $orderby & $orderby [Thodoris Greasidis] </summary>
1844
+
1845
+ > ## odata-parser-2.4.0
1846
+ > ### (2022-09-15)
1847
+ >
1848
+ > * Add support for `/$count` with nested `$filter` in $orderby & $orderby [Thodoris Greasidis]
1849
+ >
1850
+ </details>
1851
+
1852
+ # v14.50.0
1853
+ ## (2022-09-09)
1854
+
1855
+ * Add async migrator [Harald Fischer]
1856
+
1857
+ # v14.49.6
1858
+ ## (2022-09-09)
1859
+
1860
+ * Remove docker hub credentials from flow zone job Set docker_image explicitly to empty to skip push [Harald Fischer]
1861
+
1862
+ # v14.49.5
1863
+ ## (2022-09-08)
1864
+
1865
+ * Enable flowzone branch protection [Pagan Gazzard]
1866
+
1867
+ # v14.49.4
1868
+ ## (2022-09-08)
1869
+
1870
+ * Remove prepublishOnly lint step [Pagan Gazzard]
1871
+
1872
+ # v14.49.3
1873
+ ## (2022-09-08)
1874
+
1875
+ * Replace balena ci with flowzone [fisehara]
1876
+
1877
+ # v14.49.2
1878
+ ## (2022-08-26)
1879
+
1880
+ * Fixing issue reported by tsc 4.8.2 [Harald Fischer]
1881
+
1882
+ # v14.49.1
1883
+ ## (2022-08-08)
1884
+
1885
+ * Lazily define read-only hook args to avoid doing so unnecessarily [Pagan Gazzard]
1886
+
1887
+ # v14.49.0
1888
+ ## (2022-08-04)
1889
+
1890
+ * Make checking that read-only TX queries are SELECT queries optional [Pagan Gazzard]
1891
+ * Differentiate typings between parsed and processed odata requests [Pagan Gazzard]
1892
+
1893
+ # v14.48.0
1894
+ ## (2022-07-26)
1895
+
1896
+ * Refactur checkModelExists to isModelNew [Harald Fischer]
1897
+
1898
+ # v14.47.6
1899
+ ## (2022-07-26)
1900
+
1901
+ * Fix synonyms iteration [Pagan Gazzard]
1902
+
1903
+ # v14.47.5
1904
+ ## (2022-07-26)
1905
+
1906
+ * Prefer for..of over forEach [Pagan Gazzard]
1907
+
1908
+ # v14.47.4
1909
+ ## (2022-07-25)
1910
+
1911
+ * Convert lodash flatMap/flatten to native versions [Pagan Gazzard]
1912
+
1913
+ # v14.47.3
1914
+ ## (2022-07-25)
1915
+
1916
+ * Convert lodash `isObject` usage to native versions [Pagan Gazzard]
1917
+
1918
+ # v14.47.2
1919
+ ## (2022-07-21)
1920
+
1921
+ * Narrow the scope of the permissions bypass for root permissions [Pagan Gazzard]
1922
+
1923
+ # v14.47.1
1924
+ ## (2022-07-21)
1925
+
1926
+ * Increase strictness of typings [Pagan Gazzard]
1927
+
1928
+ # v14.47.0
1929
+ ## (2022-07-14)
1930
+
1931
+ * Allow PRERESPOND hooks to modify the response [Pagan Gazzard]
1932
+
1933
+ # v14.46.1
1934
+ ## (2022-07-08)
1935
+
1936
+
1937
+ <details>
1938
+ <summary> Update @balena/odata-to-abstract-sql to 5.4.12 [Thodoris Greasidis] </summary>
1939
+
1940
+ > ## odata-to-abstract-sql-5.4.12
1941
+ > ### (2022-06-03)
1942
+ >
1943
+ > * Use nullish coalescing when sensible [Pagan Gazzard]
1944
+ >
1945
+ </details>
1946
+
1947
+ # v14.46.0
1948
+ ## (2022-06-21)
1949
+
1950
+ * Fix for passport.js update 0.6.0 [Harald Fischer]
1951
+
1952
+ # v14.45.1
1953
+ ## (2022-06-08)
1954
+
1955
+
1956
+ <details>
1957
+ <summary> Update dependencies [Pagan Gazzard] </summary>
1958
+
1959
+ > ## odata-parser-2.3.0
1960
+ > ### (2022-06-06)
1961
+ >
1962
+ > * Add source map [Pagan Gazzard]
1963
+ >
1964
+ > ## odata-to-abstract-sql-5.4.12
1965
+ > ### (2022-06-03)
1966
+ >
1967
+ > * Use nullish coalescing when sensible [Pagan Gazzard]
1968
+ >
1969
+ </details>
1970
+
1971
+ # v14.45.0
1972
+ ## (2022-06-03)
1973
+
1974
+ * Generalisation and decouple migrator functions. Prepare for migration categories. [Harald Fischer]
1975
+
1976
+ # v14.44.0
1977
+ ## (2022-05-30)
1978
+
1979
+ * permissions: Add optional transaction param to user & api key methods [Thodoris Greasidis]
1980
+
1981
+ # v14.43.6
1982
+ ## (2022-05-27)
1983
+
1984
+ * Update typescript to 4.7 [Thodoris Greasidis]
1985
+
1986
+ # v14.43.5
1987
+ ## (2022-05-20)
1988
+
1989
+
1990
+ <details>
1991
+ <summary> Update dependencies [Pagan Gazzard] </summary>
1992
+
1993
+ > ## abstract-sql-compiler-7.20.0
1994
+ > ### (2022-05-19)
1995
+ >
1996
+ > * Expose `isAliasNode` helper [Pagan Gazzard]
1997
+ >
1998
+ > ## odata-to-abstract-sql-5.4.11
1999
+ > ### (2022-05-19)
2000
+ >
2001
+ > * Improve support for computed fields by respecting them in more places [Pagan Gazzard]
2002
+ >
2003
+ > ## odata-to-abstract-sql-5.4.10
2004
+ > ### (2022-05-19)
2005
+ >
2006
+ >
2007
+ > <details>
2008
+ > <summary> Update dependencies [Pagan Gazzard] </summary>
2009
+ >
2010
+ >> ### abstract-sql-compiler-7.20.0
2011
+ >> #### (2022-05-19)
2012
+ >>
2013
+ >> * Expose `isAliasNode` helper [Pagan Gazzard]
2014
+ >>
2015
+ >> ### abstract-sql-compiler-7.19.1
2016
+ >> #### (2022-04-08)
2017
+ >>
2018
+ >>
2019
+ >> <details>
2020
+ >> <summary> Update dependencies [Pagan Gazzard] </summary>
2021
+ >>
2022
+ >>> #### sbvr-types-3.4.7
2023
+ >>> ##### (2022-04-08)
2024
+ >>>
2025
+ >>> * Update dependencies [Pagan Gazzard]
2026
+ >>> * Remove circleci [Pagan Gazzard]
2027
+ >>>
2028
+ >>> #### sbvr-types-3.4.6
2029
+ >>> ##### (2021-09-21)
2030
+ >>>
2031
+ >>> * Avoid creating a new Date object when we already have one [Pagan Gazzard]
2032
+ >>>
2033
+ >> </details>
2034
+ >>
2035
+ >>
2036
+ > </details>
2037
+ >
2038
+ >
2039
+ </details>
2040
+
2041
+ # v14.43.4
2042
+ ## (2022-05-18)
2043
+
2044
+ * Only remove constrained aliases when they match the field name [Pagan Gazzard]
2045
+
2046
+ # v14.43.3
2047
+ ## (2022-05-16)
2048
+
2049
+ * Use the modern definition format for permission constrained definitions [Pagan Gazzard]
2050
+
2051
+ # v14.43.2
2052
+ ## (2022-05-12)
2053
+
2054
+ * Update to webpack 5 [Pagan Gazzard]
2055
+
2056
+ # v14.43.1
2057
+ ## (2022-05-12)
2058
+
2059
+ * Simplify check for read-only hooks [Pagan Gazzard]
2060
+
2061
+ # v14.43.0
2062
+ ## (2022-04-28)
2063
+
2064
+ * inital test framework for pinejs [Harald Fischer]
2065
+
2066
+ ## 14.42.2 - 2022-04-20
2067
+
2068
+ * Use the db engine from the existing request when getting affected ids [Pagan Gazzard]
2069
+
2070
+ ## 14.42.1 - 2022-04-20
2071
+
2072
+
2073
+ <details>
2074
+ <summary> Update dependencies [Pagan Gazzard] </summary>
2075
+
2076
+ > ### abstract-sql-compiler-7.19.1 - 2022-04-08
2077
+ >
2078
+ >
2079
+ > <details>
2080
+ > <summary> Update dependencies [Pagan Gazzard] </summary>
2081
+ >
2082
+ >> #### sbvr-types-3.4.7 - 2022-04-08
2083
+ >>
2084
+ >> * Update dependencies [Pagan Gazzard]
2085
+ >> * Remove circleci [Pagan Gazzard]
2086
+ >>
2087
+ >> #### sbvr-types-3.4.6 - 2021-09-21
2088
+ >>
2089
+ >> * Avoid creating a new Date object when we already have one [Pagan Gazzard]
2090
+ >>
2091
+ > </details>
2092
+ >
2093
+ >
2094
+ > ### abstract-sql-to-typescript-1.2.0 - 2022-04-15
2095
+ >
2096
+ > * Add support for reverse references using relationships info [Pagan Gazzard]
2097
+ >
2098
+ > ### abstract-sql-to-typescript-1.1.2 - 2022-04-08
2099
+ >
2100
+ >
2101
+ > <details>
2102
+ > <summary> Update dependencies [Pagan Gazzard] </summary>
2103
+ >
2104
+ >> #### odata-to-abstract-sql-5.4.9 - 2022-04-08
2105
+ >>
2106
+ >>
2107
+ >> <details>
2108
+ >> <summary> Update dependencies [Pagan Gazzard] </summary>
2109
+ >>
2110
+ >>> ##### abstract-sql-compiler-7.19.0 - 2022-03-24
2111
+ >>>
2112
+ >>> * Remove .circleci/config.yml [Thodoris Greasidis]
2113
+ >>> * Add support for `ConcatenateWithSeparator` nodes [Thodoris Greasidis]
2114
+ >>>
2115
+ >>> ##### abstract-sql-compiler-7.18.0 - 2022-02-16
2116
+ >>>
2117
+ >>> * Add reference property type [Harald Fischer]
2118
+ >>>
2119
+ >>> ##### abstract-sql-compiler-7.17.1 - 2022-01-24
2120
+ >>>
2121
+ >>> * Avoid the operation type optimization for HAVING clauses [Pagan Gazzard]
2122
+ >>>
2123
+ >>> ##### odata-parser-2.2.9 - 2022-04-08
2124
+ >>>
2125
+ >>> * Update dependencies [Pagan Gazzard]
2126
+ >>> * Remove circleci [Pagan Gazzard]
2127
+ >>>
2128
+ >> </details>
2129
+ >>
2130
+ >> * Remove circleci [Pagan Gazzard]
2131
+ >>
2132
+ >> #### odata-to-abstract-sql-5.4.8 - 2022-01-13
2133
+ >>
2134
+ >> * Use the full alias for the prefix hash [Pagan Gazzard]
2135
+ >>
2136
+ >> #### odata-to-abstract-sql-5.4.7 - 2022-01-11
2137
+ >>
2138
+ >> * Use a hash instead of random str when it's necessary to shorten aliases [Pagan Gazzard]
2139
+ >>
2140
+ >> #### odata-to-abstract-sql-5.4.6 - Invalid date
2141
+ >>
2142
+ >> * Improve `ResourceFunction` typings [Pagan Gazzard]
2143
+ >>
2144
+ >> #### odata-to-abstract-sql-5.4.5 - 2021-11-26
2145
+ >>
2146
+ >> * Fix `isBindReference` check for non-null non-object types [Pagan Gazzard]
2147
+ >>
2148
+ >> #### odata-to-abstract-sql-5.4.4 - 2021-09-07
2149
+ >>
2150
+ >> * Convert tests to type checked javascript [Pagan Gazzard]
2151
+ >>
2152
+ >> #### odata-to-abstract-sql-5.4.3 - 2021-08-24
2153
+ >>
2154
+ >>
2155
+ >> <details>
2156
+ >> <summary> 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] </summary>
2157
+ >>
2158
+ >>> ##### abstract-sql-compiler-7.13.4 - 2021-08-17
2159
+ >>>
2160
+ >>> * Support for non postgres db engines [fisehara]
2161
+ >>>
2162
+ >>> ##### abstract-sql-compiler-7.13.3 - 2021-07-28
2163
+ >>>
2164
+ >>> * Supprt date_trunc postgres date function for DateValue [fisehara]
2165
+ >>>
2166
+ >>> ##### abstract-sql-compiler-7.13.2 - 2021-07-26
2167
+ >>>
2168
+ >>> * Update dependencies [Pagan Gazzard]
2169
+ >>>
2170
+ >>> ##### abstract-sql-compiler-7.13.1 - Invalid date
2171
+ >>>
2172
+ >>> * Delete CODEOWNERS [Thodoris Greasidis]
2173
+ >>>
2174
+ >>> ##### abstract-sql-compiler-7.13.0 - 2021-05-18
2175
+ >>>
2176
+ >>> * Add support for `CurrentTimestamp`/`CurrentDate` nodes [Pagan Gazzard]
2177
+ >>>
2178
+ >>> ##### abstract-sql-compiler-7.12.7 - 2021-05-18
2179
+ >>>
2180
+ >>>
2181
+ >>> <details>
2182
+ >>> <summary> Update sbvr-types to 3.4.3 [Thodoris Greasidis] </summary>
2183
+ >>>
2184
+ >>>> ###### sbvr-types-3.4.3 - 2021-05-11
2185
+ >>>>
2186
+ >>>> * Support boolean results from the db as well as integer [Pagan Gazzard]
2187
+ >>>>
2188
+ >>> </details>
2189
+ >>>
2190
+ >>>
2191
+ >>> ##### abstract-sql-compiler-7.12.6 - 2021-05-18
2192
+ >>>
2193
+ >>> * Allow duration seconds to be nullable [Pagan Gazzard]
2194
+ >>>
2195
+ >>> ##### abstract-sql-compiler-7.12.5 - 2021-05-18
2196
+ >>>
2197
+ >>> * Re-enable all tests [Pagan Gazzard]
2198
+ >>>
2199
+ >>> ##### abstract-sql-compiler-7.12.4 - 2021-05-04
2200
+ >>>
2201
+ >>> * Revert "Remove now unnecessary hack for casting SERIAL types" [Pagan Gazzard]
2202
+ >>>
2203
+ >>> ##### abstract-sql-compiler-7.12.3 - 2021-05-03
2204
+ >>>
2205
+ >>> * Remove now unnecessary hack for casting SERIAL types [Pagan Gazzard]
2206
+ >>>
2207
+ >>> ##### abstract-sql-compiler-7.12.2 - 2021-03-22
2208
+ >>>
2209
+ >>>
2210
+ >>> <details>
2211
+ >>> <summary> Update dependencies [Pagan Gazzard] </summary>
2212
+ >>>
2213
+ >>>> ###### sbvr-types-3.4.2 - 2021-03-22
2214
+ >>>>
2215
+ >>>> * Update dev dependencies [Pagan Gazzard]
2216
+ >>>>
2217
+ >>>> ###### sbvr-types-3.4.1 - 2021-02-10
2218
+ >>>>
2219
+ >>>> * Remove unnecessary native fact type entries for synonymous forms [Pagan Gazzard]
2220
+ >>>>
2221
+ >>>> ###### sbvr-types-3.4.0 - 2021-02-08
2222
+ >>>>
2223
+ >>>> * Add a `Current Time` name that can be used to refer to the current time [Pagan Gazzard]
2224
+ >>>>
2225
+ >>>> ###### sbvr-types-3.3.0 - 2021-02-05
2226
+ >>>>
2227
+ >>>> * Add `is before` & `is after` verbs to the Date & DateTime types [Thodoris Greasidis]
2228
+ >>>>
2229
+ >>>> ###### sbvr-types-3.2.0 - 2021-01-29
2230
+ >>>>
2231
+ >>>> * Add support for the `contains` verb to the text type [Thodoris Greasidis]
2232
+ >>>> * Add support for the`ends with` verb to the text type [Thodoris Greasidis]
2233
+ >>>> * Add support for the `starts with` verb to the text type [Thodoris Greasidis]
2234
+ >>>>
2235
+ >>> </details>
2236
+ >>>
2237
+ >>>
2238
+ >>> ##### abstract-sql-compiler-7.12.1 - 2021-03-22
2239
+ >>>
2240
+ >>> * Enable strict options by default and only disable specific ones [Pagan Gazzard]
2241
+ >>>
2242
+ >>> ##### abstract-sql-compiler-7.12.0 - 2021-03-05
2243
+ >>>
2244
+ >>> * Enable narrowing down create/delete referenced fields for nested exists [Pagan Gazzard]
2245
+ >>>
2246
+ >>> ##### abstract-sql-compiler-7.11.0 - 2021-03-01
2247
+ >>>
2248
+ >>> * Generalize/share the referenced fields code and cover more cases [Pagan Gazzard]
2249
+ >>>
2250
+ >>> ##### abstract-sql-compiler-7.10.2 - 2021-02-12
2251
+ >>>
2252
+ >>> * Fix `getModifiedFields` for `UpsertQuery`s [Pagan Gazzard]
2253
+ >>>
2254
+ >>> ##### abstract-sql-compiler-7.10.1 - 2021-01-29
2255
+ >>>
2256
+ >>> * Separate code relating to referenced fields out of the main file [Pagan Gazzard]
2257
+ >>>
2258
+ >>> ##### abstract-sql-compiler-7.10.0 - 2021-01-29
2259
+ >>>
2260
+ >>> * Add an `action` property to modified fields of create/update/delete [Pagan Gazzard]
2261
+ >>> * Automatically add `ruleReferencedFields` to `SqlRule`s [Pagan Gazzard]
2262
+ >>> * Add a `getRuleReferencedFields` which is tailored for rules [Pagan Gazzard]
2263
+ >>>
2264
+ >>> ##### abstract-sql-compiler-7.9.1 - 2021-01-29
2265
+ >>>
2266
+ >>> * Add test for optimizeSchema optimizing rules [Pagan Gazzard]
2267
+ >>>
2268
+ >>> ##### abstract-sql-compiler-7.9.0 - 2021-01-25
2269
+ >>>
2270
+ >>> * Optimize the abstract sql of rules when running `optimizeSchema` [Pagan Gazzard]
2271
+ >>>
2272
+ >>> ##### abstract-sql-compiler-7.8.2 - 2021-01-15
2273
+ >>>
2274
+ >>> * Fix schema optimizations when table and resource names are different [Pagan Gazzard]
2275
+ >>>
2276
+ >>> ##### abstract-sql-compiler-7.8.1 - 2021-01-04
2277
+ >>>
2278
+ >>> * Convert some lodash usage to native equivalents [Pagan Gazzard]
2279
+ >>>
2280
+ >>> ##### abstract-sql-compiler-7.8.0 - 2021-01-01
2281
+ >>>
2282
+ >>> * Optimize Is[Not]DistinctFrom and [Not]Exists for non-null values [Pagan Gazzard]
2283
+ >>>
2284
+ >>> ##### abstract-sql-compiler-7.7.0 - 2021-01-01
2285
+ >>>
2286
+ >>> * Optimize EXISTS/NOT EXISTS for empty queries [Pagan Gazzard]
2287
+ >>>
2288
+ >>> ##### abstract-sql-compiler-7.6.0 - 2021-01-01
2289
+ >>>
2290
+ >>> * Optimize away AND/ORs with false/true respectively [Pagan Gazzard]
2291
+ >>>
2292
+ >>> ##### abstract-sql-compiler-7.5.0 - 2021-01-01
2293
+ >>>
2294
+ >>> * Optimize out booleans from AND/OR where possible [Pagan Gazzard]
2295
+ >>>
2296
+ >> </details>
2297
+ >>
2298
+ >>
2299
+ >> #### odata-to-abstract-sql-5.4.2 - Invalid date
2300
+ >>
2301
+ >> * Delete CODEOWNERS [Thodoris Greasidis]
2302
+ >>
2303
+ > </details>
2304
+ >
2305
+ >
2306
+ > ### lf-to-abstract-sql-4.5.1 - 2022-04-08
2307
+ >
2308
+ >
2309
+ > <details>
2310
+ > <summary> Update dependencies [Pagan Gazzard] </summary>
2311
+ >
2312
+ >> #### sbvr-parser-1.4.1 - 2022-04-08
2313
+ >>
2314
+ >> * Update dependencies [Pagan Gazzard]
2315
+ >> * Remove circleci [Pagan Gazzard]
2316
+ >>
2317
+ > </details>
2318
+ >
2319
+ > * Remove circleci [Pagan Gazzard]
2320
+ >
2321
+ > ### odata-parser-2.2.9 - 2022-04-08
2322
+ >
2323
+ > * Update dependencies [Pagan Gazzard]
2324
+ > * Remove circleci [Pagan Gazzard]
2325
+ >
2326
+ > ### odata-to-abstract-sql-5.4.9 - 2022-04-08
2327
+ >
2328
+ >
2329
+ > <details>
2330
+ > <summary> Update dependencies [Pagan Gazzard] </summary>
2331
+ >
2332
+ >> #### abstract-sql-compiler-7.19.0 - 2022-03-24
2333
+ >>
2334
+ >> * Remove .circleci/config.yml [Thodoris Greasidis]
2335
+ >> * Add support for `ConcatenateWithSeparator` nodes [Thodoris Greasidis]
2336
+ >>
2337
+ >> #### abstract-sql-compiler-7.18.0 - 2022-02-16
2338
+ >>
2339
+ >> * Add reference property type [Harald Fischer]
2340
+ >>
2341
+ >> #### abstract-sql-compiler-7.17.1 - 2022-01-24
2342
+ >>
2343
+ >> * Avoid the operation type optimization for HAVING clauses [Pagan Gazzard]
2344
+ >>
2345
+ >> #### odata-parser-2.2.9 - 2022-04-08
2346
+ >>
2347
+ >> * Update dependencies [Pagan Gazzard]
2348
+ >> * Remove circleci [Pagan Gazzard]
2349
+ >>
2350
+ > </details>
2351
+ >
2352
+ > * Remove circleci [Pagan Gazzard]
2353
+ >
2354
+ > ### pinejs-client-js-6.10.2 - 2022-04-08
2355
+ >
2356
+ > * Update dependencies [Pagan Gazzard]
2357
+ > * Remove circleci [Pagan Gazzard]
2358
+ >
2359
+ > ### sbvr-parser-1.4.1 - 2022-04-08
2360
+ >
2361
+ > * Update dependencies [Pagan Gazzard]
2362
+ > * Remove circleci [Pagan Gazzard]
2363
+ >
2364
+ > ### sbvr-types-3.4.7 - 2022-04-08
2365
+ >
2366
+ > * Update dependencies [Pagan Gazzard]
2367
+ > * Remove circleci [Pagan Gazzard]
2368
+ >
2369
+ </details>
2370
+
2371
+ ## 14.42.0 - 2022-04-13
2372
+
2373
+ * Add an expiry date to 'api key' [Nitish Agarwal]
2374
+
2375
+ ## 14.41.2 - 2022-04-07
2376
+
2377
+ * Add link and npm package version badge [Harald Fischer]
2378
+
2379
+ ## 14.41.1 - 2022-04-01
2380
+
2381
+
2382
+ <details>
2383
+ <summary> Update dependencies [Pagan Gazzard] </summary>
2384
+
2385
+ > ### pinejs-client-js-6.10.1 - 2022-02-08
2386
+ >
2387
+ > * Do not await the _request() result to allow enhanced promises downstream [Thodoris Greasidis]
2388
+ >
2389
+ </details>
2390
+
2391
+ ## 14.41.0 - 2022-03-24
2392
+
2393
+
2394
+ <details>
2395
+ <summary> Update dependencies [Thodoris Greasidis] </summary>
2396
+
2397
+ > ### abstract-sql-compiler-7.19.0 - 2022-03-24
2398
+ >
2399
+ > * Remove .circleci/config.yml [Thodoris Greasidis]
2400
+ > * Add support for `ConcatenateWithSeparator` nodes [Thodoris Greasidis]
2401
+ >
2402
+ </details>
2403
+
2404
+ ## 14.40.2 - 2022-03-18
2405
+
2406
+ * Add logo and header to README [Lucian Buzzo]
2407
+
2408
+ ## 14.40.1 - 2022-03-18
2409
+
2410
+ * Fixed unneccessary @ts-expect-error + lint [Harald Fischer]
2411
+
2412
+ ## 14.40.0 - 2022-03-04
2413
+
2414
+
2415
+ <details>
2416
+ <summary> Update dependencies for referenceType [Harald Fischer] </summary>
2417
+
2418
+ > ### abstract-sql-compiler-7.18.0 - 2022-02-16
2419
+ >
2420
+ > * Add reference property type [Harald Fischer]
2421
+ >
2422
+ > ### lf-to-abstract-sql-4.5.0 - 2022-02-16
2423
+ >
2424
+ > * Reference property type for informative references [Harald Fischer]
2425
+ >
2426
+ > ### sbvr-parser-1.4.0 - 2022-02-16
2427
+ >
2428
+ > * Addind ReferenceType [Harald Fischer]
2429
+ >
2430
+ </details>
2431
+
2432
+ ## 14.39.2 - 2022-03-04
2433
+
2434
+ * Remove circle.yml [Pagan Gazzard]
2435
+
2436
+ ## 14.39.1 - 2022-02-08
2437
+
2438
+ * Use native version of Bluebird.using [Pagan Gazzard]
2439
+ * Use native version of Bluebird.try [Pagan Gazzard]
2440
+ * Use native version of Bluebird.timeout [Pagan Gazzard]
2441
+ * Use native version of Bluebird.fromCallback [Pagan Gazzard]
2442
+ * Use native version of Bluebird.delay [Pagan Gazzard]
2443
+ * Use native version of Bluebird.mapSeries [Pagan Gazzard]
2444
+
2445
+ ## 14.39.0 - 2022-02-07
2446
+
2447
+ * Add the ability to set the maxLifetimeSeconds for the postgres pool [Pagan Gazzard]
2448
+
2449
+ ## 14.38.3 - 2022-02-07
2450
+
2451
+
2452
+ <details>
2453
+ <summary> Update dependencies [Pagan Gazzard] </summary>
2454
+
2455
+ > ### abstract-sql-compiler-7.17.1 - 2022-01-24
2456
+ >
2457
+ > * Avoid the operation type optimization for HAVING clauses [Pagan Gazzard]
2458
+ >
2459
+ > ### pinejs-client-js-6.10.0 - 2022-01-24
2460
+ >
2461
+ > * Add optional retry logic to client [Paul Jonathan Zoulin]
2462
+ >
2463
+ </details>
2464
+
2465
+ ## 14.38.2 - 2022-01-24
2466
+
2467
+ * Fix permissions using `canAccess` that would fail if target resource specified no filter [Akis Kesoglou]
2468
+
2469
+ ## 14.38.1 - 2022-01-14
2470
+
2471
+ * Improve typings of databaseOptions parameter [Pagan Gazzard]
2472
+
2473
+ ## 14.38.0 - 2022-01-14
2474
+
2475
+ * Add the ability to set the maxUses for the postgres pool [Pagan Gazzard]
2476
+
2477
+ ## 14.37.2 - 2022-01-13
2478
+
2479
+ * Update @balena/odata-to-abstract-sql to 5.4.8 [Pagan Gazzard]
2480
+
2481
+ ## 14.37.1 - 2022-01-11
2482
+
2483
+ * Update dependencies [Pagan Gazzard]
2484
+
2485
+ ## 14.37.0 - 2021-12-16
2486
+
2487
+
2488
+ <details>
2489
+ <summary> Update dependencies for improved sbvr negation [Pagan Gazzard] </summary>
2490
+
2491
+ > ### abstract-sql-compiler-7.17.0 - 2021-12-14
2492
+ >
2493
+ > * Add support for `Count` nodes in rule referenced fields [Pagan Gazzard]
2494
+ >
2495
+ > ### abstract-sql-compiler-7.16.0 - 2021-12-14
2496
+ >
2497
+ > * Add support for `From` nodes in rule referenced fields [Pagan Gazzard]
2498
+ >
2499
+ > ### lf-to-abstract-sql-4.4.1 - 2021-12-16
2500
+ >
2501
+ > * Respect negated verbs for link tables and foreign keys [Pagan Gazzard]
2502
+ >
2503
+ > ### sbvr-parser-1.3.0 - 2021-12-16
2504
+ >
2505
+ > * Add support for more forms of negation in rules [Pagan Gazzard]
2506
+ > * Do not check for negated verbs when declaring fact types [Pagan Gazzard]
2507
+ >
2508
+ </details>
2509
+
2510
+ ## 14.36.1 - 2021-12-13
2511
+
2512
+
2513
+ <details>
2514
+ <summary> Update dependencies [Pagan Gazzard] </summary>
2515
+
2516
+ > ### abstract-sql-compiler-7.15.0 - 2021-12-13
2517
+ >
2518
+ > * Add support for `HAVING` clauses [Pagan Gazzard]
2519
+ >
2520
+ > ### abstract-sql-compiler-7.14.2 - 2021-12-13
2521
+ >
2522
+ > * Fix GroupByNode typings [Pagan Gazzard]
2523
+ >
2524
+ </details>
2525
+
2526
+ ## 14.36.0 - 2021-12-10
2527
+
2528
+ * Add the ability to enable caching of api key actor ids [Pagan Gazzard]
2529
+
2530
+ ## 14.35.1 - 2021-12-06
2531
+
2532
+ * Update from lf-to-abstract-sql to 4.4.0 [Pagan Gazzard]
2533
+
2534
+ ## 14.35.0 - 2021-12-01
2535
+
2536
+
2537
+ <details>
2538
+ <summary> Add support for circular `canAccess` permissions using a depth argument [Pagan Gazzard] </summary>
2539
+
2540
+ > ### odata-to-abstract-sql-5.4.6 - 2021-11-30
2541
+ >
2542
+ > * Improve `ResourceFunction` typings [Pagan Gazzard]
2543
+ >
2544
+ > ### odata-to-abstract-sql-5.4.5 - 2021-11-26
2545
+ >
2546
+ > * Fix `isBindReference` check for non-null non-object types [Pagan Gazzard]
2547
+ >
2548
+ </details>
2549
+
2550
+ ## 14.34.2 - 2021-11-30
2551
+
2552
+ * Add missing await [Pagan Gazzard]
2553
+
2554
+ ## 14.34.1 - 2021-11-30
2555
+
2556
+ * Fix env var name in warning message [Pagan Gazzard]
2557
+
2558
+ ## 14.34.0 - 2021-11-16
2559
+
2560
+ * Allow specifying a replica to use for read-only postgres requests [Pagan Gazzard]
2561
+
2562
+ ## 14.33.3 - 2021-11-15
2563
+
2564
+ * Use the env pool settings as defaults only if not explicitly provided [Pagan Gazzard]
2565
+
2566
+ ## 14.33.2 - 2021-10-26
2567
+
2568
+
2569
+ <details>
2570
+ <summary> Update dependencies [Pagan Gazzard] </summary>
2571
+
2572
+ > ### abstract-sql-compiler-7.14.1 - 2021-09-23
2573
+ >
2574
+ > * Improve typing for `LikeNode` [Pagan Gazzard]
2575
+ >
2576
+ > ### sbvr-types-3.4.6 - 2021-09-21
2577
+ >
2578
+ > * Avoid creating a new Date object when we already have one [Pagan Gazzard]
2579
+ >
2580
+ </details>
2581
+
2582
+ ## 14.33.1 - 2021-10-14
2583
+
2584
+ * Add an error handler to each pg client to prevent any unhandled errors [Pagan Gazzard]
2585
+
2586
+ ## 14.33.0 - 2021-10-14
2587
+
2588
+ * Add the ability to enable caching of api key permissions [Pagan Gazzard]
2589
+ * Add the ability to enable caching of user permissions [Pagan Gazzard]
2590
+
2591
+ ## 14.32.0 - 2021-10-14
2592
+
2593
+ * Allow passing a function as the cache params to enable custom caching [Pagan Gazzard]
2594
+
2595
+ ## 14.31.2 - 2021-10-05
2596
+
2597
+ * Add the postgres pool error handler even when no PG_SCHEMA is specified [Pagan Gazzard]
2598
+
2599
+ ## 14.31.1 - 2021-09-30
2600
+
2601
+ * More usage of nullish coalescing [Pagan Gazzard]
2602
+
2603
+ ## 14.31.0 - 2021-09-29
2604
+
2605
+ * Add support for a `PINEJS_DEBUG` env var that is more strictly checked [Pagan Gazzard]
2606
+
2607
+ ## 14.30.4 - 2021-09-29
2608
+
2609
+ * Avoid creating a new readOnlyArgs object when args is already read-only [Pagan Gazzard]
2610
+
2611
+ ## 14.30.3 - 2021-09-13
2612
+
2613
+
2614
+ <details>
2615
+ <summary> Update abstract-sql-compiler to 7.14.0 [Pagan Gazzard] </summary>
2616
+
2617
+ > ### abstract-sql-compiler-7.14.0 - 2021-09-13
2618
+ >
2619
+ > * Relax the restrictions on `ORDER BY` as it doesn't just allow fields [Pagan Gazzard]
2620
+ >
2621
+ </details>
2622
+
2623
+ ## 14.30.2 - 2021-09-13
2624
+
2625
+ * Avoid iterating the sql result if affectedIds is already populated [Pagan Gazzard]
2626
+
2627
+ ## 14.30.1 - 2021-09-13
2628
+
2629
+
2630
+ <details>
2631
+ <summary> Update dependencies [Pagan Gazzard] </summary>
2632
+
2633
+ > ### abstract-sql-compiler-7.13.5 - 2021-09-07
2634
+ >
2635
+ > * Update dependencies [Pagan Gazzard]
2636
+ >
2637
+ > ### abstract-sql-compiler-7.13.4 - 2021-08-17
2638
+ >
2639
+ > * Support for non postgres db engines [fisehara]
2640
+ >
2641
+ > ### abstract-sql-compiler-7.13.3 - 2021-07-28
2642
+ >
2643
+ > * Supprt date_trunc postgres date function for DateValue [fisehara]
2644
+ >
2645
+ > ### abstract-sql-compiler-7.13.2 - 2021-07-26
2646
+ >
2647
+ > * Update dependencies [Pagan Gazzard]
2648
+ >
2649
+ > ### odata-parser-2.2.8 - 2021-09-07
2650
+ >
2651
+ > * Remove some typescript strict mode exceptions [Pagan Gazzard]
2652
+ >
2653
+ > ### odata-parser-2.2.7 - 2021-09-06
2654
+ >
2655
+ > * Convert tests to type checked javascript [Pagan Gazzard]
2656
+ >
2657
+ > ### odata-to-abstract-sql-5.4.4 - 2021-09-07
2658
+ >
2659
+ > * Convert tests to type checked javascript [Pagan Gazzard]
2660
+ >
2661
+ > ### odata-to-abstract-sql-5.4.3 - 2021-08-24
2662
+ >
2663
+ >
2664
+ > <details>
2665
+ > <summary> 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] </summary>
2666
+ >
2667
+ >> #### abstract-sql-compiler-7.13.4 - 2021-08-17
2668
+ >>
2669
+ >> * Support for non postgres db engines [fisehara]
2670
+ >>
2671
+ >> #### abstract-sql-compiler-7.13.3 - 2021-07-28
2672
+ >>
2673
+ >> * Supprt date_trunc postgres date function for DateValue [fisehara]
2674
+ >>
2675
+ >> #### abstract-sql-compiler-7.13.2 - 2021-07-26
2676
+ >>
2677
+ >> * Update dependencies [Pagan Gazzard]
2678
+ >>
2679
+ >> #### abstract-sql-compiler-7.13.1 - 2021-06-30
2680
+ >>
2681
+ >> * Delete CODEOWNERS [Thodoris Greasidis]
2682
+ >>
2683
+ >> #### abstract-sql-compiler-7.13.0 - 2021-05-18
2684
+ >>
2685
+ >> * Add support for `CurrentTimestamp`/`CurrentDate` nodes [Pagan Gazzard]
2686
+ >>
2687
+ >> #### abstract-sql-compiler-7.12.7 - 2021-05-18
2688
+ >>
2689
+ >>
2690
+ >> <details>
2691
+ >> <summary> Update sbvr-types to 3.4.3 [Thodoris Greasidis] </summary>
2692
+ >>
2693
+ >>> ##### sbvr-types-3.4.3 - 2021-05-11
2694
+ >>>
2695
+ >>> * Support boolean results from the db as well as integer [Pagan Gazzard]
2696
+ >>>
2697
+ >> </details>
2698
+ >>
2699
+ >>
2700
+ >> #### abstract-sql-compiler-7.12.6 - 2021-05-18
2701
+ >>
2702
+ >> * Allow duration seconds to be nullable [Pagan Gazzard]
2703
+ >>
2704
+ >> #### abstract-sql-compiler-7.12.5 - 2021-05-18
2705
+ >>
2706
+ >> * Re-enable all tests [Pagan Gazzard]
2707
+ >>
2708
+ >> #### abstract-sql-compiler-7.12.4 - 2021-05-04
2709
+ >>
2710
+ >> * Revert "Remove now unnecessary hack for casting SERIAL types" [Pagan Gazzard]
2711
+ >>
2712
+ >> #### abstract-sql-compiler-7.12.3 - 2021-05-03
2713
+ >>
2714
+ >> * Remove now unnecessary hack for casting SERIAL types [Pagan Gazzard]
2715
+ >>
2716
+ >> #### abstract-sql-compiler-7.12.2 - 2021-03-22
2717
+ >>
2718
+ >>
2719
+ >> <details>
2720
+ >> <summary> Update dependencies [Pagan Gazzard] </summary>
2721
+ >>
2722
+ >>> ##### sbvr-types-3.4.2 - 2021-03-22
2723
+ >>>
2724
+ >>> * Update dev dependencies [Pagan Gazzard]
2725
+ >>>
2726
+ >>> ##### sbvr-types-3.4.1 - 2021-02-10
2727
+ >>>
2728
+ >>> * Remove unnecessary native fact type entries for synonymous forms [Pagan Gazzard]
2729
+ >>>
2730
+ >>> ##### sbvr-types-3.4.0 - 2021-02-08
2731
+ >>>
2732
+ >>> * Add a `Current Time` name that can be used to refer to the current time [Pagan Gazzard]
2733
+ >>>
2734
+ >>> ##### sbvr-types-3.3.0 - 2021-02-05
2735
+ >>>
2736
+ >>> * Add `is before` & `is after` verbs to the Date & DateTime types [Thodoris Greasidis]
2737
+ >>>
2738
+ >>> ##### sbvr-types-3.2.0 - 2021-01-29
2739
+ >>>
2740
+ >>> * Add support for the `contains` verb to the text type [Thodoris Greasidis]
2741
+ >>> * Add support for the`ends with` verb to the text type [Thodoris Greasidis]
2742
+ >>> * Add support for the `starts with` verb to the text type [Thodoris Greasidis]
2743
+ >>>
2744
+ >> </details>
2745
+ >>
2746
+ >>
2747
+ >> #### abstract-sql-compiler-7.12.1 - 2021-03-22
2748
+ >>
2749
+ >> * Enable strict options by default and only disable specific ones [Pagan Gazzard]
2750
+ >>
2751
+ >> #### abstract-sql-compiler-7.12.0 - 2021-03-05
2752
+ >>
2753
+ >> * Enable narrowing down create/delete referenced fields for nested exists [Pagan Gazzard]
2754
+ >>
2755
+ >> #### abstract-sql-compiler-7.11.0 - 2021-03-01
2756
+ >>
2757
+ >> * Generalize/share the referenced fields code and cover more cases [Pagan Gazzard]
2758
+ >>
2759
+ >> #### abstract-sql-compiler-7.10.2 - 2021-02-12
2760
+ >>
2761
+ >> * Fix `getModifiedFields` for `UpsertQuery`s [Pagan Gazzard]
2762
+ >>
2763
+ >> #### abstract-sql-compiler-7.10.1 - 2021-01-29
2764
+ >>
2765
+ >> * Separate code relating to referenced fields out of the main file [Pagan Gazzard]
2766
+ >>
2767
+ >> #### abstract-sql-compiler-7.10.0 - 2021-01-29
2768
+ >>
2769
+ >> * Add an `action` property to modified fields of create/update/delete [Pagan Gazzard]
2770
+ >> * Automatically add `ruleReferencedFields` to `SqlRule`s [Pagan Gazzard]
2771
+ >> * Add a `getRuleReferencedFields` which is tailored for rules [Pagan Gazzard]
2772
+ >>
2773
+ >> #### abstract-sql-compiler-7.9.1 - 2021-01-29
2774
+ >>
2775
+ >> * Add test for optimizeSchema optimizing rules [Pagan Gazzard]
2776
+ >>
2777
+ >> #### abstract-sql-compiler-7.9.0 - 2021-01-25
2778
+ >>
2779
+ >> * Optimize the abstract sql of rules when running `optimizeSchema` [Pagan Gazzard]
2780
+ >>
2781
+ >> #### abstract-sql-compiler-7.8.2 - 2021-01-15
2782
+ >>
2783
+ >> * Fix schema optimizations when table and resource names are different [Pagan Gazzard]
2784
+ >>
2785
+ >> #### abstract-sql-compiler-7.8.1 - 2021-01-04
2786
+ >>
2787
+ >> * Convert some lodash usage to native equivalents [Pagan Gazzard]
2788
+ >>
2789
+ >> #### abstract-sql-compiler-7.8.0 - 2021-01-01
2790
+ >>
2791
+ >> * Optimize Is[Not]DistinctFrom and [Not]Exists for non-null values [Pagan Gazzard]
2792
+ >>
2793
+ >> #### abstract-sql-compiler-7.7.0 - 2021-01-01
2794
+ >>
2795
+ >> * Optimize EXISTS/NOT EXISTS for empty queries [Pagan Gazzard]
2796
+ >>
2797
+ >> #### abstract-sql-compiler-7.6.0 - 2021-01-01
2798
+ >>
2799
+ >> * Optimize away AND/ORs with false/true respectively [Pagan Gazzard]
2800
+ >>
2801
+ >> #### abstract-sql-compiler-7.5.0 - 2021-01-01
2802
+ >>
2803
+ >> * Optimize out booleans from AND/OR where possible [Pagan Gazzard]
2804
+ >>
2805
+ > </details>
2806
+ >
2807
+ >
2808
+ > ### sbvr-types-3.4.5 - 2021-09-07
2809
+ >
2810
+ > * Convert tests to type checked javascript [Pagan Gazzard]
2811
+ >
2812
+ </details>
2813
+
2814
+ ## 14.30.0 - 2021-09-07
2815
+
2816
+ * Add method for getting transaction level advisory locks in Postgresql [Thodoris Greasidis]
2817
+
2818
+ ## 14.29.1 - 2021-09-07
2819
+
2820
+ * Update typescript to 4.4 [Thodoris Greasidis]
2821
+
2822
+ ## 14.29.0 - 2021-08-24
2823
+
2824
+ * Use readTransaction for read-only requests [Pagan Gazzard]
2825
+
2826
+ ## 14.28.0 - 2021-07-19
2827
+
2828
+ * Export a `handleHttpErrors` function to handle HttpError/subclasses [Pagan Gazzard]
2829
+
2830
+ ## 14.27.2 - 2021-07-19
2831
+
2832
+ * Avoid unnecessary work when a request's permission type is specified [Pagan Gazzard]
2833
+
2834
+ ## 14.27.1 - 2021-07-16
2835
+
2836
+ * Simplify `splitApiRoot` [Pagan Gazzard]
2837
+ * Deduplicate code when processing an expanded response [Pagan Gazzard]
2838
+
2839
+ ## 14.27.0 - 2021-07-16
2840
+
2841
+ * Use `res.status(...).end()` in preference to `res.sendStatus()` [Pagan Gazzard]
2842
+
2843
+ ## 14.26.3 - 2021-07-15
2844
+
2845
+ * patch: Add single quotes for single entity curl requests [Muizudeen Kusimo]
2846
+ * patch: Add quotes for single entity curl requests [Muizudeen Kusimo]
2847
+
2848
+ ## 14.26.2 - 2021-07-15
2849
+
2850
+ * Fix Minor Typo in GettingStarted.md [Matthew Yarmolinsky]
2851
+
2852
+ ## 14.26.1 - 2021-07-13
2853
+
2854
+ * Standardize http error to response conversion and response sending [Pagan Gazzard]
2855
+
2856
+ ## 14.26.0 - 2021-07-13
2857
+
2858
+ * Add the ability to include headers with http errors [Pagan Gazzard]
2859
+
2860
+ ## 14.25.2 - 2021-07-13
2861
+
2862
+ * Reduce duplication for http error constructors [Pagan Gazzard]
2863
+
2864
+ ## 14.25.1 - 2021-07-09
2865
+
2866
+
2867
+ <details>
2868
+ <summary> Update dependencies [Pagan Gazzard] </summary>
2869
+
2870
+ > ### odata-parser-2.2.6 - 2021-07-09
2871
+ >
2872
+ > * Switch to peggy for compiling the grammar [Pagan Gazzard]
2873
+ >
2874
+ </details>
2875
+
2876
+ ## 14.25.0 - 2021-07-08
2877
+
2878
+
2879
+ <details>
2880
+ <summary> Bump dependencies to add `is of` reverse relationship for concept types [Thodoris Greasidis] </summary>
2881
+
2882
+ > ### lf-to-abstract-sql-4.3.0 - 2021-07-06
2883
+ >
2884
+ > * Add an automatic `is of` reverse relationship for concept types [Pagan Gazzard]
2885
+ >
2886
+ </details>
2887
+
2888
+ ## 14.24.6 - 2021-07-06
2889
+
2890
+ * Fix Hooks URL [Matthew Yarmolinsky]
2891
+
2892
+ ## 14.24.5 - 2021-07-06
2893
+
2894
+ * Update user SBVR model URL [Matthew Yarmolinsky]
2895
+
2896
+ ## 14.24.4 - 2021-07-06
2897
+
2898
+ * Avoid concat/_.uniq calls in getReqPermissions [Pagan Gazzard]
2899
+ * Validate the guest permissions when caching rather than on each use [Pagan Gazzard]
2900
+ * Remove unnecessary code now that a request can only use a single actor [Pagan Gazzard]
2901
+
2902
+ ## 14.24.3 - 2021-07-02
2903
+
2904
+ * Optimize pre-processing of odata2AbstractSQL for improving cache hits [Pagan Gazzard]
2905
+
2906
+ ## 14.24.2 - 2021-06-30
2907
+
2908
+ * Delete CODEOWNERS [Thodoris Greasidis]
2909
+
2910
+ ## 14.24.1 - 2021-06-07
2911
+
2912
+
2913
+ <details>
2914
+ <summary> Update dependencies [Pagan Gazzard] </summary>
2915
+
2916
+ > ### odata-parser-2.2.4 - 2021-05-18
2917
+ >
2918
+ > * Ensure boundaries on keywords to fix parsing of eg `note eq 'foobar'` [Pagan Gazzard]
2919
+ >
2920
+ > ### pinejs-client-js-6.9.5 - 2021-03-22
2921
+ >
2922
+ > * Enable strict tsconfig options by default [Pagan Gazzard]
2923
+ >
2924
+ > ### sbvr-parser-1.2.4 - 2021-06-07
2925
+ >
2926
+ > * Optimize space matching [Pagan Gazzard]
2927
+ > * Optimize EOL checking [Pagan Gazzard]
2928
+ >
2929
+ > ### sbvr-parser-1.2.3 - 2021-06-07
2930
+ >
2931
+ > * Update dependencies [Pagan Gazzard]
2932
+ >
2933
+ </details>
2934
+
2935
+ ## 14.24.0 - 2021-05-18
8
2936
 
9
2937
 
10
2938
  <details>
11
- <summary> Update deps and reflect the usage of BOOLEAN db type [Pagan Gazzard] </summary>
2939
+ <summary> Update abstract-sql-compiler to 7.13.0 to support CurrentTimestamp/Date [Thodoris Greasidis] </summary>
12
2940
 
2941
+ > ### abstract-sql-compiler-7.13.0 - 2021-05-18
2942
+ >
2943
+ > * Add support for `CurrentTimestamp`/`CurrentDate` nodes [Pagan Gazzard]
2944
+ >
2945
+ > ### abstract-sql-compiler-7.12.7 - 2021-05-18
2946
+ >
2947
+ >
2948
+ > <details>
2949
+ > <summary> Update sbvr-types to 3.4.3 [Thodoris Greasidis] </summary>
2950
+ >
2951
+ >> #### sbvr-types-3.4.3 - 2021-05-11
2952
+ >>
2953
+ >> * Support boolean results from the db as well as integer [Pagan Gazzard]
2954
+ >>
2955
+ > </details>
2956
+ >
2957
+ >
2958
+ > ### abstract-sql-compiler-7.12.6 - 2021-05-18
2959
+ >
2960
+ > * Allow duration seconds to be nullable [Pagan Gazzard]
2961
+ >
2962
+ > ### abstract-sql-compiler-7.12.5 - 2021-05-18
2963
+ >
2964
+ > * Re-enable all tests [Pagan Gazzard]
2965
+ >
2966
+ > ### abstract-sql-compiler-7.12.4 - 2021-05-04
2967
+ >
2968
+ > * Revert "Remove now unnecessary hack for casting SERIAL types" [Pagan Gazzard]
2969
+ >
13
2970
  > ### abstract-sql-compiler-7.12.3 - 2021-05-03
14
2971
  >
15
2972
  > * Remove now unnecessary hack for casting SERIAL types [Pagan Gazzard]
@@ -51,6 +3008,22 @@ This project adheres to [Semantic Versioning](http://semver.org/).
51
3008
  >
52
3009
  </details>
53
3010
 
3011
+ ## 14.23.0 - 2021-05-17
3012
+
3013
+
3014
+ <details>
3015
+ <summary> Update sbvr-types to 3.4.3 to support boolean computed terms w/o casting [Thodoris Greasidis] </summary>
3016
+
3017
+ > ### sbvr-types-3.4.3 - 2021-05-11
3018
+ >
3019
+ > * Support boolean results from the db as well as integer [Pagan Gazzard]
3020
+ >
3021
+ > ### sbvr-types-3.4.2 - 2021-03-22
3022
+ >
3023
+ > * Update dev dependencies [Pagan Gazzard]
3024
+ >
3025
+ </details>
3026
+
54
3027
  ## 14.22.3 - 2021-04-29
55
3028
 
56
3029
  * Fix typo in odata-compiler help [Pagan Gazzard]