Skip to content

Update module github.com/oasdiff/yaml3 to v0.0.13#1174

Open
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/github.com-oasdiff-yaml3-0.x
Open

Update module github.com/oasdiff/yaml3 to v0.0.13#1174
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/github.com-oasdiff-yaml3-0.x

Conversation

@red-hat-konflux
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/oasdiff/yaml3 v0.0.0-20250309153720-d2182401db90v0.0.13 age confidence

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

oasdiff/yaml3 (github.com/oasdiff/yaml3)

v0.0.13: — Decoder.DisableTimestamps opt-out

Compare Source

What's new

Adds a Decoder.DisableTimestamps(bool) opt-out for YAML 1.1's implicit timestamp resolution.

YAML 1.1 auto-resolves unquoted date-shaped scalars (e.g. 1344-08-22) to time.Time, including when they appear as map keys. Real-world OpenAPI / JSON Schema specs sometimes use date-shaped strings as map keys (revision dates, version IDs, etc.); the auto-resolution silently turns the parsed value into a time.Time-keyed map, breaking any downstream string-keyed lookup.

When the new option is set, untagged date-shaped scalars resolve to strings instead. Explicit !!timestamp tags in the source still resolve to time.Time, since the explicit tag is the caller's intent.

API

dec := yaml.NewDecoder(r)
dec.DisableTimestamps(true)
dec.Decode(&v)

Default Decode() behaviour is unchanged: disableTimestamps defaults to false.

Origin

Closes the gap kin-openapi originally raised in invopop/yaml#10. invopop/yaml is no longer maintained, so kin-openapi switched to oasdiff/yaml (the wrapper) and this is the fix path for them.

Downstream

The wrapper oasdiff/yaml v0.1.0 exposes the same option on its Unmarshal entry point via DecodeOpts.DisableTimestamps.

PR

#​8

v0.0.12

Compare Source

v0.0.11

Compare Source

v0.0.10

Compare Source

v0.0.9

Compare Source

v0.0.8

Compare Source

v0.0.6

Compare Source

fix: include scalar value in sequence item encoding for named lookup

v0.0.5

Compare Source

feat: include file path as first element in compact origin sequence

v0.0.4

Compare Source

v0.0.3

Compare Source

v0.0.2

Compare Source


Configuration

📅 Schedule: Branch creation - "before 6am on Saturday" (UTC), 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

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.

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux Bot requested a review from a team as a code owner May 16, 2026 00:14
@red-hat-konflux red-hat-konflux Bot requested review from AvielSegev and tupyy and removed request for a team May 16, 2026 00:14
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 16, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign jos-jerus for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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.

0 participants