@balena/abstract-sql-to-typescript 1.5.0 → 1.5.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.
@@ -1,3 +1,432 @@
1
+ - commits:
2
+ - subject: Update dependencies
3
+ hash: 72ae6d01ce70fbd47056042399c4d07f50e9a636
4
+ body: |
5
+ Update @balena/abstract-sql-compiler from 8.0.0 to 8.4.1
6
+ Update @balena/odata-to-abstract-sql from 5.9.1 to 5.9.6
7
+ footer:
8
+ Change-type: patch
9
+ change-type: patch
10
+ author: Pagan Gazzard
11
+ nested:
12
+ - commits:
13
+ - subject: Collapse `AliasedFunction` into `FunctionMatch`
14
+ hash: 98093a48aa75e5b8bd8eadc25ca37b53cc80ce2c
15
+ body: ""
16
+ footer:
17
+ Change-type: patch
18
+ change-type: patch
19
+ author: Pagan Gazzard
20
+ nested: []
21
+ version: odata-to-abstract-sql-5.9.6
22
+ title: ""
23
+ date: 2023-04-25T13:27:44.188Z
24
+ - commits:
25
+ - subject: Improve typings
26
+ hash: 78d4a48022ac0465c5d2c48db53b8ddd08e6e1bf
27
+ body: |
28
+ Update @balena/abstract-sql-compiler from 8.4.0 to 8.4.1
29
+ footer:
30
+ Change-type: patch
31
+ change-type: patch
32
+ author: Pagan Gazzard
33
+ nested:
34
+ - commits:
35
+ - subject: Add much finer grained typings for abstract-sql-optimizer
36
+ hash: 92bc7e93ca1b17401d902d66c68e090e50f70d1a
37
+ body: ""
38
+ footer:
39
+ Change-type: patch
40
+ change-type: patch
41
+ author: Pagan Gazzard
42
+ nested: []
43
+ version: abstract-sql-compiler-8.4.1
44
+ title: ""
45
+ date: 2023-04-25T10:03:26.380Z
46
+ version: odata-to-abstract-sql-5.9.5
47
+ title: ""
48
+ date: 2023-04-25T12:16:48.086Z
49
+ - commits:
50
+ - subject: Update dependencies
51
+ hash: 5aa3c51cbbfc66cddedebd41dacba5eabbacf709
52
+ body: |
53
+ Update @balena/abstract-sql-compiler from 8.0.0 to 8.4.0
54
+ Update @balena/odata-parser from 2.4.2 to 2.4.6
55
+ footer:
56
+ Change-type: patch
57
+ change-type: patch
58
+ author: Pagan Gazzard
59
+ nested:
60
+ - commits:
61
+ - subject: Add support for using field type nodes with an AggregateJSON node
62
+ hash: 19c2760ecf76b4097d7d3045c2eefbf74fd7c2da
63
+ body: |
64
+ This also deprecates the legacy version
65
+ footer:
66
+ Change-type: minor
67
+ change-type: minor
68
+ author: Pagan Gazzard
69
+ nested: []
70
+ version: abstract-sql-compiler-8.4.0
71
+ title: ""
72
+ date: 2023-04-24T12:05:48.116Z
73
+ - commits:
74
+ - subject: Deprecate `AliasableFromTypeNodes` type as it's redundant
75
+ hash: 283da4816fe5e6d672e4959b05800861625dda99
76
+ body: ""
77
+ footer:
78
+ Change-type: patch
79
+ change-type: patch
80
+ author: Pagan Gazzard
81
+ nested: []
82
+ version: abstract-sql-compiler-8.3.13
83
+ title: ""
84
+ date: 2023-04-24T12:00:41.593Z
85
+ - commits:
86
+ - subject: Revert tightening of `OrderBy` to only field nodes
87
+ hash: 1c25d9b8d011791a9e98a5929ad48cdd9f3bab6b
88
+ body: >
89
+ It can in fact be a lot of different things and that is
90
+ now also
91
+
92
+ reflected in the typing
93
+ footer:
94
+ Change-type: patch
95
+ change-type: patch
96
+ author: Pagan Gazzard
97
+ nested: []
98
+ version: abstract-sql-compiler-8.3.12
99
+ title: ""
100
+ date: 2023-04-17T16:53:20.918Z
101
+ - commits:
102
+ - subject: Do not allow ON clauses for CROSS JOIN as it is invalid
103
+ hash: d47bf63d3a14cdbb4cb0aeb7544e41a9288699f4
104
+ body: ""
105
+ footer:
106
+ Change-type: patch
107
+ change-type: patch
108
+ author: Pagan Gazzard
109
+ nested: []
110
+ - subject: Stop accepting `ExtractJSONPathAsText`/`ToJSON` as unknown node types
111
+ hash: 6fcb2c4257f9fc50f6b4b1070dec86ace9f71237
112
+ body: >
113
+ We know what type they return and they should be
114
+ explicitly accepted as
115
+
116
+ those types instead where it is valid to do so
117
+ footer:
118
+ Change-type: patch
119
+ change-type: patch
120
+ author: Pagan Gazzard
121
+ nested: []
122
+ version: abstract-sql-compiler-8.3.11
123
+ title: ""
124
+ date: 2023-04-13T11:28:36.049Z
125
+ - commits:
126
+ - subject: Fix DateNode/AnyNode typings
127
+ hash: aab549e8cf4e274a2a8b93814da393451acc4238
128
+ body: ""
129
+ footer:
130
+ Change-type: patch
131
+ change-type: patch
132
+ author: Pagan Gazzard
133
+ nested: []
134
+ version: abstract-sql-compiler-8.3.10
135
+ title: ""
136
+ date: 2023-04-13T10:27:14.478Z
137
+ - commits:
138
+ - subject: Update dependencies
139
+ hash: 39058b2dacac51da96158d594b2d72e3238d0cbc
140
+ body: |
141
+ Update @balena/sbvr-types from 3.4.18 to 3.5.0
142
+ footer:
143
+ Change-type: patch
144
+ change-type: patch
145
+ author: Pagan Gazzard
146
+ nested:
147
+ - commits:
148
+ - subject: Add Big Serial type
149
+ hash: 49460ad51fcbc60f81e61329c573a1af5b207a46
150
+ body: ""
151
+ footer:
152
+ Change-type: minor
153
+ change-type: minor
154
+ author: Josh Bowling
155
+ version: sbvr-types-3.5.0
156
+ title: ""
157
+ date: 2023-03-21T11:16:27.398Z
158
+ - commits:
159
+ - subject: "Flowzone: Allow external contributions"
160
+ hash: 9f7bb028bbac327e6fe0711491d7c0f2c6464f98
161
+ body: ""
162
+ footer:
163
+ Change-type: patch
164
+ change-type: patch
165
+ Signed-off-by: Josh Bowling <josh@monarci.com>
166
+ signed-off-by: Josh Bowling <josh@monarci.com>
167
+ author: Josh Bowling
168
+ version: sbvr-types-3.4.19
169
+ title: ""
170
+ date: 2022-12-08T01:08:35.143Z
171
+ version: abstract-sql-compiler-8.3.9
172
+ title: ""
173
+ date: 2023-04-13T10:09:53.529Z
174
+ - commits:
175
+ - subject: Improve typings
176
+ hash: 43e75ef37de956d1b583bc62b307b04e0f8455c1
177
+ body: ""
178
+ footer:
179
+ Change-type: patch
180
+ change-type: patch
181
+ author: Pagan Gazzard
182
+ nested: []
183
+ version: abstract-sql-compiler-8.3.8
184
+ title: ""
185
+ date: 2023-04-12T17:26:10.992Z
186
+ - commits:
187
+ - subject: Remove typing for non-existent JSON node
188
+ hash: 76181d438f0f37463642704d7908c1774040c2c2
189
+ body: ""
190
+ footer:
191
+ Change-type: patch
192
+ change-type: patch
193
+ author: Pagan Gazzard
194
+ nested: []
195
+ version: abstract-sql-compiler-8.3.7
196
+ title: ""
197
+ date: 2023-04-12T16:38:07.014Z
198
+ - commits:
199
+ - subject: Tighten the `isXValue` function typings
200
+ hash: 91485cd9c88faaaed9b1280bc34eb3a99628057e
201
+ body: ""
202
+ footer:
203
+ Change-type: patch
204
+ change-type: patch
205
+ author: Pagan Gazzard
206
+ nested: []
207
+ version: abstract-sql-compiler-8.3.6
208
+ title: ""
209
+ date: 2023-04-12T16:18:20.829Z
210
+ - commits:
211
+ - subject: Correctly treat `Value` nodes as rewritten to `Text` by the optimizer
212
+ hash: c9dbc4cfb3fa392e87a0775accdd6811b3c273b4
213
+ body: ""
214
+ footer:
215
+ Change-type: patch
216
+ change-type: patch
217
+ author: Pagan Gazzard
218
+ nested: []
219
+ - subject: Add EmbeddedTextNode typing
220
+ hash: d00ac00ca7af4d17b437c3d5511af8e506615db4
221
+ body: ""
222
+ footer:
223
+ Change-type: patch
224
+ change-type: patch
225
+ author: Pagan Gazzard
226
+ nested: []
227
+ version: abstract-sql-compiler-8.3.5
228
+ title: ""
229
+ date: 2023-04-12T16:01:45.643Z
230
+ - commits:
231
+ - subject: Enforce the first argument of ExtractJSONPathAsText is a JSON type node
232
+ hash: 08865295d4cd3ded56d77a30d33c0434e1da52b9
233
+ body: ""
234
+ footer:
235
+ Change-type: patch
236
+ change-type: patch
237
+ author: Pagan Gazzard
238
+ nested: []
239
+ version: abstract-sql-compiler-8.3.4
240
+ title: ""
241
+ date: 2023-04-12T15:55:47.432Z
242
+ - commits:
243
+ - subject: Improve node typings
244
+ hash: 2cb83cf242052c581ee5412e3a90ed87cf5fd39e
245
+ body: ""
246
+ footer:
247
+ Change-type: patch
248
+ change-type: patch
249
+ author: Pagan Gazzard
250
+ nested: []
251
+ version: abstract-sql-compiler-8.3.3
252
+ title: ""
253
+ date: 2023-04-12T15:43:13.357Z
254
+ - commits:
255
+ - subject: Add more node typings
256
+ hash: db162a8a4d645c2f37c968224d667ed753e534dd
257
+ body: ""
258
+ footer:
259
+ Change-type: patch
260
+ change-type: patch
261
+ author: Pagan Gazzard
262
+ nested: []
263
+ version: abstract-sql-compiler-8.3.2
264
+ title: ""
265
+ date: 2023-04-12T15:01:22.252Z
266
+ - commits:
267
+ - subject: Add more node typings
268
+ hash: 047954b6f66abb041bee74373f37c38d71cdc4d7
269
+ body: ""
270
+ footer:
271
+ Change-type: patch
272
+ change-type: patch
273
+ author: Pagan Gazzard
274
+ nested: []
275
+ version: abstract-sql-compiler-8.3.1
276
+ title: ""
277
+ date: 2023-04-12T13:14:25.174Z
278
+ - commits:
279
+ - subject: Support boolean nodes in a ValuesNode
280
+ hash: d589fb6cd92a3a7570e3b2ebea14acbb84807d8a
281
+ body: >
282
+ This also deprecates the legacy use of direct true/false
283
+ entries
284
+ footer:
285
+ Change-type: minor
286
+ change-type: minor
287
+ author: Pagan Gazzard
288
+ nested: []
289
+ version: abstract-sql-compiler-8.3.0
290
+ title: ""
291
+ date: 2023-04-11T14:56:54.403Z
292
+ - commits:
293
+ - subject: Add `Between` node type
294
+ hash: 4880072eeab6af198df47777b6579dcacc3d7fb1
295
+ body: ""
296
+ footer:
297
+ Change-type: minor
298
+ change-type: minor
299
+ author: Pagan Gazzard
300
+ nested: []
301
+ version: abstract-sql-compiler-8.2.0
302
+ title: ""
303
+ date: 2023-04-11T14:19:22.378Z
304
+ - commits:
305
+ - subject: Add `BitwiseAnd`/`BitwiseShiftRight` node types
306
+ hash: f155d1daca54086b653fa590e3248c5ef805afff
307
+ body: ""
308
+ footer:
309
+ Change-type: minor
310
+ change-type: minor
311
+ author: Pagan Gazzard
312
+ nested: []
313
+ version: abstract-sql-compiler-8.1.0
314
+ title: ""
315
+ date: 2023-04-11T14:11:01.677Z
316
+ - commits:
317
+ - subject: Add `NotInNode` type
318
+ hash: 9870d746344033db53ec14fddc23a8580b863ad9
319
+ body: ""
320
+ footer:
321
+ Change-type: patch
322
+ change-type: patch
323
+ author: Pagan Gazzard
324
+ nested: []
325
+ - subject: Add `IsDistinctFromNode`/`IsNotDistinctFromNode` types
326
+ hash: 09887280a6394a61a31c955602ccb2a0fe98c9b8
327
+ body: ""
328
+ footer:
329
+ Change-type: patch
330
+ change-type: patch
331
+ author: Pagan Gazzard
332
+ nested: []
333
+ - subject: Add `CharacterLengthNode` type
334
+ hash: 1fbab42cee8128025756076dc826dacda4ea1597
335
+ body: ""
336
+ footer:
337
+ Change-type: patch
338
+ change-type: patch
339
+ author: Pagan Gazzard
340
+ nested: []
341
+ version: abstract-sql-compiler-8.0.2
342
+ title: ""
343
+ date: 2023-04-06T18:12:29.893Z
344
+ - commits:
345
+ - subject: Adds Cast node type to tree parsing
346
+ hash: cbdb559bfce3c77f9bce9e07f05777f58965f324
347
+ body: ""
348
+ footer:
349
+ Change-type: patch
350
+ change-type: patch
351
+ author: Otávio Jacobi
352
+ nested: []
353
+ version: abstract-sql-compiler-8.0.1
354
+ title: ""
355
+ date: 2023-04-06T17:59:29.723Z
356
+ - commits:
357
+ - subject: Improve typings
358
+ hash: ed5fa5675021485a775eb777f2358d8041b93ce1
359
+ body: ""
360
+ footer:
361
+ Change-type: patch
362
+ change-type: patch
363
+ author: Pagan Gazzard
364
+ version: odata-parser-2.4.6
365
+ title: ""
366
+ date: 2023-02-24T17:02:58.272Z
367
+ - commits:
368
+ - subject: Use const/let as appropriate
369
+ hash: 0824fe7d85eeb97941319749fc802f9bae3c9fb6
370
+ body: ""
371
+ footer:
372
+ Change-type: patch
373
+ change-type: patch
374
+ author: Pagan Gazzard
375
+ version: odata-parser-2.4.5
376
+ title: ""
377
+ date: 2023-02-23T16:31:08.299Z
378
+ - commits:
379
+ - subject: Use shorthand object notation
380
+ hash: 611c0480681965c7af06302264eac79fea18bded
381
+ body: ""
382
+ footer:
383
+ Change-type: patch
384
+ change-type: patch
385
+ author: Pagan Gazzard
386
+ version: odata-parser-2.4.4
387
+ title: ""
388
+ date: 2023-02-23T16:26:30.639Z
389
+ - commits:
390
+ - subject: Update dependencies
391
+ hash: 25b153aca258347c6742cb8b4efe54c0ae199695
392
+ body: ""
393
+ footer:
394
+ Change-type: patch
395
+ change-type: patch
396
+ author: Pagan Gazzard
397
+ version: odata-parser-2.4.3
398
+ title: ""
399
+ date: 2023-02-23T16:14:13.013Z
400
+ version: odata-to-abstract-sql-5.9.4
401
+ title: ""
402
+ date: 2023-04-24T16:26:44.367Z
403
+ - commits:
404
+ - subject: Fixes ODataBindings imported types
405
+ hash: 07224c40f6c11a849939dcca456d18677b159991
406
+ body: ""
407
+ footer:
408
+ Change-type: patch
409
+ change-type: patch
410
+ author: Otávio Jacobi
411
+ nested: []
412
+ version: odata-to-abstract-sql-5.9.3
413
+ title: ""
414
+ date: 2023-03-08T22:00:01.264Z
415
+ - commits:
416
+ - subject: Update typings to the minimal subset of the abstract sql model we need
417
+ hash: 2b95fdd826b153b7cbc0ad9ae6440d5788062ee3
418
+ body: ""
419
+ footer:
420
+ Change-type: patch
421
+ change-type: patch
422
+ author: Pagan Gazzard
423
+ nested: []
424
+ version: odata-to-abstract-sql-5.9.2
425
+ title: ""
426
+ date: 2023-02-15T13:59:28.133Z
427
+ version: 1.5.1
428
+ title: ""
429
+ date: 2023-04-27T08:51:55.043Z
1
430
  - commits:
2
431
  - subject: Adds native SQL Date type
3
432
  hash: f19cd38aa79cb820f663b73da96c15bcfd41778d
@@ -9,7 +438,7 @@
9
438
  nested: []
10
439
  version: 1.5.0
11
440
  title: ""
12
- date: 2023-03-01T17:08:52.229Z
441
+ date: 2023-03-01T17:29:25.983Z
13
442
  - commits:
14
443
  - subject: Update typings to the minimal subset of the abstract sql model we need
15
444
  hash: 7f44648fe2bde3c85914c53cdaec448321f5ffca
@@ -263,7 +692,8 @@
263
692
  - subject: Use `SELECT *, $computedFields` for adding computed fields
264
693
  hash: b6ed24d0a4ad0a4d8aa71db00dc58280590ce9dd
265
694
  body: >
266
- This reduces the size of the generated SQL when computed fields are
695
+ This reduces the size of the generated SQL when computed fields
696
+ are
267
697
 
268
698
  included and as such helps to make it more readable
269
699
  footer:
@@ -512,7 +942,8 @@
512
942
  - subject: Add reference property type
513
943
  hash: d28e2456dff10b18bcc97b7232479fe78efd5eb3
514
944
  body: >
515
- Property type describes if the reference is 'strict' or 'informative'.
945
+ Property type describes if the reference is 'strict' or
946
+ 'informative'.
516
947
 
517
948
 
518
949
  Behaviour change only if type is informative otherwise default 'strict'.
@@ -537,7 +968,8 @@
537
968
  - subject: Avoid the operation type optimization for HAVING clauses
538
969
  hash: 3fcf08bc02c21d9f49b78787ed516fa9a403f021
539
970
  body: >
540
- Since it's possible for them to behave in a way that violates the
971
+ Since it's possible for them to behave in a way that
972
+ violates the
541
973
 
542
974
  safety checks we'll disable them until we can add specific checks
543
975
 
@@ -582,7 +1014,8 @@
582
1014
  - subject: Use the full alias for the prefix hash
583
1015
  hash: d60132e2eed1408735c1ee6dae12d69548cb1796
584
1016
  body: >
585
- This simplifies the code and also avoids an issue where we not using
1017
+ This simplifies the code and also avoids an issue where we not
1018
+ using
586
1019
 
587
1020
  enough of the prefix for the hash
588
1021
  footer:
@@ -596,7 +1029,8 @@
596
1029
  - subject: Use a hash instead of random str when it's necessary to shorten aliases
597
1030
  hash: cb05ec69fe0e08fc4619b38a99272c3a7ea42e21
598
1031
  body: >
599
- This means the prefix will be stable/reliable across runs and make it
1032
+ This means the prefix will be stable/reliable across runs and
1033
+ make it
600
1034
 
601
1035
  easier to compare the output generating from different runs
602
1036
 
@@ -771,7 +1205,8 @@
771
1205
  - subject: Revert "Remove now unnecessary hack for casting SERIAL types"
772
1206
  hash: 60a56423de9262b5b454ff4cd83c1d1fd39d071e
773
1207
  body: >
774
- This reverts commit 187bc075d237a2ced731d0a026ca25aa3e0f5540.
1208
+ This reverts commit
1209
+ 187bc075d237a2ced731d0a026ca25aa3e0f5540.
775
1210
  footer:
776
1211
  Change-type: patch
777
1212
  change-type: patch
@@ -783,7 +1218,8 @@
783
1218
  - subject: Remove now unnecessary hack for casting SERIAL types
784
1219
  hash: 187bc075d237a2ced731d0a026ca25aa3e0f5540
785
1220
  body: >
786
- This became unnecessary when @balena/sbvr-types added the concept of
1221
+ This became unnecessary when @balena/sbvr-types added
1222
+ the concept of
787
1223
 
788
1224
  cast types since that now specifies how to cast a SERIAL type
789
1225
  footer:
@@ -947,7 +1383,8 @@
947
1383
  - subject: Add a `getRuleReferencedFields` which is tailored for rules
948
1384
  hash: 256c36de4a1efb7a46eb9833e1c3228d17194015
949
1385
  body: >
950
- This works on the assumption that it is a rule query that should always
1386
+ This works on the assumption that it is a rule query
1387
+ that should always
951
1388
 
952
1389
  return true and allows ignoring more modification cases where they
953
1390
 
package/CHANGELOG.md CHANGED
@@ -4,6 +4,161 @@ All notable changes to this project will be documented in this file
4
4
  automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
5
  This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## 1.5.1 - 2023-04-27
8
+
9
+
10
+ <details>
11
+ <summary> Update dependencies [Pagan Gazzard] </summary>
12
+
13
+ > ### odata-to-abstract-sql-5.9.6 - 2023-04-25
14
+ >
15
+ > * Collapse `AliasedFunction` into `FunctionMatch` [Pagan Gazzard]
16
+ >
17
+ > ### odata-to-abstract-sql-5.9.5 - 2023-04-25
18
+ >
19
+ >
20
+ > <details>
21
+ > <summary> Improve typings [Pagan Gazzard] </summary>
22
+ >
23
+ >> #### abstract-sql-compiler-8.4.1 - 2023-04-25
24
+ >>
25
+ >> * Add much finer grained typings for abstract-sql-optimizer [Pagan Gazzard]
26
+ >>
27
+ >
28
+ > </details>
29
+ >
30
+ >
31
+ > ### odata-to-abstract-sql-5.9.4 - 2023-04-24
32
+ >
33
+ >
34
+ > <details>
35
+ > <summary> Update dependencies [Pagan Gazzard] </summary>
36
+ >
37
+ >> #### abstract-sql-compiler-8.4.0 - 2023-04-24
38
+ >>
39
+ >> * Add support for using field type nodes with an AggregateJSON node [Pagan Gazzard]
40
+ >>
41
+ >> #### abstract-sql-compiler-8.3.13 - 2023-04-24
42
+ >>
43
+ >> * Deprecate `AliasableFromTypeNodes` type as it's redundant [Pagan Gazzard]
44
+ >>
45
+ >> #### abstract-sql-compiler-8.3.12 - 2023-04-17
46
+ >>
47
+ >> * Revert tightening of `OrderBy` to only field nodes [Pagan Gazzard]
48
+ >>
49
+ >> #### abstract-sql-compiler-8.3.11 - 2023-04-13
50
+ >>
51
+ >> * Do not allow ON clauses for CROSS JOIN as it is invalid [Pagan Gazzard]
52
+ >> * Stop accepting `ExtractJSONPathAsText`/`ToJSON` as unknown node types [Pagan Gazzard]
53
+ >>
54
+ >> #### abstract-sql-compiler-8.3.10 - 2023-04-13
55
+ >>
56
+ >> * Fix DateNode/AnyNode typings [Pagan Gazzard]
57
+ >>
58
+ >> #### abstract-sql-compiler-8.3.9 - 2023-04-13
59
+ >>
60
+ >>
61
+ >> <details>
62
+ >> <summary> Update dependencies [Pagan Gazzard] </summary>
63
+ >>
64
+ >>> ##### sbvr-types-3.5.0 - 2023-03-21
65
+ >>>
66
+ >>> * Add Big Serial type [Josh Bowling]
67
+ >>>
68
+ >>> ##### sbvr-types-3.4.19 - 2022-12-08
69
+ >>>
70
+ >>> * Flowzone: Allow external contributions [Josh Bowling]
71
+ >>>
72
+ >>
73
+ >> </details>
74
+ >>
75
+ >>
76
+ >> #### abstract-sql-compiler-8.3.8 - 2023-04-12
77
+ >>
78
+ >> * Improve typings [Pagan Gazzard]
79
+ >>
80
+ >> #### abstract-sql-compiler-8.3.7 - 2023-04-12
81
+ >>
82
+ >> * Remove typing for non-existent JSON node [Pagan Gazzard]
83
+ >>
84
+ >> #### abstract-sql-compiler-8.3.6 - 2023-04-12
85
+ >>
86
+ >> * Tighten the `isXValue` function typings [Pagan Gazzard]
87
+ >>
88
+ >> #### abstract-sql-compiler-8.3.5 - 2023-04-12
89
+ >>
90
+ >> * Correctly treat `Value` nodes as rewritten to `Text` by the optimizer [Pagan Gazzard]
91
+ >> * Add EmbeddedTextNode typing [Pagan Gazzard]
92
+ >>
93
+ >> #### abstract-sql-compiler-8.3.4 - 2023-04-12
94
+ >>
95
+ >> * Enforce the first argument of ExtractJSONPathAsText is a JSON type node [Pagan Gazzard]
96
+ >>
97
+ >> #### abstract-sql-compiler-8.3.3 - 2023-04-12
98
+ >>
99
+ >> * Improve node typings [Pagan Gazzard]
100
+ >>
101
+ >> #### abstract-sql-compiler-8.3.2 - 2023-04-12
102
+ >>
103
+ >> * Add more node typings [Pagan Gazzard]
104
+ >>
105
+ >> #### abstract-sql-compiler-8.3.1 - 2023-04-12
106
+ >>
107
+ >> * Add more node typings [Pagan Gazzard]
108
+ >>
109
+ >> #### abstract-sql-compiler-8.3.0 - 2023-04-11
110
+ >>
111
+ >> * Support boolean nodes in a ValuesNode [Pagan Gazzard]
112
+ >>
113
+ >> #### abstract-sql-compiler-8.2.0 - 2023-04-11
114
+ >>
115
+ >> * Add `Between` node type [Pagan Gazzard]
116
+ >>
117
+ >> #### abstract-sql-compiler-8.1.0 - 2023-04-11
118
+ >>
119
+ >> * Add `BitwiseAnd`/`BitwiseShiftRight` node types [Pagan Gazzard]
120
+ >>
121
+ >> #### abstract-sql-compiler-8.0.2 - 2023-04-06
122
+ >>
123
+ >> * Add `NotInNode` type [Pagan Gazzard]
124
+ >> * Add `IsDistinctFromNode`/`IsNotDistinctFromNode` types [Pagan Gazzard]
125
+ >> * Add `CharacterLengthNode` type [Pagan Gazzard]
126
+ >>
127
+ >> #### abstract-sql-compiler-8.0.1 - 2023-04-06
128
+ >>
129
+ >> * Adds Cast node type to tree parsing [Otávio Jacobi]
130
+ >>
131
+ >> #### odata-parser-2.4.6 - 2023-02-24
132
+ >>
133
+ >> * Improve typings [Pagan Gazzard]
134
+ >>
135
+ >> #### odata-parser-2.4.5 - 2023-02-23
136
+ >>
137
+ >> * Use const/let as appropriate [Pagan Gazzard]
138
+ >>
139
+ >> #### odata-parser-2.4.4 - 2023-02-23
140
+ >>
141
+ >> * Use shorthand object notation [Pagan Gazzard]
142
+ >>
143
+ >> #### odata-parser-2.4.3 - 2023-02-23
144
+ >>
145
+ >> * Update dependencies [Pagan Gazzard]
146
+ >>
147
+ >
148
+ > </details>
149
+ >
150
+ >
151
+ > ### odata-to-abstract-sql-5.9.3 - 2023-03-08
152
+ >
153
+ > * Fixes ODataBindings imported types [Otávio Jacobi]
154
+ >
155
+ > ### odata-to-abstract-sql-5.9.2 - 2023-02-15
156
+ >
157
+ > * Update typings to the minimal subset of the abstract sql model we need [Pagan Gazzard]
158
+ >
159
+
160
+ </details>
161
+
7
162
  ## 1.5.0 - 2023-03-01
8
163
 
9
164
  * Adds native SQL Date type [Otávio Jacobi]
package/package.json CHANGED
@@ -1,34 +1,34 @@
1
1
  {
2
2
  "name": "@balena/abstract-sql-to-typescript",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "A translator for abstract sql into typescript types.",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
7
7
  "scripts": {
8
8
  "pretest": "npm run lint && npm run prepare",
9
9
  "test": "mocha",
10
- "prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\"; tsc --project ./tsconfig.build.json",
10
+ "prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\" && tsc --project ./tsconfig.build.json",
11
11
  "lint": "balena-lint --typescript --fix src test && tsc --noEmit"
12
12
  },
13
13
  "repository": "https://github.com/balena-io-modules/abstract-sql-to-typescript.git",
14
14
  "author": "",
15
15
  "dependencies": {
16
- "@balena/abstract-sql-compiler": "^8.0.0",
17
- "@balena/odata-to-abstract-sql": "^5.9.1",
16
+ "@balena/abstract-sql-compiler": "^8.4.1",
17
+ "@balena/odata-to-abstract-sql": "^5.9.6",
18
18
  "@types/node": "^12.20.55",
19
19
  "common-tags": "^1.8.2"
20
20
  },
21
21
  "devDependencies": {
22
- "@balena/lint": "^6.2.1",
22
+ "@balena/lint": "^6.2.2",
23
23
  "@types/chai": "^4.3.4",
24
24
  "@types/common-tags": "^1.8.1",
25
25
  "@types/mocha": "^10.0.1",
26
26
  "chai": "^4.3.7",
27
27
  "husky": "^8.0.3",
28
- "lint-staged": "^13.1.2",
28
+ "lint-staged": "^13.2.2",
29
29
  "mocha": "^10.2.0",
30
30
  "ts-node": "^10.9.1",
31
- "typescript": "^4.9.5"
31
+ "typescript": "^5.0.4"
32
32
  },
33
33
  "lint-staged": {
34
34
  "*.ts": [
@@ -40,6 +40,6 @@
40
40
  "_": "test/**/*.ts"
41
41
  },
42
42
  "versionist": {
43
- "publishedAt": "2023-03-01T17:08:52.429Z"
43
+ "publishedAt": "2023-04-27T08:51:56.023Z"
44
44
  }
45
45
  }