diff --git a/go.mod b/go.mod index ce508716..43860f9e 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/aws/aws-sdk-go-v2/credentials v1.20.6 github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.4.11 github.com/aws/aws-sdk-go-v2/service/s3 v1.113.4 - github.com/aws/smithy-go v1.28.2 + github.com/aws/smithy-go v1.28.5 github.com/cbergoon/merkletree v0.5.0 github.com/cilium/ebpf v0.22.0 github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 diff --git a/go.sum b/go.sum index 7bd11ba1..ec56bbc8 100644 --- a/go.sum +++ b/go.sum @@ -112,6 +112,8 @@ github.com/aws/smithy-go v1.28.1 h1:R/nXH00c8qcfCzQVELtRw+eLQWtzv+VAIEFJ1/xxXlQ= github.com/aws/smithy-go v1.28.1/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc= github.com/aws/smithy-go v1.28.2 h1:myhcykQcatTul2B/zITjDk203G7t0awUAs1hVry5Bvg= github.com/aws/smithy-go v1.28.2/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc= +github.com/aws/smithy-go v1.28.5 h1:OqbqKtzY9NUnr2yAe9+hiTdFb20tNaK/lI0PMOGXX9k= +github.com/aws/smithy-go v1.28.5/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/brianvoe/gofakeit/v6 v6.28.0 h1:Xib46XXuQfmlLS2EXRuJpqcw8St6qSZz75OUo0tgAW4= diff --git a/vendor/github.com/aws/smithy-go/CHANGELOG.md b/vendor/github.com/aws/smithy-go/CHANGELOG.md index 1bd86cb9..a4c14bfe 100644 --- a/vendor/github.com/aws/smithy-go/CHANGELOG.md +++ b/vendor/github.com/aws/smithy-go/CHANGELOG.md @@ -1,3 +1,31 @@ +# Release (2026-10-09) + +## General Highlights +* **Dependency Update**: Updated to the latest SDK module versions + +## Module Highlights +* `github.com/aws/smithy-go`: v1.28.5 + * **Bug Fix**: Retain the key with the zero value when encountering a null-value key in a dense map. This matches how legacy code-generated JSON deserializers behaved. + +# Release (2026-10-07) + +## General Highlights +* **Dependency Update**: Updated to the latest SDK module versions + +## Module Highlights +* `github.com/aws/smithy-go`: v1.28.4 + * **Bug Fix**: Revert #698 that fixed JoinPath with trailing slash. This has a side effect on certain S3 API paths in the downstream SDK that need more consideration. + +# Release (2026-10-06) + +## General Highlights +* **Dependency Update**: Updated to the latest SDK module versions + +## Module Highlights +* `github.com/aws/smithy-go`: v1.28.3 + * **Bug Fix**: Accept either casing of `message`/`Message` on modeled JSON error structures in schema-based deserialization, and emit the `smithy.api#error` trait in generated schemas + * **Bug Fix**: Include the underlying error when logging failures to discard or close an HTTP response body + # Release (2026-09-18) ## General Highlights diff --git a/vendor/github.com/aws/smithy-go/go_module_metadata.go b/vendor/github.com/aws/smithy-go/go_module_metadata.go index e5f64bbd..b676a4e1 100644 --- a/vendor/github.com/aws/smithy-go/go_module_metadata.go +++ b/vendor/github.com/aws/smithy-go/go_module_metadata.go @@ -3,4 +3,4 @@ package smithy // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.28.2" +const goModuleVersion = "1.28.5" diff --git a/vendor/github.com/aws/smithy-go/traits/traits.go b/vendor/github.com/aws/smithy-go/traits/traits.go index 599be4e5..8f5770be 100644 --- a/vendor/github.com/aws/smithy-go/traits/traits.go +++ b/vendor/github.com/aws/smithy-go/traits/traits.go @@ -10,6 +10,14 @@ type Sensitive struct{} // TraitID identifies the trait. func (*Sensitive) TraitID() smithy.ShapeID { return smithy.ShapeID{Namespace: "smithy.api", Name: "sensitive"} } +// Error represents smithy.api#error. +type Error struct { + Type string +} + +// TraitID identifies the trait. +func (*Error) TraitID() smithy.ShapeID { return smithy.ShapeID{Namespace: "smithy.api", Name: "error"} } + // EventHeader represents smithy.api#eventHeader. type EventHeader struct{} diff --git a/vendor/github.com/aws/smithy-go/transport/http/middleware_close_response_body.go b/vendor/github.com/aws/smithy-go/transport/http/middleware_close_response_body.go index a7e70b1c..247b9bf1 100644 --- a/vendor/github.com/aws/smithy-go/transport/http/middleware_close_response_body.go +++ b/vendor/github.com/aws/smithy-go/transport/http/middleware_close_response_body.go @@ -23,11 +23,11 @@ func CloseResponseBody(ctx context.Context, resp *Response, isStreaming bool, op // Drain to EOF before closing; a body closed while unread prevents // connection reuse. if _, copyErr := io.Copy(io.Discard, resp.Body); copyErr != nil { - middleware.GetLogger(ctx).Logf(logging.Warn, "failed to discard remaining HTTP response body, this may affect connection reuse") + middleware.GetLogger(ctx).Logf(logging.Warn, "failed to discard remaining HTTP response body, this may affect connection reuse: %v", copyErr) } if closeErr := resp.Body.Close(); closeErr != nil { - middleware.GetLogger(ctx).Logf(logging.Warn, "failed to close HTTP response body, this may affect connection reuse") + middleware.GetLogger(ctx).Logf(logging.Warn, "failed to close HTTP response body, this may affect connection reuse: %v", closeErr) } } @@ -95,12 +95,12 @@ func (m *closeResponseBody) HandleDeserialize( // Consume the full body to prevent TCP connection resets on some platforms _, copyErr := io.Copy(io.Discard, resp.Body) if copyErr != nil { - middleware.GetLogger(ctx).Logf(logging.Warn, "failed to discard remaining HTTP response body, this may affect connection reuse") + middleware.GetLogger(ctx).Logf(logging.Warn, "failed to discard remaining HTTP response body, this may affect connection reuse: %v", copyErr) } closeErr := resp.Body.Close() if closeErr != nil { - middleware.GetLogger(ctx).Logf(logging.Warn, "failed to close HTTP response body, this may affect connection reuse") + middleware.GetLogger(ctx).Logf(logging.Warn, "failed to close HTTP response body, this may affect connection reuse: %v", closeErr) } } diff --git a/vendor/github.com/aws/smithy-go/transport/http/url.go b/vendor/github.com/aws/smithy-go/transport/http/url.go index 99f9737a..60a5fc10 100644 --- a/vendor/github.com/aws/smithy-go/transport/http/url.go +++ b/vendor/github.com/aws/smithy-go/transport/http/url.go @@ -12,9 +12,6 @@ func JoinPath(a, b string) string { a = "/" + a } - // Record b's trailing slash before the strip below can erase it (a bare - // "/" becomes ""). - keepTrailing := len(b) > 0 && b[len(b)-1] == '/' if len(b) != 0 && b[0] == '/' { b = b[1:] } @@ -23,10 +20,6 @@ func JoinPath(a, b string) string { a = a + "/" } - if keepTrailing && len(b) == 0 && a[len(a)-1] != '/' { - a = a + "/" - } - return a + b } diff --git a/vendor/modules.txt b/vendor/modules.txt index 8dec6fea..d295c696 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -173,7 +173,7 @@ github.com/aws/aws-sdk-go-v2/service/ssooidc/types github.com/aws/aws-sdk-go-v2/service/sts github.com/aws/aws-sdk-go-v2/service/sts/internal/endpoints github.com/aws/aws-sdk-go-v2/service/sts/types -# github.com/aws/smithy-go v1.28.2 +# github.com/aws/smithy-go v1.28.5 ## explicit; go 1.24 github.com/aws/smithy-go github.com/aws/smithy-go/auth