Breaking Changes
- ObjectStore: Removed implicit audit logging - All object store operations (upload, download, delete, list, etc.) no longer automatically log audit events.
Migration Guide
If your application requires audit logging for object store operations, you must now implement it explicitly:
from sap_cloud_sdk.objectstore import create_client
from sap_cloud_sdk.core.auditlog import create_client as create_audit_client, DataModificationEvent
# Create clients
store_client = create_client("my-instance")
audit_client = create_audit_client()
# Upload with explicit audit logging
store_client.put_object_from_bytes("file.txt", b"data", "text/plain")
audit_client.log(DataModificationEvent(
object_type="s3-object",
object_id={"bucket": "my-bucket", "key": "file.txt"},
# ... other audit event details
))What Changed
- Removed implicit audit log calls from all ObjectStore operations
- Removed audit log client initialization and helper methods from ObjectStore
Contributors
- Application Foundation Toolkit Libraries Team