Update module github.com/oasdiff/yaml3 to v0.0.13#1174
Open
red-hat-konflux[bot] wants to merge 1 commit into
Open
Update module github.com/oasdiff/yaml3 to v0.0.13#1174red-hat-konflux[bot] wants to merge 1 commit into
red-hat-konflux[bot] wants to merge 1 commit into
Conversation
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
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-20250309153720-d2182401db90→v0.0.13Warning
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-outCompare 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) totime.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 atime.Time-keyed map, breaking any downstream string-keyed lookup.When the new option is set, untagged date-shaped scalars resolve to strings instead. Explicit
!!timestamptags in the source still resolve totime.Time, since the explicit tag is the caller's intent.API
Default
Decode()behaviour is unchanged:disableTimestampsdefaults tofalse.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/yamlv0.1.0 exposes the same option on itsUnmarshalentry point viaDecodeOpts.DisableTimestamps.PR
#8
v0.0.12Compare Source
v0.0.11Compare Source
v0.0.10Compare Source
v0.0.9Compare Source
v0.0.8Compare Source
v0.0.6Compare Source
fix: include scalar value in sequence item encoding for named lookup
v0.0.5Compare Source
feat: include file path as first element in compact origin sequence
v0.0.4Compare Source
v0.0.3Compare Source
v0.0.2Compare 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.
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.