This release is mostly bug fixes but also reconciles connect-go with recent updates to the specification regarding mapping of RPC error codes to/from HTTP status codes (see connectrpc RFC 003)
What's Changed
Other changes
Revise RPC error code HTTP status code mappings per latest changes to spec by @jhump in #706
Enhancements
Only send a grpc-status-details-bin trailer in the gRPC protocol if the error has details by @bhollis in #713
Bugfixes
Fix ErrorWriter IsSupported check to report false on ambiguous content-type and options indicate connect protocol version header is required by @emcfarlane in #700
In Connect unary protocol, fallback to code based on HTTP status if unable to deserialize code from JSON body by @jhump in #702
Fix ErrorWriter to recognize protocols, even if content-type indicates unrecognized codec by @emcfarlane in #701
Fix some places in the framework that weren't correctly recognizing and returning context-based error code (e.g. "canceled" or "deadline_exceeded") by @jhump in #709
Use "unimplemented" code for stream cardinality violations by @jhump in #712
Restrict which metadata in an error can be propagated into response metadata by @emcfarlane in #711
service/b2bi: Updates service API and documentation
service/codebuild: Updates service API
Add new fleet status code for Reserved Capacity.
service/codeconnections: Adds new service
service/internetmonitor: Updates service API and documentation
service/iotwireless: Updates service API and documentation
service/marketplace-catalog: Updates service API and documentation
service/sagemaker: Updates service API and documentation
This release adds support for custom images for the CodeEditor App on SageMaker Studio
Release v1.51.10 (2024-03-28)
Service Client Updates
service/compute-optimizer: Updates service API and documentation
service/ec2: Updates service API
Amazon EC2 C7gd, M7gd and R7gd metal instances with up to 3.8 TB of local NVMe-based SSD block-level storage have up to 45% improved real-time NVMe storage performance than comparable Graviton2-based instances.
service/eks: Updates service API
service/guardduty: Updates service API and documentation
Add EC2 support for GuardDuty Runtime Monitoring auto management.
service/oam: Updates service API
service/quicksight: Updates service API and documentation
Amazon QuickSight: Adds support for setting up VPC Endpoint restrictions for accessing QuickSight Website.
Release v1.51.9 (2024-03-27)
Service Client Updates
service/batch: Updates service API and documentation
This feature allows AWS Batch to support configuration of imagePullSecrets and allowPrivilegeEscalation for jobs running on EKS
service/bedrock-agent: Updates service API and documentation
service/bedrock-agent-runtime: Updates service API and documentation
service/elasticache: Updates service API and documentation
Added minimum capacity to Amazon ElastiCache Serverless. This feature allows customer to ensure minimum capacity even without current load
service/secretsmanager: Updates service documentation
Documentation updates for Secrets Manager
Release v1.51.8 (2024-03-26)
Service Client Updates
service/bedrock-agent-runtime: Updates service API and documentation
service/ce: Updates service API, documentation, and paginators
service/ec2: Updates service API and documentation
Documentation updates for Elastic Compute Cloud (EC2).
cert-manager is the easiest way to automatically manage certificates in Kubernetes and OpenShift clusters.
cert-manager 1.14 brings a variety of features, security improvements and bug fixes, including: support for creating X.509 certificates with "Other Name" fields, and support for creating CA certificates with "Name Constraints" and "Authority Information Accessors" extensions.
⚠️ Known Issues
ACME Issuer (Let's Encrypt): wrong certificate chain may be used if preferredChain is configured: see release docs for more info and mitigations
Older go-mysql-driver used collation_id in the handshake packet. But it caused collation mismatch in some situation.
If you don't specify charset nor collation, go-mysql-driver sends SET NAMES utf8mb4 for new connection. This uses server's default collation for utf8mb4.
If you specify charset, go-mysql-driver sends SET NAMES <charset>. This uses the server's default collation for <charset>.
If you specify collation and/or charset, go-mysql-driver sends SET NAMES charset COLLATE collation.
When text protocol is used, go-mysql-driver passed bare []byte to database/sql for avoid unnecessary allocation and conversion.
If user specified *any to Scan(), database/sql passed the []byte into the target variabe.
This confused users because most user doesn't know when text/binary protocol used.
go-mysql-driver 1.8 converts integer/float values into int64/double even in text protocol. This doesn't increase allocation compared to []byte and conversion cost is negilible.
New options start using the Functional Option Pattern to avoid increasing technical debt in the Config object. Future version may introduce Functional Option for existing options, but not for now.
fix race condition when context is canceled in #1562 and #1570
Version 1.8.0 (2024-03-09)
Major Changes:
Use SET NAMES charset COLLATE collation. by @methane in #1437
Older go-mysql-driver used collation_id in the handshake packet. But it caused collation mismatch in some situation.
If you don't specify charset nor collation, go-mysql-driver sends SET NAMES utf8mb4 for new connection. This uses server's default collation for utf8mb4.
If you specify charset, go-mysql-driver sends SET NAMES <charset>. This uses the server's default collation for <charset>.
If you specify collation and/or charset, go-mysql-driver sends SET NAMES charset COLLATE collation.
Parse numbers on text protocol too by @methane in #1452
When text protocol is used, go-mysql-driver passed bare []byte to database/sql for avoid unnecessary allocation and conversion.
If user specified *any to Scan(), database/sql passed the []byte into the target variable.
This confused users because most user doesn't know when text/binary protocol used.
go-mysql-driver 1.8 converts integer/float values into int64/double even in text protocol. This doesn't increase allocation compared to []byte and conversion cost is negatable.
New options start using the Functional Option Pattern to avoid increasing technical debt in the Config object. Future version may introduce Functional Option for existing options, but not for now.
Make TimeTruncate functional option by @methane in 1552
Add BeforeConnect callback to configuration object by @ItalyPaleAle in #1469
Contexts passed to replaceFn no longer propagates cancellation signals.
Cancel propagation inside request coalescing is not usually desirable, as it represents multiple value requests. If only one request that initiated the replaceFn call cancels the context, all other waiting goroutines get the same "context canceled" error, which is usually not something desirable.
The library now requires Go >= 1.21 as it uses context.WithoutCancel().
Allow context value propagation (but without cancel propagation) for all replaceFn call paths, including background update.
BREAKING This change breaks the signature of Notify() method, but you can just supply context.Background() to keep the old behavior.
This should better support use-cases like distributed tracing.
Bumps the non-majors group with 18 updates:
1.15.0
1.16.0
1.50.29
1.51.11
1.14.3
1.14.4
0.3.6
0.3.7
5.11.0
5.12.0
1.7.1
1.8.1
0.12.5
0.13.1
1.7.1
1.8.0
0.48.0
0.51.1
0.5.7
0.6.0
2.10.7
2.11.0
0.19.0
0.21.0
0.21.0
0.22.0
1.62.0
1.62.1
1.32.0
1.33.0
0.29.2
0.29.3
0.29.2
0.29.3
0.29.2
0.29.3
Updates
connectrpc.com/connect
from 1.15.0 to 1.16.0Release notes
Sourced from connectrpc.com/connect's releases.
Commits
0208427
Prepare for v1.16.0 (#714)dbd9097
Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /internal/conformanc...90df12f
Only send a serialized Status in the gRPC protocol if it has details (#713)7b3b344
Restrict metadata headers in error propagation (#711)fbcf0ff
Use "unimplemented" code for cardinality violations (#712)c22fe4f
Update a couple of more places where we should return a context error if ther...befee1d
Update to latest protobuf-go, v1.33.0 (#707)872a6fd
Fix ErrorWriter to be codec agnostic (#701)e3f35a6
Revise code mappings per latest changes to spec (#706)75d634f
In Connect unary protocol, fallback to code based on HTTP status if unable to...Updates
github.com/aws/aws-sdk-go
from 1.50.29 to 1.51.11Release notes
Sourced from github.com/aws/aws-sdk-go's releases.
... (truncated)
Commits
0b7b1fa
Release v1.51.11 (2024-03-29) (#5213)f4c2ec6
Release v1.51.10 (2024-03-28) (#5212)1f60add
Release v1.51.9 (2024-03-27) (#5211)5d15e1b
Release v1.51.8 (2024-03-26) (#5209)e752071
Release v1.51.7 (2024-03-25) (#5206)40b0a0b
Release v1.51.6 (2024-03-22) (#5205)90cffbc
Release v1.51.5 (2024-03-21) (#5204)fb4c556
Release v1.51.4 (2024-03-20) (#5203)9d5e5d9
Release v1.51.3 (2024-03-19) (#5202)8c9d152
Release v1.51.2 (2024-03-18) (#5200)Updates
github.com/cert-manager/cert-manager
from 1.14.3 to 1.14.4Release notes
Sourced from github.com/cert-manager/cert-manager's releases.
Commits
f5ddc41
Merge pull request #6842 from inteon/release-1.14_basee5d4a42
bump debian12 base images716ff1c
Merge pull request #6834 from inteon/release-1.14_cvea362957
upgrade Helm to fix CVE-2024-26147f89a561
Merge pull request #6829 from inteon/release-1.14_cve56e0adf
upgrade google.golang.org/protobuf fixing GO-2024-2611234ba0b
Merge pull request #6825 from jetstack-bot/cherry-pick-6823-to-release-1.144401df0
bump go to 1.21.8756f8bb
Merge pull request #6819 from jetstack-bot/cherry-pick-6816-to-release-1.14945b69a
prevent fuzzer from generating impossible configurationsUpdates
github.com/gliderlabs/ssh
from 0.3.6 to 0.3.7Release notes
Sourced from github.com/gliderlabs/ssh's releases.
Commits
adec695
Merge pull request #227 from gustavosbarreto/masteree51862
Merge pull request #222 from aymanbagabas/ioutilc1393df
fix: bannerhandlerc7a15f4
fix: remove ioutil deprecations8867fb1
Merge pull request #221 from charmbracelet/banner-upstream973b62f
feat: allow to set a server bannerUpdates
github.com/go-git/go-git/v5
from 5.11.0 to 5.12.0Release notes
Sourced from github.com/go-git/go-git/v5's releases.
Commits
302ddde
Merge pull request #1060 from go-git/dependabot/go_modules/github.com/gliderl...6bba34d
build: bump github.com/gliderlabs/ssh from 0.3.6 to 0.3.7feaeb36
Merge pull request #937 from matejrisek/feature/rename-short-fields7959a42
Merge pull request #1052 from go-git/dependabot/go_modules/github.com/skeema/...4c17ce7
build: bump github.com/skeema/knownhosts from 1.2.1 to 1.2.23f77e6f
Merge pull request #1048 from pjbgf/fix-reset-validation6af38e0
Merge pull request #1047 from avoidalone/mastere6c3e58
Merge pull request #1044 from pjbgf/ff-merge04f7b23
*: fix some commentsf4f1a87
Merge pull request #971 from nodivbyzero/fix-177-diff-print-file-statsUpdates
github.com/go-sql-driver/mysql
from 1.7.1 to 1.8.1Release notes
Sourced from github.com/go-sql-driver/mysql's releases.
... (truncated)
Changelog
Sourced from github.com/go-sql-driver/mysql's changelog.
Commits
4395c45
update changelog for releasing v1.8.1 (#1576)7eeaba6
Fix issue 1567 (#1570) (#1571)65395d8
fix race condition when context is canceled (#1565)1e75613
add wrapper method to call mc.cfg.Logger (#1564)33fa6e5
replace interface{} with any (#1561)33b7747
Add BeforeConnect callback to configuration object (#1469)6964272
Make TimeTruncate functional option (#1552)097fe6e
Update workflows (#1547)f019727
add TiDB support in README.md (#1333)743e263
IntroducetimeTruncate
parameter fortime.Time
arguments (#1541)Updates
github.com/moby/buildkit
from 0.12.5 to 0.13.1Release notes
Sourced from github.com/moby/buildkit's releases.
... (truncated)
Commits
2ae42e0
Merge pull request #4779 from tonistiigi/v0.13.1-picks0aff323
oci: make mounting oci socket optional9e593c0
git: ensure file-looking git refs aren't parsed as URLs50fbf50
remotecache: fix missing CheckDescriptor method62eec44
solver: stub out sysSampler close3f62976
Merge pull request #4742 from crazy-max/v0.13_cherry-picksf64b48e
fix(docs): add the containers feature enabling step525ea4f
ci: enable multi-platform lint only for upstream repoee081eb
docs: replace references to the master branch with v0.132afc050
Merge pull request #4735 from moby/v0.13.0-picksUpdates
github.com/motoki317/sc
from 1.7.1 to 1.8.0Release notes
Sourced from github.com/motoki317/sc's releases.
Commits
42c201c
Update go to 1.214661a01
Breaking signature: Allow context propagation (but without cancel propagation...c24560d
Prevent cancel propagation into replaceFnf680c50
Add size-related cache statsUpdates
github.com/prometheus/common
from 0.48.0 to 0.51.1Release notes
Sourced from github.com/prometheus/common's releases.
... (truncated)
Commits
e821827
Retract v0.50.0 (#610)2807775
Update common Prometheus files (#609)617b51d
Synchronize common files from prometheus/prometheus (#606)057bec8
Merge pull request #608 from vesari/avoid-total-suffix-repetitionda75ecd
Correct logic in sample naming for counters, add new testb0624a8
Fix string slice definition for FormatFlagOptions. (#607)e7f4912
expfmt: Add a way to generate different OpenMetrics Formats (#596)d4cebf6
Merge pull request #604 from prometheus/repo_sync44e573e
Update common Prometheus files944239f
Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#601)Updates
github.com/regclient/regclient
from 0.5.7 to 0.6.0Release notes
Sourced from github.com/regclient/regclient's releases.