Releases: SAP/cloud-sdk-python
Releases · SAP/cloud-sdk-python
v0.11.8
What's New
- Added OpenTelemetry resource attribute
sap.ord.id- read fromORD_DOCUMENT_IDenv 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
Bug Fixes
- Adds a
_merge_resource_attrs_into_active_provider_if_wrapper_installed(...)helper called from auto_instrument() immediately afterTraceloop.init(). It detects the wrapper-installed provider via the standard upstream markertelemetry.auto.versionon its Resource, and merges the sap-cloud-sdk resource attrs onto it viaprovider._resource = provider.resource.merge(Resource.create(sap_attrs)). Right-side wins on collisions, so SAP-supplied keys override colliding operator-supplied keys.
Contributors
- Application Foundation Toolkit Libraries Team
- Ashish Thakur ashish.thakur@sap.com
v0.11.6 - April 23, 2026
What's New
-
Added two OpenTelemetry resource attributes
sap.solution_area- read from theSAP_SOLUTION_AREAenv var. Defaults tounknownwhen unset.mlflow.experiment_id- read from theMLFLOW_EXPERIMENT_IDenv var. Omitted entirely from the resource when the env var is missing or empty.
Contributors
- Application Foundation Toolkit Libraries Team
- Vishal vishal.punjabi@sap.com
v0.11.5 - April 23, 2026
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
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
What's New
- Tenant-aware instance-scope listing:
list_instance_destinations(),list_instance_certificates(), andlist_instance_fragments()now accept atenantparameter. 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
What's New
- Subscriber context for label operations:
get_*_labels,update_*_labels, andpatch_*_labelsonDestinationClient,FragmentClient, andCertificateClientnow accept an optionaltenantparameter. Passing a subscriber tenant subdomain scopes the OAuth2 token request to that tenant's identity zone, enabling label management in a subscriber context. Defaults toNone, 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 withListOptions.filter_labels, and corrected API reference signatures for all three clients.
Contributors
- Application Foundation Toolkit Libraries Team
v0.11.1 - April 21, 2026
What's New
- Fixed
service.namealways resolving to"unknown"whenAPPFND_CONHOS_APP_NAMEis not set — now falls back to the standardOTEL_SERVICE_NAMEenv var injected by the OTel Operator
Contributors
- Application Foundation Toolkit Libraries Team
v0.11.0 - April 20, 2026
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
What's New
- Added
sap_gtidattribute toIASClaimsrepresenting the origin application's SAP Global Tenant ID (GTID).
Contributors
- Application Foundation Toolkit Libraries Team