@balena/abstract-sql-compiler 11.0.0-build-11-x-b2280608fff69d9959999c79db6245c4ad561bbc-1 → 11.0.0-build-11-x-7511b8ebe5a9461f20add0ed97d0670ed3b5a479-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/package.json +5 -2
  2. package/.github/workflows/flowzone.yml +0 -21
  3. package/.husky/pre-commit +0 -2
  4. package/.versionbot/CHANGELOG.yml +0 -10729
  5. package/CHANGELOG.md +0 -3515
  6. package/repo.yml +0 -12
  7. package/src/abstract-sql-compiler.ts +0 -1138
  8. package/src/abstract-sql-optimizer.ts +0 -1632
  9. package/src/abstract-sql-rules-to-sql.ts +0 -1730
  10. package/src/abstract-sql-schema-optimizer.ts +0 -172
  11. package/src/referenced-fields.ts +0 -600
  12. package/test/abstract-sql/aggregate-json.ts +0 -49
  13. package/test/abstract-sql/aggregate.ts +0 -161
  14. package/test/abstract-sql/and-or-boolean-optimisations.ts +0 -115
  15. package/test/abstract-sql/case-when-else.ts +0 -48
  16. package/test/abstract-sql/cast.ts +0 -25
  17. package/test/abstract-sql/coalesce.ts +0 -24
  18. package/test/abstract-sql/comparisons.ts +0 -360
  19. package/test/abstract-sql/dates.ts +0 -512
  20. package/test/abstract-sql/duration.ts +0 -56
  21. package/test/abstract-sql/empty-query-optimisations.ts +0 -54
  22. package/test/abstract-sql/functions-wrapper.ts +0 -70
  23. package/test/abstract-sql/get-referenced-fields.ts +0 -674
  24. package/test/abstract-sql/get-rule-referenced-fields.ts +0 -345
  25. package/test/abstract-sql/insert-query.ts +0 -22
  26. package/test/abstract-sql/is-distinct.ts +0 -102
  27. package/test/abstract-sql/joins.ts +0 -84
  28. package/test/abstract-sql/json.ts +0 -58
  29. package/test/abstract-sql/math.ts +0 -467
  30. package/test/abstract-sql/nested-in-optimisations.ts +0 -200
  31. package/test/abstract-sql/not-not-optimisations.ts +0 -15
  32. package/test/abstract-sql/schema-checks.ts +0 -168
  33. package/test/abstract-sql/schema-informative-reference.ts +0 -420
  34. package/test/abstract-sql/schema-rule-optimization.ts +0 -120
  35. package/test/abstract-sql/schema-rule-to-check.ts +0 -393
  36. package/test/abstract-sql/schema-views.ts +0 -73
  37. package/test/abstract-sql/test.ts +0 -192
  38. package/test/abstract-sql/text.ts +0 -168
  39. package/test/model.sbvr +0 -60
  40. package/test/odata/expand.ts +0 -674
  41. package/test/odata/fields.ts +0 -59
  42. package/test/odata/filterby.ts +0 -1517
  43. package/test/odata/orderby.ts +0 -96
  44. package/test/odata/paging.ts +0 -48
  45. package/test/odata/resource-parsing.ts +0 -568
  46. package/test/odata/select.ts +0 -119
  47. package/test/odata/stress.ts +0 -93
  48. package/test/odata/test.ts +0 -297
  49. package/test/sbvr/pilots.ts +0 -1097
  50. package/test/sbvr/reference-type.ts +0 -211
  51. package/test/sbvr/test.ts +0 -101
  52. package/tsconfig.build.json +0 -6
  53. package/tsconfig.json +0 -25
package/CHANGELOG.md DELETED
@@ -1,3515 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file
4
- automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
- This project adheres to [Semantic Versioning](http://semver.org/).
6
-
7
- ## 11.0.0 - 2025-07-31
8
-
9
- * Compile computed fields into the table definition [Pagan Gazzard]
10
- * Standardize filenames [Pagan Gazzard]
11
- * Improve typing of `AbstractSqlField['computed']` [Pagan Gazzard]
12
- * Improve typing of `AbstractSqlModel['rules']` [Pagan Gazzard]
13
- * Remove support for deprecated `['Bind', string, string]` bind node format [Pagan Gazzard]
14
- * Remove deprecated `AliasableFromTypeNodes` type, use `FromTypeNodes` instead [Pagan Gazzard]
15
- * Use an options object for `optimizeSchema` rather than flags [Pagan Gazzard]
16
- * Convert to ESM [Pagan Gazzard]
17
- * Remove support for legacy `Now` nodes in favor of `CurrentTimestamp` [Pagan Gazzard]
18
- * Switch to a separate `viewDefinition` property for creating views [Pagan Gazzard]
19
-
20
- ## 10.6.3 - 2025-07-17
21
-
22
- * Tests: Update @balena/odata-to-abstract-sql to 8.0.1 [Pagan Gazzard]
23
-
24
- ## 10.6.2 - 2025-07-16
25
-
26
- * Include comments in generated output to preserve jsdoc info [Pagan Gazzard]
27
-
28
- ## 10.6.1 - 2025-07-16
29
-
30
- * Update dev dependencies [Pagan Gazzard]
31
-
32
- ## 10.6.0 - 2025-07-14
33
-
34
- * Export `abstractSqlContainsNode` helper function [Pagan Gazzard]
35
-
36
- ## 10.5.1 - 2025-07-08
37
-
38
- * Allow sbvr-types v11 [joshbwlng]
39
-
40
- ## 10.5.0 - 2025-07-07
41
-
42
- * Add optional time zone argument for DateTrunc [joshbwlng]
43
-
44
- ## 10.4.1 - 2025-07-04
45
-
46
- * Correctly treat `EqualsAnyNode` as the boolean type we know it to be [Pagan Gazzard]
47
-
48
- ## 10.4.0 - 2025-06-20
49
-
50
- * Export an `optimizeSchema` variant that is database engine agnostic [Pagan Gazzard]
51
-
52
- ## 10.3.5 - 2025-06-20
53
-
54
- * Switch to using a duplicate function exception to handle double function creation [Pagan Gazzard]
55
-
56
- ## 10.3.4 - 2025-06-20
57
-
58
- * Throw an error when trying to combine computed fields with a definition [Pagan Gazzard]
59
-
60
- ## 10.3.3 - 2025-06-19
61
-
62
- * Allow sbvr-types v10 as peer dependency [Otavio Jacobi]
63
-
64
- ## 10.3.2 - 2025-06-12
65
-
66
- * Extend `IsNotDistinctFrom` paren omission to more atomic node types [Pagan Gazzard]
67
-
68
- ## 10.3.1 - 2025-06-12
69
-
70
- * Omit parens for `IsNotDistinctFrom` when the value is a field node [Pagan Gazzard]
71
-
72
- ## 10.3.0 - 2025-06-12
73
-
74
- * Treat `CaseNode` as an unknown type node as expected [Pagan Gazzard]
75
-
76
- ## 10.2.12 - 2025-06-05
77
-
78
- * Update dependency lint-staged to v16 [balena-renovate[bot]]
79
-
80
- ## 10.2.11 - 2025-06-04
81
-
82
- * Add missing ; in trigger creation $$ section [Thodoris Greasidis]
83
-
84
- ## 10.2.10 - 2025-04-08
85
-
86
- * Update @balena/lint to 9.x [Pagan Gazzard]
87
-
88
- ## 10.2.9 - 2025-04-07
89
-
90
- * Avoid lodash chaining / move lodash to a dev dependency [Pagan Gazzard]
91
- * Use native version of `uniq` [Pagan Gazzard]
92
- * Use native version of `mapValues` [Pagan Gazzard]
93
- * Use native version of `isEqual` [Pagan Gazzard]
94
- * Use native version of `flatMap` [Pagan Gazzard]
95
- * Use native version of `find` [Pagan Gazzard]
96
- * Avoid using lodash `identity` method [Pagan Gazzard]
97
- * Avoid using lodash for duration node validation [Pagan Gazzard]
98
-
99
- ## 10.2.8 - 2025-04-07
100
-
101
- * Improve typings for the `In`/`NotIn` optimization helpers [Pagan Gazzard]
102
-
103
- ## 10.2.7 - 2025-04-07
104
-
105
- * Switch to a more standard `isFieldTypeNode` helper [Pagan Gazzard]
106
-
107
- ## 10.2.6 - 2025-04-07
108
-
109
- * Tests: convert test/sbvr/reference-type to typescript [Pagan Gazzard]
110
- * Tests: convert test/sbvr/pilots to typescript [Pagan Gazzard]
111
- * Tests: convert test/sbvr/test to typescript [Pagan Gazzard]
112
- * Tests: convert test/odata/expand to typescript [Pagan Gazzard]
113
- * Tests: convert test/odata/filterby to typescript [Pagan Gazzard]
114
- * Tests: convert test/odata/orderby to typescript [Pagan Gazzard]
115
- * Tests: convert test/odata/paging to typescript [Pagan Gazzard]
116
- * Tests: convert test/odata/resource_parsing to typescript [Pagan Gazzard]
117
- * Tests: convert test/odata/select to typescript [Pagan Gazzard]
118
- * Tests: convert test/odata/stress to typescript [Pagan Gazzard]
119
-
120
- ## 10.2.5 - 2025-04-06
121
-
122
- * Tests: convert test/odata/test to typescript [Pagan Gazzard]
123
-
124
- ## 10.2.4 - 2025-04-04
125
-
126
- * Update dev dependencies [Pagan Gazzard]
127
-
128
- ## 10.2.3 - 2025-03-19
129
-
130
- * Tests: convert test/abstract-sql/case-when-else.js to typescript [Pagan Gazzard]
131
- * Tests: convert test/abstract-sql/test.js to typescript [Pagan Gazzard]
132
- * Tests: simplify handling of variadic test helper functions [Pagan Gazzard]
133
-
134
- ## 10.2.2 - 2025-02-14
135
-
136
- * Clarify the `['Bind', string, string]` form of `BindNode` is legacy [Pagan Gazzard]
137
-
138
- ## 10.2.1 - 2025-01-29
139
-
140
- * Fix @balena/sbvr-types peer dependency version specifier [Pagan Gazzard]
141
-
142
- ## 10.2.0 - 2025-01-22
143
-
144
- * Add EqualAny node [Otavio Jacobi]
145
-
146
- ## 10.1.2 - 2025-01-06
147
-
148
-
149
- <details>
150
- <summary> Update dependency @balena/odata-to-abstract-sql to v7 [Self-hosted Renovate Bot] </summary>
151
-
152
- > ### odata-to-abstract-sql-7.0.1 - 2024-12-04
153
- >
154
- > * Update dependency mocha to v11 [Self-hosted Renovate Bot]
155
- >
156
- > ### odata-to-abstract-sql-7.0.0 - 2024-10-08
157
- >
158
- >
159
- > <details>
160
- > <summary> Update dependencies [Thodoris Greasidis] </summary>
161
- >
162
- >> #### abstract-sql-compiler-10.0.1 - 2024-10-07
163
- >>
164
- >> * Wrap composite comparison operations with parenthesis when necessary [Thodoris Greasidis]
165
- >>
166
- >> #### abstract-sql-compiler-10.0.0 - 2024-10-07
167
- >>
168
- >> * tsconfig: Switch the module compiler option to Node16 [Thodoris Greasidis]
169
- >> * Update tsconfig target to es2023 [Thodoris Greasidis]
170
- >> * Update minimum supported nodejs version to 20.14.0 [Thodoris Greasidis]
171
- >> * Make @balena/sbvr-types a peer dependency [Thodoris Greasidis]
172
- >> * Lint fixes [Thodoris Greasidis]
173
- >>
174
- >> <details>
175
- >> <summary> Update dependencies & tests to match [Thodoris Greasidis] </summary>
176
- >>
177
- >>> ##### lf-to-abstract-sql-5.0.2 - 2024-03-05
178
- >>>
179
- >>>
180
- >>> <details>
181
- >>> <summary> Update `@balena/sbvr-types` devDependency [Harald Fischer] </summary>
182
- >>>
183
- >>>> ###### sbvr-types-7.0.1 - 2024-03-04
184
- >>>>
185
- >>>> * Update dependency @balena/abstract-sql-compiler to v9 [Self-hosted Renovate Bot]
186
- >>>>
187
- >>>> ###### sbvr-types-7.0.0 - 2024-03-04
188
- >>>>
189
- >>>> * Return `ISODateString` instead of `date` [fisehara]
190
- >>>>
191
- >>>> ###### sbvr-types-6.1.1 - 2024-01-02
192
- >>>>
193
- >>>> * Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
194
- >>>>
195
- >>>> ###### sbvr-types-6.1.0 - 2023-10-03
196
- >>>>
197
- >>>> * Add checksum to WebResource [Otávio Jacobi]
198
- >>>>
199
- >>>> ###### sbvr-types-6.0.0 - 2023-08-09
200
- >>>>
201
- >>>> * Change contents to snake_case [Otávio Jacobi]
202
- >>>>
203
- >>>> ###### sbvr-types-5.2.0 - 2023-08-08
204
- >>>>
205
- >>>> * Expose WebResource as WebResourceType [Otávio Jacobi]
206
- >>>>
207
- >>>> ###### sbvr-types-5.1.0 - 2023-08-03
208
- >>>>
209
- >>>> * Adds WebResource type [Otávio Jacobi]
210
- >>>>
211
- >>>
212
- >>> </details>
213
- >>>
214
- >>>
215
- >>> ##### lf-to-abstract-sql-5.0.1 - 2023-05-16
216
- >>>
217
- >>>
218
- >>> <details>
219
- >>> <summary> Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard] </summary>
220
- >>>
221
- >>>> ###### sbvr-types-5.0.0 - 2023-05-16
222
- >>>>
223
- >>>> * Switch from `export =` to `export default` [Pagan Gazzard]
224
- >>>>
225
- >>>> ###### sbvr-types-4.0.2 - 2023-05-03
226
- >>>>
227
- >>>> * Improve typings [Pagan Gazzard]
228
- >>>>
229
- >>>> ###### sbvr-types-4.0.1 - 2023-05-02
230
- >>>>
231
- >>>> * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
232
- >>>>
233
- >>>> ###### sbvr-types-4.0.0 - 2023-04-26
234
- >>>>
235
- >>>> * Add test cases for Objects in JSON validate [fisehara]
236
- >>>> * Drop `require-npm4-to-publish` devDependency [fisehara]
237
- >>>> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
238
- >>>> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
239
- >>>> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
240
- >>>> * Assert that JSON input typeof is object [Josh Bowling]
241
- >>>>
242
- >>>> ###### sbvr-types-3.5.0 - 2023-03-21
243
- >>>>
244
- >>>> * Add Big Serial type [Josh Bowling]
245
- >>>>
246
- >>>> ###### sbvr-types-3.4.19 - 2022-12-08
247
- >>>>
248
- >>>> * Flowzone: Allow external contributions [Josh Bowling]
249
- >>>>
250
- >>>
251
- >>> </details>
252
- >>>
253
- >>>
254
- >>> ##### odata-parser-3.1.0 - 2024-10-03
255
- >>>
256
- >>> * Use bind vars for $top and $skip options [Pagan Gazzard]
257
- >>>
258
- >>> ##### odata-parser-3.0.8 - 2024-06-04
259
- >>>
260
- >>> * Fix type checking of the declaration file [Pagan Gazzard]
261
- >>>
262
- >>> ##### odata-parser-3.0.7 - 2024-04-13
263
- >>>
264
- >>> * Update dependency husky to v9 [Self-hosted Renovate Bot]
265
- >>>
266
- >>> ##### odata-parser-3.0.6 - 2024-04-12
267
- >>>
268
- >>> * Update dependency peggy to v4 [Self-hosted Renovate Bot]
269
- >>>
270
- >>> ##### odata-parser-3.0.5 - 2024-04-12
271
- >>>
272
- >>> * Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
273
- >>>
274
- >>> ##### odata-parser-3.0.4 - 2024-04-12
275
- >>>
276
- >>> * Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
277
- >>>
278
- >>> ##### odata-parser-3.0.3 - 2024-01-04
279
- >>>
280
- >>> * Optimize by moving constant values into global init [fisehara]
281
- >>>
282
- >>> ##### odata-parser-3.0.2 - 2024-01-04
283
- >>>
284
- >>> * Update dependencies [fisehara]
285
- >>>
286
- >>> ##### odata-parser-3.0.1 - 2023-09-25
287
- >>>
288
- >>> * Allow running CI on external PRs [Pagan Gazzard]
289
- >>>
290
- >>> ##### odata-to-abstract-sql-6.4.0 - 2024-10-04
291
- >>>
292
- >>>
293
- >>> <details>
294
- >>> <summary> Support number references as boolean types [Pagan Gazzard] </summary>
295
- >>>
296
- >>>> ###### odata-parser-3.1.0 - 2024-10-03
297
- >>>>
298
- >>>> * Use bind vars for $top and $skip options [Pagan Gazzard]
299
- >>>>
300
- >>>
301
- >>> </details>
302
- >>>
303
- >>>
304
- >>> ##### odata-to-abstract-sql-6.3.0 - 2024-08-26
305
- >>>
306
- >>> * Support PUT/PATCH/DELETE requests on resources with a translated ID field [Thodoris Greasidis]
307
- >>>
308
- >>> ##### odata-to-abstract-sql-6.2.8 - 2024-08-26
309
- >>>
310
- >>>
311
- >>> <details>
312
- >>> <summary> Update dependencies [Pagan Gazzard] </summary>
313
- >>>
314
- >>>> ###### abstract-sql-compiler-9.2.0 - 2024-06-12
315
- >>>>
316
- >>>> * Adds `EndsWithNode` and `ContainsNode` typings [Pagan Gazzard]
317
- >>>>
318
- >>>> ###### lf-to-abstract-sql-5.0.2 - 2024-03-05
319
- >>>>
320
- >>>>
321
- >>>> <details>
322
- >>>> <summary> Update `@balena/sbvr-types` devDependency [Harald Fischer] </summary>
323
- >>>>
324
- >>>>> ####### sbvr-types-7.0.1 - 2024-03-04
325
- >>>>>
326
- >>>>> * Update dependency @balena/abstract-sql-compiler to v9 [Self-hosted Renovate Bot]
327
- >>>>>
328
- >>>>> ####### sbvr-types-7.0.0 - 2024-03-04
329
- >>>>>
330
- >>>>> * Return `ISODateString` instead of `date` [fisehara]
331
- >>>>>
332
- >>>>> ####### sbvr-types-6.1.1 - 2024-01-02
333
- >>>>>
334
- >>>>> * Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
335
- >>>>>
336
- >>>>> ####### sbvr-types-6.1.0 - 2023-10-03
337
- >>>>>
338
- >>>>> * Add checksum to WebResource [Otávio Jacobi]
339
- >>>>>
340
- >>>>> ####### sbvr-types-6.0.0 - 2023-08-09
341
- >>>>>
342
- >>>>> * Change contents to snake_case [Otávio Jacobi]
343
- >>>>>
344
- >>>>> ####### sbvr-types-5.2.0 - 2023-08-08
345
- >>>>>
346
- >>>>> * Expose WebResource as WebResourceType [Otávio Jacobi]
347
- >>>>>
348
- >>>>> ####### sbvr-types-5.1.0 - 2023-08-03
349
- >>>>>
350
- >>>>> * Adds WebResource type [Otávio Jacobi]
351
- >>>>>
352
- >>>>
353
- >>>> </details>
354
- >>>>
355
- >>>>
356
- >>>> ###### odata-parser-3.0.8 - 2024-06-04
357
- >>>>
358
- >>>> * Fix type checking of the declaration file [Pagan Gazzard]
359
- >>>>
360
- >>>> ###### odata-parser-3.0.7 - 2024-04-13
361
- >>>>
362
- >>>> * Update dependency husky to v9 [Self-hosted Renovate Bot]
363
- >>>>
364
- >>>> ###### odata-parser-3.0.6 - 2024-04-12
365
- >>>>
366
- >>>> * Update dependency peggy to v4 [Self-hosted Renovate Bot]
367
- >>>>
368
- >>>> ###### odata-parser-3.0.5 - 2024-04-12
369
- >>>>
370
- >>>> * Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
371
- >>>>
372
- >>>> ###### odata-parser-3.0.4 - 2024-04-12
373
- >>>>
374
- >>>> * Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
375
- >>>>
376
- >>>> ###### sbvr-parser-1.4.6 - Invalid date
377
- >>>>
378
- >>>> * Update dependency @balena/sbvr-types to v8 [Self-hosted Renovate Bot]
379
- >>>>
380
- >>>> ###### sbvr-parser-1.4.5 - 2024-06-18
381
- >>>>
382
- >>>> * Switch to an inflection library from npm which does not monkey patch [Pagan Gazzard]
383
- >>>>
384
- >>>> ###### sbvr-parser-1.4.4 - 2024-03-05
385
- >>>>
386
- >>>> * Updated `@balena/sbvr-types` [Harald Fischer]
387
- >>>>
388
- >>>> ###### sbvr-types-7.1.3 - 2024-06-12
389
- >>>>
390
- >>>> * Add typings for all abstract sql fragments, fixing where necessary [Pagan Gazzard]
391
- >>>>
392
- >>>> ###### sbvr-types-7.1.2 - 2024-06-12
393
- >>>>
394
- >>>> * Explicitly type the `compare` function for `hashed` [Pagan Gazzard]
395
- >>>>
396
- >>>> ###### sbvr-types-7.1.1 - 2024-06-04
397
- >>>>
398
- >>>> * Accept `Date` for the write types of `Date Time`/`Date`/`Time` [Pagan Gazzard]
399
- >>>>
400
- >>>> ###### sbvr-types-7.1.0 - 2024-04-25
401
- >>>>
402
- >>>> * Export typescript read/write types for each sbvr type [Pagan Gazzard]
403
- >>>>
404
- >>>> ###### sbvr-types-7.0.10 - 2024-04-09
405
- >>>>
406
- >>>> * Update Big Serial concept type to Big Integer [Josh Bowling]
407
- >>>>
408
- >>>> ###### sbvr-types-7.0.9 - 2024-04-09
409
- >>>>
410
- >>>> * Add Big Serial to Type.sbvr [Josh Bowling]
411
- >>>>
412
- >>>> ###### sbvr-types-7.0.8 - 2024-04-09
413
- >>>>
414
- >>>> * Update prepare script for husky v9 [Josh Bowling]
415
- >>>> * Update dependency husky to v9 [Self-hosted Renovate Bot]
416
- >>>>
417
- >>>> ###### sbvr-types-7.0.7 - 2024-04-09
418
- >>>>
419
- >>>> * Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
420
- >>>>
421
- >>>> ###### sbvr-types-7.0.6 - 2024-03-21
422
- >>>>
423
- >>>> * Improve JSON typings [Pagan Gazzard]
424
- >>>>
425
- >>>> ###### sbvr-types-7.0.5 - 2024-03-13
426
- >>>>
427
- >>>> * Remove unnecessary catch bindings [Pagan Gazzard]
428
- >>>>
429
- >>>> ###### sbvr-types-7.0.4 - 2024-03-13
430
- >>>>
431
- >>>> * Improve validate typings [Pagan Gazzard]
432
- >>>>
433
- >>>> ###### sbvr-types-7.0.3 - 2024-03-12
434
- >>>>
435
- >>>> * Improve fetchProcessing typings [Pagan Gazzard]
436
- >>>>
437
- >>>> ###### sbvr-types-7.0.2 - 2024-03-12
438
- >>>>
439
- >>>> * Tests: convert to typescript [Pagan Gazzard]
440
- >>>>
441
- >>>
442
- >>> </details>
443
- >>>
444
- >>>
445
- >>> ##### odata-to-abstract-sql-6.2.7 - 2024-04-23
446
- >>>
447
- >>>
448
- >>> <details>
449
- >>> <summary> Properly error when using fields of a partial index as an alternate key [Thodoris Greasidis] </summary>
450
- >>>
451
- >>>> ###### abstract-sql-compiler-9.1.4 - 2024-04-09
452
- >>>>
453
- >>>> * Cast Big Serial to integer [Josh Bowling]
454
- >>>>
455
- >>>> ###### abstract-sql-compiler-9.1.3 - 2024-04-09
456
- >>>>
457
- >>>> * Update prepare script for husky v9 [Josh Bowling]
458
- >>>> * Update dependency husky to v9 [Self-hosted Renovate Bot]
459
- >>>>
460
- >>>> ###### abstract-sql-compiler-9.1.2 - 2024-04-09
461
- >>>>
462
- >>>> * Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
463
- >>>>
464
- >>>> ###### abstract-sql-compiler-9.1.1 - 2024-03-26
465
- >>>>
466
- >>>> * Update dependency @balena/lint to v8 [Thodoris Greasidis]
467
- >>>>
468
- >>>> ###### abstract-sql-compiler-9.1.0 - 2024-03-26
469
- >>>>
470
- >>>> * Export the generateRuleHashAcronym helper [Thodoris Greasidis]
471
- >>>> * Add support for unique indexes with NOT DISTINCT NULLS [Thodoris Greasidis]
472
- >>>> * Add support for partial unique indexes [Thodoris Greasidis]
473
- >>>>
474
- >>>> ###### abstract-sql-compiler-9.0.7 - 2024-03-22
475
- >>>>
476
- >>>>
477
- >>>> <details>
478
- >>>> <summary> Update dependency @balena/odata-parser to v3 [Self-hosted Renovate Bot] </summary>
479
- >>>>
480
- >>>>> ####### odata-parser-3.0.3 - 2024-01-04
481
- >>>>>
482
- >>>>> * Optimize by moving constant values into global init [fisehara]
483
- >>>>>
484
- >>>>> ####### odata-parser-3.0.2 - 2024-01-04
485
- >>>>>
486
- >>>>> * Update dependencies [fisehara]
487
- >>>>>
488
- >>>>> ####### odata-parser-3.0.1 - 2023-09-25
489
- >>>>>
490
- >>>>> * Allow running CI on external PRs [Pagan Gazzard]
491
- >>>>>
492
- >>>>> ####### odata-parser-3.0.0 - 2023-04-26
493
- >>>>>
494
- >>>>> * Use optional chaining operator [Pagan Gazzard]
495
- >>>>> * Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
496
- >>>>>
497
- >>>>
498
- >>>> </details>
499
- >>>>
500
- >>>>
501
- >>>> ###### abstract-sql-compiler-9.0.6 - 2024-03-21
502
- >>>>
503
- >>>> * Update TypeScript to 5.4.3 [Thodoris Greasidis]
504
- >>>>
505
- >>>> ###### abstract-sql-compiler-9.0.5 - 2024-03-05
506
- >>>>
507
- >>>> * Update `@balena/sbvr-types` [Harald Fischer]
508
- >>>>
509
- >>>
510
- >>> </details>
511
- >>>
512
- >>>
513
- >>> ##### odata-to-abstract-sql-6.2.6 - 2024-04-13
514
- >>>
515
- >>> * Update dependency husky to v9 [Self-hosted Renovate Bot]
516
- >>>
517
- >>> ##### odata-to-abstract-sql-6.2.5 - 2024-04-10
518
- >>>
519
- >>> * Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
520
- >>>
521
- >>> ##### odata-to-abstract-sql-6.2.4 - 2024-03-05
522
- >>>
523
- >>> * Update `@balena/sbvr-types` devDependencies [fisehara]
524
- >>> * Fix linter issue [fisehara]
525
- >>>
526
- >>> ##### odata-to-abstract-sql-6.2.3 - 2024-01-15
527
- >>>
528
- >>> * Require at least one field to be updated for PATCH requests [Pagan Gazzard]
529
- >>>
530
- >>> ##### odata-to-abstract-sql-6.2.2 - 2024-01-15
531
- >>>
532
- >>> * Simplify support for MERGE as an alias for PATCH [Pagan Gazzard]
533
- >>>
534
- >>> ##### odata-to-abstract-sql-6.2.1 - 2024-01-15
535
- >>>
536
- >>>
537
- >>> <details>
538
- >>> <summary> Update dependencies [Pagan Gazzard] </summary>
539
- >>>
540
- >>>> ###### abstract-sql-compiler-9.0.4 - 2024-01-02
541
- >>>>
542
- >>>> * Update dependency @types/node to v20 [Self-hosted Renovate Bot]
543
- >>>>
544
- >>>> ###### odata-parser-3.0.3 - 2024-01-04
545
- >>>>
546
- >>>> * Optimize by moving constant values into global init [fisehara]
547
- >>>>
548
- >>>> ###### odata-parser-3.0.2 - 2024-01-04
549
- >>>>
550
- >>>> * Update dependencies [fisehara]
551
- >>>>
552
- >>>> ###### sbvr-types-6.1.1 - 2024-01-02
553
- >>>>
554
- >>>> * Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
555
- >>>>
556
- >>>
557
- >>> </details>
558
- >>>
559
- >>>
560
- >>> ##### odata-to-abstract-sql-6.2.0 - 2023-11-24
561
- >>>
562
- >>> * Optimize Duplications of `ComputedField` queries [fisehara]
563
- >>>
564
- >>> ##### odata-to-abstract-sql-6.1.3 - 2023-11-10
565
- >>>
566
- >>> * Update dependency @types/chai-things to v0.0.38 [Self-hosted Renovate Bot]
567
- >>>
568
- >>> ##### odata-to-abstract-sql-6.1.2 - 2023-10-20
569
- >>>
570
- >>> * Update dependency @types/chai-things to v0.0.37 [Self-hosted Renovate Bot]
571
- >>>
572
- >>> ##### odata-to-abstract-sql-6.1.1 - 2023-10-19
573
- >>>
574
- >>>
575
- >>> <details>
576
- >>> <summary> Update dependencies eslint, sbvrTypes, abstract-sql-compiler [Harald Fischer] </summary>
577
- >>>
578
- >>>> ###### abstract-sql-compiler-9.0.3 - 2023-08-09
579
- >>>>
580
- >>>>
581
- >>>> <details>
582
- >>>> <summary> Update @balena/sbvr-types to 6.0.0 [Otávio Jacobi] </summary>
583
- >>>>
584
- >>>>> ####### sbvr-types-6.0.0 - 2023-08-09
585
- >>>>>
586
- >>>>> * Change contents to snake_case [Otávio Jacobi]
587
- >>>>>
588
- >>>>> ####### sbvr-types-5.2.0 - 2023-08-08
589
- >>>>>
590
- >>>>> * Expose WebResource as WebResourceType [Otávio Jacobi]
591
- >>>>>
592
- >>>>> ####### sbvr-types-5.1.0 - 2023-08-03
593
- >>>>>
594
- >>>>> * Adds WebResource type [Otávio Jacobi]
595
- >>>>>
596
- >>>>
597
- >>>> </details>
598
- >>>>
599
- >>>>
600
- >>>> ###### abstract-sql-compiler-9.0.2 - 2023-05-16
601
- >>>>
602
- >>>>
603
- >>>> <details>
604
- >>>> <summary> Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard] </summary>
605
- >>>>
606
- >>>>> ####### sbvr-types-5.0.0 - 2023-05-16
607
- >>>>>
608
- >>>>> * Switch from `export =` to `export default` [Pagan Gazzard]
609
- >>>>>
610
- >>>>> ####### sbvr-types-4.0.2 - 2023-05-03
611
- >>>>>
612
- >>>>> * Improve typings [Pagan Gazzard]
613
- >>>>>
614
- >>>>> ####### sbvr-types-4.0.1 - 2023-05-02
615
- >>>>>
616
- >>>>> * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
617
- >>>>>
618
- >>>>
619
- >>>> </details>
620
- >>>>
621
- >>>>
622
- >>>> ###### abstract-sql-compiler-9.0.1 - 2023-05-15
623
- >>>>
624
- >>>> * Fix TS errors for the latest sbvrTypes [Thodoris Greasidis]
625
- >>>>
626
- >>>> ###### abstract-sql-compiler-9.0.0 - 2023-05-02
627
- >>>>
628
- >>>> * Drop `require-npm4-to-publish` as `engines` used [fisehara]
629
- >>>>
630
- >>>> <details>
631
- >>>> <summary> Update @balena/odata-to-abstract-sql to 6.x [Pagan Gazzard] </summary>
632
- >>>>
633
- >>>>> ####### odata-to-abstract-sql-6.0.1 - 2023-04-27
634
- >>>>>
635
- >>>>>
636
- >>>>> <details>
637
- >>>>> <summary> Update dependencies [Pagan Gazzard] </summary>
638
- >>>>>
639
- >>>>>> ######## odata-parser-3.0.0 - 2023-04-26
640
- >>>>>>
641
- >>>>>> * Use optional chaining operator [Pagan Gazzard]
642
- >>>>>> * Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
643
- >>>>>>
644
- >>>>>> ######## odata-parser-2.5.0 - 2023-04-26
645
- >>>>>>
646
- >>>>>> * Update to peggy 3 and make us of the repetition operator [Pagan Gazzard]
647
- >>>>>>
648
- >>>>>> ######## sbvr-types-4.0.0 - 2023-04-26
649
- >>>>>>
650
- >>>>>> * Add test cases for Objects in JSON validate [fisehara]
651
- >>>>>> * Drop `require-npm4-to-publish` devDependency [fisehara]
652
- >>>>>> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
653
- >>>>>> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
654
- >>>>>> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
655
- >>>>>> * Assert that JSON input typeof is object [Josh Bowling]
656
- >>>>>>
657
- >>>>>
658
- >>>>> </details>
659
- >>>>>
660
- >>>>>
661
- >>>>> ####### odata-to-abstract-sql-6.0.0 - 2023-04-26
662
- >>>>>
663
- >>>>> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
664
- >>>>> * Switch `AggregateJSON` to use the newer `ReferencedField` format [Pagan Gazzard]
665
- >>>>>
666
- >>>>> ####### odata-to-abstract-sql-5.9.6 - 2023-04-25
667
- >>>>>
668
- >>>>> * Collapse `AliasedFunction` into `FunctionMatch` [Pagan Gazzard]
669
- >>>>>
670
- >>>>> ####### odata-to-abstract-sql-5.9.5 - 2023-04-25
671
- >>>>>
672
- >>>>>
673
- >>>>> <details>
674
- >>>>> <summary> Improve typings [Pagan Gazzard] </summary>
675
- >>>>>
676
- >>>>>> ######## abstract-sql-compiler-8.4.1 - 2023-04-25
677
- >>>>>>
678
- >>>>>> * Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
679
- >>>>>>
680
- >>>>>
681
- >>>>> </details>
682
- >>>>>
683
- >>>>>
684
- >>>>> ####### odata-to-abstract-sql-5.9.4 - 2023-04-24
685
- >>>>>
686
- >>>>>
687
- >>>>> <details>
688
- >>>>> <summary> Update dependencies [Pagan Gazzard] </summary>
689
- >>>>>
690
- >>>>>> ######## abstract-sql-compiler-8.4.0 - 2023-04-24
691
- >>>>>>
692
- >>>>>> * Add support for using field type nodes with an AggregateJSON node [Pagan Gazzard]
693
- >>>>>>
694
- >>>>>> ######## abstract-sql-compiler-8.3.13 - 2023-04-24
695
- >>>>>>
696
- >>>>>> * Deprecate `AliasableFromTypeNodes` type as it's redundant [Pagan Gazzard]
697
- >>>>>>
698
- >>>>>> ######## abstract-sql-compiler-8.3.12 - 2023-04-17
699
- >>>>>>
700
- >>>>>> * Revert tightening of `OrderBy` to only field nodes [Pagan Gazzard]
701
- >>>>>>
702
- >>>>>> ######## abstract-sql-compiler-8.3.11 - 2023-04-13
703
- >>>>>>
704
- >>>>>> * Do not allow ON clauses for CROSS JOIN as it is invalid [Pagan Gazzard]
705
- >>>>>> * Stop accepting `ExtractJSONPathAsText`/`ToJSON` as unknown node types [Pagan Gazzard]
706
- >>>>>>
707
- >>>>>> ######## abstract-sql-compiler-8.3.10 - 2023-04-13
708
- >>>>>>
709
- >>>>>> * Fix DateNode/AnyNode typings [Pagan Gazzard]
710
- >>>>>>
711
- >>>>>> ######## abstract-sql-compiler-8.3.9 - 2023-04-13
712
- >>>>>>
713
- >>>>>>
714
- >>>>>> <details>
715
- >>>>>> <summary> Update dependencies [Pagan Gazzard] </summary>
716
- >>>>>>
717
- >>>>>>> ######### sbvr-types-3.5.0 - 2023-03-21
718
- >>>>>>>
719
- >>>>>>> * Add Big Serial type [Josh Bowling]
720
- >>>>>>>
721
- >>>>>>> ######### sbvr-types-3.4.19 - 2022-12-08
722
- >>>>>>>
723
- >>>>>>> * Flowzone: Allow external contributions [Josh Bowling]
724
- >>>>>>>
725
- >>>>>>
726
- >>>>>> </details>
727
- >>>>>>
728
- >>>>>>
729
- >>>>>> ######## abstract-sql-compiler-8.3.8 - 2023-04-12
730
- >>>>>>
731
- >>>>>> * Improve typings [Pagan Gazzard]
732
- >>>>>>
733
- >>>>>> ######## abstract-sql-compiler-8.3.7 - 2023-04-12
734
- >>>>>>
735
- >>>>>> * Remove typing for non-existent JSON node [Pagan Gazzard]
736
- >>>>>>
737
- >>>>>> ######## abstract-sql-compiler-8.3.6 - 2023-04-12
738
- >>>>>>
739
- >>>>>> * Tighten the `isXValue` function typings [Pagan Gazzard]
740
- >>>>>>
741
- >>>>>> ######## abstract-sql-compiler-8.3.5 - 2023-04-12
742
- >>>>>>
743
- >>>>>> * Correctly treat `Value` nodes as rewritten to `Text` by the optimizer [Pagan Gazzard]
744
- >>>>>> * Add EmbeddedTextNode typing [Pagan Gazzard]
745
- >>>>>>
746
- >>>>>> ######## abstract-sql-compiler-8.3.4 - 2023-04-12
747
- >>>>>>
748
- >>>>>> * Enforce the first argument of ExtractJSONPathAsText is a JSON type node [Pagan Gazzard]
749
- >>>>>>
750
- >>>>>> ######## abstract-sql-compiler-8.3.3 - 2023-04-12
751
- >>>>>>
752
- >>>>>> * Improve node typings [Pagan Gazzard]
753
- >>>>>>
754
- >>>>>> ######## abstract-sql-compiler-8.3.2 - 2023-04-12
755
- >>>>>>
756
- >>>>>> * Add more node typings [Pagan Gazzard]
757
- >>>>>>
758
- >>>>>> ######## abstract-sql-compiler-8.3.1 - 2023-04-12
759
- >>>>>>
760
- >>>>>> * Add more node typings [Pagan Gazzard]
761
- >>>>>>
762
- >>>>>> ######## abstract-sql-compiler-8.3.0 - 2023-04-11
763
- >>>>>>
764
- >>>>>> * Support boolean nodes in a ValuesNode [Pagan Gazzard]
765
- >>>>>>
766
- >>>>>> ######## abstract-sql-compiler-8.2.0 - 2023-04-11
767
- >>>>>>
768
- >>>>>> * Add `Between` node type [Pagan Gazzard]
769
- >>>>>>
770
- >>>>>> ######## abstract-sql-compiler-8.1.0 - 2023-04-11
771
- >>>>>>
772
- >>>>>> * Add `BitwiseAnd`/`BitwiseShiftRight` node types [Pagan Gazzard]
773
- >>>>>>
774
- >>>>>> ######## abstract-sql-compiler-8.0.2 - 2023-04-06
775
- >>>>>>
776
- >>>>>> * Add `NotInNode` type [Pagan Gazzard]
777
- >>>>>> * Add `IsDistinctFromNode`/`IsNotDistinctFromNode` types [Pagan Gazzard]
778
- >>>>>> * Add `CharacterLengthNode` type [Pagan Gazzard]
779
- >>>>>>
780
- >>>>>> ######## abstract-sql-compiler-8.0.1 - 2023-04-06
781
- >>>>>>
782
- >>>>>> * Adds Cast node type to tree parsing [Otávio Jacobi]
783
- >>>>>>
784
- >>>>>> ######## odata-parser-2.4.6 - 2023-02-24
785
- >>>>>>
786
- >>>>>> * Improve typings [Pagan Gazzard]
787
- >>>>>>
788
- >>>>>> ######## odata-parser-2.4.5 - 2023-02-23
789
- >>>>>>
790
- >>>>>> * Use const/let as appropriate [Pagan Gazzard]
791
- >>>>>>
792
- >>>>>> ######## odata-parser-2.4.4 - 2023-02-23
793
- >>>>>>
794
- >>>>>> * Use shorthand object notation [Pagan Gazzard]
795
- >>>>>>
796
- >>>>>> ######## odata-parser-2.4.3 - 2023-02-23
797
- >>>>>>
798
- >>>>>> * Update dependencies [Pagan Gazzard]
799
- >>>>>>
800
- >>>>>
801
- >>>>> </details>
802
- >>>>>
803
- >>>>>
804
- >>>>
805
- >>>> </details>
806
- >>>>
807
- >>>> * Remove support for the legacy AggregateJSON format of `[tableName, fieldName]` [Pagan Gazzard]
808
- >>>> * Remove support for the legacy boolean format of `true|false` [Pagan Gazzard]
809
- >>>> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
810
- >>>> * Remove support for the legacy alias format of `[node, alias]` [Pagan Gazzard]
811
- >>>> * Remove support for the legacy table format of `tableName` [Pagan Gazzard]
812
- >>>> * Remove support for the legacy null formats of `null` and `'Null'` [Pagan Gazzard]
813
- >>>> * Reflect the usage of BOOLEAN db type [Pagan Gazzard]
814
- >>>>
815
- >>>> <details>
816
- >>>> <summary> Update @balena/sbvr-types to 4.x [Pagan Gazzard] </summary>
817
- >>>>
818
- >>>>> ####### sbvr-types-4.0.0 - 2023-04-26
819
- >>>>>
820
- >>>>> * Add test cases for Objects in JSON validate [fisehara]
821
- >>>>> * Drop `require-npm4-to-publish` devDependency [fisehara]
822
- >>>>> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
823
- >>>>> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
824
- >>>>> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
825
- >>>>> * Assert that JSON input typeof is object [Josh Bowling]
826
- >>>>>
827
- >>>>
828
- >>>> </details>
829
- >>>>
830
- >>>>
831
- >>>> ###### abstract-sql-compiler-8.5.0 - 2023-04-27
832
- >>>>
833
- >>>> * Use native `StartsWith` node type for postgres [Pagan Gazzard]
834
- >>>> * Convert `EscapeForLike` into a standalone node type [Pagan Gazzard]
835
- >>>>
836
- >>>> ###### lf-to-abstract-sql-5.0.1 - 2023-05-16
837
- >>>>
838
- >>>>
839
- >>>> <details>
840
- >>>> <summary> Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard] </summary>
841
- >>>>
842
- >>>>> ####### sbvr-types-5.0.0 - 2023-05-16
843
- >>>>>
844
- >>>>> * Switch from `export =` to `export default` [Pagan Gazzard]
845
- >>>>>
846
- >>>>> ####### sbvr-types-4.0.2 - 2023-05-03
847
- >>>>>
848
- >>>>> * Improve typings [Pagan Gazzard]
849
- >>>>>
850
- >>>>> ####### sbvr-types-4.0.1 - 2023-05-02
851
- >>>>>
852
- >>>>> * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
853
- >>>>>
854
- >>>>> ####### sbvr-types-4.0.0 - 2023-04-26
855
- >>>>>
856
- >>>>> * Add test cases for Objects in JSON validate [fisehara]
857
- >>>>> * Drop `require-npm4-to-publish` devDependency [fisehara]
858
- >>>>> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
859
- >>>>> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
860
- >>>>> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
861
- >>>>> * Assert that JSON input typeof is object [Josh Bowling]
862
- >>>>>
863
- >>>>> ####### sbvr-types-3.5.0 - 2023-03-21
864
- >>>>>
865
- >>>>> * Add Big Serial type [Josh Bowling]
866
- >>>>>
867
- >>>>> ####### sbvr-types-3.4.19 - 2022-12-08
868
- >>>>>
869
- >>>>> * Flowzone: Allow external contributions [Josh Bowling]
870
- >>>>>
871
- >>>>
872
- >>>> </details>
873
- >>>>
874
- >>>>
875
- >>>> ###### odata-parser-3.0.1 - 2023-09-25
876
- >>>>
877
- >>>> * Allow running CI on external PRs [Pagan Gazzard]
878
- >>>>
879
- >>>> ###### sbvr-types-6.1.0 - 2023-10-03
880
- >>>>
881
- >>>> * Add checksum to WebResource [Otávio Jacobi]
882
- >>>>
883
- >>>> ###### sbvr-types-6.0.0 - 2023-08-09
884
- >>>>
885
- >>>> * Change contents to snake_case [Otávio Jacobi]
886
- >>>>
887
- >>>> ###### sbvr-types-5.2.0 - 2023-08-08
888
- >>>>
889
- >>>> * Expose WebResource as WebResourceType [Otávio Jacobi]
890
- >>>>
891
- >>>> ###### sbvr-types-5.1.0 - 2023-08-03
892
- >>>>
893
- >>>> * Adds WebResource type [Otávio Jacobi]
894
- >>>>
895
- >>>> ###### sbvr-types-5.0.0 - 2023-05-16
896
- >>>>
897
- >>>> * Switch from `export =` to `export default` [Pagan Gazzard]
898
- >>>>
899
- >>>> ###### sbvr-types-4.0.2 - 2023-05-03
900
- >>>>
901
- >>>> * Improve typings [Pagan Gazzard]
902
- >>>>
903
- >>>> ###### sbvr-types-4.0.1 - 2023-05-02
904
- >>>>
905
- >>>> * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
906
- >>>>
907
- >>>
908
- >>> </details>
909
- >>>
910
- >>>
911
- >>> ##### odata-to-abstract-sql-6.1.0 - 2023-08-16
912
- >>>
913
- >>> * Support bind references as boolean types [Pagan Gazzard]
914
- >>>
915
- >>> ##### sbvr-parser-1.4.6 - Invalid date
916
- >>>
917
- >>> * Update dependency @balena/sbvr-types to v8 [Self-hosted Renovate Bot]
918
- >>>
919
- >>> ##### sbvr-parser-1.4.5 - 2024-06-18
920
- >>>
921
- >>> * Switch to an inflection library from npm which does not monkey patch [Pagan Gazzard]
922
- >>>
923
- >>> ##### sbvr-parser-1.4.4 - 2024-03-05
924
- >>>
925
- >>> * Updated `@balena/sbvr-types` [Harald Fischer]
926
- >>>
927
- >>> ##### sbvr-types-9.0.2 - 2024-09-17
928
- >>>
929
- >>> * Change the exported Types to an interface so that they can be augmented [Thodoris Greasidis]
930
- >>>
931
- >>> ##### sbvr-types-9.0.1 - 2024-08-05
932
- >>>
933
- >>> * Update @balena/lint to v8.2.7 [Josh Bowling]
934
- >>>
935
- >>> ##### sbvr-types-9.0.0 - 2024-08-02
936
- >>>
937
- >>> * Update BigInteger and BigSerial TsTypes [Josh Bowling]
938
- >>>
939
- >>> ##### sbvr-types-8.0.0 - 2024-06-12
940
- >>>
941
- >>> * Improve BigInteger and BigSerial support [Josh Bowling]
942
- >>>
943
- >>> ##### sbvr-types-7.1.3 - 2024-06-12
944
- >>>
945
- >>> * Add typings for all abstract sql fragments, fixing where necessary [Pagan Gazzard]
946
- >>>
947
- >>> ##### sbvr-types-7.1.2 - 2024-06-12
948
- >>>
949
- >>> * Explicitly type the `compare` function for `hashed` [Pagan Gazzard]
950
- >>>
951
- >>> ##### sbvr-types-7.1.1 - 2024-06-04
952
- >>>
953
- >>> * Accept `Date` for the write types of `Date Time`/`Date`/`Time` [Pagan Gazzard]
954
- >>>
955
- >>> ##### sbvr-types-7.1.0 - 2024-04-25
956
- >>>
957
- >>> * Export typescript read/write types for each sbvr type [Pagan Gazzard]
958
- >>>
959
- >>> ##### sbvr-types-7.0.10 - 2024-04-09
960
- >>>
961
- >>> * Update Big Serial concept type to Big Integer [Josh Bowling]
962
- >>>
963
- >>> ##### sbvr-types-7.0.9 - 2024-04-09
964
- >>>
965
- >>> * Add Big Serial to Type.sbvr [Josh Bowling]
966
- >>>
967
- >>> ##### sbvr-types-7.0.8 - 2024-04-09
968
- >>>
969
- >>> * Update prepare script for husky v9 [Josh Bowling]
970
- >>> * Update dependency husky to v9 [Self-hosted Renovate Bot]
971
- >>>
972
- >>> ##### sbvr-types-7.0.7 - 2024-04-09
973
- >>>
974
- >>> * Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
975
- >>>
976
- >>> ##### sbvr-types-7.0.6 - 2024-03-21
977
- >>>
978
- >>> * Improve JSON typings [Pagan Gazzard]
979
- >>>
980
- >>> ##### sbvr-types-7.0.5 - 2024-03-13
981
- >>>
982
- >>> * Remove unnecessary catch bindings [Pagan Gazzard]
983
- >>>
984
- >>> ##### sbvr-types-7.0.4 - 2024-03-13
985
- >>>
986
- >>> * Improve validate typings [Pagan Gazzard]
987
- >>>
988
- >>> ##### sbvr-types-7.0.3 - 2024-03-12
989
- >>>
990
- >>> * Improve fetchProcessing typings [Pagan Gazzard]
991
- >>>
992
- >>> ##### sbvr-types-7.0.2 - 2024-03-12
993
- >>>
994
- >>> * Tests: convert to typescript [Pagan Gazzard]
995
- >>>
996
- >>
997
- >> </details>
998
- >>
999
- >>
1000
- >> #### sbvr-types-9.0.2 - 2024-09-17
1001
- >>
1002
- >> * Change the exported Types to an interface so that they can be augmented [Thodoris Greasidis]
1003
- >>
1004
- >> #### sbvr-types-9.0.1 - 2024-08-05
1005
- >>
1006
- >> * Update @balena/lint to v8.2.7 [Josh Bowling]
1007
- >>
1008
- >> #### sbvr-types-9.0.0 - 2024-08-02
1009
- >>
1010
- >> * Update BigInteger and BigSerial TsTypes [Josh Bowling]
1011
- >>
1012
- >> #### sbvr-types-8.0.0 - 2024-06-12
1013
- >>
1014
- >> * Improve BigInteger and BigSerial support [Josh Bowling]
1015
- >>
1016
- >
1017
- > </details>
1018
- >
1019
- > * tsconfig: Switch the module compiler option to Node16 [Thodoris Greasidis]
1020
- > * Update minimum supported nodejs version to 20.14.0 [Thodoris Greasidis]
1021
- >
1022
-
1023
- </details>
1024
-
1025
- ## 10.1.1 - 2025-01-06
1026
-
1027
- * Update dependency mocha to v11 [Self-hosted Renovate Bot]
1028
-
1029
- ## 10.1.0 - 2024-10-24
1030
-
1031
- * Add Lower unary node for countTableSelects optimization [Otavio Jacobi]
1032
-
1033
- ## 10.0.1 - 2024-10-07
1034
-
1035
- * Wrap composite comparison operations with parenthesis when necessary [Thodoris Greasidis]
1036
-
1037
- ## 10.0.0 - 2024-10-07
1038
-
1039
- * tsconfig: Switch the module compiler option to Node16 [Thodoris Greasidis]
1040
- * Update tsconfig target to es2023 [Thodoris Greasidis]
1041
- * Update minimum supported nodejs version to 20.14.0 [Thodoris Greasidis]
1042
- * Make @balena/sbvr-types a peer dependency [Thodoris Greasidis]
1043
- * Lint fixes [Thodoris Greasidis]
1044
-
1045
- <details>
1046
- <summary> Update dependencies & tests to match [Thodoris Greasidis] </summary>
1047
-
1048
- > ### lf-to-abstract-sql-5.0.2 - 2024-03-05
1049
- >
1050
- >
1051
- > <details>
1052
- > <summary> Update `@balena/sbvr-types` devDependency [Harald Fischer] </summary>
1053
- >
1054
- >> #### sbvr-types-7.0.1 - 2024-03-04
1055
- >>
1056
- >> * Update dependency @balena/abstract-sql-compiler to v9 [Self-hosted Renovate Bot]
1057
- >>
1058
- >> #### sbvr-types-7.0.0 - 2024-03-04
1059
- >>
1060
- >> * Return `ISODateString` instead of `date` [fisehara]
1061
- >>
1062
- >> #### sbvr-types-6.1.1 - 2024-01-02
1063
- >>
1064
- >> * Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
1065
- >>
1066
- >> #### sbvr-types-6.1.0 - 2023-10-03
1067
- >>
1068
- >> * Add checksum to WebResource [Otávio Jacobi]
1069
- >>
1070
- >> #### sbvr-types-6.0.0 - 2023-08-09
1071
- >>
1072
- >> * Change contents to snake_case [Otávio Jacobi]
1073
- >>
1074
- >> #### sbvr-types-5.2.0 - 2023-08-08
1075
- >>
1076
- >> * Expose WebResource as WebResourceType [Otávio Jacobi]
1077
- >>
1078
- >> #### sbvr-types-5.1.0 - 2023-08-03
1079
- >>
1080
- >> * Adds WebResource type [Otávio Jacobi]
1081
- >>
1082
- >
1083
- > </details>
1084
- >
1085
- >
1086
- > ### lf-to-abstract-sql-5.0.1 - 2023-05-16
1087
- >
1088
- >
1089
- > <details>
1090
- > <summary> Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard] </summary>
1091
- >
1092
- >> #### sbvr-types-5.0.0 - 2023-05-16
1093
- >>
1094
- >> * Switch from `export =` to `export default` [Pagan Gazzard]
1095
- >>
1096
- >> #### sbvr-types-4.0.2 - 2023-05-03
1097
- >>
1098
- >> * Improve typings [Pagan Gazzard]
1099
- >>
1100
- >> #### sbvr-types-4.0.1 - 2023-05-02
1101
- >>
1102
- >> * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
1103
- >>
1104
- >> #### sbvr-types-4.0.0 - 2023-04-26
1105
- >>
1106
- >> * Add test cases for Objects in JSON validate [fisehara]
1107
- >> * Drop `require-npm4-to-publish` devDependency [fisehara]
1108
- >> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
1109
- >> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
1110
- >> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
1111
- >> * Assert that JSON input typeof is object [Josh Bowling]
1112
- >>
1113
- >> #### sbvr-types-3.5.0 - 2023-03-21
1114
- >>
1115
- >> * Add Big Serial type [Josh Bowling]
1116
- >>
1117
- >> #### sbvr-types-3.4.19 - 2022-12-08
1118
- >>
1119
- >> * Flowzone: Allow external contributions [Josh Bowling]
1120
- >>
1121
- >
1122
- > </details>
1123
- >
1124
- >
1125
- > ### odata-parser-3.1.0 - 2024-10-03
1126
- >
1127
- > * Use bind vars for $top and $skip options [Pagan Gazzard]
1128
- >
1129
- > ### odata-parser-3.0.8 - 2024-06-04
1130
- >
1131
- > * Fix type checking of the declaration file [Pagan Gazzard]
1132
- >
1133
- > ### odata-parser-3.0.7 - 2024-04-13
1134
- >
1135
- > * Update dependency husky to v9 [Self-hosted Renovate Bot]
1136
- >
1137
- > ### odata-parser-3.0.6 - 2024-04-12
1138
- >
1139
- > * Update dependency peggy to v4 [Self-hosted Renovate Bot]
1140
- >
1141
- > ### odata-parser-3.0.5 - 2024-04-12
1142
- >
1143
- > * Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
1144
- >
1145
- > ### odata-parser-3.0.4 - 2024-04-12
1146
- >
1147
- > * Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
1148
- >
1149
- > ### odata-parser-3.0.3 - 2024-01-04
1150
- >
1151
- > * Optimize by moving constant values into global init [fisehara]
1152
- >
1153
- > ### odata-parser-3.0.2 - 2024-01-04
1154
- >
1155
- > * Update dependencies [fisehara]
1156
- >
1157
- > ### odata-parser-3.0.1 - 2023-09-25
1158
- >
1159
- > * Allow running CI on external PRs [Pagan Gazzard]
1160
- >
1161
- > ### odata-to-abstract-sql-6.4.0 - 2024-10-04
1162
- >
1163
- >
1164
- > <details>
1165
- > <summary> Support number references as boolean types [Pagan Gazzard] </summary>
1166
- >
1167
- >> #### odata-parser-3.1.0 - 2024-10-03
1168
- >>
1169
- >> * Use bind vars for $top and $skip options [Pagan Gazzard]
1170
- >>
1171
- >
1172
- > </details>
1173
- >
1174
- >
1175
- > ### odata-to-abstract-sql-6.3.0 - 2024-08-26
1176
- >
1177
- > * Support PUT/PATCH/DELETE requests on resources with a translated ID field [Thodoris Greasidis]
1178
- >
1179
- > ### odata-to-abstract-sql-6.2.8 - 2024-08-26
1180
- >
1181
- >
1182
- > <details>
1183
- > <summary> Update dependencies [Pagan Gazzard] </summary>
1184
- >
1185
- >> #### abstract-sql-compiler-9.2.0 - 2024-06-12
1186
- >>
1187
- >> * Adds `EndsWithNode` and `ContainsNode` typings [Pagan Gazzard]
1188
- >>
1189
- >> #### lf-to-abstract-sql-5.0.2 - 2024-03-05
1190
- >>
1191
- >>
1192
- >> <details>
1193
- >> <summary> Update `@balena/sbvr-types` devDependency [Harald Fischer] </summary>
1194
- >>
1195
- >>> ##### sbvr-types-7.0.1 - 2024-03-04
1196
- >>>
1197
- >>> * Update dependency @balena/abstract-sql-compiler to v9 [Self-hosted Renovate Bot]
1198
- >>>
1199
- >>> ##### sbvr-types-7.0.0 - 2024-03-04
1200
- >>>
1201
- >>> * Return `ISODateString` instead of `date` [fisehara]
1202
- >>>
1203
- >>> ##### sbvr-types-6.1.1 - 2024-01-02
1204
- >>>
1205
- >>> * Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
1206
- >>>
1207
- >>> ##### sbvr-types-6.1.0 - 2023-10-03
1208
- >>>
1209
- >>> * Add checksum to WebResource [Otávio Jacobi]
1210
- >>>
1211
- >>> ##### sbvr-types-6.0.0 - 2023-08-09
1212
- >>>
1213
- >>> * Change contents to snake_case [Otávio Jacobi]
1214
- >>>
1215
- >>> ##### sbvr-types-5.2.0 - 2023-08-08
1216
- >>>
1217
- >>> * Expose WebResource as WebResourceType [Otávio Jacobi]
1218
- >>>
1219
- >>> ##### sbvr-types-5.1.0 - 2023-08-03
1220
- >>>
1221
- >>> * Adds WebResource type [Otávio Jacobi]
1222
- >>>
1223
- >>
1224
- >> </details>
1225
- >>
1226
- >>
1227
- >> #### odata-parser-3.0.8 - 2024-06-04
1228
- >>
1229
- >> * Fix type checking of the declaration file [Pagan Gazzard]
1230
- >>
1231
- >> #### odata-parser-3.0.7 - 2024-04-13
1232
- >>
1233
- >> * Update dependency husky to v9 [Self-hosted Renovate Bot]
1234
- >>
1235
- >> #### odata-parser-3.0.6 - 2024-04-12
1236
- >>
1237
- >> * Update dependency peggy to v4 [Self-hosted Renovate Bot]
1238
- >>
1239
- >> #### odata-parser-3.0.5 - 2024-04-12
1240
- >>
1241
- >> * Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
1242
- >>
1243
- >> #### odata-parser-3.0.4 - 2024-04-12
1244
- >>
1245
- >> * Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
1246
- >>
1247
- >> #### sbvr-parser-1.4.6 - Invalid date
1248
- >>
1249
- >> * Update dependency @balena/sbvr-types to v8 [Self-hosted Renovate Bot]
1250
- >>
1251
- >> #### sbvr-parser-1.4.5 - 2024-06-18
1252
- >>
1253
- >> * Switch to an inflection library from npm which does not monkey patch [Pagan Gazzard]
1254
- >>
1255
- >> #### sbvr-parser-1.4.4 - 2024-03-05
1256
- >>
1257
- >> * Updated `@balena/sbvr-types` [Harald Fischer]
1258
- >>
1259
- >> #### sbvr-types-7.1.3 - 2024-06-12
1260
- >>
1261
- >> * Add typings for all abstract sql fragments, fixing where necessary [Pagan Gazzard]
1262
- >>
1263
- >> #### sbvr-types-7.1.2 - 2024-06-12
1264
- >>
1265
- >> * Explicitly type the `compare` function for `hashed` [Pagan Gazzard]
1266
- >>
1267
- >> #### sbvr-types-7.1.1 - 2024-06-04
1268
- >>
1269
- >> * Accept `Date` for the write types of `Date Time`/`Date`/`Time` [Pagan Gazzard]
1270
- >>
1271
- >> #### sbvr-types-7.1.0 - 2024-04-25
1272
- >>
1273
- >> * Export typescript read/write types for each sbvr type [Pagan Gazzard]
1274
- >>
1275
- >> #### sbvr-types-7.0.10 - 2024-04-09
1276
- >>
1277
- >> * Update Big Serial concept type to Big Integer [Josh Bowling]
1278
- >>
1279
- >> #### sbvr-types-7.0.9 - 2024-04-09
1280
- >>
1281
- >> * Add Big Serial to Type.sbvr [Josh Bowling]
1282
- >>
1283
- >> #### sbvr-types-7.0.8 - 2024-04-09
1284
- >>
1285
- >> * Update prepare script for husky v9 [Josh Bowling]
1286
- >> * Update dependency husky to v9 [Self-hosted Renovate Bot]
1287
- >>
1288
- >> #### sbvr-types-7.0.7 - 2024-04-09
1289
- >>
1290
- >> * Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
1291
- >>
1292
- >> #### sbvr-types-7.0.6 - 2024-03-21
1293
- >>
1294
- >> * Improve JSON typings [Pagan Gazzard]
1295
- >>
1296
- >> #### sbvr-types-7.0.5 - 2024-03-13
1297
- >>
1298
- >> * Remove unnecessary catch bindings [Pagan Gazzard]
1299
- >>
1300
- >> #### sbvr-types-7.0.4 - 2024-03-13
1301
- >>
1302
- >> * Improve validate typings [Pagan Gazzard]
1303
- >>
1304
- >> #### sbvr-types-7.0.3 - 2024-03-12
1305
- >>
1306
- >> * Improve fetchProcessing typings [Pagan Gazzard]
1307
- >>
1308
- >> #### sbvr-types-7.0.2 - 2024-03-12
1309
- >>
1310
- >> * Tests: convert to typescript [Pagan Gazzard]
1311
- >>
1312
- >
1313
- > </details>
1314
- >
1315
- >
1316
- > ### odata-to-abstract-sql-6.2.7 - 2024-04-23
1317
- >
1318
- >
1319
- > <details>
1320
- > <summary> Properly error when using fields of a partial index as an alternate key [Thodoris Greasidis] </summary>
1321
- >
1322
- >> #### abstract-sql-compiler-9.1.4 - 2024-04-09
1323
- >>
1324
- >> * Cast Big Serial to integer [Josh Bowling]
1325
- >>
1326
- >> #### abstract-sql-compiler-9.1.3 - 2024-04-09
1327
- >>
1328
- >> * Update prepare script for husky v9 [Josh Bowling]
1329
- >> * Update dependency husky to v9 [Self-hosted Renovate Bot]
1330
- >>
1331
- >> #### abstract-sql-compiler-9.1.2 - 2024-04-09
1332
- >>
1333
- >> * Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
1334
- >>
1335
- >> #### abstract-sql-compiler-9.1.1 - 2024-03-26
1336
- >>
1337
- >> * Update dependency @balena/lint to v8 [Thodoris Greasidis]
1338
- >>
1339
- >> #### abstract-sql-compiler-9.1.0 - 2024-03-26
1340
- >>
1341
- >> * Export the generateRuleHashAcronym helper [Thodoris Greasidis]
1342
- >> * Add support for unique indexes with NOT DISTINCT NULLS [Thodoris Greasidis]
1343
- >> * Add support for partial unique indexes [Thodoris Greasidis]
1344
- >>
1345
- >> #### abstract-sql-compiler-9.0.7 - 2024-03-22
1346
- >>
1347
- >>
1348
- >> <details>
1349
- >> <summary> Update dependency @balena/odata-parser to v3 [Self-hosted Renovate Bot] </summary>
1350
- >>
1351
- >>> ##### odata-parser-3.0.3 - 2024-01-04
1352
- >>>
1353
- >>> * Optimize by moving constant values into global init [fisehara]
1354
- >>>
1355
- >>> ##### odata-parser-3.0.2 - 2024-01-04
1356
- >>>
1357
- >>> * Update dependencies [fisehara]
1358
- >>>
1359
- >>> ##### odata-parser-3.0.1 - 2023-09-25
1360
- >>>
1361
- >>> * Allow running CI on external PRs [Pagan Gazzard]
1362
- >>>
1363
- >>> ##### odata-parser-3.0.0 - 2023-04-26
1364
- >>>
1365
- >>> * Use optional chaining operator [Pagan Gazzard]
1366
- >>> * Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
1367
- >>>
1368
- >>
1369
- >> </details>
1370
- >>
1371
- >>
1372
- >> #### abstract-sql-compiler-9.0.6 - 2024-03-21
1373
- >>
1374
- >> * Update TypeScript to 5.4.3 [Thodoris Greasidis]
1375
- >>
1376
- >> #### abstract-sql-compiler-9.0.5 - 2024-03-05
1377
- >>
1378
- >> * Update `@balena/sbvr-types` [Harald Fischer]
1379
- >>
1380
- >
1381
- > </details>
1382
- >
1383
- >
1384
- > ### odata-to-abstract-sql-6.2.6 - 2024-04-13
1385
- >
1386
- > * Update dependency husky to v9 [Self-hosted Renovate Bot]
1387
- >
1388
- > ### odata-to-abstract-sql-6.2.5 - 2024-04-10
1389
- >
1390
- > * Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
1391
- >
1392
- > ### odata-to-abstract-sql-6.2.4 - 2024-03-05
1393
- >
1394
- > * Update `@balena/sbvr-types` devDependencies [fisehara]
1395
- > * Fix linter issue [fisehara]
1396
- >
1397
- > ### odata-to-abstract-sql-6.2.3 - 2024-01-15
1398
- >
1399
- > * Require at least one field to be updated for PATCH requests [Pagan Gazzard]
1400
- >
1401
- > ### odata-to-abstract-sql-6.2.2 - 2024-01-15
1402
- >
1403
- > * Simplify support for MERGE as an alias for PATCH [Pagan Gazzard]
1404
- >
1405
- > ### odata-to-abstract-sql-6.2.1 - 2024-01-15
1406
- >
1407
- >
1408
- > <details>
1409
- > <summary> Update dependencies [Pagan Gazzard] </summary>
1410
- >
1411
- >> #### abstract-sql-compiler-9.0.4 - 2024-01-02
1412
- >>
1413
- >> * Update dependency @types/node to v20 [Self-hosted Renovate Bot]
1414
- >>
1415
- >> #### odata-parser-3.0.3 - 2024-01-04
1416
- >>
1417
- >> * Optimize by moving constant values into global init [fisehara]
1418
- >>
1419
- >> #### odata-parser-3.0.2 - 2024-01-04
1420
- >>
1421
- >> * Update dependencies [fisehara]
1422
- >>
1423
- >> #### sbvr-types-6.1.1 - 2024-01-02
1424
- >>
1425
- >> * Update dependency @types/chai-datetime to ^0.0.39 [Self-hosted Renovate Bot]
1426
- >>
1427
- >
1428
- > </details>
1429
- >
1430
- >
1431
- > ### odata-to-abstract-sql-6.2.0 - 2023-11-24
1432
- >
1433
- > * Optimize Duplications of `ComputedField` queries [fisehara]
1434
- >
1435
- > ### odata-to-abstract-sql-6.1.3 - 2023-11-10
1436
- >
1437
- > * Update dependency @types/chai-things to v0.0.38 [Self-hosted Renovate Bot]
1438
- >
1439
- > ### odata-to-abstract-sql-6.1.2 - 2023-10-20
1440
- >
1441
- > * Update dependency @types/chai-things to v0.0.37 [Self-hosted Renovate Bot]
1442
- >
1443
- > ### odata-to-abstract-sql-6.1.1 - 2023-10-19
1444
- >
1445
- >
1446
- > <details>
1447
- > <summary> Update dependencies eslint, sbvrTypes, abstract-sql-compiler [Harald Fischer] </summary>
1448
- >
1449
- >> #### abstract-sql-compiler-9.0.3 - 2023-08-09
1450
- >>
1451
- >>
1452
- >> <details>
1453
- >> <summary> Update @balena/sbvr-types to 6.0.0 [Otávio Jacobi] </summary>
1454
- >>
1455
- >>> ##### sbvr-types-6.0.0 - 2023-08-09
1456
- >>>
1457
- >>> * Change contents to snake_case [Otávio Jacobi]
1458
- >>>
1459
- >>> ##### sbvr-types-5.2.0 - 2023-08-08
1460
- >>>
1461
- >>> * Expose WebResource as WebResourceType [Otávio Jacobi]
1462
- >>>
1463
- >>> ##### sbvr-types-5.1.0 - 2023-08-03
1464
- >>>
1465
- >>> * Adds WebResource type [Otávio Jacobi]
1466
- >>>
1467
- >>
1468
- >> </details>
1469
- >>
1470
- >>
1471
- >> #### abstract-sql-compiler-9.0.2 - 2023-05-16
1472
- >>
1473
- >>
1474
- >> <details>
1475
- >> <summary> Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard] </summary>
1476
- >>
1477
- >>> ##### sbvr-types-5.0.0 - 2023-05-16
1478
- >>>
1479
- >>> * Switch from `export =` to `export default` [Pagan Gazzard]
1480
- >>>
1481
- >>> ##### sbvr-types-4.0.2 - 2023-05-03
1482
- >>>
1483
- >>> * Improve typings [Pagan Gazzard]
1484
- >>>
1485
- >>> ##### sbvr-types-4.0.1 - 2023-05-02
1486
- >>>
1487
- >>> * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
1488
- >>>
1489
- >>
1490
- >> </details>
1491
- >>
1492
- >>
1493
- >> #### abstract-sql-compiler-9.0.1 - 2023-05-15
1494
- >>
1495
- >> * Fix TS errors for the latest sbvrTypes [Thodoris Greasidis]
1496
- >>
1497
- >> #### abstract-sql-compiler-9.0.0 - 2023-05-02
1498
- >>
1499
- >> * Drop `require-npm4-to-publish` as `engines` used [fisehara]
1500
- >>
1501
- >> <details>
1502
- >> <summary> Update @balena/odata-to-abstract-sql to 6.x [Pagan Gazzard] </summary>
1503
- >>
1504
- >>> ##### odata-to-abstract-sql-6.0.1 - 2023-04-27
1505
- >>>
1506
- >>>
1507
- >>> <details>
1508
- >>> <summary> Update dependencies [Pagan Gazzard] </summary>
1509
- >>>
1510
- >>>> ###### odata-parser-3.0.0 - 2023-04-26
1511
- >>>>
1512
- >>>> * Use optional chaining operator [Pagan Gazzard]
1513
- >>>> * Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
1514
- >>>>
1515
- >>>> ###### odata-parser-2.5.0 - 2023-04-26
1516
- >>>>
1517
- >>>> * Update to peggy 3 and make us of the repetition operator [Pagan Gazzard]
1518
- >>>>
1519
- >>>> ###### sbvr-types-4.0.0 - 2023-04-26
1520
- >>>>
1521
- >>>> * Add test cases for Objects in JSON validate [fisehara]
1522
- >>>> * Drop `require-npm4-to-publish` devDependency [fisehara]
1523
- >>>> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
1524
- >>>> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
1525
- >>>> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
1526
- >>>> * Assert that JSON input typeof is object [Josh Bowling]
1527
- >>>>
1528
- >>>
1529
- >>> </details>
1530
- >>>
1531
- >>>
1532
- >>> ##### odata-to-abstract-sql-6.0.0 - 2023-04-26
1533
- >>>
1534
- >>> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
1535
- >>> * Switch `AggregateJSON` to use the newer `ReferencedField` format [Pagan Gazzard]
1536
- >>>
1537
- >>> ##### odata-to-abstract-sql-5.9.6 - 2023-04-25
1538
- >>>
1539
- >>> * Collapse `AliasedFunction` into `FunctionMatch` [Pagan Gazzard]
1540
- >>>
1541
- >>> ##### odata-to-abstract-sql-5.9.5 - 2023-04-25
1542
- >>>
1543
- >>>
1544
- >>> <details>
1545
- >>> <summary> Improve typings [Pagan Gazzard] </summary>
1546
- >>>
1547
- >>>> ###### abstract-sql-compiler-8.4.1 - 2023-04-25
1548
- >>>>
1549
- >>>> * Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
1550
- >>>>
1551
- >>>
1552
- >>> </details>
1553
- >>>
1554
- >>>
1555
- >>> ##### odata-to-abstract-sql-5.9.4 - 2023-04-24
1556
- >>>
1557
- >>>
1558
- >>> <details>
1559
- >>> <summary> Update dependencies [Pagan Gazzard] </summary>
1560
- >>>
1561
- >>>> ###### abstract-sql-compiler-8.4.0 - 2023-04-24
1562
- >>>>
1563
- >>>> * Add support for using field type nodes with an AggregateJSON node [Pagan Gazzard]
1564
- >>>>
1565
- >>>> ###### abstract-sql-compiler-8.3.13 - 2023-04-24
1566
- >>>>
1567
- >>>> * Deprecate `AliasableFromTypeNodes` type as it's redundant [Pagan Gazzard]
1568
- >>>>
1569
- >>>> ###### abstract-sql-compiler-8.3.12 - 2023-04-17
1570
- >>>>
1571
- >>>> * Revert tightening of `OrderBy` to only field nodes [Pagan Gazzard]
1572
- >>>>
1573
- >>>> ###### abstract-sql-compiler-8.3.11 - 2023-04-13
1574
- >>>>
1575
- >>>> * Do not allow ON clauses for CROSS JOIN as it is invalid [Pagan Gazzard]
1576
- >>>> * Stop accepting `ExtractJSONPathAsText`/`ToJSON` as unknown node types [Pagan Gazzard]
1577
- >>>>
1578
- >>>> ###### abstract-sql-compiler-8.3.10 - 2023-04-13
1579
- >>>>
1580
- >>>> * Fix DateNode/AnyNode typings [Pagan Gazzard]
1581
- >>>>
1582
- >>>> ###### abstract-sql-compiler-8.3.9 - 2023-04-13
1583
- >>>>
1584
- >>>>
1585
- >>>> <details>
1586
- >>>> <summary> Update dependencies [Pagan Gazzard] </summary>
1587
- >>>>
1588
- >>>>> ####### sbvr-types-3.5.0 - 2023-03-21
1589
- >>>>>
1590
- >>>>> * Add Big Serial type [Josh Bowling]
1591
- >>>>>
1592
- >>>>> ####### sbvr-types-3.4.19 - 2022-12-08
1593
- >>>>>
1594
- >>>>> * Flowzone: Allow external contributions [Josh Bowling]
1595
- >>>>>
1596
- >>>>
1597
- >>>> </details>
1598
- >>>>
1599
- >>>>
1600
- >>>> ###### abstract-sql-compiler-8.3.8 - 2023-04-12
1601
- >>>>
1602
- >>>> * Improve typings [Pagan Gazzard]
1603
- >>>>
1604
- >>>> ###### abstract-sql-compiler-8.3.7 - 2023-04-12
1605
- >>>>
1606
- >>>> * Remove typing for non-existent JSON node [Pagan Gazzard]
1607
- >>>>
1608
- >>>> ###### abstract-sql-compiler-8.3.6 - 2023-04-12
1609
- >>>>
1610
- >>>> * Tighten the `isXValue` function typings [Pagan Gazzard]
1611
- >>>>
1612
- >>>> ###### abstract-sql-compiler-8.3.5 - 2023-04-12
1613
- >>>>
1614
- >>>> * Correctly treat `Value` nodes as rewritten to `Text` by the optimizer [Pagan Gazzard]
1615
- >>>> * Add EmbeddedTextNode typing [Pagan Gazzard]
1616
- >>>>
1617
- >>>> ###### abstract-sql-compiler-8.3.4 - 2023-04-12
1618
- >>>>
1619
- >>>> * Enforce the first argument of ExtractJSONPathAsText is a JSON type node [Pagan Gazzard]
1620
- >>>>
1621
- >>>> ###### abstract-sql-compiler-8.3.3 - 2023-04-12
1622
- >>>>
1623
- >>>> * Improve node typings [Pagan Gazzard]
1624
- >>>>
1625
- >>>> ###### abstract-sql-compiler-8.3.2 - 2023-04-12
1626
- >>>>
1627
- >>>> * Add more node typings [Pagan Gazzard]
1628
- >>>>
1629
- >>>> ###### abstract-sql-compiler-8.3.1 - 2023-04-12
1630
- >>>>
1631
- >>>> * Add more node typings [Pagan Gazzard]
1632
- >>>>
1633
- >>>> ###### abstract-sql-compiler-8.3.0 - 2023-04-11
1634
- >>>>
1635
- >>>> * Support boolean nodes in a ValuesNode [Pagan Gazzard]
1636
- >>>>
1637
- >>>> ###### abstract-sql-compiler-8.2.0 - 2023-04-11
1638
- >>>>
1639
- >>>> * Add `Between` node type [Pagan Gazzard]
1640
- >>>>
1641
- >>>> ###### abstract-sql-compiler-8.1.0 - 2023-04-11
1642
- >>>>
1643
- >>>> * Add `BitwiseAnd`/`BitwiseShiftRight` node types [Pagan Gazzard]
1644
- >>>>
1645
- >>>> ###### abstract-sql-compiler-8.0.2 - 2023-04-06
1646
- >>>>
1647
- >>>> * Add `NotInNode` type [Pagan Gazzard]
1648
- >>>> * Add `IsDistinctFromNode`/`IsNotDistinctFromNode` types [Pagan Gazzard]
1649
- >>>> * Add `CharacterLengthNode` type [Pagan Gazzard]
1650
- >>>>
1651
- >>>> ###### abstract-sql-compiler-8.0.1 - 2023-04-06
1652
- >>>>
1653
- >>>> * Adds Cast node type to tree parsing [Otávio Jacobi]
1654
- >>>>
1655
- >>>> ###### odata-parser-2.4.6 - 2023-02-24
1656
- >>>>
1657
- >>>> * Improve typings [Pagan Gazzard]
1658
- >>>>
1659
- >>>> ###### odata-parser-2.4.5 - 2023-02-23
1660
- >>>>
1661
- >>>> * Use const/let as appropriate [Pagan Gazzard]
1662
- >>>>
1663
- >>>> ###### odata-parser-2.4.4 - 2023-02-23
1664
- >>>>
1665
- >>>> * Use shorthand object notation [Pagan Gazzard]
1666
- >>>>
1667
- >>>> ###### odata-parser-2.4.3 - 2023-02-23
1668
- >>>>
1669
- >>>> * Update dependencies [Pagan Gazzard]
1670
- >>>>
1671
- >>>
1672
- >>> </details>
1673
- >>>
1674
- >>>
1675
- >>
1676
- >> </details>
1677
- >>
1678
- >> * Remove support for the legacy AggregateJSON format of `[tableName, fieldName]` [Pagan Gazzard]
1679
- >> * Remove support for the legacy boolean format of `true|false` [Pagan Gazzard]
1680
- >> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
1681
- >> * Remove support for the legacy alias format of `[node, alias]` [Pagan Gazzard]
1682
- >> * Remove support for the legacy table format of `tableName` [Pagan Gazzard]
1683
- >> * Remove support for the legacy null formats of `null` and `'Null'` [Pagan Gazzard]
1684
- >> * Reflect the usage of BOOLEAN db type [Pagan Gazzard]
1685
- >>
1686
- >> <details>
1687
- >> <summary> Update @balena/sbvr-types to 4.x [Pagan Gazzard] </summary>
1688
- >>
1689
- >>> ##### sbvr-types-4.0.0 - 2023-04-26
1690
- >>>
1691
- >>> * Add test cases for Objects in JSON validate [fisehara]
1692
- >>> * Drop `require-npm4-to-publish` devDependency [fisehara]
1693
- >>> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
1694
- >>> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
1695
- >>> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
1696
- >>> * Assert that JSON input typeof is object [Josh Bowling]
1697
- >>>
1698
- >>
1699
- >> </details>
1700
- >>
1701
- >>
1702
- >> #### abstract-sql-compiler-8.5.0 - 2023-04-27
1703
- >>
1704
- >> * Use native `StartsWith` node type for postgres [Pagan Gazzard]
1705
- >> * Convert `EscapeForLike` into a standalone node type [Pagan Gazzard]
1706
- >>
1707
- >> #### lf-to-abstract-sql-5.0.1 - 2023-05-16
1708
- >>
1709
- >>
1710
- >> <details>
1711
- >> <summary> Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard] </summary>
1712
- >>
1713
- >>> ##### sbvr-types-5.0.0 - 2023-05-16
1714
- >>>
1715
- >>> * Switch from `export =` to `export default` [Pagan Gazzard]
1716
- >>>
1717
- >>> ##### sbvr-types-4.0.2 - 2023-05-03
1718
- >>>
1719
- >>> * Improve typings [Pagan Gazzard]
1720
- >>>
1721
- >>> ##### sbvr-types-4.0.1 - 2023-05-02
1722
- >>>
1723
- >>> * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
1724
- >>>
1725
- >>> ##### sbvr-types-4.0.0 - 2023-04-26
1726
- >>>
1727
- >>> * Add test cases for Objects in JSON validate [fisehara]
1728
- >>> * Drop `require-npm4-to-publish` devDependency [fisehara]
1729
- >>> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
1730
- >>> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
1731
- >>> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
1732
- >>> * Assert that JSON input typeof is object [Josh Bowling]
1733
- >>>
1734
- >>> ##### sbvr-types-3.5.0 - 2023-03-21
1735
- >>>
1736
- >>> * Add Big Serial type [Josh Bowling]
1737
- >>>
1738
- >>> ##### sbvr-types-3.4.19 - 2022-12-08
1739
- >>>
1740
- >>> * Flowzone: Allow external contributions [Josh Bowling]
1741
- >>>
1742
- >>
1743
- >> </details>
1744
- >>
1745
- >>
1746
- >> #### odata-parser-3.0.1 - 2023-09-25
1747
- >>
1748
- >> * Allow running CI on external PRs [Pagan Gazzard]
1749
- >>
1750
- >> #### sbvr-types-6.1.0 - 2023-10-03
1751
- >>
1752
- >> * Add checksum to WebResource [Otávio Jacobi]
1753
- >>
1754
- >> #### sbvr-types-6.0.0 - 2023-08-09
1755
- >>
1756
- >> * Change contents to snake_case [Otávio Jacobi]
1757
- >>
1758
- >> #### sbvr-types-5.2.0 - 2023-08-08
1759
- >>
1760
- >> * Expose WebResource as WebResourceType [Otávio Jacobi]
1761
- >>
1762
- >> #### sbvr-types-5.1.0 - 2023-08-03
1763
- >>
1764
- >> * Adds WebResource type [Otávio Jacobi]
1765
- >>
1766
- >> #### sbvr-types-5.0.0 - 2023-05-16
1767
- >>
1768
- >> * Switch from `export =` to `export default` [Pagan Gazzard]
1769
- >>
1770
- >> #### sbvr-types-4.0.2 - 2023-05-03
1771
- >>
1772
- >> * Improve typings [Pagan Gazzard]
1773
- >>
1774
- >> #### sbvr-types-4.0.1 - 2023-05-02
1775
- >>
1776
- >> * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
1777
- >>
1778
- >
1779
- > </details>
1780
- >
1781
- >
1782
- > ### odata-to-abstract-sql-6.1.0 - 2023-08-16
1783
- >
1784
- > * Support bind references as boolean types [Pagan Gazzard]
1785
- >
1786
- > ### sbvr-parser-1.4.6 - Invalid date
1787
- >
1788
- > * Update dependency @balena/sbvr-types to v8 [Self-hosted Renovate Bot]
1789
- >
1790
- > ### sbvr-parser-1.4.5 - 2024-06-18
1791
- >
1792
- > * Switch to an inflection library from npm which does not monkey patch [Pagan Gazzard]
1793
- >
1794
- > ### sbvr-parser-1.4.4 - 2024-03-05
1795
- >
1796
- > * Updated `@balena/sbvr-types` [Harald Fischer]
1797
- >
1798
- > ### sbvr-types-9.0.2 - 2024-09-17
1799
- >
1800
- > * Change the exported Types to an interface so that they can be augmented [Thodoris Greasidis]
1801
- >
1802
- > ### sbvr-types-9.0.1 - 2024-08-05
1803
- >
1804
- > * Update @balena/lint to v8.2.7 [Josh Bowling]
1805
- >
1806
- > ### sbvr-types-9.0.0 - 2024-08-02
1807
- >
1808
- > * Update BigInteger and BigSerial TsTypes [Josh Bowling]
1809
- >
1810
- > ### sbvr-types-8.0.0 - 2024-06-12
1811
- >
1812
- > * Improve BigInteger and BigSerial support [Josh Bowling]
1813
- >
1814
- > ### sbvr-types-7.1.3 - 2024-06-12
1815
- >
1816
- > * Add typings for all abstract sql fragments, fixing where necessary [Pagan Gazzard]
1817
- >
1818
- > ### sbvr-types-7.1.2 - 2024-06-12
1819
- >
1820
- > * Explicitly type the `compare` function for `hashed` [Pagan Gazzard]
1821
- >
1822
- > ### sbvr-types-7.1.1 - 2024-06-04
1823
- >
1824
- > * Accept `Date` for the write types of `Date Time`/`Date`/`Time` [Pagan Gazzard]
1825
- >
1826
- > ### sbvr-types-7.1.0 - 2024-04-25
1827
- >
1828
- > * Export typescript read/write types for each sbvr type [Pagan Gazzard]
1829
- >
1830
- > ### sbvr-types-7.0.10 - 2024-04-09
1831
- >
1832
- > * Update Big Serial concept type to Big Integer [Josh Bowling]
1833
- >
1834
- > ### sbvr-types-7.0.9 - 2024-04-09
1835
- >
1836
- > * Add Big Serial to Type.sbvr [Josh Bowling]
1837
- >
1838
- > ### sbvr-types-7.0.8 - 2024-04-09
1839
- >
1840
- > * Update prepare script for husky v9 [Josh Bowling]
1841
- > * Update dependency husky to v9 [Self-hosted Renovate Bot]
1842
- >
1843
- > ### sbvr-types-7.0.7 - 2024-04-09
1844
- >
1845
- > * Update dependency @balena/lint to v8 [Self-hosted Renovate Bot]
1846
- >
1847
- > ### sbvr-types-7.0.6 - 2024-03-21
1848
- >
1849
- > * Improve JSON typings [Pagan Gazzard]
1850
- >
1851
- > ### sbvr-types-7.0.5 - 2024-03-13
1852
- >
1853
- > * Remove unnecessary catch bindings [Pagan Gazzard]
1854
- >
1855
- > ### sbvr-types-7.0.4 - 2024-03-13
1856
- >
1857
- > * Improve validate typings [Pagan Gazzard]
1858
- >
1859
- > ### sbvr-types-7.0.3 - 2024-03-12
1860
- >
1861
- > * Improve fetchProcessing typings [Pagan Gazzard]
1862
- >
1863
- > ### sbvr-types-7.0.2 - 2024-03-12
1864
- >
1865
- > * Tests: convert to typescript [Pagan Gazzard]
1866
- >
1867
-
1868
- </details>
1869
-
1870
- ## 9.2.0 - 2024-06-12
1871
-
1872
- * Adds `EndsWithNode` and `ContainsNode` typings [Pagan Gazzard]
1873
-
1874
- ## 9.1.4 - 2024-04-09
1875
-
1876
- * Cast Big Serial to integer [Josh Bowling]
1877
-
1878
- ## 9.1.3 - 2024-04-09
1879
-
1880
- * Update prepare script for husky v9 [Josh Bowling]
1881
- * Update dependency husky to v9 [Self-hosted Renovate Bot]
1882
-
1883
- ## 9.1.2 - 2024-04-09
1884
-
1885
- * Update dependency lint-staged to v15 [Self-hosted Renovate Bot]
1886
-
1887
- ## 9.1.1 - 2024-03-26
1888
-
1889
- * Update dependency @balena/lint to v8 [Thodoris Greasidis]
1890
-
1891
- ## 9.1.0 - 2024-03-26
1892
-
1893
- * Export the generateRuleHashAcronym helper [Thodoris Greasidis]
1894
- * Add support for unique indexes with NOT DISTINCT NULLS [Thodoris Greasidis]
1895
- * Add support for partial unique indexes [Thodoris Greasidis]
1896
-
1897
- ## 9.0.7 - 2024-03-22
1898
-
1899
-
1900
- <details>
1901
- <summary> Update dependency @balena/odata-parser to v3 [Self-hosted Renovate Bot] </summary>
1902
-
1903
- > ### odata-parser-3.0.3 - 2024-01-04
1904
- >
1905
- > * Optimize by moving constant values into global init [fisehara]
1906
- >
1907
- > ### odata-parser-3.0.2 - 2024-01-04
1908
- >
1909
- > * Update dependencies [fisehara]
1910
- >
1911
- > ### odata-parser-3.0.1 - 2023-09-25
1912
- >
1913
- > * Allow running CI on external PRs [Pagan Gazzard]
1914
- >
1915
- > ### odata-parser-3.0.0 - 2023-04-26
1916
- >
1917
- > * Use optional chaining operator [Pagan Gazzard]
1918
- > * Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
1919
- >
1920
-
1921
- </details>
1922
-
1923
- ## 9.0.6 - 2024-03-21
1924
-
1925
- * Update TypeScript to 5.4.3 [Thodoris Greasidis]
1926
-
1927
- ## 9.0.5 - 2024-03-05
1928
-
1929
- * Update `@balena/sbvr-types` [Harald Fischer]
1930
-
1931
- ## 9.0.4 - 2024-01-02
1932
-
1933
- * Update dependency @types/node to v20 [Self-hosted Renovate Bot]
1934
-
1935
- ## 9.0.3 - 2023-08-09
1936
-
1937
-
1938
- <details>
1939
- <summary> Update @balena/sbvr-types to 6.0.0 [Otávio Jacobi] </summary>
1940
-
1941
- > ### sbvr-types-6.0.0 - 2023-08-09
1942
- >
1943
- > * Change contents to snake_case [Otávio Jacobi]
1944
- >
1945
- > ### sbvr-types-5.2.0 - 2023-08-08
1946
- >
1947
- > * Expose WebResource as WebResourceType [Otávio Jacobi]
1948
- >
1949
- > ### sbvr-types-5.1.0 - 2023-08-03
1950
- >
1951
- > * Adds WebResource type [Otávio Jacobi]
1952
- >
1953
-
1954
- </details>
1955
-
1956
- ## 9.0.2 - 2023-05-16
1957
-
1958
-
1959
- <details>
1960
- <summary> Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard] </summary>
1961
-
1962
- > ### sbvr-types-5.0.0 - 2023-05-16
1963
- >
1964
- > * Switch from `export =` to `export default` [Pagan Gazzard]
1965
- >
1966
- > ### sbvr-types-4.0.2 - 2023-05-03
1967
- >
1968
- > * Improve typings [Pagan Gazzard]
1969
- >
1970
- > ### sbvr-types-4.0.1 - 2023-05-02
1971
- >
1972
- > * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
1973
- >
1974
-
1975
- </details>
1976
-
1977
- ## 9.0.1 - 2023-05-15
1978
-
1979
- * Fix TS errors for the latest sbvrTypes [Thodoris Greasidis]
1980
-
1981
- ## 9.0.0 - 2023-05-02
1982
-
1983
- * Drop `require-npm4-to-publish` as `engines` used [fisehara]
1984
-
1985
- <details>
1986
- <summary> Update @balena/odata-to-abstract-sql to 6.x [Pagan Gazzard] </summary>
1987
-
1988
- > ### odata-to-abstract-sql-6.0.1 - 2023-04-27
1989
- >
1990
- >
1991
- > <details>
1992
- > <summary> Update dependencies [Pagan Gazzard] </summary>
1993
- >
1994
- >> #### odata-parser-3.0.0 - 2023-04-26
1995
- >>
1996
- >> * Use optional chaining operator [Pagan Gazzard]
1997
- >> * Set minimum supported nodejs version to 16.13.0 [Pagan Gazzard]
1998
- >>
1999
- >> #### odata-parser-2.5.0 - 2023-04-26
2000
- >>
2001
- >> * Update to peggy 3 and make us of the repetition operator [Pagan Gazzard]
2002
- >>
2003
- >> #### sbvr-types-4.0.0 - 2023-04-26
2004
- >>
2005
- >> * Add test cases for Objects in JSON validate [fisehara]
2006
- >> * Drop `require-npm4-to-publish` devDependency [fisehara]
2007
- >> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
2008
- >> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
2009
- >> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
2010
- >> * Assert that JSON input typeof is object [Josh Bowling]
2011
- >>
2012
- >
2013
- > </details>
2014
- >
2015
- >
2016
- > ### odata-to-abstract-sql-6.0.0 - 2023-04-26
2017
- >
2018
- > * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
2019
- > * Switch `AggregateJSON` to use the newer `ReferencedField` format [Pagan Gazzard]
2020
- >
2021
- > ### odata-to-abstract-sql-5.9.6 - 2023-04-25
2022
- >
2023
- > * Collapse `AliasedFunction` into `FunctionMatch` [Pagan Gazzard]
2024
- >
2025
- > ### odata-to-abstract-sql-5.9.5 - 2023-04-25
2026
- >
2027
- >
2028
- > <details>
2029
- > <summary> Improve typings [Pagan Gazzard] </summary>
2030
- >
2031
- >> #### abstract-sql-compiler-8.4.1 - 2023-04-25
2032
- >>
2033
- >> * Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
2034
- >>
2035
- >
2036
- > </details>
2037
- >
2038
- >
2039
- > ### odata-to-abstract-sql-5.9.4 - 2023-04-24
2040
- >
2041
- >
2042
- > <details>
2043
- > <summary> Update dependencies [Pagan Gazzard] </summary>
2044
- >
2045
- >> #### abstract-sql-compiler-8.4.0 - 2023-04-24
2046
- >>
2047
- >> * Add support for using field type nodes with an AggregateJSON node [Pagan Gazzard]
2048
- >>
2049
- >> #### abstract-sql-compiler-8.3.13 - 2023-04-24
2050
- >>
2051
- >> * Deprecate `AliasableFromTypeNodes` type as it's redundant [Pagan Gazzard]
2052
- >>
2053
- >> #### abstract-sql-compiler-8.3.12 - 2023-04-17
2054
- >>
2055
- >> * Revert tightening of `OrderBy` to only field nodes [Pagan Gazzard]
2056
- >>
2057
- >> #### abstract-sql-compiler-8.3.11 - 2023-04-13
2058
- >>
2059
- >> * Do not allow ON clauses for CROSS JOIN as it is invalid [Pagan Gazzard]
2060
- >> * Stop accepting `ExtractJSONPathAsText`/`ToJSON` as unknown node types [Pagan Gazzard]
2061
- >>
2062
- >> #### abstract-sql-compiler-8.3.10 - 2023-04-13
2063
- >>
2064
- >> * Fix DateNode/AnyNode typings [Pagan Gazzard]
2065
- >>
2066
- >> #### abstract-sql-compiler-8.3.9 - 2023-04-13
2067
- >>
2068
- >>
2069
- >> <details>
2070
- >> <summary> Update dependencies [Pagan Gazzard] </summary>
2071
- >>
2072
- >>> ##### sbvr-types-3.5.0 - 2023-03-21
2073
- >>>
2074
- >>> * Add Big Serial type [Josh Bowling]
2075
- >>>
2076
- >>> ##### sbvr-types-3.4.19 - 2022-12-08
2077
- >>>
2078
- >>> * Flowzone: Allow external contributions [Josh Bowling]
2079
- >>>
2080
- >>
2081
- >> </details>
2082
- >>
2083
- >>
2084
- >> #### abstract-sql-compiler-8.3.8 - 2023-04-12
2085
- >>
2086
- >> * Improve typings [Pagan Gazzard]
2087
- >>
2088
- >> #### abstract-sql-compiler-8.3.7 - 2023-04-12
2089
- >>
2090
- >> * Remove typing for non-existent JSON node [Pagan Gazzard]
2091
- >>
2092
- >> #### abstract-sql-compiler-8.3.6 - 2023-04-12
2093
- >>
2094
- >> * Tighten the `isXValue` function typings [Pagan Gazzard]
2095
- >>
2096
- >> #### abstract-sql-compiler-8.3.5 - 2023-04-12
2097
- >>
2098
- >> * Correctly treat `Value` nodes as rewritten to `Text` by the optimizer [Pagan Gazzard]
2099
- >> * Add EmbeddedTextNode typing [Pagan Gazzard]
2100
- >>
2101
- >> #### abstract-sql-compiler-8.3.4 - 2023-04-12
2102
- >>
2103
- >> * Enforce the first argument of ExtractJSONPathAsText is a JSON type node [Pagan Gazzard]
2104
- >>
2105
- >> #### abstract-sql-compiler-8.3.3 - 2023-04-12
2106
- >>
2107
- >> * Improve node typings [Pagan Gazzard]
2108
- >>
2109
- >> #### abstract-sql-compiler-8.3.2 - 2023-04-12
2110
- >>
2111
- >> * Add more node typings [Pagan Gazzard]
2112
- >>
2113
- >> #### abstract-sql-compiler-8.3.1 - 2023-04-12
2114
- >>
2115
- >> * Add more node typings [Pagan Gazzard]
2116
- >>
2117
- >> #### abstract-sql-compiler-8.3.0 - 2023-04-11
2118
- >>
2119
- >> * Support boolean nodes in a ValuesNode [Pagan Gazzard]
2120
- >>
2121
- >> #### abstract-sql-compiler-8.2.0 - 2023-04-11
2122
- >>
2123
- >> * Add `Between` node type [Pagan Gazzard]
2124
- >>
2125
- >> #### abstract-sql-compiler-8.1.0 - 2023-04-11
2126
- >>
2127
- >> * Add `BitwiseAnd`/`BitwiseShiftRight` node types [Pagan Gazzard]
2128
- >>
2129
- >> #### abstract-sql-compiler-8.0.2 - 2023-04-06
2130
- >>
2131
- >> * Add `NotInNode` type [Pagan Gazzard]
2132
- >> * Add `IsDistinctFromNode`/`IsNotDistinctFromNode` types [Pagan Gazzard]
2133
- >> * Add `CharacterLengthNode` type [Pagan Gazzard]
2134
- >>
2135
- >> #### abstract-sql-compiler-8.0.1 - 2023-04-06
2136
- >>
2137
- >> * Adds Cast node type to tree parsing [Otávio Jacobi]
2138
- >>
2139
- >> #### odata-parser-2.4.6 - 2023-02-24
2140
- >>
2141
- >> * Improve typings [Pagan Gazzard]
2142
- >>
2143
- >> #### odata-parser-2.4.5 - 2023-02-23
2144
- >>
2145
- >> * Use const/let as appropriate [Pagan Gazzard]
2146
- >>
2147
- >> #### odata-parser-2.4.4 - 2023-02-23
2148
- >>
2149
- >> * Use shorthand object notation [Pagan Gazzard]
2150
- >>
2151
- >> #### odata-parser-2.4.3 - 2023-02-23
2152
- >>
2153
- >> * Update dependencies [Pagan Gazzard]
2154
- >>
2155
- >
2156
- > </details>
2157
- >
2158
- >
2159
-
2160
- </details>
2161
-
2162
- * Remove support for the legacy AggregateJSON format of `[tableName, fieldName]` [Pagan Gazzard]
2163
- * Remove support for the legacy boolean format of `true|false` [Pagan Gazzard]
2164
- * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
2165
- * Remove support for the legacy alias format of `[node, alias]` [Pagan Gazzard]
2166
- * Remove support for the legacy table format of `tableName` [Pagan Gazzard]
2167
- * Remove support for the legacy null formats of `null` and `'Null'` [Pagan Gazzard]
2168
- * Reflect the usage of BOOLEAN db type [Pagan Gazzard]
2169
-
2170
- <details>
2171
- <summary> Update @balena/sbvr-types to 4.x [Pagan Gazzard] </summary>
2172
-
2173
- > ### sbvr-types-4.0.0 - 2023-04-26
2174
- >
2175
- > * Add test cases for Objects in JSON validate [fisehara]
2176
- > * Drop `require-npm4-to-publish` devDependency [fisehara]
2177
- > * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
2178
- > * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
2179
- > * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
2180
- > * Assert that JSON input typeof is object [Josh Bowling]
2181
- >
2182
-
2183
- </details>
2184
-
2185
- ## 8.5.0 - 2023-04-27
2186
-
2187
- * Use native `StartsWith` node type for postgres [Pagan Gazzard]
2188
- * Convert `EscapeForLike` into a standalone node type [Pagan Gazzard]
2189
-
2190
- ## 8.4.1 - 2023-04-25
2191
-
2192
- * Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
2193
-
2194
- ## 8.4.0 - 2023-04-24
2195
-
2196
- * Add support for using field type nodes with an AggregateJSON node [Pagan Gazzard]
2197
-
2198
- ## 8.3.13 - 2023-04-24
2199
-
2200
- * Deprecate `AliasableFromTypeNodes` type as it's redundant [Pagan Gazzard]
2201
-
2202
- ## 8.3.12 - 2023-04-17
2203
-
2204
- * Revert tightening of `OrderBy` to only field nodes [Pagan Gazzard]
2205
-
2206
- ## 8.3.11 - 2023-04-13
2207
-
2208
- * Do not allow ON clauses for CROSS JOIN as it is invalid [Pagan Gazzard]
2209
- * Stop accepting `ExtractJSONPathAsText`/`ToJSON` as unknown node types [Pagan Gazzard]
2210
-
2211
- ## 8.3.10 - 2023-04-13
2212
-
2213
- * Fix DateNode/AnyNode typings [Pagan Gazzard]
2214
-
2215
- ## 8.3.9 - 2023-04-13
2216
-
2217
-
2218
- <details>
2219
- <summary> Update dependencies [Pagan Gazzard] </summary>
2220
-
2221
- > ### sbvr-types-3.5.0 - 2023-03-21
2222
- >
2223
- > * Add Big Serial type [Josh Bowling]
2224
- >
2225
- > ### sbvr-types-3.4.19 - 2022-12-08
2226
- >
2227
- > * Flowzone: Allow external contributions [Josh Bowling]
2228
- >
2229
-
2230
- </details>
2231
-
2232
- ## 8.3.8 - 2023-04-12
2233
-
2234
- * Improve typings [Pagan Gazzard]
2235
-
2236
- ## 8.3.7 - 2023-04-12
2237
-
2238
- * Remove typing for non-existent JSON node [Pagan Gazzard]
2239
-
2240
- ## 8.3.6 - 2023-04-12
2241
-
2242
- * Tighten the `isXValue` function typings [Pagan Gazzard]
2243
-
2244
- ## 8.3.5 - 2023-04-12
2245
-
2246
- * Correctly treat `Value` nodes as rewritten to `Text` by the optimizer [Pagan Gazzard]
2247
- * Add EmbeddedTextNode typing [Pagan Gazzard]
2248
-
2249
- ## 8.3.4 - 2023-04-12
2250
-
2251
- * Enforce the first argument of ExtractJSONPathAsText is a JSON type node [Pagan Gazzard]
2252
-
2253
- ## 8.3.3 - 2023-04-12
2254
-
2255
- * Improve node typings [Pagan Gazzard]
2256
-
2257
- ## 8.3.2 - 2023-04-12
2258
-
2259
- * Add more node typings [Pagan Gazzard]
2260
-
2261
- ## 8.3.1 - 2023-04-12
2262
-
2263
- * Add more node typings [Pagan Gazzard]
2264
-
2265
- ## 8.3.0 - 2023-04-11
2266
-
2267
- * Support boolean nodes in a ValuesNode [Pagan Gazzard]
2268
-
2269
- ## 8.2.0 - 2023-04-11
2270
-
2271
- * Add `Between` node type [Pagan Gazzard]
2272
-
2273
- ## 8.1.0 - 2023-04-11
2274
-
2275
- * Add `BitwiseAnd`/`BitwiseShiftRight` node types [Pagan Gazzard]
2276
-
2277
- ## 8.0.2 - 2023-04-06
2278
-
2279
- * Add `NotInNode` type [Pagan Gazzard]
2280
- * Add `IsDistinctFromNode`/`IsNotDistinctFromNode` types [Pagan Gazzard]
2281
- * Add `CharacterLengthNode` type [Pagan Gazzard]
2282
-
2283
- ## 8.0.1 - 2023-04-06
2284
-
2285
- * Adds Cast node type to tree parsing [Otávio Jacobi]
2286
-
2287
- ## 8.0.0 - 2023-02-13
2288
-
2289
- * Add binds for affected IDs in compiled rules [Carol Schulze]
2290
-
2291
- ## 7.26.0 - 2023-02-07
2292
-
2293
- * Optimize schema during compilation [Carol Schulze]
2294
-
2295
- ## 7.25.3 - 2023-01-24
2296
-
2297
- * Wrap Date & Duration operations with parenthesis when necessary [Thodoris Greasidis]
2298
- * Wrap composite math operations with parenthesis when necessary [Thodoris Greasidis]
2299
-
2300
- ## 7.25.2 - 2023-01-24
2301
-
2302
- * Tests: update @balena/odata-to-abstract-sql to 5.8 [Thodoris Greasidis]
2303
-
2304
- ## 7.25.1 - 2023-01-23
2305
-
2306
- * Change AggregateJSON to use `JSON_AGG` instead of `ARRAY_TO_JSON`+`ARRAY_AGG` [Pagan Gazzard]
2307
-
2308
- ## 7.25.0 - 2023-01-23
2309
-
2310
- * Add `modifyFields`/`modifyName` to table definition [Pagan Gazzard]
2311
-
2312
- ## 7.24.0 - 2023-01-16
2313
-
2314
- * Add the AbstractSql node `Any` [Carol Schulze]
2315
-
2316
- ## 7.23.0 - 2022-12-08
2317
-
2318
- * Add support for rules optimizations when using COUNT(*) = 0 [Pagan Gazzard]
2319
-
2320
- ## 7.22.5 - 2022-12-08
2321
-
2322
- * Flowzone: Allow external contributions [Josh Bowling]
2323
-
2324
- ## 7.22.4 - 2022-11-30
2325
-
2326
- * Fix: move @balena/odata-to-abstract-sql to dev dependencies [Pagan Gazzard]
2327
-
2328
- ## 7.22.3 - 2022-11-30
2329
-
2330
- * Tests: update @balena/odata-to-abstract-sql to 5.x [Pagan Gazzard]
2331
-
2332
- ## 7.22.2 - 2022-11-30
2333
-
2334
- * Fix deprecation notice module name [Pagan Gazzard]
2335
-
2336
- ## 7.22.1 - 2022-11-29
2337
-
2338
- * Add deprecation notices to the legacy null formats of `null` and `'Null'` [Pagan Gazzard]
2339
- * Add deprecation notice to the legacy table format of `tableName` [Pagan Gazzard]
2340
- * Add deprecation notice to the legacy alias format of `[node, alias]` [Pagan Gazzard]
2341
-
2342
- ## 7.22.0 - 2022-11-23
2343
-
2344
- * Fix date fields used inside arithmetic expressions [fisehara]
2345
-
2346
- ## 7.21.1 - 2022-11-22
2347
-
2348
- * Add support for getting the modified fields of an aliased query [Pagan Gazzard]
2349
-
2350
- ## 7.21.0 - 2022-11-18
2351
-
2352
- * Add ToJSON/ExtractJSONPathAsText functions [Josh Bowling]
2353
-
2354
- ## 7.20.23 - 2022-11-18
2355
-
2356
- * Dev: Update pre-commit hook [Josh Bowling]
2357
-
2358
- ## 7.20.22 - 2022-11-18
2359
-
2360
- * Dev: Migrate husky setup for v8 [Josh Bowling]
2361
-
2362
- ## 7.20.21 - 2022-11-17
2363
-
2364
- * Update dependency husky to 8.0.2 [Renovate Bot]
2365
-
2366
- ## 7.20.20 - 2022-11-17
2367
-
2368
- * Dev: Move types to dev dependencies [Josh Bowling]
2369
-
2370
- ## 7.20.19 - 2022-11-17
2371
-
2372
- * Update @types/node from 10.17.60 to 18.11.9 [Josh Bowling]
2373
-
2374
- ## 7.20.18 - 2022-11-17
2375
-
2376
- * Update @types/lodash from 4.14.182 to 4.14.189 [Josh Bowling]
2377
-
2378
- ## 7.20.17 - 2022-11-17
2379
-
2380
- * Update @balena/sbvr-types from 3.4.7 to 3.4.8 [Josh Bowling]
2381
-
2382
- ## 7.20.16 - 2022-11-17
2383
-
2384
- * Update @balena/sbvr-parser from 1.4.1 to 1.4.2 [Josh Bowling]
2385
-
2386
- ## 7.20.15 - 2022-11-17
2387
-
2388
- * Update @balena/odata-parser from 2.2.9 to 2.4.2 [Josh Bowling]
2389
-
2390
- ## 7.20.14 - 2022-11-17
2391
-
2392
- * Update @balena/lf-to-abstract-sql from 4.5.1 to 4.5.2 [Josh Bowling]
2393
-
2394
- ## 7.20.13 - 2022-11-17
2395
-
2396
- * Update @balena/lint from 6.2.0 to 6.2.1 [Josh Bowling]
2397
-
2398
- ## 7.20.12 - 2022-11-17
2399
-
2400
- * Update lint-staged from 12.4.1 to 13.0.3 [Josh Bowling]
2401
-
2402
- ## 7.20.11 - 2022-11-17
2403
-
2404
- * Update chai from 4.3.6 to 4.3.7 [Josh Bowling]
2405
-
2406
- ## 7.20.10 - 2022-11-17
2407
-
2408
- * Update mocha from v9 to v10 [Josh Bowling]
2409
-
2410
- ## 7.20.9 - 2022-11-17
2411
-
2412
- * Update ts-node from 10.7.0 to 10.9.1 [Josh Bowling]
2413
-
2414
- ## 7.20.8 - 2022-11-17
2415
-
2416
- * Update typescript from 4.6.4 to 4.9.3 [Josh Bowling]
2417
-
2418
- ## 7.20.7 - 2022-11-17
2419
-
2420
- * CI: Split up abstract-sql tests [Josh Bowling]
2421
-
2422
- ## 7.20.6 - 2022-11-16
2423
-
2424
- * CI: Add more abstract-sql unit tests [Josh Bowling]
2425
-
2426
- ## 7.20.5 - 2022-11-16
2427
-
2428
- * Fix Right SQL generation [Josh Bowling]
2429
-
2430
- ## 7.20.4 - 2022-11-16
2431
-
2432
- * CI: Add several abstract-sql unit tests [Josh Bowling]
2433
-
2434
- ## 7.20.3 - 2022-11-15
2435
-
2436
- * Capitalize AggregateJSON SQL [Josh Bowling]
2437
-
2438
- ## 7.20.2 - 2022-11-11
2439
-
2440
- * Dev: Disable package-lock.json generation [Josh Bowling]
2441
-
2442
- ## 7.20.1 - 2022-10-14
2443
-
2444
- * Switch from balenaCI to flowzone [Pagan Gazzard]
2445
-
2446
- ## 7.20.0 - 2022-05-19
2447
-
2448
- * Expose `isAliasNode` helper [Pagan Gazzard]
2449
-
2450
- ## 7.19.1 - 2022-04-08
2451
-
2452
-
2453
- <details>
2454
- <summary> Update dependencies [Pagan Gazzard] </summary>
2455
-
2456
- > ### sbvr-types-3.4.7 - 2022-04-08
2457
- >
2458
- > * Update dependencies [Pagan Gazzard]
2459
- > * Remove circleci [Pagan Gazzard]
2460
- >
2461
- > ### sbvr-types-3.4.6 - 2021-09-21
2462
- >
2463
- > * Avoid creating a new Date object when we already have one [Pagan Gazzard]
2464
- >
2465
- </details>
2466
-
2467
- ## 7.19.0 - 2022-03-24
2468
-
2469
- * Remove .circleci/config.yml [Thodoris Greasidis]
2470
- * Add support for `ConcatenateWithSeparator` nodes [Thodoris Greasidis]
2471
-
2472
- ## 7.18.0 - 2022-02-16
2473
-
2474
- * Add reference property type [Harald Fischer]
2475
-
2476
- ## 7.17.1 - 2022-01-24
2477
-
2478
- * Avoid the operation type optimization for HAVING clauses [Pagan Gazzard]
2479
-
2480
- ## 7.17.0 - 2021-12-14
2481
-
2482
- * Add support for `Count` nodes in rule referenced fields [Pagan Gazzard]
2483
-
2484
- ## 7.16.0 - 2021-12-14
2485
-
2486
- * Add support for `From` nodes in rule referenced fields [Pagan Gazzard]
2487
-
2488
- ## 7.15.0 - 2021-12-13
2489
-
2490
- * Add support for `HAVING` clauses [Pagan Gazzard]
2491
-
2492
- ## 7.14.2 - 2021-12-13
2493
-
2494
- * Fix GroupByNode typings [Pagan Gazzard]
2495
-
2496
- ## 7.14.1 - 2021-09-23
2497
-
2498
- * Improve typing for `LikeNode` [Pagan Gazzard]
2499
-
2500
- ## 7.14.0 - 2021-09-13
2501
-
2502
- * Relax the restrictions on `ORDER BY` as it doesn't just allow fields [Pagan Gazzard]
2503
-
2504
- ## 7.13.5 - 2021-09-07
2505
-
2506
- * Update dependencies [Pagan Gazzard]
2507
-
2508
- ## 7.13.4 - 2021-08-17
2509
-
2510
- * Support for non postgres db engines [fisehara]
2511
-
2512
- ## 7.13.3 - 2021-07-28
2513
-
2514
- * Supprt date_trunc postgres date function for DateValue [fisehara]
2515
-
2516
- ## 7.13.2 - 2021-07-26
2517
-
2518
- * Update dependencies [Pagan Gazzard]
2519
-
2520
- ## 7.13.1 - 2021-06-30
2521
-
2522
- * Delete CODEOWNERS [Thodoris Greasidis]
2523
-
2524
- ## 7.13.0 - 2021-05-18
2525
-
2526
- * Add support for `CurrentTimestamp`/`CurrentDate` nodes [Pagan Gazzard]
2527
-
2528
- ## 7.12.7 - 2021-05-18
2529
-
2530
-
2531
- <details>
2532
- <summary> Update sbvr-types to 3.4.3 [Thodoris Greasidis] </summary>
2533
-
2534
- > ### sbvr-types-3.4.3 - 2021-05-11
2535
- >
2536
- > * Support boolean results from the db as well as integer [Pagan Gazzard]
2537
- >
2538
- </details>
2539
-
2540
- ## 7.12.6 - 2021-05-18
2541
-
2542
- * Allow duration seconds to be nullable [Pagan Gazzard]
2543
-
2544
- ## 7.12.5 - 2021-05-18
2545
-
2546
- * Re-enable all tests [Pagan Gazzard]
2547
-
2548
- ## 7.12.4 - 2021-05-04
2549
-
2550
- * Revert "Remove now unnecessary hack for casting SERIAL types" [Pagan Gazzard]
2551
-
2552
- ## 7.12.3 - 2021-05-03
2553
-
2554
- * Remove now unnecessary hack for casting SERIAL types [Pagan Gazzard]
2555
-
2556
- ## 7.12.2 - 2021-03-22
2557
-
2558
-
2559
- <details>
2560
- <summary> Update dependencies [Pagan Gazzard] </summary>
2561
-
2562
- > ### sbvr-types-3.4.2 - 2021-03-22
2563
- >
2564
- > * Update dev dependencies [Pagan Gazzard]
2565
- >
2566
- > ### sbvr-types-3.4.1 - 2021-02-10
2567
- >
2568
- > * Remove unnecessary native fact type entries for synonymous forms [Pagan Gazzard]
2569
- >
2570
- > ### sbvr-types-3.4.0 - 2021-02-08
2571
- >
2572
- > * Add a `Current Time` name that can be used to refer to the current time [Pagan Gazzard]
2573
- >
2574
- > ### sbvr-types-3.3.0 - 2021-02-05
2575
- >
2576
- > * Add `is before` & `is after` verbs to the Date & DateTime types [Thodoris Greasidis]
2577
- >
2578
- > ### sbvr-types-3.2.0 - 2021-01-29
2579
- >
2580
- > * Add support for the `contains` verb to the text type [Thodoris Greasidis]
2581
- > * Add support for the`ends with` verb to the text type [Thodoris Greasidis]
2582
- > * Add support for the `starts with` verb to the text type [Thodoris Greasidis]
2583
- >
2584
- </details>
2585
-
2586
- ## 7.12.1 - 2021-03-22
2587
-
2588
- * Enable strict options by default and only disable specific ones [Pagan Gazzard]
2589
-
2590
- ## 7.12.0 - 2021-03-05
2591
-
2592
- * Enable narrowing down create/delete referenced fields for nested exists [Pagan Gazzard]
2593
-
2594
- ## 7.11.0 - 2021-03-01
2595
-
2596
- * Generalize/share the referenced fields code and cover more cases [Pagan Gazzard]
2597
-
2598
- ## 7.10.2 - 2021-02-12
2599
-
2600
- * Fix `getModifiedFields` for `UpsertQuery`s [Pagan Gazzard]
2601
-
2602
- ## 7.10.1 - 2021-01-29
2603
-
2604
- * Separate code relating to referenced fields out of the main file [Pagan Gazzard]
2605
-
2606
- ## 7.10.0 - 2021-01-29
2607
-
2608
- * Add an `action` property to modified fields of create/update/delete [Pagan Gazzard]
2609
- * Automatically add `ruleReferencedFields` to `SqlRule`s [Pagan Gazzard]
2610
- * Add a `getRuleReferencedFields` which is tailored for rules [Pagan Gazzard]
2611
-
2612
- ## 7.9.1 - 2021-01-29
2613
-
2614
- * Add test for optimizeSchema optimizing rules [Pagan Gazzard]
2615
-
2616
- ## 7.9.0 - 2021-01-25
2617
-
2618
- * Optimize the abstract sql of rules when running `optimizeSchema` [Pagan Gazzard]
2619
-
2620
- ## 7.8.2 - 2021-01-15
2621
-
2622
- * Fix schema optimizations when table and resource names are different [Pagan Gazzard]
2623
-
2624
- ## 7.8.1 - 2021-01-04
2625
-
2626
- * Convert some lodash usage to native equivalents [Pagan Gazzard]
2627
-
2628
- ## 7.8.0 - 2021-01-01
2629
-
2630
- * Optimize Is[Not]DistinctFrom and [Not]Exists for non-null values [Pagan Gazzard]
2631
-
2632
- ## 7.7.0 - 2021-01-01
2633
-
2634
- * Optimize EXISTS/NOT EXISTS for empty queries [Pagan Gazzard]
2635
-
2636
- ## 7.6.0 - 2021-01-01
2637
-
2638
- * Optimize away AND/ORs with false/true respectively [Pagan Gazzard]
2639
-
2640
- ## 7.5.0 - 2021-01-01
2641
-
2642
- * Optimize out booleans from AND/OR where possible [Pagan Gazzard]
2643
-
2644
- ## 7.4.2 - 2020-12-21
2645
-
2646
- * Improve Relationship typings [Thodoris Greasidis]
2647
-
2648
- ## 7.4.1 - 2020-12-18
2649
-
2650
- * Fix `containsNode` when that node type is at the top level [Pagan Gazzard]
2651
-
2652
- ## 7.4.0 - 2020-12-18
2653
-
2654
- * Add support for table definitions [Pagan Gazzard]
2655
-
2656
- ## 7.3.0 - 2020-12-18
2657
-
2658
- * Allow compiling `*QueryNode`s to direct strings without binds [Pagan Gazzard]
2659
-
2660
- ## 7.2.1 - 2020-12-18
2661
-
2662
- * Improve typings for compilation results [Pagan Gazzard]
2663
-
2664
- ## 7.2.0 - 2020-12-16
2665
-
2666
- * Add an `optimizeSchema` function [Pagan Gazzard]
2667
-
2668
- ## 7.1.0 - 2020-12-09
2669
-
2670
- * Add check constraint support at the table level [Pagan Gazzard]
2671
-
2672
- ## 7.0.7 - 2020-12-09
2673
-
2674
- * Convert tests from coffeescript to type-checked javascript [Pagan Gazzard]
2675
-
2676
- ## 7.0.6 - 2020-11-30
2677
-
2678
- * Fix the `NOT(NOT(...))` optimization [Pagan Gazzard]
2679
-
2680
- ## 7.0.5 - 2020-11-30
2681
-
2682
- * Remove some type casts [Pagan Gazzard]
2683
-
2684
- ## 7.0.4 - 2020-11-25
2685
-
2686
-
2687
- <details>
2688
- <summary> Update sbvr-types and make use of `castType` [Pagan Gazzard] </summary>
2689
-
2690
- > ### sbvr-types-3.1.2 - 2020-11-25
2691
- >
2692
- > * Add a `castType` property to type functions [Pagan Gazzard]
2693
- >
2694
- > ### sbvr-types-3.1.1 - 2020-11-25
2695
- >
2696
- > * Update dependencies [Pagan Gazzard]
2697
- >
2698
- </details>
2699
-
2700
- ## 7.0.3 - 2020-10-02
2701
-
2702
- * Remove accidental `necessity` from the `AbstractSqlField` types [Pagan Gazzard]
2703
-
2704
- ## 7.0.2 - 2020-07-10
2705
-
2706
-
2707
- <details>
2708
- <summary> Update dependencies [Pagan Gazzard] </summary>
2709
-
2710
- > ### sbvr-types-3.1.0 - 2020-06-17
2711
- >
2712
- > * Update dependencies [Pagan Gazzard]
2713
- >
2714
- </details>
2715
-
2716
- ## 7.0.1 - 2020-07-10
2717
-
2718
- * Improve `BindNode` typing [Pagan Gazzard]
2719
-
2720
- ## 7.0.0 - 2020-05-21
2721
-
2722
- * Allow adding to the FromTypeNode set [Pagan Gazzard]
2723
- * Rename to @balena/abstract-sql-compiler [Pagan Gazzard]
2724
- * Improve typings [Pagan Gazzard]
2725
- * Convert all returned promises to native promises instead of bluebird [Pagan Gazzard]
2726
- * Update tsconfig to target es2018 [Pagan Gazzard]
2727
- * Drop support for node 6/8 [Pagan Gazzard]
2728
-
2729
- <details>
2730
- <summary> Update to @balena/sbvr-types 3.0.0 [Pagan Gazzard] </summary>
2731
-
2732
- > ### sbvr-types-3.0.0 - 2020-05-08
2733
- >
2734
- > * Convert `fetchProcessing` to synchronous functions [Pagan Gazzard]
2735
- > * Update to bcrypt 4.x [Pagan Gazzard]
2736
- > * Enable strict tsconfig [Pagan Gazzard]
2737
- > * Make use of `import type` where relevant [Pagan Gazzard]
2738
- > * Update to balena-lint 5.x [Pagan Gazzard]
2739
- > * Rename to @balena/sbvr-types [Pagan Gazzard]
2740
- > * Drop node 8 support [Pagan Gazzard]
2741
- > * Update tsconfig target to es2018 [Pagan Gazzard]
2742
- > * Convert all returned promises to native promises instead of bluebird [Pagan Gazzard]
2743
- </details>
2744
-
2745
- ## 6.13.6 - 2020-05-19
2746
-
2747
-
2748
- <details>
2749
- <summary> Update dependencies [Pagan Gazzard] </summary>
2750
-
2751
- > ### sbvr-parser-1.0.1 - 2020-05-11
2752
- >
2753
- > * Update to mocha 7.x [Pagan Gazzard]
2754
-
2755
- > ### sbvr-parser-1.0.0 - 2020-05-08
2756
- >
2757
- > * Convert coffeescript tests to javascript [Pagan Gazzard]
2758
- > * Drop support for node 6/8 [Pagan Gazzard]
2759
- > * Rename to @balena/sbvr-parser [Pagan Gazzard]
2760
-
2761
- > ### sbvr-parser-0.2.11 - 2020-05-08
2762
- >
2763
- > * CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
2764
- > * CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
2765
-
2766
- > ### sbvr-parser-0.2.10 - 2020-05-08
2767
- >
2768
- > * Update to to @balena/sbvr-types [Pagan Gazzard]
2769
-
2770
- > ### sbvr-parser-0.2.9 - 2020-05-08
2771
- >
2772
- > * Update to @balena/lint 5.x [Pagan Gazzard]
2773
-
2774
- > ### sbvr-parser-0.2.8 - 2020-04-27
2775
- >
2776
- > * Reduce lodash usage [Pagan Gazzard]
2777
-
2778
- > ### lf-to-abstract-sql-4.0.0 - 2020-05-11
2779
- >
2780
- > * Include linting as part of the tests [Pagan Gazzard]
2781
- > * Convert from UMD module to commonjs module [Pagan Gazzard]
2782
- > * Rename to @balena/lf-to-abstract-sql [Pagan Gazzard]
2783
- > * Drop support for node 8 [Pagan Gazzard]
2784
- > * Move @balena/sbvr-parser to production dependencies [Pagan Gazzard]
2785
-
2786
- > ### lf-to-abstract-sql-3.2.6 - 2020-05-11
2787
- >
2788
- >
2789
- <details>
2790
- <summary> Update to @balena/sbvr-parser [Pagan Gazzard] </summary>
2791
-
2792
- >> #### sbvr-parser-1.0.1 - 2020-05-11
2793
- >>
2794
- >> * Update to mocha 7.x [Pagan Gazzard]
2795
-
2796
- >> #### sbvr-parser-1.0.0 - 2020-05-08
2797
- >>
2798
- >> * Convert coffeescript tests to javascript [Pagan Gazzard]
2799
- >> * Drop support for node 6/8 [Pagan Gazzard]
2800
- >> * Rename to @balena/sbvr-parser [Pagan Gazzard]
2801
-
2802
- >> #### sbvr-parser-0.2.11 - 2020-05-08
2803
- >>
2804
- >> * CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
2805
- >> * CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
2806
-
2807
- >> #### sbvr-parser-0.2.10 - 2020-05-08
2808
- >>
2809
- >> * Update to to @balena/sbvr-types [Pagan Gazzard]
2810
-
2811
- >> #### sbvr-parser-0.2.9 - 2020-05-08
2812
- >>
2813
- >> * Update to @balena/lint 5.x [Pagan Gazzard]
2814
-
2815
- >> #### sbvr-parser-0.2.8 - 2020-04-27
2816
- >>
2817
- >> * Reduce lodash usage [Pagan Gazzard]
2818
- </details>
2819
-
2820
- >
2821
-
2822
- > ### lf-to-abstract-sql-3.2.5 - 2020-05-08
2823
- >
2824
- > * CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
2825
-
2826
- > ### lf-to-abstract-sql-3.2.4 - 2020-05-08
2827
- >
2828
- >
2829
- <details>
2830
- <summary> Update to @balena/sbvr-types 3.0.0 [Pagan Gazzard] </summary>
2831
-
2832
- >> #### sbvr-types-3.0.0 - 2020-05-08
2833
- >>
2834
- >> * Convert `fetchProcessing` to synchronous functions [Pagan Gazzard]
2835
- >> * Update to bcrypt 4.x [Pagan Gazzard]
2836
- >> * Enable strict tsconfig [Pagan Gazzard]
2837
- >> * Make use of `import type` where relevant [Pagan Gazzard]
2838
- >> * Update to balena-lint 5.x [Pagan Gazzard]
2839
- >> * Rename to @balena/sbvr-types [Pagan Gazzard]
2840
- >> * Drop node 8 support [Pagan Gazzard]
2841
- >> * Update tsconfig target to es2018 [Pagan Gazzard]
2842
- >> * Convert all returned promises to native promises instead of bluebird [Pagan Gazzard]
2843
-
2844
- >> #### sbvr-types-2.0.9 - 2020-05-07
2845
- >>
2846
- >> * Switch to balena-lint [Pagan Gazzard]
2847
-
2848
- >> #### sbvr-types-2.0.8 - 2020-05-05
2849
- >>
2850
- >> * Improve typings [Pagan Gazzard]
2851
-
2852
- >> #### sbvr-types-2.0.7 - 2020-04-30
2853
- >>
2854
- >> * Remove unused imports [Pagan Gazzard]
2855
-
2856
- >> #### sbvr-types-2.0.6 - 2020-04-27
2857
- >>
2858
- >> * Remove production lodash dependency [Pagan Gazzard]
2859
- </details>
2860
-
2861
- >
2862
-
2863
- > ### lf-to-abstract-sql-3.2.3 - 2020-04-20
2864
- >
2865
- > * Switch to native some [Pagan Gazzard]
2866
- > * Switch to native findIndex [Pagan Gazzard]
2867
- > * Switch to native every [Pagan Gazzard]
2868
- > * Switch to native find [Pagan Gazzard]
2869
- > * Switch to native forEach where possible [Pagan Gazzard]
2870
- > * Switch to native includes [Pagan Gazzard]
2871
- > * Switch to native array type checking [Pagan Gazzard]
2872
- > * Switch to native string type checking [Pagan Gazzard]
2873
- > * Switch to native Object.assign [Pagan Gazzard]
2874
-
2875
- > ### lf-to-abstract-sql-3.2.2 - 2020-04-16
2876
- >
2877
- > * Always treat numbered terms as if they're used [Pagan Gazzard]
2878
-
2879
- > ### lf-to-abstract-sql-3.2.1 - 2020-04-14
2880
- >
2881
- >
2882
- <details>
2883
- <summary> Update dependencies [Pagan Gazzard] </summary>
2884
-
2885
- >> #### sbvr-types-2.0.5 - 2020-03-17
2886
- >>
2887
- >> * CI: Remove circleci deploy in favor of balenaCI [Pagan Gazzard]
2888
- >> * CI: Add node 12 to the test matrix [Pagan Gazzard]
2889
- >> * CI: Remove node 6 from the test matrix [Pagan Gazzard]
2890
- >> * Update dependencies and use resin-lint for automatic lint fixes [Pagan Gazzard]
2891
-
2892
- >> #### sbvr-types-2.0.4 - 2020-01-22
2893
- >>
2894
- >> * Add node 12 to the test matrix [Pagan Gazzard]
2895
- >> * Update dependencies [Pagan Gazzard]
2896
- >> * Add CODEOWNERS [Pagan Gazzard]
2897
-
2898
- >> #### sbvr-parser-0.2.7 - 2020-01-22
2899
- >>
2900
- >> * Add CODEOWNERS [Pagan Gazzard]
2901
-
2902
- >> #### sbvr-parser-0.2.6 - 2019-12-30
2903
- >>
2904
- >> * Add support for using `of` instead of `that is of` [Pagan Gazzard]
2905
-
2906
- >> #### sbvr-parser-0.2.5 - 2019-12-30
2907
- >>
2908
- >> * Add support for `a given` as a universal quantification [Pagan Gazzard]
2909
-
2910
- >> #### sbvr-parser-0.2.4 - 2019-12-27
2911
- >>
2912
- >> * Allow including terms as part of a verb by using `[]` brackets [Pagan Gazzard]
2913
- </details>
2914
-
2915
- >
2916
-
2917
- > ### lf-to-abstract-sql-3.2.0 - 2020-04-13
2918
- >
2919
- > * Only add the destination of a link table if it's actually necessary [Pagan Gazzard]
2920
-
2921
- > ### lf-to-abstract-sql-3.1.2 - 2020-02-26
2922
- >
2923
- > * CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
2924
-
2925
- > ### lf-to-abstract-sql-3.1.1 - 2020-01-22
2926
- >
2927
- > * Add CODEOWNERS [Pagan Gazzard]
2928
-
2929
- > ### lf-to-abstract-sql-3.1.0 - 2019-11-01
2930
- >
2931
- > * Add support for enum definitions on fact types [Pagan Gazzard]
2932
-
2933
- > ### lf-to-abstract-sql-3.0.2 - 2019-06-14
2934
- >
2935
- > * Fix `updateModifiedAt` formatting [Pagan Gazzard]
2936
-
2937
- > ### lf-to-abstract-sql-3.0.1 - 2019-05-08
2938
- >
2939
- > * Add node 12 tests [Pagan Gazzard]
2940
- > * Add repo.yml for upstream changelogs [Pagan Gazzard]
2941
- > * Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
2942
-
2943
- > ### lf-to-abstract-sql-3.0.0 - 2019-03-08
2944
- >
2945
- > * Add automatic modified at fields [Pagan Gazzard]
2946
-
2947
- > ### odata-parser-2.0.0 - 2020-05-11
2948
- >
2949
- > * Rename to @balena/odata-parser [Pagan Gazzard]
2950
- > * Update to @balena/lint 5.x [Pagan Gazzard]
2951
- > * Drop support for nodejs 8 [Pagan Gazzard]
2952
- > * CI: Add nodejs 14 to the test matrix [Pagan Gazzard]
2953
- > * CI: Remove circleci publishing in favor of balenaCI [Pagan Gazzard]
2954
-
2955
- > ### odata-to-abstract-sql-3.3.0 - 2019-06-07
2956
- >
2957
- >
2958
- <details>
2959
- <summary> Make use of odata-parser types [Pagan Gazzard] </summary>
2960
-
2961
- >> #### odata-parser-1.1.1 - 2019-06-07
2962
- >>
2963
- >> * Improve typings [Pagan Gazzard]
2964
-
2965
- >> #### odata-parser-1.1.0 - 2019-06-06
2966
- >>
2967
- >> * Add typings [Pagan Gazzard]
2968
-
2969
- >> #### abstract-sql-compiler-6.6.0 - 2019-06-03
2970
- >>
2971
- >> * Improve aliased from handling in `getReferencedFields` [Pagan Gazzard]
2972
-
2973
- >> #### abstract-sql-compiler-6.5.1 - 2019-06-03
2974
- >>
2975
- >> * Use an abstract-sql-optimiser prepass to simplify getReferencedFields [Pagan Gazzard]
2976
-
2977
- >> #### sbvr-parser-0.2.3 - 2019-06-04
2978
- >>
2979
- >> * Optimise exactly 0 to not exists [Pagan Gazzard]
2980
- </details>
2981
-
2982
- >
2983
-
2984
- > ### odata-to-abstract-sql-3.2.0 - 2019-05-31
2985
- >
2986
- > * Add support for computed fields [Pagan Gazzard]
2987
-
2988
- > ### odata-to-abstract-sql-3.1.3 - 2019-05-31
2989
- >
2990
- >
2991
- <details>
2992
- <summary> Unify the handling of adding fields with or without a $select [Pagan Gazzard] </summary>
2993
-
2994
- >> #### odata-parser-1.0.4 - 2019-05-27
2995
- >>
2996
- >> * Fix adding parameter alias to the options object [Pagan Gazzard]
2997
-
2998
- >> #### odata-parser-1.0.3 - 2019-05-08
2999
- >>
3000
- >> * Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
3001
-
3002
- >> #### abstract-sql-compiler-6.5.0 - 2019-05-30
3003
- >>
3004
- >> * Add support for computed fields [Pagan Gazzard]
3005
-
3006
- >> #### abstract-sql-compiler-6.4.3 - 2019-05-30
3007
- >>
3008
- >> * Add tests for `getReferencedFields` [Pagan Gazzard]
3009
-
3010
- >> #### abstract-sql-compiler-6.4.2 - 2019-05-09
3011
- >>
3012
- >> * Update and fix lodash typings [Pagan Gazzard]
3013
- >> * Update husky/mocha dev dependencies [Pagan Gazzard]
3014
-
3015
- >> #### abstract-sql-compiler-6.4.1 - 2019-05-08
3016
- >>
3017
- >>
3018
- <details>
3019
- <summary> Fix typescript compilation [Pagan Gazzard] </summary>
3020
-
3021
- >>> ##### sbvr-parser-0.2.2 - 2019-05-08
3022
- >>>
3023
- >>> * Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
3024
- </details>
3025
-
3026
- >>
3027
- >> * Add node 12 tests [Pagan Gazzard]
3028
- >> * Add repo.yml for upstream changelogs [Pagan Gazzard]
3029
- >> * Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
3030
- </details>
3031
-
3032
- >
3033
-
3034
- > ### odata-to-abstract-sql-3.1.2 - 2019-05-08
3035
- >
3036
- > * Add node 12 tests [Pagan Gazzard]
3037
- > * Add repo.yml for upstream changelogs [Pagan Gazzard]
3038
- > * Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
3039
-
3040
- > ### odata-to-abstract-sql-3.1.1 - 2019-04-22
3041
- >
3042
- > * Fix off-by-one error when having to resort to a random alias [Pagan Gazzard]
3043
-
3044
- > ### odata-to-abstract-sql-3.1.0 - 2019-03-08
3045
- >
3046
- > * Add support for definitions for the target table of insert queries [Pagan Gazzard]
3047
- > * Add path key where statements to the select subquery for inserts [Pagan Gazzard]
3048
- > * Convert == to === [Pagan Gazzard]
3049
- </details>
3050
-
3051
- ## 6.13.5 - 2020-05-07
3052
-
3053
-
3054
- <details>
3055
- <summary> Improve typing of `dataTypeValidate` and sbvr-types [Pagan Gazzard] </summary>
3056
-
3057
- > ### sbvr-types-2.0.9 - 2020-05-07
3058
- >
3059
- > * Switch to balena-lint [Pagan Gazzard]
3060
-
3061
- > ### sbvr-types-2.0.8 - 2020-05-05
3062
- >
3063
- > * Improve typings [Pagan Gazzard]
3064
-
3065
- > ### sbvr-types-2.0.7 - 2020-04-30
3066
- >
3067
- > * Remove unused imports [Pagan Gazzard]
3068
-
3069
- > ### sbvr-types-2.0.6 - 2020-04-27
3070
- >
3071
- > * Remove production lodash dependency [Pagan Gazzard]
3072
- </details>
3073
-
3074
- ## 6.13.4 - 2020-04-30
3075
-
3076
- * Reduce lodash usage [Pagan Gazzard]
3077
-
3078
- ## 6.13.3 - 2020-04-14
3079
-
3080
-
3081
- <details>
3082
- <summary> Update dependencies [Pagan Gazzard] </summary>
3083
-
3084
- > ### sbvr-types-2.0.5 - 2020-03-17
3085
- >
3086
- > * CI: Remove circleci deploy in favor of balenaCI [Pagan Gazzard]
3087
- > * CI: Add node 12 to the test matrix [Pagan Gazzard]
3088
- > * CI: Remove node 6 from the test matrix [Pagan Gazzard]
3089
- > * Update dependencies and use resin-lint for automatic lint fixes [Pagan Gazzard]
3090
-
3091
- > ### odata-parser-1.4.1 - 2020-04-10
3092
- >
3093
- > * Update dependencies [Pagan Gazzard]
3094
-
3095
- > ### odata-parser-1.4.0 - 2020-03-02
3096
- >
3097
- > * ✨: Add support for canAccess method call on resource [Andreas Fitzek]
3098
- </details>
3099
-
3100
- ## 6.13.2 - 2020-03-25
3101
-
3102
- * 📝♻️ : Improve RelationshipMapping typing and docs [Andreas Fitzek]
3103
-
3104
- ## 6.13.1 - 2020-02-26
3105
-
3106
- * Only create functions if they don't already exist [Pagan Gazzard]
3107
-
3108
- ## 6.13.0 - 2020-02-21
3109
-
3110
- * Add support for sum [Pagan Gazzard]
3111
- * Add support for average [Pagan Gazzard]
3112
- * Add tests for count [Pagan Gazzard]
3113
-
3114
- ## 6.12.0 - 2020-02-21
3115
-
3116
- * Add support for coalesce [Pagan Gazzard]
3117
-
3118
- ## 6.11.6 - 2020-02-21
3119
-
3120
-
3121
- <details>
3122
- <summary> Update dependencies [Pagan Gazzard] </summary>
3123
-
3124
- > ### sbvr-types-2.0.4 - 2020-01-22
3125
- >
3126
- > * Add node 12 to the test matrix [Pagan Gazzard]
3127
- > * Update dependencies [Pagan Gazzard]
3128
- > * Add CODEOWNERS [Pagan Gazzard]
3129
- </details>
3130
-
3131
- ## 6.11.5 - 2020-02-06
3132
-
3133
- * Update resin-lint to 3.x and use it for auto-linting [Pagan Gazzard]
3134
-
3135
- ## 6.11.4 - 2020-02-06
3136
-
3137
- * Fix query type check [Pagan Gazzard]
3138
-
3139
- ## 6.11.3 - 2020-01-22
3140
-
3141
- * Add CODEOWNERS [Pagan Gazzard]
3142
-
3143
- ## 6.11.2 - 2020-01-09
3144
-
3145
- * Trim trigger names to the max of 63 characters [Pagan Gazzard]
3146
-
3147
- ## 6.11.1 - 2019-11-22
3148
-
3149
- * Update dev dependencies [Pagan Gazzard]
3150
-
3151
- ## 6.11.0 - 2019-11-19
3152
-
3153
- * Add support for `CrossJoin` [Pagan Gazzard]
3154
-
3155
- ## 6.10.3 - 2019-11-19
3156
-
3157
- * Update dependencies [Pagan Gazzard]
3158
-
3159
- ## 6.10.2 - 2019-11-04
3160
-
3161
- * Fix CHECK syntax [Pagan Gazzard]
3162
-
3163
- ## 6.10.1 - 2019-11-04
3164
-
3165
- * Fix `compileRule` typings [Pagan Gazzard]
3166
-
3167
- ## 6.10.0 - 2019-11-04
3168
-
3169
- * Add support for basic check constraints [Pagan Gazzard]
3170
-
3171
- ## 6.9.2 - 2019-10-11
3172
-
3173
- * Allow combining/adding to existing NOT IN statements [Pagan Gazzard]
3174
- * Allow combining/adding to existing IN statements [Pagan Gazzard]
3175
- * Prioritise collapsing nested ANDs over converting them to an NOT IN [Pagan Gazzard]
3176
- * Prioritise collapsing nested ORs over converting them to an IN [Pagan Gazzard]
3177
-
3178
- ## 6.9.1 - 2019-09-20
3179
-
3180
- * Switch to a lookup table for finding existing bind var entries [Pagan Gazzard]
3181
-
3182
- ## 6.9.0 - 2019-09-16
3183
-
3184
- * Add support for resolving directly circular dependencies on postgres [Pagan Gazzard]
3185
-
3186
- ## 6.8.1 - 2019-09-10
3187
-
3188
- * Optimise finding of existing binds when adding a bind variable [Pagan Gazzard]
3189
-
3190
- ## 6.8.0 - 2019-08-29
3191
-
3192
- * Add support for inner/left/right/full joins [Pagan Gazzard]
3193
-
3194
- ## 6.7.1 - 2019-06-17
3195
-
3196
- * Change `IsDistinctFrom` for postgres to a version that can use indexes [Pagan Gazzard]
3197
- * Optimise `IsDistinctFrom`/`IsNotDistinctFrom` when either arg is `Null` [Pagan Gazzard]
3198
-
3199
- ## 6.7.0 - 2019-06-14
3200
-
3201
- * Add support for `IsDistinctFrom`/`IsNotDistinctFrom` [Pagan Gazzard]
3202
-
3203
- ## 6.6.0 - 2019-06-03
3204
-
3205
- * Improve aliased from handling in `getReferencedFields` [Pagan Gazzard]
3206
-
3207
- ## 6.5.1 - 2019-06-03
3208
-
3209
- * Use an abstract-sql-optimiser prepass to simplify getReferencedFields [Pagan Gazzard]
3210
-
3211
- ## 6.5.0 - 2019-05-30
3212
-
3213
- * Add support for computed fields [Pagan Gazzard]
3214
-
3215
- ## 6.4.3 - 2019-05-30
3216
-
3217
- * Add tests for `getReferencedFields` [Pagan Gazzard]
3218
-
3219
- ## 6.4.2 - 2019-05-09
3220
-
3221
- * Update and fix lodash typings [Pagan Gazzard]
3222
- * Update husky/mocha dev dependencies [Pagan Gazzard]
3223
-
3224
- ## 6.4.1 - 2019-05-08
3225
-
3226
- * Fix typescript compilation [Pagan Gazzard]
3227
-
3228
- <details>
3229
- <summary> View details </summary>
3230
-
3231
- ### sbvr-parser-0.2.2 - 2019-05-08
3232
-
3233
- * Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
3234
- </details>
3235
-
3236
- * Add node 12 tests [Pagan Gazzard]
3237
- * Add repo.yml for upstream changelogs [Pagan Gazzard]
3238
- * Add .versionbot/CHANGELOG.yml for downstream changelogs [Pagan Gazzard]
3239
-
3240
- ## 6.4.0 - 2019-03-04
3241
-
3242
- * Add support for trigger functions [Pagan Gazzard]
3243
-
3244
- ## 6.3.6 - 2019-01-23
3245
-
3246
- * Fix `FieldNode`s being detected as deprecated aliases [Pagan Gazzard]
3247
-
3248
- ## 6.3.5 - 2019-01-22
3249
-
3250
- * Improve typings [Pagan Gazzard]
3251
-
3252
- ## 6.3.4 - 2018-12-07
3253
-
3254
- * Update to odata-to-abstract-sql v3.0.0 [Pagan Gazzard]
3255
-
3256
- ## 6.3.3 - 2018-11-23
3257
-
3258
- * Fix `FromNode` typing [Pagan Gazzard]
3259
-
3260
- ## 6.3.2 - 2018-11-21
3261
-
3262
- * Fix the deprecated implicit alias check to account for implicit tables [Pagan Gazzard]
3263
-
3264
- ## 6.3.1 - 2018-11-21
3265
-
3266
- * Support explicit table/alias nodes for the getXFields functions [Pagan Gazzard]
3267
-
3268
- ## 6.3.0 - 2018-11-20
3269
-
3270
- * Improve typings [Pagan Gazzard]
3271
-
3272
- ## 6.2.1 - 2018-11-16
3273
-
3274
- * Separate src/out dirs to avoid issues with importing .ts over .d.ts [Pagan Gazzard]
3275
-
3276
- ## 6.2.0 - 2018-11-15
3277
-
3278
- * Convert AbstractSQLOptimiser to typescript [Pagan Gazzard]
3279
- * Convert AbstractSQLRules2SQL to typescript [Pagan Gazzard]
3280
-
3281
- ## 6.1.2 - 2018-11-13
3282
-
3283
- * Add resin-lint for typescript and a commit hook to run it [Pagan Gazzard]
3284
- * Split the types for sbvr-types into a separate definition file [Pagan Gazzard]
3285
- * Add resin-lint for coffee files [Pagan Gazzard]
3286
-
3287
- ## 6.1.1 - 2018-11-10
3288
-
3289
- * Optimise checking for aliases with a fast lookahead check [Pagan Gazzard]
3290
- * Fix potentially incorrect `And` collapsing [Pagan Gazzard]
3291
-
3292
- ## v6.1.0 - 2018-11-03
3293
-
3294
- * Switch to generating commonjs format [Pagan Gazzard]
3295
-
3296
- ## v6.0.1 - 2018-10-25
3297
-
3298
- * Tighten alias/table name matches to strings [Pagan Gazzard]
3299
- * Optimise the `Select` rule by removing redundant branches [Pagan Gazzard]
3300
-
3301
- ## v6.0.0 - 2018-10-11
3302
-
3303
- * Update to sbvr-types 2.x [Pagan Gazzard]
3304
-
3305
- ## v5.3.4 - 2018-10-04
3306
-
3307
- * Update lf-to-abstract-sql, updating tests to match [Pagan Gazzard]
3308
- * Update dependencies [Pagan Gazzard]
3309
-
3310
- ## v5.3.3 - 2018-08-13
3311
-
3312
- * Feature: Add support for CASE/WHEN/ELSE/END #35 [Rich Bayliss]
3313
-
3314
- ## v5.3.2 - 2018-07-31
3315
-
3316
- * Don't try to merge `IS NULL` into an `IN` clause as it doesn't work #36 [Pagan Gazzard]
3317
-
3318
- ## v5.3.1 - 2018-06-24
3319
-
3320
- * Make sure direct table names are strings, this avoid issues if parsing a SelectQuery fails. #33 [Pagan Gazzard]
3321
-
3322
- ## v5.3.0 - 2018-06-14
3323
-
3324
- * Allow reusing bind parameters for the postgres backend rather than duplicating for each instance. #32 [Pagan Gazzard]
3325
-
3326
- ## v5.2.1 - 2018-06-09
3327
-
3328
- * Update lf-to-abstract-sql and fix tests. #31 [Pagan Gazzard]
3329
-
3330
- ## v5.2.0 - 2018-06-08
3331
-
3332
- * Add support for string bind keys #30 [Pagan Gazzard]
3333
-
3334
- ## v5.1.2 - 2018-06-04
3335
-
3336
- * Fix `test.skip`/`test.only`/etc for the sbvr tests #28 [Pagan Gazzard]
3337
-
3338
- ## v5.1.1 - 2018-06-04
3339
-
3340
- * Update dependencies #29 [Pagan Gazzard]
3341
-
3342
- ## v5.1.0 - 2018-06-01
3343
-
3344
- * Change CONTAINS to use LIKE instead of STRPOS. #27 [Pagan Gazzard]
3345
- * Change EndsWith to use LIKE instead of RIGHT to avoid duplicating the needle. #27 [Pagan Gazzard]
3346
- * Change StartsWith to use LIKE instead of STRPOS so that it can make better use of indexes. #27 [Pagan Gazzard]
3347
-
3348
- ## v5.0.4 - 2018-05-10
3349
-
3350
- * Update dependencies #25 [Pagan Gazzard]
3351
-
3352
- ## v5.0.3 - 2018-05-10
3353
-
3354
- * Switch types to using generated declaration files, this avoids issues with the typescript code being rechecked downstream. #26 [Pagan Gazzard]
3355
-
3356
- ## v5.0.2 - 2018-05-10
3357
-
3358
- * Require npm 4+ to publish, to avoid issues with publishing #24 [Pagan Gazzard]
3359
-
3360
- ## v5.0.1 - 2018-04-30
3361
-
3362
- * Add node 10 to the circleci tests #23 [Pagan Gazzard]
3363
- * Move circle.yml to .circleci/config.yml #23 [Pagan Gazzard]
3364
-
3365
- ## v5.0.0 - 2018-04-25
3366
-
3367
- * Change the references format to expect a `resourceName` rather than a `tableName` #22 [Pagan Gazzard]
3368
-
3369
- ## v4.1.1 - 2018-04-25
3370
-
3371
- * Update tests to use odata-to-abstract-sql 1.2.0 #21 [Pagan Gazzard]
3372
-
3373
- ## v4.1.0 - 2018-04-23
3374
-
3375
- * Support the `Or` -> `In` optimisation for cases where you have mixed comparisons in an or block, allowing it to be used in a lot more cases. #19 [Pagan Gazzard]
3376
- * Make sure the nested or optimisation hits the validator method directly, avoiding other optimisations breaking it. #19 [Pagan Gazzard]
3377
-
3378
- ## v4.0.0 - 2018-04-11
3379
-
3380
- * Generate numbered bindings for postgres rather than ? #17 [Pagan Gazzard]
3381
-
3382
- ## v3.3.0 - 2018-01-05
3383
-
3384
- * Add support for union queries. #16 [Pagan Gazzard]
3385
-
3386
- ## v3.2.2 - 2018-01-05
3387
-
3388
- * Update dependencies #15 [Pagan Gazzard]
3389
-
3390
- ## v3.2.1 - 2017-12-11
3391
-
3392
- * Lock types versions and fix type errors. #14 [Pagan Gazzard]
3393
- * Set up circleci auto-publishing #14 [Pagan Gazzard]
3394
-
3395
- ## v3.2.0 - 2017-10-24
3396
-
3397
- * Updated dependencies and rewrote tests to account for breaking changes #12 [Giovanni Garufi]
3398
-
3399
- ## v3.1.0 - 2017-10-02
3400
-
3401
- * Convert AbstractSQLCompiler to typescript and add typings for the OMeta parts #11 [Pagan Gazzard]
3402
- * Added versionist #11 [Giovanni Garufi]
3403
-
3404
- ## v3.0.0
3405
-
3406
- * Changed API to pass rule bindings along with the compiled query.
3407
-
3408
- ## v2.3.3
3409
-
3410
- * Fixed checking for unresolved dependencies
3411
-
3412
- ## v2.3.2
3413
-
3414
- * Fixed checking of dependencies when there is self-reference for a resource where the resource name and table name are different
3415
-
3416
- ## v2.3.1
3417
-
3418
- * Fixed added referenced fields to rules
3419
-
3420
- ## v2.3.0
3421
-
3422
- * Add `getReferencedFields` and `getModifiedFields` functions.
3423
- * Add `referencedFields` info to compiled rules.
3424
- * Update coffeescript to ~1.12.6
3425
-
3426
- ## v2.2.0
3427
-
3428
- * Added support for numbered binds.
3429
- * Added a test for a self-referential expand (`pilot?$expand=pilot`)
3430
-
3431
- ## v2.1.0
3432
-
3433
- * Added a test for a rule with numbered terms.
3434
- * Added some tests from the sbvr-parser that were missing here.
3435
- * Added a non-primitive concept type test to the pilots tests.
3436
- * Added support for $count
3437
- * Added tests for $count
3438
- * Updated the client model for tests
3439
- * Updated tests
3440
-
3441
- ## v2.0.0
3442
-
3443
- * Stopped treating an empty string as null.
3444
-
3445
- ## v1.2.0
3446
-
3447
- * Added support for duration literals.
3448
- * Added support for `Contains`, `Now`, `Year`, `Month`, `Day`, `Hour`, `Minute`, `Second`, `FractionalSeconds`, `ToDate`, `ToTime`, and `TotalSeconds`.
3449
- * Avoided issues with wildchard characters in `Substringof`, `StartsWith`, and `EndsWith`.
3450
- * Fixed `InStr` and `IndexOf`.
3451
- * Updated the sbvr model for tests.
3452
-
3453
- ## v1.1.0
3454
-
3455
- * `AggregateJSON` now returns an empty array instead of null in the case of zero results.
3456
- * Updated to lodash 4
3457
-
3458
- ## v1.0.2
3459
-
3460
- * Update ometa-js
3461
-
3462
- ## v1.0.1
3463
-
3464
- * Correctly adjust INSTR/STRPOS, INSTR is the zero-indexed one!
3465
- * Change startswith and endswith from `(needle, haystack)` to `(haystack, needle)`, to match the OData spec.
3466
- * Updated to bluebird 3.
3467
-
3468
- ## v0.4.2
3469
-
3470
- * Update @resin/odata-to-abstract-sql to ~0.3.0, adding matching tests.
3471
-
3472
- ## v0.4.1
3473
-
3474
- * Fixed requirejs import path.
3475
-
3476
- ## v0.4.0
3477
-
3478
- * Added support for specifying a `defaultValue` for a field.
3479
- * Added schema generation support.
3480
- * Changed the exported `compile(engine, abstractSQL)` function to `[engine].compileRule(abstractsql)`
3481
-
3482
- ## v0.3.2
3483
-
3484
- * Fixed an issue with auto incrementing fields of websql/mysql.
3485
-
3486
- ## v0.3.1
3487
-
3488
- * Updated lodash to ^3.0.0
3489
- * Updated sbvr-types to v0.1.1
3490
-
3491
- ## v0.3.0
3492
-
3493
- * Updated sbvr-types to v0.1.0
3494
- * Updated lodash to ~3.0.0
3495
-
3496
- ## v0.2.1
3497
-
3498
- * Optimised not exists statements.
3499
- * Added tests for true/false.
3500
- * Added support for `'Null'` as well as `null` for null valus.
3501
- * Changed comparisons against null to use `IS NULL`/`IS NOT NULL`
3502
-
3503
- ## v0.2.0
3504
-
3505
- * Switch to using bind vars for embedded number/text values.
3506
- * Switched to using multiple part UPSERT queries, allowing greater flexibility.
3507
- * Simplified NULL handling.
3508
-
3509
- ## v0.1.1
3510
-
3511
- * Added support for CAST.
3512
-
3513
- ## v0.1.0
3514
-
3515
- * Added support for select queries in the values clause.