Skip to content

Releases: SAP/cloud-sdk-python

v0.11.8

27 Apr 22:21
f828237

Choose a tag to compare

What's New

  • Added OpenTelemetry resource attribute sap.ord.id - read from ORD_DOCUMENT_ID env var. Omitted entirely from the resource attributes when the env var is missing or empty.

Contributors

  • Application Foundation Toolkit Libraries Team

v0.11.7 - April 27, 2026

27 Apr 21:27
8791271

Choose a tag to compare

Bug Fixes

  • Adds a _merge_resource_attrs_into_active_provider_if_wrapper_installed(...) helper called from auto_instrument() immediately after Traceloop.init(). It detects the wrapper-installed provider via the standard upstream marker telemetry.auto.version on its Resource, and merges the sap-cloud-sdk resource attrs onto it via provider._resource = provider.resource.merge(Resource.create(sap_attrs)). Right-side wins on collisions, so SAP-supplied keys override colliding operator-supplied keys.

Contributors

v0.11.6 - April 23, 2026

23 Apr 22:47
3f8cd5b

Choose a tag to compare

What's New

  • Added two OpenTelemetry resource attributes

    • sap.solution_area - read from the SAP_SOLUTION_AREA env var. Defaults to unknown when unset.
    • mlflow.experiment_id - read from the MLFLOW_EXPERIMENT_ID env var. Omitted entirely from the resource when the env var is missing or empty.

Contributors

v0.11.5 - April 23, 2026

23 Apr 19:09
95295ec

Choose a tag to compare

What's New

  • Tenant-aware get destination: get_destination() now accept a tenant parameter. When provided, the call uses subscriber context and returns only entries scoped to that tenant; omitting it returns provider-level entries.

Contributors

  • Application Foundation Toolkit Libraries Team

v0.11.4 - April 23, 2026

23 Apr 19:06
69a564b

Choose a tag to compare

Dependency Updates

Package From To
traceloop-sdk 0.52.3 0.54.0
httpx ≥0.27.0 (new)
opentelemetry-instrumentation-* (26 packages) 0.52.3 0.60.0
aiohttp 3.13.3 3.13.5
cryptography 46.0.5 46.0.7
mako 1.3.10 1.3.11
pygments 2.19.2 2.20.0
pytest 8.4.2 9.0.3
python-dotenv 1.1.1 1.2.2

v0.11.3 - April 23, 2026

23 Apr 14:57
fc56dc4

Choose a tag to compare

What's New

  • Tenant-aware instance-scope listing: list_instance_destinations(), list_instance_certificates(), and list_instance_fragments() now accept a tenant parameter. When provided, the call uses subscriber context and returns only entries scoped to that tenant; omitting it returns provider-level entries.

Contributors

  • Application Foundation Toolkit Libraries Team

v0.11.2 - April 22, 2026

22 Apr 12:18
1b502db

Choose a tag to compare

What's New

  • Subscriber context for label operations: get_*_labels, update_*_labels, and patch_*_labels on DestinationClient, FragmentClient, and CertificateClient now accept an optional tenant parameter. Passing a subscriber tenant subdomain scopes the OAuth2 token request to that tenant's identity zone, enabling label management in a subscriber context. Defaults to None, preserving existing provider-context behaviour.

Improvements

  • Updated the Destination user guide to document label management operations (Label, PatchLabels) introduced in v0.9.0, including usage examples, label-based filtering with ListOptions.filter_labels, and corrected API reference signatures for all three clients.

Contributors

  • Application Foundation Toolkit Libraries Team

v0.11.1 - April 21, 2026

21 Apr 20:19
d59b96d

Choose a tag to compare

What's New

  • Fixed service.name always resolving to "unknown" when APPFND_CONHOS_APP_NAME is not set — now falls back to the standard OTEL_SERVICE_NAME env var injected by the OTel Operator

Contributors

  • Application Foundation Toolkit Libraries Team

v0.11.0 - April 20, 2026

20 Apr 23:28
e9f529d

Choose a tag to compare

What's New

  • Enabled OTLP HTTP exporter for adoption metrics via OTel-native OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf"

Contributors

  • Application Foundation Toolkit Libraries Team

v0.10.1 - April 20, 2026

20 Apr 21:26
86246dc

Choose a tag to compare

What's New

  • Added sap_gtid attribute to IASClaims representing the origin application's SAP Global Tenant ID (GTID).

Contributors

  • Application Foundation Toolkit Libraries Team