@cap-js-community/odata-v2-adapter
Advanced tools
Comparing version 1.11.9 to 1.11.10
@@ -10,2 +10,8 @@ "use strict"; | ||
}); | ||
if (cds.env.cov2ap.build && cds.build && cds.build.register) { | ||
cds.build.register("cov2ap", { | ||
impl: "@cap-js-community/odata-v2-adapter/src/build.js", | ||
taskDefaults: { src: "mtx/sidecar" }, | ||
}); | ||
} | ||
} |
@@ -8,2 +8,16 @@ # Changelog | ||
## Version 1.11.10 - 2023-12-01 | ||
### Fixed | ||
- Respect return type for unbound actions/functions for message target resolution | ||
- Convert transient and absolute message targets correctly | ||
- Access prepared EDMX files if existing, otherwise compile like before | ||
- Register build plugin to prepare V2 metadata (enabled via adapter option `build: true`) | ||
- Skip conversion for element name only message targets | ||
- Check ModelProviderService before access | ||
- Service annotation `@cov2ap.ignore` to exclude service from OData V2 adapter | ||
- Log error with status code 400 as warning (before it was error) | ||
- Replace deprecated `substr` usages | ||
## Version 1.11.9 - 2023-11-20 | ||
@@ -10,0 +24,0 @@ |
{ | ||
"name": "@cap-js-community/odata-v2-adapter", | ||
"version": "1.11.9", | ||
"version": "1.11.10", | ||
"description": "OData V2 adapter for CDS", | ||
@@ -58,3 +58,3 @@ "homepage": "https://cap.cloud.sap/", | ||
"express": "^4.18.2", | ||
"express-fileupload": "^1.4.2", | ||
"express-fileupload": "^1.4.3", | ||
"http-proxy-middleware": "^2.0.6", | ||
@@ -65,4 +65,5 @@ "node-fetch": "^2.7.0", | ||
"devDependencies": { | ||
"@cap-js/sqlite": "^1.3.1", | ||
"@sap/cds": "^7.4.0", | ||
"@cap-js/sqlite": "^1.4.0", | ||
"@sap/cds": "^7.4.2", | ||
"@sap/cds-hana": "^2.0.0", | ||
"@types/express": "^4.17.21", | ||
@@ -73,7 +74,4 @@ "compression": "^1.7.4", | ||
"eslint-plugin-jest": "^27.6.0", | ||
"hdb": "^0.19.6", | ||
"jest": "^29.7.0", | ||
"passport": "^0.6.0", | ||
"prettier": "^3.1.0", | ||
"sqlite3": "^5.1.6", | ||
"supertest": "^6.3.3" | ||
@@ -80,0 +78,0 @@ }, |
@@ -28,2 +28,4 @@ # @cap-js-community/odata-v2-adapter (cov2ap) | ||
- **plugin:** OData V2 adapter is instantiated as part of CDS plugin. Default is `false`. | ||
- **build:** In case of plugin scenario, a build step is registered to prepare the OData V2 metadata. Default is `false`. | ||
- **base:** Base path under which the service is reachable. Default is `''`. | ||
@@ -169,2 +171,6 @@ - **path:** Path under which the service is reachable. Default is `'odata/v2'`. Default path is `'v2'` for CDS <7 or `middlewares` deactivated. | ||
**Service Level**: | ||
- `@cov2ap.ignore`: Exclude service from OData V2 adapter conversion (service is not exposed as OData V2 service) | ||
**Entity Level**: | ||
@@ -171,0 +177,0 @@ |
Sorry, the diff of this file is too big to display
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
241939
11
8
4705
490
2
Updatedexpress-fileupload@^1.4.3