@sap/cds-compiler
Advanced tools
Comparing version 3.5.0 to 3.5.2
@@ -10,2 +10,8 @@ # ChangeLog for cds compiler and backends | ||
## Version 3.5.2 - 2022-12-20 | ||
### Fixed | ||
- to.sql/hdi/hdbcds: Don't process references in actions, as they have no impact on the database - avoids internal errors | ||
## Version 3.5.0 - 2022-12-07 | ||
@@ -24,22 +30,2 @@ | ||
- Add OData vocabularies 'Offline' and 'PDF'. | ||
- Two new aspects in the `sap.common` context get special meaning: | ||
`sap.common.TextsAspect` and `sap.common.FioriTextsAspect`. | ||
If these aspects exist, the former will be included in all `.texts` | ||
entities without `@fiori.draft.enabled` annotation. The latter will be | ||
included in all `.texts` aspects that are `@fiori.draft.enabled`. | ||
They allow to extend `.texts` entities by simply extending these aspects. | ||
Example: | ||
``` | ||
entity E { | ||
key id : Integer; | ||
content: localized String; | ||
} | ||
extend sap.common.TextsAspect with { | ||
elem: String; | ||
}; | ||
// from @sap/cds common.cds | ||
aspect sap.common.TextsAspect { | ||
key locale: String; | ||
} | ||
``` | ||
@@ -46,0 +32,0 @@ ### Changed |
@@ -263,3 +263,3 @@ 'use strict'; | ||
// eliminate the doA2J in the functions 'handleManagedAssociationFKs' and 'createForeignKeyElements' | ||
doA2J && flattening.handleManagedAssociationsAndCreateForeignKeys(csn, options, error, pathDelimiter, true, { allowArtifact: artifact => (artifact.kind === 'entity') }); | ||
doA2J && flattening.handleManagedAssociationsAndCreateForeignKeys(csn, options, error, pathDelimiter, true, { skipDict: { actions: true }, allowArtifact: artifact => (artifact.kind === 'entity') }); | ||
@@ -266,0 +266,0 @@ doA2J && forEachDefinition(csn, flattenIndexes); |
{ | ||
"name": "@sap/cds-compiler", | ||
"version": "3.5.0", | ||
"version": "3.5.2", | ||
"description": "CDS (Core Data Services) compiler and backends", | ||
@@ -5,0 +5,0 @@ "homepage": "https://cap.cloud.sap/", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4257451