Skip to content

Releases: SAP/cloud-sdk-python

v0.21.1 - May 27, 2026

27 May 20:06
9fb1c8b

Choose a tag to compare

Bug Fixes

  • Secret resolver - servicebinding.io flat path support (sap_cloud_sdk.core.secret_resolver):
    When SERVICE_BINDING_ROOT is set in the environment, read_from_mount_and_fallback_to_env_var now 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. When SERVICE_BINDING_ROOT is 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

27 May 19:36
63d7ccc

Choose a tag to compare

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

27 May 14:33
08466b2

Choose a tag to compare

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_CLIENT telemetry on AuditClient.__init__, covering both create_client() and direct AuditClient(config=...) instantiation paths.
  • Preserve factory-level error telemetry for configuration failures before client construction.
  • Extend record_metrics source detection to read _telemetry_source from constructor kwargs when needed.

Related

v0.20.1 - May 26, 2025

26 May 18:56
747766c

Choose a tag to compare

Breaking Changes

  • Removed add_extension_integration_dependencies (sap_cloud_sdk.extensibility):
    The function add_extension_integration_dependencies(document, local_tenant_id, ext_client) has
    been removed from the public API and is no longer importable from sap_cloud_sdk.extensibility.
    The entire _ord_integration internal module has been deleted.

    Migration: Remove any usage of add_extension_integration_dependencies from your ORD
    implementation — it is no longer necessary for extensibility.

Contributors

v0.20.0

26 May 14:53
f9a51d8

Choose a tag to compare

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 the CLOUD_SDK_CFG environment variable.
    • DataAnonymizationClient with four typed operations:
      • anonymize_text(AnonymizeTextRequest)AnonymizeResult
      • anonymize_file(AnonymizeFileRequest)FileOperationResult
      • pseudonymize_text(PseudonymizeTextRequest)PseudonymizeResult
      • pseudonymize_file(PseudonymizeFileRequest)FileOperationResult
    • Backward-compatible aliases anonymize() and pseudonymize() on both the client and the transport layer.
    • HttpTransport with mTLS client-certificate authentication; automatically materializes inline base64 PEM values to temporary files and cleans them up on close().
    • Operation-level telemetry via @record_metrics; request and response payloads are never attached to telemetry attributes.
  • Telemetry registry extended:

    • Module.DATA_ANONYMIZATION added to core/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

21 May 13:28
001c927

Choose a tag to compare

Bug Fixes

  • Extensibility UMS destination lookup: Use ConsumptionLevel.PROVIDER_SUBACCOUNT for UMS destination lookup, avoiding invalid @SUB_ACCOUNT path 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

20 May 19:11
3d8a7db

Choose a tag to compare

Improvements

  • Dependency updates since v0.19.1:
    • Bump idna from 3.10 to 3.15 (#127)
    • Bump urllib3 from 2.6.3 to 2.7.0 (#105)
    • Bump mako from 1.3.11 to 1.3.12 (#96)
    • Bump pypa/gh-action-pypi-publish from 1.13.0 to 1.14.0 in CI workflow (#86)

Contributors

v0.19.1 - May 18, 2026

18 May 20:39
eb61137

Choose a tag to compare

Improvements

  • MCPTool.namespaced_name removed: The computed namespaced_name property (which prefixed server_name to name and sanitized the result) has been removed. tool.name now replaces it everywhere in the codebase — in agw_client.py, converters.py, docs, and tests.

Contributors

v0.19.0 - May 15, 2026

15 May 13:39
1c2e930

Choose a tag to compare

What's New

  • ClientConfig dataclass (sap_cloud_sdk.agentgateway.ClientConfig): a new configuration object accepted by AgentGatewayClient and create_client(). Currently exposes a single timeout: float field controlling the HTTP timeout (in seconds) for all token requests and MCP server calls.

Improvements

  • Increased default HTTP timeout from 30.0 s to 60.0 s to better accommodate slower MCP server response times.
  • Centralised timeout configuration: the previously hard-coded _HTTP_TIMEOUT constants in _customer.py and _lob.py are replaced by DEFAULT_TIMEOUT_SECONDS defined in the new config.py module and propagated through all internal HTTP call sites.

Contributors

v0.18.4 - May 14, 2026

14 May 20:06
46744ee

Choose a tag to compare

Bug Fixes

  • Renamed auto_instrument module from AICORE to TELEMETRY in order to collect the right datapoint attributes for internal metrics

Contributors

  • Application Foundation Toolkit Libraries Team