Skip to content

chore(deps): bump the go-modules group across 1 directory with 2 updates - #3

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/apps/api/go-modules-d1a511c037
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/apps/api/go-modules-d1a511c037

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown

Bumps the go-modules group with 2 updates in the /apps/api directory: github.com/jackc/pgx/v5 and github.com/sakib412/ekman.

Updates github.com/jackc/pgx/v5 from 5.12.0 to 5.13.0

Changelog

Sourced from github.com/jackc/pgx/v5's changelog.

5.13.0 (November 11, 2026)

This release adds automatic client certificate reloading and temporal precision metadata for database/sql. It also fixes a panic on malformed server responses, unsafe retries after connection failures, and range encoding. See Changes for client certificate configuration behavior that may affect existing applications.

Security Fixes

  • Panic in Rows.Values on malformed server responses (GHSA-w9rp-vfrh-q8vv). A server response containing fewer row values than declared fields could cause an index-out-of-range panic in Rows.Values. It now returns an error and closes the rows when the counts differ, including when there are extra values, matching Rows.Scan validation.

Features

  • pgconn: reload client certificates and keys configured through sslcert and sslkey for each TLS certificate request, allowing new connections to pick up rotated credentials without recreating the configuration or restarting the application. Files are still validated during configuration parsing. Relative paths retain their parse-time directory, and reloads follow symlinks (Erin Shepherd)
  • stdlib: expose fractional seconds precision for timestamp, timestamptz, time, timetz, and interval through ColumnTypePrecisionScale and database/sql.ColumnType.DecimalSize. These return precision 0, the fractional seconds precision as scale, and ok=true. The scale defaults to 6 when no fractional seconds precision is declared; precision 0 means numeric precision is not applicable (Danny Xu)

Changes

  • pgconn: file-backed client certificates are no longer stored in the parsed TLSConfig.Certificates slice. Setting TLSConfig.Certificates (including a non-nil empty slice) or TLSConfig.GetClientCertificate overrides automatic reloading. Replacing TLSConfig, including with a direct TLSConfig.Clone, discards the file-backed certificate settings; use pgconn.Config.Copy to preserve them when copying a configuration. Certificate and key files must remain readable for subsequent TLS certificate requests. Encrypted keys reuse the password resolved during configuration parsing; GetSSLPassword is not called again on reload.

Bug Fixes

  • pgconn: do not mark a connection-closed error encountered while receiving a response as safe to retry, since the request may already have reached the server. This prevents database/sql from automatically repeating a statement that may already have executed. The error still supports errors.Is(err, pgconn.ErrConnClosed) (Aayush Shah)
  • pgconn: skip sending a cancel request when a connection fails during startup, avoiding an unnecessary second connection attempt (felipe stival)
  • pgconn: accept unencrypted combined certificate/key PEM files with the certificate before the key, as well as key-first files (Erin Shepherd)
  • pgtype: encode Range[any] values returned by RangeCodec.DecodeValue and Rows.Values in both binary and text formats, allowing decoded ranges and multiranges to be reused as query arguments or in CopyFrom (waw666waw666)
  • stdlib: report ok=false for the precision and scale of unconstrained numeric columns instead of bogus values (Danny Xu)
  • stdlib: report math.MaxInt64 for the lengths of unconstrained varchar, bpchar, and varbit columns instead of negative lengths (PerryLink)

... (truncated)

Commits
  • 1e38d71 Update changelog for v5.13.0
  • e2bb010 Fix Rows.Values panic on mismatched field counts
  • 5b0fd94 Merge pull request #2709 from waw666waw666/fix-range-any-encode
  • 427f50d Merge pull request #2715 from v0idpwn/pgconn-no-cancel-on-failed-connect
  • 86b4411 Merge pull request #2713 from ksamirdev/fix-append-rows-by-name-bench
  • a3b88dc Merge pull request #2714 from PerryLink/stdlib-column-type-length-unbounded
  • 2f429e5 Merge pull request #2710 from dajiaohuang/codex/2705-pingtimeout-docs
  • 85c3e62 stdlib: close rows in precision and scale test
  • 4f41feb stdlib: clarify zero precision for temporal types
  • 22ccfd1 stdlib: document temporal precision and scale metadata
  • Additional commits viewable in compare view

Updates github.com/sakib412/ekman from 0.1.0 to 0.2.0

Release notes

Sourced from github.com/sakib412/ekman's releases.

v0.2.0

Three gaps found by the first production consumer, closed without new dependencies.

Added

  • ekman.Enum (EnumValues() []string): named string types become components.schemas entries with enum, so openapi-typescript emits unions. Handle rejects other values: 400 invalid_param for path/query/header parameters, 422 invalid_input for JSON body fields at any depth (keys like items[0].kind), merged with Validate. "" passes. Enum types with no or duplicate values fail at boot.
  • Typed handlers can take the request: an exported In field of type *http.Request receives it and leaves the body unread (multipart uploads with storage.Receive). Such an In may not have JSON body fields; that, a second request field or a tagged one fail at boot.
  • ekman.Accepts[T](https://github.com/sakib412/ekman/blob/HEAD/mediaType) and ekman.Produces[T](https://github.com/sakib412/ekman/blob/HEAD/mediaType) route options document bodies the handler reads or writes itself (Raw routes; Accepts also on request-taking Handle routes). ekman.File stands for binary data (format: binary), string for text. RouteInfo.Accepts/RouteInfo.Produces ([]ekman.Content) expose them to middleware.
  • Options.OpenAPIHook func(doc map[string]any) error edits the generated document once at boot; /openapi.json and App.OpenAPI both carry the result.
  • ekmantest.Client.WithHeader(key, value) for requests that need extra headers, such as a multipart Content-Type.
  • examples/todo exercises all of the above: a Priority enum, PUT /todos/{id}/attachment upload, GET /todos.csv export, and a servers entry added by the hook.

Changed

  • Operations whose JSON body contains an Enum list a 422 response even when In has no Validate method.
  • storage.Receive may now be called from a Handle route (through the *http.Request field) as well as from Router.Raw.

Full changelog: sakib412/ekman@v0.1.0...v0.2.0

Changelog

Sourced from github.com/sakib412/ekman's changelog.

[0.2.0] - 2026-11-02

Three gaps found by the first production consumer, closed without new dependencies.

Added

  • ekman.Enum (EnumValues() []string): named string types become components.schemas entries with enum, so openapi-typescript emits unions. Handle rejects other values: 400 invalid_param for path/query/header parameters, 422 invalid_input for JSON body fields at any depth (keys like items[0].kind), merged with Validate. "" passes. Enum types with no or duplicate values fail at boot.
  • Typed handlers can take the request: an exported In field of type *http.Request receives it and leaves the body unread (multipart uploads with storage.Receive). Such an In may not have JSON body fields; that, a second request field or a tagged one fail at boot.
  • ekman.Accepts[T](https://github.com/sakib412/ekman/blob/main/mediaType) and ekman.Produces[T](https://github.com/sakib412/ekman/blob/main/mediaType) route options document bodies the handler reads or writes itself (Raw routes; Accepts also on request-taking Handle routes). ekman.File stands for binary data (format: binary), string for text. RouteInfo.Accepts/RouteInfo.Produces ([]ekman.Content) expose them to middleware.
  • Options.OpenAPIHook func(doc map[string]any) error edits the generated document once at boot; /openapi.json and App.OpenAPI both carry the result.
  • ekmantest.Client.WithHeader(key, value) for requests that need extra headers, such as a multipart Content-Type.
  • examples/todo exercises all of the above: a Priority enum, PUT /todos/{id}/attachment upload, GET /todos.csv export, and a servers entry added by the hook.

Changed

  • Operations whose JSON body contains an Enum list a 422 response even when In has no Validate method.
  • storage.Receive may now be called from a Handle route (through the *http.Request field) as well as from Router.Raw.
Commits
  • 14b74f8 test: silence staticcheck U1000 on the deliberately unused schema field
  • baecb1a docs: describe v0.2 in the contract, README and a new CHANGELOG
  • d43df02 docs(examples): exercise enums, uploads, CSV export and the OpenAPI hook in todo
  • 99d7150 feat(ekmantest): add Client.WithHeader for non-JSON request bodies
  • 836e993 feat(openapi): add Options.OpenAPIHook to post-process the document
  • 2d289f6 feat(openapi): document Raw and request-taking bodies with Accepts and Produces
  • 61796d1 feat(handle): let typed handlers take the *http.Request through an In field
  • 26b6c67 feat(openapi): Enum types as named string schemas, checked on input
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the go-modules group with 2 updates in the /apps/api directory: [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) and [github.com/sakib412/ekman](https://github.com/sakib412/ekman).


Updates `github.com/jackc/pgx/v5` from 5.12.0 to 5.13.0
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.12.0...v5.13.0)

Updates `github.com/sakib412/ekman` from 0.1.0 to 0.2.0
- [Release notes](https://github.com/sakib412/ekman/releases)
- [Changelog](https://github.com/sakib412/ekman/blob/main/CHANGELOG.md)
- [Commits](sakib412/ekman@v0.1.0...v0.2.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: github.com/sakib412/ekman
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from sakib412 as a code owner November 16, 2026 02:19
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants