Skip to content

chore(deps): bump the go-modules group with 5 updates#16

Merged
ozgen merged 2 commits into
mainfrom
dependabot/go_modules/go-modules-cd214ae022
May 17, 2026
Merged

chore(deps): bump the go-modules group with 5 updates#16
ozgen merged 2 commits into
mainfrom
dependabot/go_modules/go-modules-cd214ae022

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 13, 2026

Copy link
Copy Markdown
Contributor

Bumps the go-modules group with 5 updates:

Package From To
github.com/getkin/kin-openapi 0.137.0 0.138.0
github.com/oasdiff/yaml 0.0.9 0.1.0
github.com/oasdiff/yaml3 0.0.12 0.0.13
golang.org/x/sys 0.43.0 0.44.0
golang.org/x/text 0.36.0 0.37.0

Updates github.com/getkin/kin-openapi from 0.137.0 to 0.138.0

Release notes

Sourced from github.com/getkin/kin-openapi's releases.

v0.138.0

What's Changed

Full Changelog: getkin/kin-openapi@v0.137.0...v0.138.0

Commits
  • d237575 openapi3conv: test Upgrade on many documents (#1169)
  • 72d9005 feat(openapi3conv): canonicalization pass for 3.0 -> 3.x (#1162)
  • 03ab662 feat(openapi3): add per-type validation errors with cluster wrappers (#1166)
  • 3405d3b test: move public-API tests to external _test packages (#1168)
  • 4ddafd1 openapi3: add test for issue #927 (nullable not respected on $ref schemas)
  • 3342b7c openapi3gen: clear nullable on exported component bodies
  • See full diff in compare view

Updates github.com/oasdiff/yaml from 0.0.9 to 0.1.0

Release notes

Sourced from github.com/oasdiff/yaml's releases.

v0.1.0 — Single Unmarshal API + DisableTimestamps (BREAKING)

⚠ BREAKING CHANGE

This release collapses three unmarshal entry points (Unmarshal, UnmarshalWithOriginTree, UnmarshalWithDecodeOpts) into a single Unmarshal that takes a DecodeOpts struct. It also adds DisableTimestamps to DecodeOpts so callers can opt out of YAML 1.1 implicit-timestamp resolution.

Any external caller of the package needs to update call sites. Migration is mechanical.

Final API

func Unmarshal(y []byte, o interface{}, decode DecodeOpts, opts ...JSONOpt) (*OriginTree, error)
type DecodeOpts struct {
Origin            OriginOpt // opt into origin tracking
DisableTimestamps bool      // opt out of YAML 1.1 implicit timestamps
}
type OriginOpt struct {
Enabled bool
File    string
}

The *OriginTree return is nil when Origin.Enabled is false. The variadic JSONOpt list still configures the JSON unmarshal step.

Why one entry point

UnmarshalWithDecodeOpts already covered every case Unmarshal and UnmarshalWithOriginTree did, and the only public consumer (getkin/kin-openapi) migrates cleanly in a few sites. Maintaining three near-identical wrappers added godoc surface and naming overhead without ergonomic benefit. Folding to one signature also exposes DisableTimestamps to every caller uniformly, which is the right shape now that real-world OpenAPI specs need it (date-shaped strings as map keys are otherwise silently resolved to time.Time and break string-keyed lookup).

Migration cheatsheet

// Plain decode
- err := yaml.Unmarshal(y, &v)
+ _, err := yaml.Unmarshal(y, &v, yaml.DecodeOpts{})
// Origin tracking

tree, err := yaml.UnmarshalWithOriginTree(y, &v, yaml.OriginOpt{Enabled: true, File: f})


tree, err := yaml.Unmarshal(y, &v, yaml.DecodeOpts{Origin: yaml.OriginOpt{Enabled: true, File: f}})

// New: opt out of YAML 1.1 timestamp resolution

_, err := yaml.Unmarshal(y, &v, yaml.DecodeOpts{DisableTimestamps: true})

Dependencies

Bumps the underlying oasdiff/yaml3 to v0.0.13, which adds the Decoder.DisableTimestamps(bool) decoder option this release exposes.

PR

... (truncated)

Commits
  • 21c11f3 refactor!: consolidate to a single Unmarshal entry point + add DisableTimesta...
  • See full diff in compare view

Updates github.com/oasdiff/yaml3 from 0.0.12 to 0.0.13

Commits
  • e418b53 feat: Decoder.DisableTimestamps(bool) opt-out for implicit timestamp resoluti...
  • See full diff in compare view

Updates golang.org/x/sys from 0.43.0 to 0.44.0

Commits
  • fb1facd windows: avoid uint16 overflow in NewNTUnicodeString
  • 94ad893 windows: add GetIfTable2Ex, GetIpInterface{Entry,Table}, GetUnicastIpAddressT...
  • 54fe89f cpu: use IsProcessorFeaturePresent to calculate ARM64 on windows
  • df7d5d7 unix: automatically remove container created by mkall.sh
  • 68a4a8e unix: avoid nil pointer dereference in Utime
  • 690c91f unix: add CPUSetDynamic for systems with more than 1024 CPUs
  • See full diff in compare view

Updates golang.org/x/text from 0.36.0 to 0.37.0

Commits

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 5 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) | `0.137.0` | `0.138.0` |
| [github.com/oasdiff/yaml](https://github.com/oasdiff/yaml) | `0.0.9` | `0.1.0` |
| [github.com/oasdiff/yaml3](https://github.com/oasdiff/yaml3) | `0.0.12` | `0.0.13` |
| [golang.org/x/sys](https://github.com/golang/sys) | `0.43.0` | `0.44.0` |
| [golang.org/x/text](https://github.com/golang/text) | `0.36.0` | `0.37.0` |


Updates `github.com/getkin/kin-openapi` from 0.137.0 to 0.138.0
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](getkin/kin-openapi@v0.137.0...v0.138.0)

Updates `github.com/oasdiff/yaml` from 0.0.9 to 0.1.0
- [Release notes](https://github.com/oasdiff/yaml/releases)
- [Commits](oasdiff/yaml@v0.0.9...v0.1.0)

Updates `github.com/oasdiff/yaml3` from 0.0.12 to 0.0.13
- [Release notes](https://github.com/oasdiff/yaml3/releases)
- [Commits](oasdiff/yaml3@v0.0.12...v0.0.13)

Updates `golang.org/x/sys` from 0.43.0 to 0.44.0
- [Commits](golang/sys@v0.43.0...v0.44.0)

Updates `golang.org/x/text` from 0.36.0 to 0.37.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.36.0...v0.37.0)

---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
  dependency-version: 0.138.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: github.com/oasdiff/yaml
  dependency-version: 0.1.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: github.com/oasdiff/yaml3
  dependency-version: 0.0.13
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: golang.org/x/sys
  dependency-version: 0.44.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: go-modules
- dependency-name: golang.org/x/text
  dependency-version: 0.37.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels May 13, 2026
@dependabot dependabot Bot requested a review from a team as a code owner May 13, 2026 04:28
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels May 13, 2026
The build fails because kin-openapi v0.138.0 still depends on the old oasdiff/yaml API and calls yaml.UnmarshalWithOriginTree.

oasdiff/yaml v0.1.0 removed or changed that API, so this PR should keep github.com/oasdiff/yaml at v0.0.9 and github.com/oasdiff/yaml3 at v0.0.12 until kin-openapi supports the newer oasdiff/yaml API.
@ozgen ozgen merged commit 55a385e into main May 17, 2026
5 of 6 checks passed
@dependabot dependabot Bot deleted the dependabot/go_modules/go-modules-cd214ae022 branch May 17, 2026 14:50
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.

1 participant