Releases: SAP/cloud-sdk-python
v0.21.1 - May 27, 2026
Bug Fixes
- Secret resolver - servicebinding.io flat path support (
sap_cloud_sdk.core.secret_resolver):
WhenSERVICE_BINDING_ROOTis set in the environment,read_from_mount_and_fallback_to_env_varnow tries the flat two-level path$ROOT/<module>/<field>first (as required by the servicebinding.io spec), before falling back to the legacy three-level path$ROOT/<module>/<instance>/<field>, and then to environment variables. WhenSERVICE_BINDING_ROOTis not set, behaviour is unchanged.
All SDK modules backed by the secret resolver (Agent Memory, Audit Log, Destination, Object Store, DMS) benefit from this fix automatically.
Contributors
- Application Foundation Toolkit Libraries Team
v0.21.0 - May 27, 2025
What's New
- DestinationHttpClient: simplify calls to target systems handling auth tokens, URL.headers.* properties, and ERP headers (sap-client,
sap-language) automatically. - get_headers() on Destination: returns all headers that should be forwarded to the target system, including
ERP-specific headers (sap-client, sap-language) and any URL.headers.* properties. - get_instance_destination() and get_subaccount_destination() are now deprecated in favor of get_destination(), which
fetches the destination via the v2 API.
Contributors
- Application Foundation Toolkit Libraries Team
v0.20.2 - May 27, 2025
Summary
Patch release that improves ALS v3 (auditlog_ng) module-usage telemetry so the capability metric is recorded when AuditClient is initialized, not only when create_client() is used.
Changes
- Record
AUDITLOG_CREATE_CLIENTtelemetry onAuditClient.__init__, covering bothcreate_client()and directAuditClient(config=...)instantiation paths. - Preserve factory-level error telemetry for configuration failures before client construction.
- Extend
record_metricssource detection to read_telemetry_sourcefrom constructor kwargs when needed.
Related
v0.20.1 - May 26, 2025
Breaking Changes
-
Removed
add_extension_integration_dependencies(sap_cloud_sdk.extensibility):
The functionadd_extension_integration_dependencies(document, local_tenant_id, ext_client)has
been removed from the public API and is no longer importable fromsap_cloud_sdk.extensibility.
The entire_ord_integrationinternal module has been deleted.Migration: Remove any usage of
add_extension_integration_dependenciesfrom your ORD
implementation — it is no longer necessary for extensibility.
Contributors
v0.20.0
What's New
-
Data Anonymization module (
sap_cloud_sdk.core.data_anonymization): SDK module for the SAP Data Anonymization Service.create_client()factory with automatic credential detection from the secret mount (/etc/secrets/appfnd) or theCLOUD_SDK_CFGenvironment variable.DataAnonymizationClientwith four typed operations:anonymize_text(AnonymizeTextRequest)→AnonymizeResultanonymize_file(AnonymizeFileRequest)→FileOperationResultpseudonymize_text(PseudonymizeTextRequest)→PseudonymizeResultpseudonymize_file(PseudonymizeFileRequest)→FileOperationResult
- Backward-compatible aliases
anonymize()andpseudonymize()on both the client and the transport layer. HttpTransportwith mTLS client-certificate authentication; automatically materializes inline base64 PEM values to temporary files and cleans them up onclose().- Operation-level telemetry via
@record_metrics; request and response payloads are never attached to telemetry attributes.
-
Telemetry registry extended:
Module.DATA_ANONYMIZATIONadded tocore/telemetry/module.py.- Five new operations added to
core/telemetry/operation.py:DATA_ANONYMIZATION_CREATE_CLIENT,DATA_ANONYMIZATION_ANONYMIZE_TEXT,DATA_ANONYMIZATION_ANONYMIZE_FILE,DATA_ANONYMIZATION_PSEUDONYMIZE_TEXT,DATA_ANONYMIZATION_PSEUDONYMIZE_FILE.
Contributors
- venkateshkasiraj
v0.19.3 - May 21, 2026
Bug Fixes
- Extensibility UMS destination lookup: Use
ConsumptionLevel.PROVIDER_SUBACCOUNTfor UMS destination lookup, avoiding invalid@SUB_ACCOUNTpath values rejected by the Destination Service V2 API (#132, supersedes #128).
Improvements
- Telemetry extension tool calls: Remove the prefixed tool name convention from extension tool calls and use raw tool names for source mapping and MCP tool invocation (#132, supersedes #115).
Contributors
v0.19.2 - May 20, 2026
v0.19.1 - May 18, 2026
Improvements
MCPTool.namespaced_nameremoved: The computednamespaced_nameproperty (which prefixedserver_nametonameand sanitized the result) has been removed.tool.namenow replaces it everywhere in the codebase — inagw_client.py,converters.py, docs, and tests.
Contributors
v0.19.0 - May 15, 2026
What's New
ClientConfigdataclass (sap_cloud_sdk.agentgateway.ClientConfig): a new configuration object accepted byAgentGatewayClientandcreate_client(). Currently exposes a singletimeout: floatfield controlling the HTTP timeout (in seconds) for all token requests and MCP server calls.
Improvements
- Increased default HTTP timeout from
30.0 sto60.0 sto better accommodate slower MCP server response times. - Centralised timeout configuration: the previously hard-coded
_HTTP_TIMEOUTconstants in_customer.pyand_lob.pyare replaced byDEFAULT_TIMEOUT_SECONDSdefined in the newconfig.pymodule and propagated through all internal HTTP call sites.
Contributors
v0.18.4 - May 14, 2026
Bug Fixes
- Renamed
auto_instrumentmodule from AICORE to TELEMETRY in order to collect the right datapoint attributes for internal metrics
Contributors
- Application Foundation Toolkit Libraries Team