Update module github.com/oasdiff/yaml to v0.1.1 - autoclosed#307
Closed
red-hat-konflux[bot] wants to merge 1 commit into
Closed
Update module github.com/oasdiff/yaml to v0.1.1 - autoclosed#307red-hat-konflux[bot] wants to merge 1 commit into
red-hat-konflux[bot] wants to merge 1 commit into
Conversation
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
acb2aa1 to
fef33da
Compare
fef33da to
edd9123
Compare
edd9123 to
04defe1
Compare
04defe1 to
14e020d
Compare
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
14e020d to
8c492c6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.0.0-20250309154309-f31be36b4037→v0.1.1Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
oasdiff/yaml (github.com/oasdiff/yaml)
v0.1.1Compare Source
Bump oasdiff/yaml3 to v0.0.14 (node end positions + origin block-end span). Forwards the new origin end entries to consumers; no API change.
v0.1.0: — Single Unmarshal API + DisableTimestamps (BREAKING)Compare Source
⚠ BREAKING CHANGE
This release collapses three unmarshal entry points (
Unmarshal,UnmarshalWithOriginTree,UnmarshalWithDecodeOpts) into a singleUnmarshalthat takes aDecodeOptsstruct. It also addsDisableTimestampstoDecodeOptsso 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
The
*OriginTreereturn isnilwhenOrigin.Enabledis false. The variadicJSONOptlist still configures the JSON unmarshal step.Why one entry point
UnmarshalWithDecodeOptsalready covered every caseUnmarshalandUnmarshalWithOriginTreedid, 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 exposesDisableTimestampsto 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 totime.Timeand break string-keyed lookup).Migration cheatsheet
Dependencies
Bumps the underlying
oasdiff/yaml3to v0.0.13, which adds theDecoder.DisableTimestamps(bool)decoder option this release exposes.PR
#9
v0.0.9Compare Source
v0.0.8Compare Source
v0.0.7Compare Source
fix: convert non-string map keys to string in OriginTree (integer HTTP status codes)
v0.0.6Compare Source
fix: handle map[interface{}]interface{} in extractOrigins for integer YAML keys (e.g. HTTP status codes)
v0.0.5-beta.1Compare Source
v0.0.4Compare Source
v0.0.3Compare Source
v0.0.2Compare Source
Configuration
📅 Schedule: (in timezone Asia/Kolkata)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.