@sap/cds-compiler 5.4.0 → 5.4.2
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/CHANGELOG.md +6 -0
- package/lib/render/utils/common.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@
|
|
|
7
7
|
Note: `beta` fixes, changes and features are usually not listed in this ChangeLog but [here](doc/CHANGELOG_BETA.md).
|
|
8
8
|
The compiler behavior concerning `beta` features can change at any time without notice.
|
|
9
9
|
|
|
10
|
+
## Version 5.4.2 - 2024-11-06
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- to.sql: For SQLite, map `cds.Map` to `JSON_TEXT` to ensure text affinity.
|
|
15
|
+
|
|
10
16
|
## Version 5.4.0 - 2024-10-24
|
|
11
17
|
|
|
12
18
|
### Added
|
|
@@ -282,7 +282,7 @@ const cdsToSqlTypes = {
|
|
|
282
282
|
'cds.hana.BINARY': 'BINARY_BLOB',
|
|
283
283
|
'cds.hana.SMALLDECIMAL': 'SMALLDECIMAL',
|
|
284
284
|
'cds.Vector': 'BINARY_BLOB', // Not supported; see #11725
|
|
285
|
-
'cds.Map': '
|
|
285
|
+
'cds.Map': 'JSON_TEXT', // '_TEXT' suffix required for text affinity
|
|
286
286
|
},
|
|
287
287
|
plain: {
|
|
288
288
|
'cds.Binary': 'VARBINARY',
|