@balena/pinejs 18.0.3-build-repro-issue-transaltion-a8b6ce3aa8cf06ee2e4ec6aca9d818958d21bcbe-1 → 18.0.3-build-repro-issue-transaltion-091d0ecb1e929c208570130320b3d89bafb336c9-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.
- package/.versionbot/CHANGELOG.yml +15 -4
- package/CHANGELOG.md +1 -1
- package/package.json +2 -2
@@ -1,7 +1,18 @@
|
|
1
1
|
- commits:
|
2
|
-
- subject:
|
3
|
-
hash:
|
4
|
-
body:
|
2
|
+
- subject: Fix getIdField using idField of intermediate translation
|
3
|
+
hash: 091d0ecb1e929c208570130320b3d89bafb336c9
|
4
|
+
body: >
|
5
|
+
getIdField tries to return the name of the id field in the database
|
6
|
+
model (and not in any translated model)
|
7
|
+
|
8
|
+
This turns out to be a problem when more than one layer of native
|
9
|
+
translations are present for a given table as it tries to use the
|
10
|
+
resource name of a given version on the final abstract sql model
|
11
|
+
|
12
|
+
|
13
|
+
This approach will use the actual translation (rather than the final
|
14
|
+
one) in case the translated table exists, avoiding trying to find a non
|
15
|
+
existent translation on the final model
|
5
16
|
footer:
|
6
17
|
Change-type: patch
|
7
18
|
change-type: patch
|
@@ -9,7 +20,7 @@
|
|
9
20
|
nested: []
|
10
21
|
version: 18.0.3
|
11
22
|
title: ""
|
12
|
-
date: 2024-08-
|
23
|
+
date: 2024-08-19T18:34:51.589Z
|
13
24
|
- commits:
|
14
25
|
- subject: Fix some lint warnings
|
15
26
|
hash: 25abbf6a3f22ca6b984b8ec5a4b2aa3dcb71363f
|
package/CHANGELOG.md
CHANGED
@@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
7
7
|
# v18.0.3
|
8
8
|
## (2024-08-19)
|
9
9
|
|
10
|
-
*
|
10
|
+
* Fix getIdField using idField of intermediate translation [Otavio Jacobi]
|
11
11
|
|
12
12
|
# v18.0.2
|
13
13
|
## (2024-08-19)
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@balena/pinejs",
|
3
|
-
"version": "18.0.3-build-repro-issue-transaltion-
|
3
|
+
"version": "18.0.3-build-repro-issue-transaltion-091d0ecb1e929c208570130320b3d89bafb336c9-1",
|
4
4
|
"main": "out/server-glue/module",
|
5
5
|
"type": "commonjs",
|
6
6
|
"repository": "git@github.com:balena-io/pinejs.git",
|
@@ -146,6 +146,6 @@
|
|
146
146
|
"recursive": true
|
147
147
|
},
|
148
148
|
"versionist": {
|
149
|
-
"publishedAt": "2024-08-
|
149
|
+
"publishedAt": "2024-08-19T18:34:52.403Z"
|
150
150
|
}
|
151
151
|
}
|