This release dramatically improves interoperability with Go's log/slog package. In particular, logr.NewContext and logr.NewContextWithSlogLogger use the same context key, which allows logr.FromContext and logr.FromContextAsSlogLogger to return logr.Logger or *slog.Logger respectively, including transparently converting each to the other as needed.
Functions logr/slogr.NewLogr and logr/slogr.ToSlogHandler have been superceded by logr.FromSlogHandler and logr.ToSlogHandler respectively, and type logr/slogr.SlogSink has been superceded by logr.SlogSink. All of the old names in logr/slogr remain, for compatibility.
Package logr/funcr now supports logr.SlogSink, meaning that it's output passes all but one of the Slog conformance tests (that exception being that funcr handles the timestamp itself).
Users who have a logr.Logger and need a *slog.Logger can call slog.New(logr.ToSlogHandler(...)) and all output will go through the same stack.
Users who have a *slog.Logger or slog.Handler can call logr.FromSlogHandler(...) and all output will go through the same stack.
Dependency Update: Updated to the latest SDK module versions
Module Highlights
github.com/aws/aws-sdk-go-v2: v1.17.0
Feature: Adds aws.IsCredentialsProvider for inspecting CredentialProvider types when needing to determine if the underlying implementation type matches a target type. This resolves an issue where CredentialsCache could mask AnonymousCredentials providers, breaking downstream detection logic.
Feature: This release adds a new "DeletionProtection" field to the UserPool in Cognito. Application admins can configure this value with either ACTIVE or INACTIVE value. Setting this field to ACTIVE will prevent a user pool from accidental deletion.
Bug Fix: The SDK client has been updated to utilize the aws.IsCredentialsProvider function for determining if aws.AnonymousCredentials has been configured for the CredentialProvider.
Feature: S3 on Outposts launches support for automatic bucket-style alias. You can use the automatic access point alias instead of an access point ARN for any object-level operation in an Outposts bucket.
Bug Fix: The SDK client has been updated to utilize the aws.IsCredentialsProvider function for determining if aws.AnonymousCredentials has been configured for the CredentialProvider.
Feature: CreateInferenceRecommenderjob API now supports passing endpoint details directly, that will help customers to identify the max invocation and max latency they can achieve for their model and the associated endpoint along with getting recommendations on other instances.
Feature: In this release, we are introducing support for regional optimization for AWS Resilience Hub applications. It also includes a few documentation updates to improve clarity.
Dependency Update: Updated to the latest SDK module versions
Module Highlights
github.com/aws/aws-sdk-go-v2: v1.16.0
Feature: Update CredentialsCache to make use of two new optional CredentialsProvider interfaces to give the cache, per provider, behavior how the cache handles credentials that fail to refresh, and adjusting expires time. See aws.CredentialsCache for more details.
Feature: Update ec2rolecreds package's Provider to implememnt support for CredentialsCache new optional caching strategy interfaces, HandleFailRefreshCredentialsCacheStrategy and AdjustExpiresByCredentialsCacheStrategy.
Feature: Update ec2rolecreds package's Provider to implememnt support for CredentialsCache new optional caching strategy interfaces, HandleFailRefreshCredentialsCacheStrategy and AdjustExpiresByCredentialsCacheStrategy.
Feature: This release updates 1 API parameter, the SnsArn attribute. The character length and regex pattern for the SnsArn attribute have been updated, which enables you to deselect an SNS topic when using the UpdateSettings operation.
Feature: Increased the maximum supported value for the Timeout parameter of the StartSnapshot API from 60 minutes to 4320 minutes. Changed the HTTP error code for ConflictException from 503 to 409.
Feature: This release adds a new [--encrypted | --no-encrypted] field in restore-from-cluster-snapshot API. Customers can now restore an unencrypted snapshot to a cluster encrypted with AWS Managed Key or their own KMS key.
Feature: Update AddTagsToResource, ListTagsForResource, and RemoveTagsFromResource APIs to reflect the support for tagging Automation resources. Includes other minor documentation updates.
Feature: Added three new APIs to support tagging and resource-level authorization on Cost Explorer resources: TagResource, UntagResource, ListTagsForResource. Added optional parameters to CreateCostCategoryDefinition, CreateAnomalySubscription and CreateAnomalyMonitor APIs to support Tag On Create.
Feature: The release fixes the incorrect permissions called out in the documentation - DESCRIBE_TAG, ASSOCIATE_TAG, DELETE_TAG, ALTER_TAG. This trebuchet release fixes the corresponding SDK and documentation.
Feature: Add support for media replication to link multiple WebRTC media sessions together to reach larger and global audiences. Participants connected to a replica session can be granted access to join the primary session and can switch sessions with their existing WebRTC connection
Bumps the go group with 34 updates:
1.3.0
1.4.1
0.4.2
0.4.3
1.27.6
1.31.1
0.17.0
0.19.0
0.28.4
0.29.2
1.21.2
1.25.0
1.19.1
1.27.0
1.13.43
1.17.0
1.11.33
1.16.0
1.20.2
1.25.1
1.40.0
1.49.0
1.7.11
1.7.13
5.21.1
5.29.2
0.4.0
0.5.0
0.24.1
0.36.0
0.21.7
0.22.0
0.22.4
0.22.9
1.9.5
1.11.3
1.17.2
1.17.3
0.12.3
0.12.7
2.9.4
2.15.0
2.2.1
2.2.3
1.3.3
1.3.4
1.7.5
1.8.1
1.0.1
1.1.1
0.0.0-20231006140011-7918f672742d
0.0.0-20240103183307-be819d1f06fc
0.13.0
0.16.0
3.12.2
3.13.3
0.28.4
0.29.0
0.27.2
0.29.0
0.27.2
0.29.0
0.34.0
0.35.0
0.14.4
0.16.3
0.28.4
0.29.0
Updates
github.com/go-logr/logr
from 1.3.0 to 1.4.1Release notes
Sourced from github.com/go-logr/logr's releases.
Commits
dcdc3f2
slogr: fix unintended API break in v0.8.0 (#253)5d88f52
funcr: Add LogInfoLevel Option to skip logging level in the info log (#240)177005d
build(deps): bump actions/upload-artifact from 3.1.3 to 4.0.0e7f489a
build(deps): bump github/codeql-action from 2.22.9 to 3.22.11cf56c3b
build(deps): bump actions/setup-go from 4 to 52ad296e
build(deps): bump github/codeql-action from 2.22.8 to 2.22.9d55b4e2
Merge pull request #241 from thockin/master98ee9d9
Clean up slog testing and restore coverageb228ba8
Break examples to new file6432877
Add benchmarks for slogSinkUpdates
github.com/hashicorp/vault-client-go
from 0.4.2 to 0.4.3Release notes
Sourced from github.com/hashicorp/vault-client-go's releases.
Changelog
Sourced from github.com/hashicorp/vault-client-go's changelog.
Commits
4cb75ea
0.4.3 release notes (#248)6a3609c
Fix error parsing for valid JSON responses (#247)Updates
github.com/onsi/gomega
from 1.27.6 to 1.31.1Release notes
Sourced from github.com/onsi/gomega's releases.
... (truncated)
Changelog
Sourced from github.com/onsi/gomega's changelog.
... (truncated)
Commits
762b171
v1.31.126661b8
tidy up go.sumbde8f7a
bump dependencies24e958d
Show how to import the format sub packagead1a367
Update test in case keeping msg is desirede0dd999
Inverted arguments order of FailureMessage of BeComparableToMatcherba8bba2
v1.31.0121c37f
Async assertions include context cancellation cause if presentdee1e3c
Bump minimum go version49005fe
docs: fix typo in example usage "occured" -> "occurred"Updates
golang.org/x/net
from 0.17.0 to 0.19.0Commits
a8e0109
go.mod: update golang.org/x dependencies13e88dd
quic: rename listener{_test}.go to endpoint{_test}.goe26b9a4
quic: rename Listener to Endpoint399218d
quic: implement stream flushd87f99b
quic: idle timeouts, handshake timeouts, and keepalive7b5abfa
quic: basic qlog supportfbaf412
go.mod: update golang.org/x dependenciescc6f4d1
http2: remove ancient build-tagged files for unsupported Go versionsa720b30
http2: allocate buffer pools using pointers to arraysa7ef1a2
internal/quic/cmd/interop: don't t.Log after test finishesUpdates
k8s.io/apimachinery
from 0.28.4 to 0.29.2Commits
dc7e034
Merge pull request #122429 from MadhavJivrajani/tools-bump-1297d94fef
.*: bump golang.org/x/tools to v0.16.13c8c1f2
update go.mod12dc3f8
Merge pull request #113374 from ahmedtd/kep-3257-projected-types03a1b4b
LRUExpireCache: Allow removing multiple keys under lockbc0a03b
Merge pull request #119762 from AxeZhan/PollUntilContextCancel16d50e6
Merge pull request #121552 from pohly/klog-update6b13b03
dependencies: klog v2.110.196ae302
Merge pull request #121575 from apelisse/update-smd458fd90
Merge pull request #120707 from Jefftree/csa-openapiv3Updates
github.com/aws/aws-sdk-go-v2
from 1.21.2 to 1.25.0Commits
4fd9126
Release 2024-02-13d22cecd
Regenerated Clientsb640bf5
Update SDK's smithy-go dependency to v1.20.094e885c
Update endpoints modelb3a6cd7
Update API model5f328e6
chore: bump min go to 1.20 (#2494)3cb2c97
ci: fix CI scripts for main branch case (#2491)0e44db4
Release 2024-02-121d8fb3b
Regenerated Clientse4d556f
Update API modelUpdates
github.com/aws/aws-sdk-go-v2/config
from 1.19.1 to 1.27.0Commits
4fd9126
Release 2024-02-13d22cecd
Regenerated Clientsb640bf5
Update SDK's smithy-go dependency to v1.20.094e885c
Update endpoints modelb3a6cd7
Update API model5f328e6
chore: bump min go to 1.20 (#2494)3cb2c97
ci: fix CI scripts for main branch case (#2491)0e44db4
Release 2024-02-121d8fb3b
Regenerated Clientse4d556f
Update API modelUpdates
github.com/aws/aws-sdk-go-v2/credentials
from 1.13.43 to 1.17.0Changelog
Sourced from github.com/aws/aws-sdk-go-v2/credentials's changelog.
... (truncated)
Commits
7655449
Release 2022-10-21dcae829
Regenerated Clientsb82766b
Update API model1c05fb6
Implements IsCredentialsProvider for checking if a provider matches a target ...0fab39a
Merge pull request #1888 from aws/isvita/issues-178756eb993
added changelog filecde8cbc
Release 2022-10-20d7765f9
Regenerated Clientsb9dab7e
Update endpoints model93ed3ee
Update API modelUpdates
github.com/aws/aws-sdk-go-v2/feature/s3/manager
from 1.11.33 to 1.16.0Changelog
Sourced from github.com/aws/aws-sdk-go-v2/feature/s3/manager's changelog.
... (truncated)
Commits
5399c50
Release 2022-03-2357ed414
Regenerated Clientse7797b2
Update endpoints model0a7068e
Update API modelcbd1bab
Update IMDS credential provider to handle credentials fail to refresh (#1634)f83f630
Remove unneeded destructive integration tests for Amazon S3 Control API (#1637)ccdd0e4
Release 2022-03-225b16b20
Regenerated Clientsd273f3a
Update API modeld78523a
Release 2022-03-21Updates
github.com/aws/aws-sdk-go-v2/service/ecr
from 1.20.2 to 1.25.1Commits
435199f
Release 2023-11-15fb0b312
Regenerated Clients4a54427
Update SDK's smithy-go dependency to v1.17.0679c88c
Update endpoints modele635726
Update API modelcf022e8
feat: sra identity&auth refactor (#2364)1433025
Release 2023-11-1434bafde
Regenerated Clients0d10d76
Update endpoints modelfe8a6c1
Update API modelUpdates
github.com/aws/aws-sdk-go-v2/service/s3
from 1.40.0 to 1.49.0Commits
4fd9126
Release 2024-02-13d22cecd
Regenerated Clientsb640bf5
Update SDK's smithy-go dependency to v1.20.094e885c
Update endpoints modelb3a6cd7
Update API model5f328e6
chore: bump min go to 1.20 (#2494)3cb2c97
ci: fix CI scripts for main branch case (#2491)0e44db4
Release 2024-02-121d8fb3b
Regenerated Clientse4d556f
Update API modelUpdates
github.com/containerd/containerd
from 1.7.11 to 1.7.13Release notes
Sourced from github.com/containerd/containerd's releases.
... (truncated)
Commits
7c3aca7
Merge pull request #9724 from dmcgowan/prepare-v1.7.13b97e611
Prepare release notes for v1.7.132e7fa14
Update runc binary to v1.1.12cbda56b
Merge pull request #9693 from k8s-infra-cherrypick-robot/cherry-pick-9684-to-...1bed378
seccomp: kernel 6.71944259
Merge pull request #9685 from elezar/dependency-update-container-device-inter...14628d4
Update container-device-interface to v0.6.28c780b7
Merge pull request #9658 from vvoland/contentprovider-1.78364779
content: Add InfoReaderProvider71909c1
Merge pull request #9632 from dmcgowan/prepare-v1.7.12Updates
github.com/containers/image/v5
from 5.21.1 to 5.29.2Release notes
Sourced from github.com/containers/image/v5's releases.
... (truncated)
Commits
b799d82
[release-5.29] Bump to v5.29.26cbd4f4
[release-5.29] backport Docker Daemon fix #22602f0d9ae
Merge pull request #2262 from mtrmac/5.29-skopeo-reverseef8a7a5
Use a stable Skopeo branch for testing the stable c/image branchd8bbff8
Merge pull request #2253 from mtrmac/releasing-5.29.1540136f
Bump to v5.29.2-devMend Scan Summary: :x:
Repository: open-component-model/ocm
Detailed Logs: mend-scan-> Generate Report Mend UI
Integration Tests for ed906a3f1e720679ccf850ad39f595fe752f9ccf run with result: Success ✅!
Superseded by #664.