Releases: SAP/cloud-sdk-python
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
v0.10.0 - April 17, 2026
What's New
- Subscriber context for write operations:
create,update, anddeleteonDestinationClient,FragmentClient, andCertificateClientnow accept an optionaltenantparameter. Passing a subscriber tenant subdomain scopes the OAuth2 token request to that tenant's identity zone, enabling resource management in a subscriber context. Defaults toNone, preserving existing provider-context behaviour.
Contributors
- Application Foundation Toolkit Libraries Team
v0.9.0 - April 15, 2026
What's New
- Label management for destinations, fragments, and certificates: All three resource types now support
get_*_labels,update_*_labels, andpatch_*_labelsoperations at both instance and subaccount scopes. Labels are key-value metadata used for tagging and filtering resources. - New
LabelandPatchLabelstypes: Exported fromsap_cloud_sdk.destination.PatchLabelssupportsADD(upsert by key) andDELETEactions for incremental label updates. - Label filtering in list operations:
ListOptionsnow accepts afilter_labelsfield to filter resources by label using ODataLabel HASexpressions. Supported onlist_*_destinations,list_*_fragments, andlist_*_certificatesmethods. - Fragment list filtering:
list_instance_fragmentsandlist_subaccount_fragmentsnow accept afilterparameter (aligning with destinations and certificates).
Contributors
- Application Foundation Toolkit Libraries Team
v0.8.0 - April 15, 2026
What's New
- Extended
get_destinationheaders support:ConsumptionOptionsnow exposes all HTTP request headers supported by the SAP Destination Service v2 API. New fields cover the full range of OAuth2 flows (token exchange, authorization code with PKCE, refresh token), client-provided SAML assertion, optional fragment handling, and destination chains with variables. All new fields default toNoneand are omitted from the request when not set. Existing code is unaffected.
Contributors
- Application Foundation Toolkit Libraries Team
v0.7.1 - April 14, 2026
Dependency Updates
-
Upgraded
opentelemetry-exporter-otlp-proto-grpcandopentelemetry-exporter-otlp-proto-httpfrom~=1.38.0to~=1.41.0, resolving a dependency conflict with packages requiring>=1.40.0(e.g.sap-ai-agent-evaluation).Resolves #44
-
Relaxed the
requestspin from~=2.31.0to>=2.33.0, fixing a dependency conflict with packages requiring a newer version (e.g.sap-ai-sdk-gen) and remediating CVE-2026-25645 (insecure temporary file, CVSS 5.5).
v0.7.0 - April 14, 2026
What's New
- New Audit Log NG Module: Introduced
sap_cloud_sdk.core.auditlog_ng, a next-generation audit logging client that uses Protocol Buffers (protobuf) for improved performance and type safety - New Dependencies: Added Protocol Buffers support with generated Python classes
- Module Structure:
sap_cloud_sdk.core.auditlog_ng.client: Main client implementation for audit loggingsap_cloud_sdk.core.auditlog_ng.config: Configuration managementsap_cloud_sdk.core.auditlog_ng.exceptions: Custom exception handlingsap_cloud_sdk.core.auditlog_ng.gen: Generated protobuf classessap_cloud_sdk.core.auditlog_ng.proto: Protocol buffer definitions
- Protocol Buffer Integration: Uses buf tooling for protobuf code generation and management
- Type Safety: Provides
py.typedmarker for full mypy compatibility
Bug Fixes
- N/A - This is a new feature addition
Breaking Changes
- No Breaking Changes: The existing
sap_cloud_sdk.core.auditlogmodule remains fully functional and unchanged. The newauditlog_ngmodule runs alongside the existing implementation
Contributors
- Application Foundation Toolkit Libraries Team
- @simeongelovski made their first contribution in #41
v0.6.2 - April 13, 2026
Bug Fixes
-
Fixed
mocks/directory resolution in local destination mode. Previously, bothLocalDevClientBaseand_mock_file()resolved the path relative to the package install location, which broke when the SDK was installed as a dependency. Both now useos.getcwd()so themocks/directory is always resolved relative to the application's working directory.Resolves #46
v0.6.1 - April 9, 2026
Improvements
auto_instrumentnow usesBatchSpanProcessorby default, enabling asynchronous span export in a background thread. This significantly reduces response time overhead under concurrent workloads compared to the previous synchronousSimpleSpanProcessor.
What's New
auto_instrumentaccepts a newdisable_batchparameter (defaultFalse). Passdisable_batch=Trueto use synchronous span export, which may be preferable in short-lived scripts or test environments where the process may exit before the batch is flushed.
Resolves #40
v0.6.0 - April 8, 2026
What's New
- Local mode for
sap_cloud_sdk.destination— run destination operations without SAP BTP connectivity during local development - Place
mocks/destination.json,mocks/fragments.json, ormocks/certificates.jsonat the repo root;create_client(),create_fragment_client(), andcreate_certificate_client()automatically return a local client when the corresponding file is detected LocalDevDestinationClient,LocalDevFragmentClient, andLocalDevCertificateClientsupport full CRUD (get, list, create, update, delete) at both service-instance and subaccount level- Tenant-scoped entries and all four
AccessStrategyvalues (SUBSCRIBER_ONLY,PROVIDER_ONLY,SUBSCRIBER_FIRST,PROVIDER_FIRST) are fully supported - A
WARNINGis logged on every local-client creation to prevent accidental use in production
Contributors
- Application Foundation Toolkit Libraries Team