@balena/pinejs 23.1.1-build-renovate-bcrypt-6-x-d7e6420cf9e15ffd0bf04d15611bf19f85e27e1a-1 → 23.1.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,16 +1,258 @@
1
1
  - commits:
2
- - subject: Update dependency bcrypt to v6
3
- hash: d7e6420cf9e15ffd0bf04d15611bf19f85e27e1a
2
+ - subject: Fix issues with computed functions on tables that do not match the
3
+ expected column order
4
+ hash: 2c7a70cea273ab61098e220529e4570cc4136f46
4
5
  body: |
5
- Update bcrypt from 5.1.1 to 6.0.0
6
+ Update @balena/abstract-sql-compiler from 11.1.1 to 11.2.0
7
+ Update @balena/odata-to-abstract-sql from 9.0.1 to 10.0.0
6
8
  footer:
7
9
  Change-type: patch
8
10
  change-type: patch
9
- author: balena-renovate[bot]
10
- nested: []
11
+ author: Pagan Gazzard
12
+ nested:
13
+ - commits:
14
+ - subject: Add support for a `ConvertRow` virtual node to convert a row that looks
15
+ like a table row to match the type
16
+ hash: e1988d6cbc6cb5a759b14e31854636bebc5a26a6
17
+ body: |
18
+ Note: this is only supported on postgres currently
19
+ footer:
20
+ Change-type: minor
21
+ change-type: minor
22
+ author: Pagan Gazzard
23
+ nested: []
24
+ - subject: Add support for a `JSONPopulateRecord` node to convert JSON to a row
25
+ hash: 54720af879b4a799b441984705b7ff22e0c6f640
26
+ body: ""
27
+ footer:
28
+ Change-type: minor
29
+ change-type: minor
30
+ author: Pagan Gazzard
31
+ nested: []
32
+ - subject: Add support for a `RowToJSON` node to convert a row to JSON
33
+ hash: 5bcb0aa3bc03f3e9abdf22c266b9a6dc3816ed84
34
+ body: ""
35
+ footer:
36
+ Change-type: minor
37
+ change-type: minor
38
+ author: Pagan Gazzard
39
+ nested: []
40
+ - subject: Add support for casting to a table/record type
41
+ hash: fe84e97d6a5709cbfbb874fedda7a08c1315cdc0
42
+ body: ""
43
+ footer:
44
+ Change-type: minor
45
+ change-type: minor
46
+ author: Pagan Gazzard
47
+ nested: []
48
+ version: abstract-sql-compiler-11.2.0
49
+ title: ""
50
+ date: 2025-08-15T14:55:12.172Z
51
+ - commits:
52
+ - subject: Remove redundant exports from abstract-sql-schema-optimizer
53
+ hash: 467259a9fe3dd09a83d2c9a7b2e68dc5619eefb5
54
+ body: ""
55
+ footer:
56
+ Change-type: patch
57
+ change-type: patch
58
+ author: Pagan Gazzard
59
+ nested: []
60
+ version: abstract-sql-compiler-11.1.4
61
+ title: ""
62
+ date: 2025-08-15T12:44:01.234Z
63
+ - commits:
64
+ - subject: Handle optimizing/compiling table nodes in the standard manner
65
+ hash: 5e656c36b73b6c4d9343bbed28cceb52c74be300
66
+ body: >
67
+ This standardizes them rather than having custom handling for
68
+ some
69
+
70
+ reason
71
+ footer:
72
+ Change-type: patch
73
+ change-type: patch
74
+ author: Pagan Gazzard
75
+ nested: []
76
+ version: abstract-sql-compiler-11.1.3
77
+ title: ""
78
+ date: 2025-08-14T23:52:56.586Z
79
+ - commits:
80
+ - subject: Ignore duplicate function errors when creating computed functions
81
+ hash: e98a9ca6c287f320bf7d55006ec861339179a3fb
82
+ body: ""
83
+ footer:
84
+ Change-type: patch
85
+ change-type: patch
86
+ author: Pagan Gazzard
87
+ nested: []
88
+ version: abstract-sql-compiler-11.1.2
89
+ title: ""
90
+ date: 2025-08-13T11:45:56.590Z
91
+ - commits:
92
+ - subject: Make use of `ConvertRow` to ensure the correct type for out fake
93
+ $insert rows
94
+ hash: 4f85a9a22f7e9fc145cd6f3c3b8a2208acf6e40f
95
+ body: |
96
+ This requires @balena/abstract-sql-compiler ^11.2.0
97
+
98
+ Update @balena/abstract-sql-compiler from 11.0.0 to 11.2.0
99
+ footer:
100
+ Change-type: major
101
+ change-type: major
102
+ author: Pagan Gazzard
103
+ nested:
104
+ - commits:
105
+ - subject: Add support for a `ConvertRow` virtual node to convert a row that looks
106
+ like a table row to match the type
107
+ hash: e1988d6cbc6cb5a759b14e31854636bebc5a26a6
108
+ body: |
109
+ Note: this is only supported on postgres currently
110
+ footer:
111
+ Change-type: minor
112
+ change-type: minor
113
+ author: Pagan Gazzard
114
+ nested: []
115
+ - subject: Add support for a `JSONPopulateRecord` node to convert JSON to a row
116
+ hash: 54720af879b4a799b441984705b7ff22e0c6f640
117
+ body: ""
118
+ footer:
119
+ Change-type: minor
120
+ change-type: minor
121
+ author: Pagan Gazzard
122
+ nested: []
123
+ - subject: Add support for a `RowToJSON` node to convert a row to JSON
124
+ hash: 5bcb0aa3bc03f3e9abdf22c266b9a6dc3816ed84
125
+ body: ""
126
+ footer:
127
+ Change-type: minor
128
+ change-type: minor
129
+ author: Pagan Gazzard
130
+ nested: []
131
+ - subject: Add support for casting to a table/record type
132
+ hash: fe84e97d6a5709cbfbb874fedda7a08c1315cdc0
133
+ body: ""
134
+ footer:
135
+ Change-type: minor
136
+ change-type: minor
137
+ author: Pagan Gazzard
138
+ nested: []
139
+ version: abstract-sql-compiler-11.2.0
140
+ title: ""
141
+ date: 2025-08-15T14:55:12.172Z
142
+ - commits:
143
+ - subject: Remove redundant exports from abstract-sql-schema-optimizer
144
+ hash: 467259a9fe3dd09a83d2c9a7b2e68dc5619eefb5
145
+ body: ""
146
+ footer:
147
+ Change-type: patch
148
+ change-type: patch
149
+ author: Pagan Gazzard
150
+ nested: []
151
+ version: abstract-sql-compiler-11.1.4
152
+ title: ""
153
+ date: 2025-08-15T12:44:01.234Z
154
+ - commits:
155
+ - subject: Handle optimizing/compiling table nodes in the standard manner
156
+ hash: 5e656c36b73b6c4d9343bbed28cceb52c74be300
157
+ body: >
158
+ This standardizes them rather than having custom
159
+ handling for some
160
+
161
+ reason
162
+ footer:
163
+ Change-type: patch
164
+ change-type: patch
165
+ author: Pagan Gazzard
166
+ nested: []
167
+ version: abstract-sql-compiler-11.1.3
168
+ title: ""
169
+ date: 2025-08-14T23:52:56.586Z
170
+ - commits:
171
+ - subject: Ignore duplicate function errors when creating computed functions
172
+ hash: e98a9ca6c287f320bf7d55006ec861339179a3fb
173
+ body: ""
174
+ footer:
175
+ Change-type: patch
176
+ change-type: patch
177
+ author: Pagan Gazzard
178
+ nested: []
179
+ version: abstract-sql-compiler-11.1.2
180
+ title: ""
181
+ date: 2025-08-13T11:45:56.590Z
182
+ - commits:
183
+ - subject: Create computed functions after table definitions
184
+ hash: f5b3ec1e7f4a23c8958e16ecfc016abb4b83ec15
185
+ body: ""
186
+ footer:
187
+ Change-type: patch
188
+ change-type: patch
189
+ author: Pagan Gazzard
190
+ nested: []
191
+ version: abstract-sql-compiler-11.1.1
192
+ title: ""
193
+ date: 2025-08-12T15:07:21.133Z
194
+ - commits:
195
+ - subject: Add the ability to have computed fields generate/call functions
196
+ hash: 2a0d1a357a7baa36eaaef71c5b15c206b44a1a0f
197
+ body: ""
198
+ footer:
199
+ Change-type: minor
200
+ change-type: minor
201
+ author: Pagan Gazzard
202
+ nested: []
203
+ version: abstract-sql-compiler-11.1.0
204
+ title: ""
205
+ date: 2025-08-12T00:17:28.281Z
206
+ - commits:
207
+ - subject: Optimize away unnecessary aliasing
208
+ hash: bc19f720415adc56684978d56a70d1c5407c3ab7
209
+ body: ""
210
+ footer:
211
+ Change-type: patch
212
+ change-type: patch
213
+ author: Pagan Gazzard
214
+ nested: []
215
+ version: abstract-sql-compiler-11.0.3
216
+ title: ""
217
+ date: 2025-08-08T15:34:13.225Z
218
+ - commits:
219
+ - subject: "Tests: update dev dependencies"
220
+ hash: d3b7d59ef4413015b28b78a5943753304bfdfb01
221
+ body: ""
222
+ footer:
223
+ Change-type: patch
224
+ change-type: patch
225
+ author: Pagan Gazzard
226
+ nested: []
227
+ version: abstract-sql-compiler-11.0.2
228
+ title: ""
229
+ date: 2025-08-08T14:17:18.123Z
230
+ - commits:
231
+ - subject: Update tsconfig module to `Node18`
232
+ hash: 7b551369ed6974b4b537c80085bfad74b8a692a0
233
+ body: ""
234
+ footer:
235
+ Change-type: patch
236
+ change-type: patch
237
+ author: Pagan Gazzard
238
+ nested: []
239
+ - subject: "Tests: switch from ts-node to @swc-node/register"
240
+ hash: 0645665e87ad356aa91a97f9e730a855feb8bd67
241
+ body: ""
242
+ footer:
243
+ Change-type: patch
244
+ change-type: patch
245
+ author: Pagan Gazzard
246
+ nested: []
247
+ version: abstract-sql-compiler-11.0.1
248
+ title: ""
249
+ date: 2025-08-01T13:37:39.968Z
250
+ version: odata-to-abstract-sql-10.0.0
251
+ title: ""
252
+ date: 2025-08-15T15:10:44.518Z
11
253
  version: 23.1.1
12
254
  title: ""
13
- date: 2025-08-12T16:05:16.275Z
255
+ date: 2025-08-15T15:15:09.712Z
14
256
  - commits:
15
257
  - subject: Add the ability to have computed fields generate/call functions
16
258
  hash: b7a4c06f031ec11bb2f1a02645a555288a570c77
package/CHANGELOG.md CHANGED
@@ -5,9 +5,97 @@ automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
5
  This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
7
  # v23.1.1
8
- ## (2025-08-12)
8
+ ## (2025-08-15)
9
+
10
+
11
+ <details>
12
+ <summary> Fix issues with computed functions on tables that do not match the expected column order [Pagan Gazzard] </summary>
13
+
14
+ > ## abstract-sql-compiler-11.2.0
15
+ > ### (2025-08-15)
16
+ >
17
+ > * Add support for a `ConvertRow` virtual node to convert a row that looks like a table row to match the type [Pagan Gazzard]
18
+ > * Add support for a `JSONPopulateRecord` node to convert JSON to a row [Pagan Gazzard]
19
+ > * Add support for a `RowToJSON` node to convert a row to JSON [Pagan Gazzard]
20
+ > * Add support for casting to a table/record type [Pagan Gazzard]
21
+ >
22
+ > ## abstract-sql-compiler-11.1.4
23
+ > ### (2025-08-15)
24
+ >
25
+ > * Remove redundant exports from abstract-sql-schema-optimizer [Pagan Gazzard]
26
+ >
27
+ > ## abstract-sql-compiler-11.1.3
28
+ > ### (2025-08-14)
29
+ >
30
+ > * Handle optimizing/compiling table nodes in the standard manner [Pagan Gazzard]
31
+ >
32
+ > ## abstract-sql-compiler-11.1.2
33
+ > ### (2025-08-13)
34
+ >
35
+ > * Ignore duplicate function errors when creating computed functions [Pagan Gazzard]
36
+ >
37
+ > ## odata-to-abstract-sql-10.0.0
38
+ > ### (2025-08-15)
39
+ >
40
+ >
41
+ > <details>
42
+ > <summary> Make use of `ConvertRow` to ensure the correct type for out fake $insert rows [Pagan Gazzard] </summary>
43
+ >
44
+ >> ### abstract-sql-compiler-11.2.0
45
+ >> #### (2025-08-15)
46
+ >>
47
+ >> * Add support for a `ConvertRow` virtual node to convert a row that looks like a table row to match the type [Pagan Gazzard]
48
+ >> * Add support for a `JSONPopulateRecord` node to convert JSON to a row [Pagan Gazzard]
49
+ >> * Add support for a `RowToJSON` node to convert a row to JSON [Pagan Gazzard]
50
+ >> * Add support for casting to a table/record type [Pagan Gazzard]
51
+ >>
52
+ >> ### abstract-sql-compiler-11.1.4
53
+ >> #### (2025-08-15)
54
+ >>
55
+ >> * Remove redundant exports from abstract-sql-schema-optimizer [Pagan Gazzard]
56
+ >>
57
+ >> ### abstract-sql-compiler-11.1.3
58
+ >> #### (2025-08-14)
59
+ >>
60
+ >> * Handle optimizing/compiling table nodes in the standard manner [Pagan Gazzard]
61
+ >>
62
+ >> ### abstract-sql-compiler-11.1.2
63
+ >> #### (2025-08-13)
64
+ >>
65
+ >> * Ignore duplicate function errors when creating computed functions [Pagan Gazzard]
66
+ >>
67
+ >> ### abstract-sql-compiler-11.1.1
68
+ >> #### (2025-08-12)
69
+ >>
70
+ >> * Create computed functions after table definitions [Pagan Gazzard]
71
+ >>
72
+ >> ### abstract-sql-compiler-11.1.0
73
+ >> #### (2025-08-12)
74
+ >>
75
+ >> * Add the ability to have computed fields generate/call functions [Pagan Gazzard]
76
+ >>
77
+ >> ### abstract-sql-compiler-11.0.3
78
+ >> #### (2025-08-08)
79
+ >>
80
+ >> * Optimize away unnecessary aliasing [Pagan Gazzard]
81
+ >>
82
+ >> ### abstract-sql-compiler-11.0.2
83
+ >> #### (2025-08-08)
84
+ >>
85
+ >> * Tests: update dev dependencies [Pagan Gazzard]
86
+ >>
87
+ >> ### abstract-sql-compiler-11.0.1
88
+ >> #### (2025-08-01)
89
+ >>
90
+ >> * Update tsconfig module to `Node18` [Pagan Gazzard]
91
+ >> * Tests: switch from ts-node to @swc-node/register [Pagan Gazzard]
92
+ >>
93
+ >
94
+ > </details>
95
+ >
96
+ >
9
97
 
10
- * Update dependency bcrypt to v6 [balena-renovate[bot]]
98
+ </details>
11
99
 
12
100
  # v23.1.0
13
101
  ## (2025-08-12)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/pinejs",
3
- "version": "23.1.1-build-renovate-bcrypt-6-x-d7e6420cf9e15ffd0bf04d15611bf19f85e27e1a-1",
3
+ "version": "23.1.1",
4
4
  "main": "out/server-glue/module.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:balena-io/pinejs.git",
@@ -26,12 +26,12 @@
26
26
  "generate-types": "node ./bin/sbvr-compiler.js generate-types ./src/sbvr-api/user.sbvr ./src/sbvr-api/user.ts && node ./bin/sbvr-compiler.js generate-types ./src/migrator/migrations.sbvr ./src/migrator/migrations.ts && node ./bin/sbvr-compiler.js generate-types ./src/sbvr-api/dev.sbvr ./src/sbvr-api/dev.ts && node ./bin/sbvr-compiler.js generate-types ./src/tasks/tasks.sbvr ./src/tasks/tasks.ts && node ./bin/sbvr-compiler.js generate-types ./src/webresource-handler/webresource.sbvr ./src/webresource-handler/webresource.ts && balena-lint -t tsconfig.dev.json --fix ./src/sbvr-api/user.ts ./src/migrator/migrations.ts ./src/sbvr-api/dev.ts"
27
27
  },
28
28
  "dependencies": {
29
- "@balena/abstract-sql-compiler": "^11.1.1",
29
+ "@balena/abstract-sql-compiler": "^11.2.0",
30
30
  "@balena/abstract-sql-to-typescript": "^6.1.0",
31
31
  "@balena/env-parsing": "^1.2.5",
32
32
  "@balena/lf-to-abstract-sql": "^5.0.10",
33
33
  "@balena/odata-parser": "^4.2.6",
34
- "@balena/odata-to-abstract-sql": "^9.0.1",
34
+ "@balena/odata-to-abstract-sql": "^10.0.0",
35
35
  "@balena/sbvr-parser": "^1.4.12",
36
36
  "@balena/sbvr-types": "^11.1.3",
37
37
  "@sindresorhus/fnv1a": "^3.1.0",
@@ -113,7 +113,7 @@
113
113
  "@aws-sdk/client-s3": "^3.859.0",
114
114
  "@aws-sdk/lib-storage": "^3.859.0",
115
115
  "@aws-sdk/s3-request-presigner": "^3.859.0",
116
- "bcrypt": "^6.0.0",
116
+ "bcrypt": "^5.1.1",
117
117
  "body-parser": "^1.20.3",
118
118
  "compression": "^1.8.1",
119
119
  "cookie-parser": "^1.4.7",
@@ -148,6 +148,6 @@
148
148
  "recursive": true
149
149
  },
150
150
  "versionist": {
151
- "publishedAt": "2025-08-12T16:05:17.368Z"
151
+ "publishedAt": "2025-08-15T15:15:11.625Z"
152
152
  }
153
153
  }