This is an automated email from the ASF dual-hosted git repository. koushiro pushed a commit to branch remove-deprecated-s3-security-token in repository https://gitbox.apache.org/repos/asf/opendal.git
commit 6b66d3d94222661126c1719cf2881e1b24db7b15 Author: koushiro <[email protected]> AuthorDate: Thu Nov 13 23:46:11 2025 +0800 chore(services/s3)!: remove deprecated `S3::security_token` Since v0.48, the method has been deprecated and replaced by the `session_token` method. Given that v0.55 has been released now, I think it's time to remove it. --- core/src/services/s3/backend.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/src/services/s3/backend.rs b/core/src/services/s3/backend.rs index 458692bbb..912445d6e 100644 --- a/core/src/services/s3/backend.rs +++ b/core/src/services/s3/backend.rs @@ -379,12 +379,6 @@ impl S3Builder { self } - /// Set temporary credential used in AWS S3 connections - #[deprecated(note = "Please use `session_token` instead")] - pub fn security_token(self, token: &str) -> Self { - self.session_token(token) - } - /// Disable config load so that opendal will not load config from /// environment. ///
