Skip to content

chore(deps): update go modules (non-major) - #178

Merged
JonahMMay merged 3 commits into
mainfrom
renovate/go-modules-(non-major)
Sep 29, 2026
Merged

JonahMMay merged 3 commits into
mainfrom
renovate/go-modules-(non-major)

Conversation

@renovate

@renovate renovate Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
github.com/aws/aws-sdk-go-v2 v1.45.0 → v1.47.1 age confidence
github.com/aws/aws-sdk-go-v2/credentials v1.20.0 → v1.20.6 age confidence
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.23.0 → v1.23.10 age confidence
github.com/aws/aws-sdk-go-v2/service/s3 v1.109.0 → v1.113.4 age confidence
github.com/aws/smithy-go v1.28.1 → v1.28.2 age confidence
github.com/danielgtaylor/huma/v2 v2.38.0 → v2.39.1 age confidence
github.com/go-chi/chi/v5 v5.2.5 → v5.3.2 age confidence
github.com/jackc/pgx/v5 v5.10.0 → v5.11.0 age confidence
github.com/mmcdole/gofeed v1.4.2 → v1.5.0 age confidence
github.com/oasdiff/oasdiff v1.30.0 → v1.32.1 age confidence
github.com/open-policy-agent/opa v1.20.0 → v1.21.0 age confidence
github.com/pressly/goose/v3 v3.27.3 → v3.28.0 age confidence
github.com/prometheus/client_model v0.6.2 → v0.6.3 age confidence
github.com/prometheus/procfs v0.21.1 → v0.22.0 age confidence
github.com/quasilyte/go-ruleguard/dsl v0.3.22 → v0.3.23 age confidence
golang.org/x/crypto v0.55.0 → v0.57.0 age confidence
golang.org/x/image v0.45.0 → v0.46.0 age confidence
golang.org/x/net v0.58.0 → v0.59.0 age confidence
golang.org/x/sync v0.22.0 → v0.23.0 age confidence
golang.org/x/sys v0.47.0 → v0.48.0 age confidence
golang.org/x/text v0.41.0 → v0.42.0 age confidence
golang.org/x/time v0.15.0 → v0.16.0 age confidence
golang.org/x/tools v0.48.0 → v0.50.0 age confidence
google.golang.org/grpc v1.83.2 → v1.84.0 age confidence
modernc.org/sqlite v1.57.0 → v1.60.1 age confidence

Release Notes

aws/aws-sdk-go-v2 (github.com/aws/aws-sdk-go-v2)

v1.47.1

Module Highlights

  • github.com/aws/aws-sdk-go-v2/service/bedrockagentcore: v1.49.0
    • Feature: Batch evaluation now supports evaluating specific traces within a session. Each session can specify up to 100 trace IDs to evaluate.
  • github.com/aws/aws-sdk-go-v2/service/connect: v1.200.0
    • Feature: Made the replicaAlias attribute optional in the ReplicateInstance API to support Global routing for Amazon Connect Global Resiliency (ACGR) instances. This change maintains backward compatibility. When onboarding to ACGR without Global routing, you must specify a custom replicaAlias in your API call
  • github.com/aws/aws-sdk-go-v2/service/ec2: v1.334.0
    • Feature: Adding support for "Tunnel" VPC Endpoint
  • github.com/aws/aws-sdk-go-v2/service/guardduty: v1.93.0
    • Feature: This change surfaces AI Protection resources on existing public IAM attack sequences. Customers will now see which model was accessed and whether a guardrail intervened as part of the credential-compromise sequence.
  • github.com/aws/aws-sdk-go-v2/service/iotwireless: v1.65.0
    • Feature: Adds Multi-frame GNSS support to the AWS IoT Core Device Location GetPositionEstimate API. The new GnssMultiFrame measurement type improves location accuracy by combining multiple GNSS signal captures (2, 4, 8, 16, or 32) from the same device to estimate its position.
  • github.com/aws/aws-sdk-go-v2/service/notifications: v1.17.0
    • Feature: Added support for attachments on managed notification events. Added support to access and subscribe sensitive managed notification events.
  • github.com/aws/aws-sdk-go-v2/service/sesv2: v1.74.0
    • Feature: Added support to query the tenant name for BatchGetMetricData and CreateExportJob APIs to filter metrics and messages at the tenant level.
  • github.com/aws/aws-sdk-go-v2/service/sns: v1.47.1
    • Documentation: SNS API reference documentation update
  • github.com/aws/aws-sdk-go-v2/service/socialmessaging: v1.21.0
    • Feature: Add support for WhatsApp Calling APIs.
  • github.com/aws/aws-sdk-go-v2/service/vpclattice: v1.33.0
    • Feature: Adding support for CIDR Resource Configuration

v1.47.0

Module Highlights

  • github.com/aws/aws-sdk-go-v2/service/backup: v1.60.4
    • Documentation: Updating CLI Docs for Backup Audit Manager List Job Summaries APIs.
  • github.com/aws/aws-sdk-go-v2/service/bedrockagentcorecontrol: v1.59.0
    • Feature: Update Dataset schema to THIRDPARTYEVALUATIONV1
  • github.com/aws/aws-sdk-go-v2/service/cloudwatch: v1.67.0
    • Feature: Allows customers to specify an initial warm up period to wait for metrics to arrive when creating metric or log alarms
  • github.com/aws/aws-sdk-go-v2/service/devicefarm: v1.43.0
    • Feature: Added support to CreateRemoveAccessSession for selecting a server version on the mobile WebDriver endpoint.
  • github.com/aws/aws-sdk-go-v2/service/kinesis: v1.47.0
    • Feature: Generate account endpoint for Kinesis Data Streams requests when the account ID is available
  • github.com/aws/aws-sdk-go-v2/service/wafv2: v1.77.7
    • Documentation: DataProtectionConfig field Key Documentation Update

v1.46.0

Module Highlights

  • github.com/aws/aws-sdk-go-v2/service/bedrockruntime: v1.46.0
    • Feature: Bedrock Runtime Reserved Service Support
  • github.com/aws/aws-sdk-go-v2/service/computeoptimizer: v1.49.0
    • Feature: Compute Optimizer now identifies idle NAT Gateway resources for cost optimization based on traffic patterns and backup configuration analysis. Access recommendations via the GetIdleRecommendations API.
  • github.com/aws/aws-sdk-go-v2/service/costoptimizationhub: v1.22.0
    • Feature: This release enables AWS Cost Optimization Hub to show cost optimization recommendations for NAT Gateway.

v1.45.1

General Highlights

  • Bug Fix: Add assurance test for operation order.
  • Dependency Update: Updated to the latest SDK module versions

Module Highlights

  • github.com/aws/aws-sdk-go-v2/service/elasticache: v1.45.1
    • Documentation: Doc only update, listing 'valkey7' and 'valkey8' as engine options for parameter groups.
  • github.com/aws/aws-sdk-go-v2/service/iotmanagedintegrations: v1.0.0
    • Release: New AWS service client module
    • Feature: Adding managed integrations APIs for IoT Device Management to setup and control devices across different manufacturers and connectivity protocols. APIs include managedthing operations, credential and provisioning profile management, notification configuration, and OTA update.
  • github.com/aws/aws-sdk-go-v2/service/iotsitewise: v1.47.0
    • Feature: AWS IoT SiteWise now supports MQTT-enabled, V3 gateways. Configure data destinations for real-time ingestion into AWS IoT SiteWise or buffered ingestion using Amazon S3 storage. You can also use path filters for precise data collection from specific MQTT topics.
  • github.com/aws/aws-sdk-go-v2/service/rds: v1.94.1
    • Documentation: Note support for Database Insights for Amazon RDS.
aws/smithy-go (github.com/aws/smithy-go)

v1.28.2

Compare Source

General Highlights

  • Dependency Update: Updated to the latest SDK module versions

Module Highlights

  • github.com/aws/smithy-go: v1.28.2
    • Bug Fix: Avoid allocating a slice in ValidateEndpointHost by indexing into the hostname instead of using strings.Split.
    • Bug Fix: Fix event stream decode panic on unknown header value type.
    • Bug Fix: Fix schema-serde CBOR decode panic on malformed string/blob length.
    • Bug Fix: JoinPath keeps a trailing slash when the added path is a slash.
danielgtaylor/huma (github.com/danielgtaylor/huma/v2)

v2.39.1

Compare Source

v2.39.1
Overview

A patch release: correctness fixes for resolvers, validation, and response handling, plus a dependency refresh.

Response Status Visible to Middleware Again

WithContext context propagation in v2.39.0 copied the response status by value, so middleware that called WithContext and then read Status() after next() always saw 0 instead of the status the handler set, breaking access logging and telemetry. The status is now shared by every context copy across all adapters, restoring the pre-2.39 invariant while keeping context propagation intact. (#​1081)

Resolvers & Defaults in Arrays and Maps
  • Nested resolvers now run for fixed-size arrays ([2]Item), not just slices (#​1076)
  • A resolver on a named collection type (e.g. type Coords [2]float64) no longer panics, and is no longer conflated with a resolver on its element type, which previously ran the element's resolver twice and the collection's never (#​1082)
  • Values reached through a map are now written back after being walked, so applying a default no longer panics with reflect: reflect.Value.Set using unaddressable value and resolver mutations are no longer silently discarded (#​1082)
Stricter email and uri Formats

Validation for two string formats is tighter, so payloads that previously passed may now return 422:

  • email / idn-email accept an addr-spec only; full mailbox forms with a display name (Name <user@example.com>) are rejected
  • uri / iri require an absolute URI with a non-empty scheme, while relative references remain valid under uri-reference / iri-reference (#​1068)
Validation Robustness
  • An unresolvable schema $ref during Validate now reports expected schema $ref to resolve: ... instead of panicking on a nil dereference, covering discriminators and map[string]any / map[any]any values (#​1065)
  • Named numeric slice parameters (e.g. type IDs []int64) are built with their declared element type and validated with item, length, and uniqueness constraints intact (#​1074)
Other Fixes
  • Resolver errors that wrap a HeadersError now contribute their headers to the response, matching the handler error path (#​1070)
  • A nil interface response body no longer panics in the schema link transformer (#​1072)
  • Dependencies updated (#​1066)
What's Changed
New Contributors

Full Changelog: danielgtaylor/huma@v2.39.0...v2.39.1

v2.39.0

Compare Source

v2.39.0
Overview

This release adds a new framework adapter, a handful of developer-facing features, and a large batch of correctness fixes spanning SSE, the Fiber adapter, schema generation, and validation.

Echo v5 Support

The humaecho adapter now supports Echo v5 alongside the existing versions. (#​959)

No More Faulty Duplicate-Schema Panics

Registering operations that use inline structs with differing field names (and an empty operation ID) previously panicked at startup on a false-positive duplicate-schema collision. Conflicting names are now auto-incremented deterministically (Request, Request1, Request2, ...), so the app starts and the generated spec stays readable. (#​893)

Context Propagation to Adapters

WithContext now propagates the context directly into the underlying adapter's own context wrapper (bun, chi, echo, fiber, gin, go, httprouter) instead of relying on a generic sub-context, so cancellation and context values flow correctly through the request lifecycle. (#​867)

SSE Streaming on Fiber / fasthttp

Server-Sent Events (and other streaming responses) previously failed on the Fiber adapters with unable to flush, since fasthttp doesn't implement http.Flusher. SSE now streams correctly on Fiber v2 and v3 via an internal streaming hook, with no new public API and fasthttp remaining an indirect dependency. (#​1059)

More SSE Improvements
  • Response headers are now flushed before the user handler runs, so EventSource.onopen fires immediately rather than waiting for the first event (#​1038)
  • Comments can now be sent over SSE streams, a common way to keep connections alive (#​1054)
New Features
  • Schema.Const for pinning a schema to a single allowed value (#​1004)
  • Customizable docs renderer config for finer control over the documentation UI (#​1024)
  • encoding.TextUnmarshaler support for slice query parameters, matching the existing behavior for scalar params (#​1021)
  • Non-file JSON form-data fields: multipart form fields tagged contentType:"application/json" are now unmarshalled and validated (#​1060)
Validation & Schema Fixes
  • Integer enums no longer always fail validation on query/path parameters; numeric enum values are now compared numerically rather than by strict Go type (#​1050)
  • Content-Type validation is now case-insensitive per RFC 9110, so e.g. Application/Json no longer returns 415 (#​1052)
  • Path parameters are always marked required: true in the generated spec, per the OpenAPI specification (#​1011)
  • Prevented a panic (and dropped response) in uniqueItems validation when array items are unhashable types, now returning 422 correctly (#​1045)
  • The json:",inline" tag is now honored for embedding anonymous fields in schemas (#​1006)
  • Hidden route schemas are no longer leaked into the generated spec (#​1032)
Adapter & Robustness Fixes
  • humafiber (v2): corrected EachHeader iteration (it previously invoked the callback once per byte, breaking cookie reads) and switched BodyReader to Body() for automatic request-body decompression (#​1058)
  • autopatch: prevented chi route-context reuse from recursing internal GET sub-requests back into the generated PATCH handler and panicking (#​1049)
  • Fixed a URL parsing panic in getAPIPrefix when server URLs contain template variables like {port} or {version} (#​1027)
  • The read deadline is now cleared after the request body is read, so a slow handler can't cause a background read to time out and cancel the connection context (#​1028)
Docs UI & Documentation
  • Forms are now permitted in the docs UI CSP (#​1036)
  • Added allow-downloads to the Stoplight CSP so the Export button works (#​1048)
  • Updated Restish references to v2 (#​1041)
What's Changed
New Contributors

Full Changelog: danielgtaylor/huma@v2.38.0...v2.39.0

go-chi/chi (github.com/go-chi/chi/v5)

v5.3.2

Compare Source

What's Changed

  • feat(middleware): add text/markdown, text/csv, text/vtt to default compressible types by @​VojtechVitek in #​1151
  • docs: deployment recipe for middleware.ClientIPFromXFFTrustedProxies() by @​VojtechVitek in #​1111
  • fix: don't drop handlers that collide with a Mount()/Route() pattern by @​VojtechVitek in #​1148
  • Don't duplicate methods in Allow: header for 405 responses by @​flimzy in #​1029
  • fix(middleware): reject catch-all compress wildcards by @​VojtechVitek in #​1156
    • middleware.NewCompressor(level, "/*") never worked and silently compressed nothing. Instead of turning it into a compress-everything catch-all (as proposed in #​868 and #​1121), we decided to reject both "/" and "/*" at construction and panic. Compressing every response wastes CPU on already-compressed types (zip, jpeg, png), which is why the middleware keeps a curated default list. Users should pass explicit content types.

Full Changelog: go-chi/chi@v5.3.1...v5.3.2

v5.3.1

Compare Source

What's Changed

New Contributors

Full Changelog: go-chi/chi@v5.3.0...v5.3.1

v5.3.0

Compare Source

What's Changed

New Contributors

SECURITY: middleware.ClientIP, a replacement for middleware.RealIP

PR #​967 introduced middleware.ClientIP, a replacement for middleware.RealIP that closes the three open spoofing advisories:

It also addresses issues outlined at:

middleware.RealIP is deprecated in this PR with pointers to the new API.

The deprecation only adds a // Deprecated: doc comment; the function keeps working for backward compatibility.

Why a new middleware (not "fix RealIP in place")

RealIP has two unfixable design choices: it mutates r.RemoteAddr, and it tries to be a one-size-fits-all default by walking a hard-coded list of headers any client can supply. Per adam-p's "The perils of the 'real' client IP" (which calls chi out by name on this), there is no safe default — the user must pick their trust source explicitly.

The new API

Four middlewares, two accessors. Pick exactly one middleware based on your
infrastructure, read the result with one of the two accessors:

// One of the four. There is no safe default — pick exactly one.
func ClientIPFromHeader(trustedHeader string) func(http.Handler) http.Handler
func ClientIPFromXFF(trustedIPPrefixes ...string) func(http.Handler) http.Handler
func ClientIPFromXFFTrustedProxies(numTrustedProxies int) func(http.Handler) http.Handler
func ClientIPFromRemoteAddr(h http.Handler) http.Handler

// Read the result.
func GetClientIP(ctx context.Context) string         // for logs, rate-limit keys
func GetClientIPAddr(ctx context.Context) netip.Addr // for typed work

Example usage:

// Pick a single ClientIP middleware based on your deployment
  
// Cloudflare.
r.Use(middleware.ClientIPFromHeader("CF-Connecting-IP"))

// Nginx with ngx_http_realip_module.
r.Use(middleware.ClientIPFromHeader("X-Real-IP"))

// Apache with mod_remoteip.
r.Use(middleware.ClientIPFromHeader("X-Client-IP"))

// AWS CloudFront, or any proxy fleet with known CIDRs.
r.Use(middleware.ClientIPFromXFF(
    "13.32.0.0/15",   // CloudFront IPv4
    "52.46.0.0/18",   // CloudFront IPv4
    "2600:9000::/28", // CloudFront IPv6
))

// Behind exactly 2 trusted proxies with dynamic IPs (autoscaling pools,
// ephemeral containers, dynamic CDN edges).
r.Use(middleware.ClientIPFromXFFTrustedProxies(2))

// Server directly on the public internet, no proxy in front.
r.Use(middleware.ClientIPFromRemoteAddr)

And in your handler or downstream middleware:

clientIP := middleware.GetClientIP(r.Context())
// log it, use it as a rate-limit key, etc.

Thanks to @​adam-p, @​c2h5oh, @​rezmoss, @​Saku0512, @​convto, @​Dirbaio, @​jawnsy, @​lrstanley, @​mfridman, @​n33pm, @​pkieltyka for the prior discussions, detailed reviews, advisory reports, and test contributions that shaped this PR.

Full Changelog: go-chi/chi@v5.2.5...v5.3.0

jackc/pgx (github.com/jackc/pgx/v5)

v5.11.0

Compare Source

This release adds direct PostgreSQL type scanning through database/sql on Go 1.27, improves compatibility with
libpq connection strings and PostgreSQL date/time values, and includes further decoder hardening. See Changes for
connection-string and date/time behavior changes that may affect existing applications.

Features

  • stdlib: support Go 1.27's driver.RowsColumnScanner, allowing PostgreSQL types such as arrays and ranges to be
    scanned directly into Go values without pgtype.Map.SQLScanner. Existing database/sql scalar conversions and
    sql.Scanner behavior are preserved. The minimum supported Go version remains 1.25.
  • Add Rows.TypeMap to expose the type map used to decode rows, including rows created by RowsFromResultReader
    that have no underlying Conn. Custom implementations of Rows, including mocks, must add this method.
  • pgconn: add Config.MaxProtocolMessageBodyLen to configure the maximum incoming protocol message body size
    (carter-ya)
  • pgconn: add ErrReadOnlyConnection, ErrReadWriteConnection, ErrPrimaryConnection, and ErrStandbyConnection
    sentinel errors for target_session_attrs validation, allowing callers to use errors.Is (Adrian-Stefan Mares)
  • pgxpool: accept pool_ping_timeout in connection strings to configure Config.PingTimeout. The default is zero;
    zero and negative durations mean no timeout (1991santhu)

Changes

  • Name-based row-to-struct mapping now matches explicit db tags case-insensitively, with exact matches taking
    precedence so tags can still distinguish quoted column names that differ only by case (AlisinaDevelo)

  • pgconn: resolve the OS user account only when no user is supplied by the connection string, environment, or service
    file, avoiding unnecessary account lookups and crashes in some restricted container environments. Home-directory
    defaults for password, service, and TLS files remain available independently of the account lookup. On Unix these
    now use $HOME rather than the OS account's home directory (Mohamed MAACHE)

  • pgtype: date, timestamp and timestamptz text values are now parsed and written by a hand-written parser and
    encoder for PostgreSQL's ISO date/time format instead of time.Parse and time.Format. Go's layout language cannot
    express a variable-width year or the BC era, which is the root of the bugs below. The text scan path is roughly 2.5x
    faster for timestamp and timestamptz. Bug fixes:

    • timestamp and timestamptz no longer silently move February 29 of a BC leap year to March 1 when encoding.
      time.Date(-4712, 2, 29, ...) was written as 4713-03-01 BC and is now written as 4713-02-29 BC. This
      affected ordinary four-digit BC years, not only extended-range ones. date was never affected.
    • timestamp and timestamptz can now scan BC leap days. 4713-02-29 BC previously failed with
      day out of range. date could already scan them.
    • Years past 9999 can now be scanned. 10000-01-02 03:04:05 previously failed to parse, so timestamp and
      timestamptz values at the high end of PostgreSQL's range were unreadable over the simple protocol and in any
      other text-format result.
    • time.Time arguments in the simple protocol now encode BC dates correctly, using the same timestamp encoder.
    • Fractional seconds beyond microsecond precision are rounded the way the server rounds them (round half to even,
      carrying into the rest of the value) instead of being kept at full precision. PostgreSQL never sends more than six
      fractional digits, so this only affects values from other sources.

    Behavior changes:

    • date now rejects impossible dates instead of normalizing them. 2024-02-30 returned 2024-03-01 and
      2024-13-01 returned 2025-01-01; both are now errors. timestamp and timestamptz already rejected them.
    • All three types now reject values outside PostgreSQL's range for that type, in the binary format as well as the
      text format. PostgreSQL never sends out-of-range dates, so this only affects corrupt or hand-built input; the range
      is checked in both formats so that whether a value is accepted does not depend on QueryExecMode.
      timestamptz also rejects time zone displacements outside PostgreSQL's signed 32-bit seconds range, while accepting
      the wider offsets emitted for POSIX time zones, such as +16.
    • timestamptz values scanned from the text format are now returned in time.Local, or in ScanLocation when it is
      set, matching what the binary format has always returned. Previously the text path kept whatever location
      time.Parse derived from the offset the server sent, so the same value scanned in the two formats could report a
      different Location() and Zone(). The instant is unchanged, but everything that renders the location changes
      with it: Timestamptz.MarshalJSON now writes the client's offset rather than the server's, so a value the server
      sent as +05:30 marshals as 2024-01-01T13:34:05-08:00 on a UTC-8 client instead of 2024-01-02T03:04:05+05:30,
      and DecodeDatabaseSQLValue hands database/sql a time.Time in that same location. Set the codec's
      ScanLocation to time.UTC to pin the location regardless of the client's zone.
    • Error messages from these paths have changed.
  • pgconn: connection URIs (postgres://...) are now parsed by a new parser designed to exactly match libpq's URI
    parser behavior instead of net/url,
    making pgx accept and reject exactly the same URIs as libpq (verified by differential fuzzing against libpq itself).
    Most connection strings are unaffected. Edge-case behavior changes, all matching libpq:

    • + in query values is literal, no longer decoded as a space.
    • Malformed percent-encoding is a parse error instead of the parameter being silently dropped. %00 is rejected.
    • Leading/trailing spaces in URI components are trimmed; interior spaces are a parse error (encode them as %20).
    • # is ordinary data, not a fragment delimiter.
    • The userinfo terminator is the first @ before any / (previously the last @).
    • When a query parameter is repeated, the last occurrence wins (previously the first).
    • ssl=true is accepted as an alias for sslmode=require in URIs (JDBC compatibility). A repeated ssl key
      follows the same last-occurrence-wins rule as other repeated parameters, even across the rewrite to sslmode. If
      the final ssl value is not true, an independent explicit sslmode remains in effect.
    • Multiple hosts with mixed port specs are positionally aligned: postgres://h1,h2:5433/db now means h1:5432 and
      h2:5433 (previously both hosts got port 5433). A port list that is neither a single port nor exactly one port per
      host is an error (could not match N port numbers to M hosts), also for keyword/value connection strings.
    • An IPv6 address in a URI must be enclosed in brackets. A bare postgres://::1/db was previously accepted as host
      ::1; it is now read as an empty host followed by port :1 and fails with an invalid port error. Write it as
      postgres://[::1]/db.
    • Empty host list elements (e.g. h1,,h2) get the default host instead of being dropped. Likewise, an empty host in
      a keyword/value string (host=) now means the default host -- typically the Unix socket directory -- where it
      previously meant a TCP connection to an empty hostname.
    • An empty port (?port= in a URI or port= in a keyword/value string) now means the default port 5432 for the
      affected hosts; previously it was an invalid port error. Like any connection-string port, a present-but-empty port
      takes precedence over PGPORT.
    • ASCII control characters (tab, newline, ...) in a URI are ordinary data bytes, as they are to libpq; net/url
      rejected any URI containing one. The exception is a literal NUL byte, which is still rejected, as net/url did.
      (libpq never sees one -- C strings end at the first NUL -- but in Go a raw NUL could otherwise pass through into
      the NUL-delimited startup message and inject extra parameters.)

    Unlike libpq, unrecognized URI query parameters are still accepted (they become runtime parameters or pgx-specific
    options). Parse error messages avoid quoting the unredacted connection string and redact recognizable password
    fields on a best-effort basis. Invalid connection strings can be structurally ambiguous, so password redaction
    cannot be guaranteed for every malformed input.

  • pgconn: keyword/value connection strings (host=... user=...) now match libpq's parser exactly, the same treatment
    the URI parser received above and verified the same way, by differential fuzzing against libpq itself. Most
    connection strings are unaffected. Behavior changes, all matching libpq:

    • A backslash escapes whatever character follows it and is dropped, where previously only \\ and \' were
      unescaped and every other backslash was kept. A value containing a backslash must now escape it, as libpq
      requires: sslcert=C:\path\to\cert reads as C:pathtocert and has to be written sslcert=C:\\path\\to\\cert.
      This mainly affects Windows certificate and key paths, which previously came through intact without doubling.
    • A trailing backslash in an unquoted value escapes the end of the string, so it is dropped and the value ends
      there; it was previously rejected with invalid backslash. Inside a quoted value the escaped terminator leaves
      the string unterminated, which is still an error.
    • Whitespace inside a keyword is an error (missing "=" after "us" in connection info string) instead of becoming
      part of the key. Whitespace around the = is unaffected. This most often shows up with an unquoted value
      containing a space: application_name=my app host=x previously set neither parameter and sent app host to the
      server as a runtime parameter, and now fails to parse.

    As with URIs, unrecognized keywords are still accepted where libpq rejects them, and an empty user= is still
    dropped so that PGUSER and the OS user still apply.

Fixes

  • Keep the connection open after a recoverable PostgreSQL error from Begin or BeginTx
    (Victor Alejandro Sanz Ararat)
  • Call TraceQueryEnd when Exec fails while deallocating invalidated cached statements (Chris Bandy)
  • Deallocate a failed prepare using the statement name actually sent to the server, and skip cleanup if Parse never
    completed, avoiding leaked prepared statements and unnecessary cleanup errors (Eliran Ben-Zikri)
  • Fix LoadTypes overwriting scalar codecs such as box and point with an incorrect ArrayCodec (Arsen Ozhetov)
  • pgconn: retrieve field descriptions when cached descriptions are empty, such as for cursor FETCH statements,
    including batch and pipeline execution (water)
  • pgconn: keep batch statement descriptions and result formats aligned when commands return no rows or when
    Batch.ExecStatement is mixed with other batch commands; preserve field descriptions for empty results
  • pgconn: handle empty and comment-only queries in pipeline mode, discard stale statement data after bind errors,
    and return a nil result from Pipeline.GetResults on error
  • pgconn: skip reading the password file when a pass

❗ Important

✂ PR body was truncated to here.


Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 20 additional dependencies were updated

Details:

Package Change
github.com/andybalholm/brotli v1.2.2 -> v1.2.3
github.com/go-openapi/jsonpointer v1.0.0 -> v1.0.1
github.com/gobwas/glob v0.2.3 -> v1.0.0
github.com/klauspost/compress v1.19.1 -> v1.20.0
github.com/lestrrat-go/dsig v1.2.1 -> v1.4.0
github.com/lestrrat-go/httprc/v3 v3.0.5 -> v3.0.6
github.com/lestrrat-go/jwx/v3 v3.1.1 -> v3.3.0
github.com/mattn/go-colorable v0.1.14 -> v0.1.15
github.com/sirupsen/logrus v1.9.4 -> v1.10.2
github.com/tidwall/gjson v1.18.0 -> v1.19.0
github.com/vektah/gqlparser/v2 v2.5.36 -> v2.5.37
golang.org/x/mod v0.38.0 -> v0.41.0
github.com/aws/aws-sdk-go-v2/internal/configsources v1.5.0 -> v1.5.4
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.8.0 -> v2.8.4
github.com/aws/aws-sdk-go-v2/internal/v4a v1.5.0 -> v1.5.4
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.11.0 -> v1.11.5
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.14.0 -> v1.14.4
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.20.0 -> v1.20.4
modernc.org/libc v1.74.4 -> v1.77.1
modernc.org/memory v1.11.0 -> v1.12.1

@renovate
renovate Bot force-pushed the renovate/go-modules-(non-major) branch 11 times, most recently from 00855ca to f5826ac Compare September 5, 2026 05:01
@renovate
renovate Bot force-pushed the renovate/go-modules-(non-major) branch 4 times, most recently from e0ac6d5 to 2384b3b Compare September 9, 2026 21:16
@coderabbitai

coderabbitai Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: dda4dcb2-48e9-415d-a48a-b902a28560f9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@renovate
renovate Bot force-pushed the renovate/go-modules-(non-major) branch 4 times, most recently from e43838e to 6ec1869 Compare September 17, 2026 23:23
@renovate
renovate Bot force-pushed the renovate/go-modules-(non-major) branch 3 times, most recently from a50f0af to 61dd0c2 Compare September 25, 2026 03:31
@renovate
renovate Bot force-pushed the renovate/go-modules-(non-major) branch 2 times, most recently from 1186808 to 47050ed Compare September 29, 2026 13:02
@renovate
renovate Bot force-pushed the renovate/go-modules-(non-major) branch from 47050ed to 6b67833 Compare September 29, 2026 14:31
…ins TypeMap

- chi v5.3.x changes the route tree the route inventory / offline-routes /
  jellycompat route manifest tooling reads (TestOfflineRouteSet and
  TestMediaRouteManifest fail), so chi stays at v5.2.5. huma v2.39.x
  requires chi >= v5.3, so it is held at v2.38.0 with it.
- pgx v5.11 added Rows.TypeMap(); the secret package's test fakes implement it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@renovate

renovate Bot commented Sep 29, 2026

Copy link
Copy Markdown
Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

…kes gain TypeMap

- govulncheck flags GO-2026-6443 in grpc v1.84.0, reachable through
  pluginhost's GRPCBroker; no tagged release fixes it yet (fix is only in a
  v1.85.0-dev pseudo-version), so grpc stays on v1.83.2 as on main.
- watchstate and plugins test fakes implement pgx v5.11's Rows.TypeMap.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@JonahMMay
JonahMMay merged commit a17912a into main Sep 29, 2026
13 checks passed
@JonahMMay
JonahMMay deleted the renovate/go-modules-(non-major) branch September 29, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant