Skip to content

chore: bump oasdiff/yaml3 to v0.0.16 (block scalar tab, unhashable merged key, mapping end) - #18

Merged
reuvenharrison merged 1 commit into
mainfrom
chore/yaml3-v0.0.15
Oct 26, 2026
Merged

reuvenharrison merged 1 commit into
mainfrom
chore/yaml3-v0.0.15

Conversation

@reuvenharrison

@reuvenharrison reuvenharrison commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Picks up the three fixes released in oasdiff/yaml3 v0.0.15 and v0.0.16:

Through this package the second one turns a panic into an error:

Unmarshal([]byte("<<:\n  ? [1]\n  : v\n1: x\n"), &out, DecodeOpts{})
before: panic: runtime error: hash of unhashable type []interface {}
after:  error converting YAML to JSON: yaml: runtime error: hash of unhashable type []interface {}

Both the panic and the out-of-bounds end were found by fuzzing kin-openapi's loader, where they have been failing its origins target on master. With these three in place that target ran 3,128,089 executions clean.

go mod tidy, the suite and golangci-lint are all clean. The branch name still says v0.0.15, from before v0.0.16 existed; renaming it would mean a new PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_017e285CvofYf6joqC98gTXz

…rged key, mapping end)

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017e285CvofYf6joqC98gTXz
@reuvenharrison reuvenharrison changed the title chore: bump oasdiff/yaml3 to v0.0.15 (block scalar tab + unhashable merged key) chore: bump oasdiff/yaml3 to v0.0.16 (block scalar tab, unhashable merged key, mapping end) Oct 26, 2026
@reuvenharrison
reuvenharrison merged commit a7ba7d6 into main Oct 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant