From 42007f7b5eb0483364cc02cbb5c62f709b5d62f3 Mon Sep 17 00:00:00 2001 From: Monthon Klongklaew Date: Thu, 6 Jun 2024 09:12:17 +0100 Subject: [PATCH] Release v1.7.0 (#885) * Release v1.7.0 Signed-off-by: Monthon Klongklaew * Update mountpoint-s3 changelog Signed-off-by: Daniel Carl Jones --------- Signed-off-by: Monthon Klongklaew Signed-off-by: Daniel Carl Jones Co-authored-by: Daniel Carl Jones --- Cargo.lock | 2 +- mountpoint-s3/CHANGELOG.md | 7 ++++++- mountpoint-s3/Cargo.toml | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3184a2fbc..73b906b68 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2005,7 +2005,7 @@ dependencies = [ [[package]] name = "mountpoint-s3" -version = "1.6.0" +version = "1.7.0" dependencies = [ "anyhow", "assert_cmd", diff --git a/mountpoint-s3/CHANGELOG.md b/mountpoint-s3/CHANGELOG.md index 12c8d20ce..3c1b01351 100644 --- a/mountpoint-s3/CHANGELOG.md +++ b/mountpoint-s3/CHANGELOG.md @@ -1,15 +1,20 @@ ## Unreleased +## v1.7.0 (June 6, 2024) + ### New features * Metadata caching can now be configured independently of data caching. When passing the `--metadata-ttl ` argument without also specifying `--cache `, Mountpoint will cache file metadata in memory for up to the given TTL, but will not cache object data. The `--metadata-ttl` argument also accepts two special values: `minimal` to enable only the minimal necessary caching, and `indefinite` to cache indefinitely. These modes can help accelerate workloads that touch many files but do not need to cache object data for re-use (for example, listing a directory and then reading each file within it once). ([#855](https://github.com/awslabs/mountpoint-s3/pull/855)) ### Breaking changes * The `--metadata-ttl 0` setting is no longer supported and will be removed in a future release. The new `--metadata-ttl minimal` has a similar effect, but behaves better when latency for S3 requests is high. ([#855](https://github.com/awslabs/mountpoint-s3/pull/855)) * When using the `--cache` flag, the default metadata TTL is now set to 60 seconds (`--metadata-ttl 60`) instead of 1 second. ([#855](https://github.com/awslabs/mountpoint-s3/pull/855)) +* Mountpoint now uses [STS regionalized endpoints](https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html) when assuming IAM roles configured in a CLI profile. If you specify a region in your CLI profile and want Mountpoint to use a role from that profile you have to make sure Mountpoint can access STS regionalized endpoints. This allows Mountpoint to assume an IAM role in regions outside of the `aws` partition. ([#877](https://github.com/awslabs/mountpoint-s3/pull/877)) ### Other changes * The checksum algorithm to use for uploads to S3 can now be chosen with the `--upload-checksums ` command-line argument. The only supported values in this release are `crc32c` (the default, and the existing behavior) and `off`, which disables including checksums in uploads. The `off` value allows uploads to S3 implementations that do not support [additional checksums](https://aws.amazon.com/blogs/aws/new-additional-checksum-algorithms-for-amazon-s3/). This option defaults to `off` when the bucket name is an S3 on Outposts bucket access point (either an ARN or a bucket alias). ([#849](https://github.com/awslabs/mountpoint-s3/pull/849)) -* Adding support for `AWS_ENDPOINT_URL` environment variable. +* Fixed an issue where Mountpoint did not send the `Content-Length` header when creating multi-part uploads. ([#875](https://github.com/awslabs/mountpoint-s3/pull/875)) +* Fixed an issue where Mountpoint could not assume an IAM role specified in a CLI profile with `EcsContainer` as a credential source. ([#875](https://github.com/awslabs/mountpoint-s3/pull/875)) +* Added support for `AWS_ENDPOINT_URL` environment variable. ([#895](https://github.com/awslabs/mountpoint-s3/pull/895)) ## v1.6.0 (April 11, 2024) diff --git a/mountpoint-s3/Cargo.toml b/mountpoint-s3/Cargo.toml index 37966a9ed..8dbfe261f 100644 --- a/mountpoint-s3/Cargo.toml +++ b/mountpoint-s3/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mountpoint-s3" -version = "1.6.0" +version = "1.7.0" edition = "2021" license = "Apache-2.0" publish = false