Skip to content

Bump go.yaml.in/yaml/v4 from 4.0.0-rc.3 to 4.0.0-rc.4#2579

Open
dependabot[bot] wants to merge 2 commits intomasterfrom
dependabot/go_modules/go.yaml.in/yaml/v4-4.0.0-rc.4
Open

Bump go.yaml.in/yaml/v4 from 4.0.0-rc.3 to 4.0.0-rc.4#2579
dependabot[bot] wants to merge 2 commits intomasterfrom
dependabot/go_modules/go.yaml.in/yaml/v4-4.0.0-rc.4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2026

Bumps go.yaml.in/yaml/v4 from 4.0.0-rc.3 to 4.0.0-rc.4.

Commits
  • 068e4d6 Simplify simple key tracking
  • 866cff5 Fix TestMain temp directory cleanup
  • 9c1fa03 Use filepath.Join for glob patterns
  • 7c27cae Remove hasUsefulContent function
  • 9bb5df8 Use strings.Split in parseOptionFlags
  • c249913 Use variadic opts parameter in processJSONDecode
  • 103d036 Fix CLI -Y to work with -o explicit
  • dbaa6f5 Fix how CLI gets event data
  • df0367f Fix duplicate document markers in CLI
  • 5bf57e5 Check errors from Close() calls on success paths
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 22, 2026
@mikefarah
Copy link
Copy Markdown
Owner

@copilot one of the tests is failing in this commit, can you update it

@dependabot dependabot bot force-pushed the dependabot/go_modules/go.yaml.in/yaml/v4-4.0.0-rc.4 branch from 1d98d12 to 4b6ef29 Compare January 31, 2026 22:02
@dependabot dependabot bot force-pushed the dependabot/go_modules/go.yaml.in/yaml/v4-4.0.0-rc.4 branch 2 times, most recently from 18ed2b3 to ab7431d Compare February 14, 2026 00:43
@mikefarah
Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/go.yaml.in/yaml/v4-4.0.0-rc.4 branch from ab7431d to 948b1b6 Compare February 14, 2026 07:54
@mikefarah
Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml) from 4.0.0-rc.3 to 4.0.0-rc.4.
- [Commits](yaml/go-yaml@v4.0.0-rc.3...v4.0.0-rc.4)

---
updated-dependencies:
- dependency-name: go.yaml.in/yaml/v4
  dependency-version: 4.0.0-rc.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/go.yaml.in/yaml/v4-4.0.0-rc.4 branch from 948b1b6 to 14b164b Compare March 27, 2026 11:13
@mikefarah
Copy link
Copy Markdown
Owner

@copilot can you update these tests to pass:

-- FAIL: TestParseSnippet (0.00s)
    lib_test.go:105: :
    utils.go:22: --- expected
        +++ actual
        @@ -1,1 +0,0 @@
        -yaml: did not find expected key
        @@ -0,0 +1,1 @@
        +yaml: while parsing a block mapping at <unknown position>: did not find expected key
        
time=2026-03-27T11:15:36.178Z level=WARN msg="--yaml-fix-merge-anchor-to-spec is false; causing merge anchors to override the existing values which isn't to the yaml spec. This flag will default to true in late 2025."
--- FAIL: TestMultiplyOperatorScenarios (0.03s)
    operators_test.go:152: desc: 
        exp: .b * .c
        doc: a: &cat {name: cat}
        b: {name: dog}
        c: 
          <<: *cat
        
    utils.go:22: --- expected
        +++ actual
        @@ -1,2 +1,2 @@
        -[D0, P[b], (!!map)::{name: dog, <<: *cat}
        +[D0, P[b], (!!map)::{name: dog, "<<": *cat}
         ]
        

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 10, 2026

@copilot can you update these tests to pass:

...

Fixed in 0db5b06. Two tests needed updating for the rc.4 library changes:

  • TestParseSnippet: error message now includes more context — "yaml: while parsing a block mapping at <unknown position>: did not find expected key"
  • TestMultiplyOperatorScenarios: merge key << is now quoted as "<<" in the library output

Copilot AI requested a review from mikefarah April 10, 2026 10:14
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.

2 participants