Skip to content

v2.2.0

Compare
Choose a tag to compare
@Acconut Acconut released this 05 Dec 13:28
· 86 commits to main since this release
c856f72

⚠️ Breaking Change

Unfortunately, this minor release includes a breaking change if you are using tusd's S3 package github.com/tus/tusd/v2/pkg/s3store programmatically. You are not affected if you are using tusd as a compiled program or are not using the S3 package.

On 2023-11-17, a new version of the S3 package from the AWS SDK for Go V2 was released (see their general release notes and the S3-specific release notes). Even though the new version number v1.43.0 indicates a minor release, the AWS SDK does not follow the SemVer schema. Indeed, this release included a breaking changes to their S3 API. This breaking change was needed to fix a major fault in the entire SDK, as is explained in aws/aws-sdk-go-v2#2162.

The problem is that this breaking change also affects tusd's users now. If tusd's s3store is used as a package and the user installed a more recent version of the AWS SDK, they will run into compilation errors. For example, this happened to a tusd user in #1033.

We have considered different approaches for handling this breaking change and have decided to upgrade the AWS SDK (#1039). This introduces a breaking change because tusd's s3store's API depends on definitions from the AWS SDK, which are slightly changing now. To fix any possible compilation or runtime errors, we ask you to upgrade all packages under the github.com/aws/aws-sdk-go-v2 namespace to their most recent version. These packages and tusd v2.2.0 should be compatible.

What's Changed

  • Upgrade AWS SDK, Google Cloud SDK and go-plugin by @dependabot in #1039
  • Upgrade other dependencies

Full Changelog: v2.1.0...v2.2.0