Skip to content

Commit dee56e8

Browse files
passaromansi153
authored andcommitted
Update CRT submodules to latest releases (awslabs#1458)
> [!NOTE] > This PR reapplies the changes in awslabs#1430, previously reverted in awslabs#1435, with the addition of a fix to a race condition in `aws-c-s3` (awslabs/aws-c-s3#521). In particular, we pick up - but do not adopt in this change - the new Memory pool interface ([awslabs/aws-c-s3#517](awslabs/aws-c-s3#517)), which requires minor adjustments to the bindings and the `poll_buffer_pool_usage_stats` function. <details> <summary>Full CRT changelog:</summary> ``` Submodule mountpoint-s3-crt-sys/crt/aws-c-cal fa108de5..938d0fea: > [FIX] heap use after free on aws_ecc_key_pair_new_from_asn1 (awslabs#219) > Remove clang-3 from CI (awslabs#218) > Fix casing on Windows header files (awslabs#217) > dlopen(NULL) returns NULL on static linked executable (awslabs#215) Submodule mountpoint-s3-crt-sys/crt/aws-c-common 8ae8f48e..aaa2f11e: > Fix invalid XML Buffer Overflow Error (awslabs#1201) > Add aws_cbor_decoder_reset_src api for aws_cbor_decoder (awslabs#1202) > Fix casing on Windows header files (awslabs#1199) > Error handling docs (awslabs#1197) > make exports consistent (awslabs#1196) Submodule mountpoint-s3-crt-sys/crt/aws-c-http ca7e0e29..3eedf1ef: > fix mock server window update on 0 length body (awslabs#517) Submodule mountpoint-s3-crt-sys/crt/aws-c-io 8286c781..689dee3c: > Fix warnings in iOS Cross Compile CI (awslabs#733) > Remove clang-3 from CI (awslabs#731) > Acquire/Release Event Loop (awslabs#725) > Fix casing on Windows header files (awslabs#730) Submodule mountpoint-s3-crt-sys/crt/aws-c-s3 7d2d4b30..52c90d39: > Fix race condition between mem acquire and cancel (awslabs#521) > Memory pool interface (awslabs#517) > Remove clang-3 from CI (awslabs#520) > Revert "[s3_meta_request]: Retry on ExpiredToken" (awslabs#518) Submodule mountpoint-s3-crt-sys/crt/aws-c-sdkutils ba6a28fa..f678bda9: > Fix double free on malformed rulesets (awslabs#53) > make exports consistent (awslabs#52) ``` </details> ### Does this change impact existing behavior? No change in behavior. ### Does this change need a changelog entry? Does it require a version change? Yes. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the [Developer Certificate of Origin (DCO)](https://developercertificate.org/). --------- Signed-off-by: Alessandro Passaro <alexpax@amazon.co.uk>
1 parent 0ca3bdd commit dee56e8

File tree

19 files changed

+42
-28
lines changed

19 files changed

+42
-28
lines changed

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mountpoint-s3-client/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
## Unreleased
1+
## Unreleased (v0.15.1)
2+
3+
### Other changes
4+
5+
* Update to latest CRT dependencies.
26

37
## v0.15.0 (May 27, 2025)
48

mountpoint-s3-client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "mountpoint-s3-client"
33
# See `/doc/PUBLISHING_CRATES.md` to read how to publish new versions.
4-
version = "0.15.0"
4+
version = "0.15.1"
55
edition = "2021"
66
license = "Apache-2.0"
77
repository = "https://github.com/awslabs/mountpoint-s3"
88
description = "High-performance Amazon S3 client for Mountpoint for Amazon S3."
99

1010
[dependencies]
11-
mountpoint-s3-crt = { path = "../mountpoint-s3-crt", version = "0.12.3" }
11+
mountpoint-s3-crt = { path = "../mountpoint-s3-crt", version = "0.12.4" }
1212

1313
async-trait = "0.1.85"
1414
auto_impl = "1.2.1"

mountpoint-s3-crt-sys/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
## Unreleased
1+
## Unreleased (v0.14.0)
2+
3+
* Update to latest CRT dependencies.
4+
* Include bindings for the new `s3_buffer_pool` API in `aws-c-s3`. ([#1458](https://github.com/awslabs/mountpoint-s3/pull/1458))
25

36
## v0.13.1 (May 9, 2025)
47

mountpoint-s3-crt-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "mountpoint-s3-crt-sys"
33
# See `/doc/PUBLISHING_CRATES.md` to read how to publish new versions.
4-
version = "0.13.1"
4+
version = "0.14.0"
55
edition = "2021"
66
license = "Apache-2.0"
77
repository = "https://github.com/awslabs/mountpoint-s3"

mountpoint-s3-crt-sys/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const CRT_HEADERS: &[&str] = &[
4848
"io/stream.h",
4949
"io/uri.h",
5050
"s3/s3.h",
51+
"s3/s3_buffer_pool.h",
5152
"s3/s3_client.h",
5253
"s3/s3_endpoint_resolver.h",
5354
"sdkutils/endpoints_rule_engine.h",
@@ -59,7 +60,7 @@ const CRT_HEADERS: &[&str] = &[
5960
const PRIVATE_CRT_HEADERS: &[&str] = &[
6061
// To access S3 client stats
6162
"aws-c-s3/include/aws/s3/private/s3_client_impl.h",
62-
"aws-c-s3/include/aws/s3/private/s3_buffer_pool.h",
63+
"aws-c-s3/include/aws/s3/private/s3_default_buffer_pool.h",
6364
];
6465

6566
/// Get the OS name we are compiling to

0 commit comments

Comments
 (0)