@sap/cds-compiler 5.9.0 → 5.9.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 CHANGED
@@ -7,6 +7,13 @@
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.9.2 - 2025-04-04
11
+
12
+ ### Fixed
13
+
14
+ - to.edm(x): Revert addition of the attribute sap:filterable="false" to the NavigationProperty DraftAdministrativeData in OData V2
15
+
16
+
10
17
  ## Version 5.9.0 - 2025-03-28
11
18
 
12
19
  ### Added
@@ -479,11 +479,6 @@ function csn2edmAll( _csn, _options, serviceNames, messageFunctions ) {
479
479
  }
480
480
  else {
481
481
  addAssociationV2(np);
482
- // add sap:filterable, if this is DraftAdministrativeData
483
- if (np._csn.name === 'DraftAdministrativeData' &&
484
- (np._csn._parent['@Common.DraftRoot.PreparationAction'] || np._csn._parent['@Common.DraftNode.PreparationAction']) &&
485
- (np._csn._parent.actions && np._csn._parent.actions.draftPrepare))
486
- np._edmAttributes['sap:filterable'] = false;
487
482
  }
488
483
  });
489
484
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cds-compiler",
3
- "version": "5.9.0",
3
+ "version": "5.9.2",
4
4
  "description": "CDS (Core Data Services) compiler and backends",
5
5
  "homepage": "https://cap.cloud.sap/",
6
6
  "author": "SAP SE (https://www.sap.com)",