Skip to content

Update module gopkg.in/evanphx/json-patch.v4 to v5#1638

Open
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/gopkg.in-evanphx-json-patch.v4-5.x
Open

Update module gopkg.in/evanphx/json-patch.v4 to v5#1638
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/gopkg.in-evanphx-json-patch.v4-5.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented May 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
gopkg.in/evanphx/json-patch.v4 v4.13.0v5.9.11 age confidence

Warning

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


Release Notes

evanphx/json-patch (gopkg.in/evanphx/json-patch.v4)

v5.9.11

Compare Source

What's Changed

Full Changelog: evanphx/json-patch@v5.9.10...v5.9.11

v5.9.10

Compare Source

What's Changed

New Contributors

Full Changelog: evanphx/json-patch@v5.9.0...v5.9.10

v5.9.0

Compare Source

What's Changed

Full Changelog: evanphx/json-patch@v5.8.1...v5.9.0

v5.8.1: Fix API breakage

Compare Source

This PR fixes Operation containing a reference to internal/json and breaking the ability to manually compose one. This restores that ability using a type alias.

Full Changelog: evanphx/json-patch@v5.8.0...v5.8.1

v5.8.0: Blargh Phixs and Empathyprovements

Compare Source

This release fixes a few stray panics, addresses large number accuracy, and improves performance!

What's Changed

Full Changelog: evanphx/json-patch@v5.7.0...v5.8.0

v5.7.0: The 2023 Release

Compare Source

What's Changed

New Contributors

Full Changelog: evanphx/json-patch@v5.6.0...v5.7.0

v5.6.0: Bug fixes

Compare Source

What's Changed

New Contributors

Full Changelog: evanphx/json-patch@v5.5.0...v5.6.0

v5.5.0: Better null handling

Compare Source

This incorporates a few fixes related to how nulls are handles in array's and objects.

v5.3.0: Fix zero sized document crash

Compare Source

This fixes a crash bug where submitted an empty slice as the document would panic.

v5.2.0

Compare Source

v5.1.0

Compare Source

v5.0.0: Proper Go modules release

Compare Source

This release has a proper /v5 directory, unlike the previous releases that did not have a /v4 dir. Thanks to @​BenTheElder for getting this sorted out!


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.

@red-hat-konflux red-hat-konflux Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. labels May 14, 2026
@openshift-ci openshift-ci Bot requested review from blublinsky and joshuawilson May 14, 2026 20:20
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD e95793d and 2 for PR HEAD a2087f2 in total

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 16a2044 and 1 for PR HEAD a2087f2 in total

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 0ad58ba and 0 for PR HEAD a2087f2 in total

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/hold

Revision a2087f2 was retested 3 times: holding

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 19, 2026
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/main/gopkg.in-evanphx-json-patch.v4-5.x branch from a2087f2 to 0e3a91b Compare May 27, 2026 04:23
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label May 27, 2026
@openshift-ci

openshift-ci Bot commented May 27, 2026

Copy link
Copy Markdown

New changes are detected. LGTM label has been removed.

@red-hat-konflux red-hat-konflux Bot changed the title Update module gopkg.in/evanphx/json-patch.v4 to v5 Update module gopkg.in/evanphx/json-patch.v4 to v5 - autoclosed May 28, 2026
@red-hat-konflux red-hat-konflux Bot closed this May 28, 2026
@red-hat-konflux red-hat-konflux Bot deleted the konflux/mintmaker/main/gopkg.in-evanphx-json-patch.v4-5.x branch May 28, 2026 00:30
@red-hat-konflux red-hat-konflux Bot changed the title Update module gopkg.in/evanphx/json-patch.v4 to v5 - autoclosed Update module gopkg.in/evanphx/json-patch.v4 to v5 May 28, 2026
@red-hat-konflux red-hat-konflux Bot reopened this May 28, 2026
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/main/gopkg.in-evanphx-json-patch.v4-5.x branch 2 times, most recently from 0e3a91b to 328d922 Compare May 28, 2026 04:16
@coderabbitai

coderabbitai Bot commented May 28, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

This PR updates a single indirect dependency in go.mod: gopkg.in/evanphx/json-patch is bumped from v4.13.0 to v5.9.11. The change involves replacing the v4 requirement with v5 in the module dependency list.

Changes

JSON Patch Dependency Upgrade

Layer / File(s) Summary
Update json-patch to v5
go.mod
The indirect dependency gopkg.in/evanphx/json-patch is upgraded from v4.13.0 to v5.9.11.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

  • joshuawilson
  • blublinsky
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly and accurately describes the main change: updating the gopkg.in/evanphx/json-patch dependency from version 4 to version 5.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/mintmaker/main/gopkg.in-evanphx-json-patch.v4-5.x

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@go.mod`:
- Line 117: Remove the redundant gopkg.in module requirement and keep only the
canonical github module: delete the gopkg.in/evanphx/json-patch.v5 v5.9.11 entry
from go.mod, ensure github.com/evanphx/json-patch/v5 v5.9.11 remains, then run
go mod tidy (or otherwise update module files) so the go.sum/go.mod are
consistent and no gopkg.in reference remains.
- Line 117: The go.mod shows an indirect upgrade to
gopkg.in/evanphx/json-patch.v5 (gopkg.in/evanphx/json-patch.v5 v5.9.11 and
github.com/evanphx/json-patch/v5 v5.9.11) but there are no direct imports in the
repo; run a full dependency scan (go list -m all / search for
evanphx/json-patch) to confirm no direct usage, then run the complete test
matrix (unit and integration tests) to detect transitive breakages; if tests
fail, identify the dependent module pulling in json-patch.v5 and either update
that dependency to a compatible version or pin json-patch back to v4 via a
replace directive or vendor the compatible module until the transitive
dependency is fixed.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 2ee61b7f-f1e0-4c85-b348-7ceda1584809

📥 Commits

Reviewing files that changed from the base of the PR and between 15eaec5 and 328d922.

📒 Files selected for processing (1)
  • go.mod

Comment thread go.mod
@raptorsun

Copy link
Copy Markdown
Contributor

/retest

7 similar comments
@raptorsun

Copy link
Copy Markdown
Contributor

/retest

@raptorsun

Copy link
Copy Markdown
Contributor

/retest

@raptorsun

Copy link
Copy Markdown
Contributor

/retest

@raptorsun

Copy link
Copy Markdown
Contributor

/retest

@raptorsun

Copy link
Copy Markdown
Contributor

/retest

@raptorsun

Copy link
Copy Markdown
Contributor

/retest

@raptorsun

Copy link
Copy Markdown
Contributor

/retest

@red-hat-konflux red-hat-konflux Bot changed the title Update module gopkg.in/evanphx/json-patch.v4 to v5 chore(deps): update module gopkg.in/evanphx/json-patch.v4 to v5 Jun 15, 2026
@red-hat-konflux red-hat-konflux Bot changed the title chore(deps): update module gopkg.in/evanphx/json-patch.v4 to v5 Update module gopkg.in/evanphx/json-patch.v4 to v5 Jun 19, 2026
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/main/gopkg.in-evanphx-json-patch.v4-5.x branch from 328d922 to 855f92c Compare June 25, 2026 20:33
@openshift-ci

openshift-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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

The pull request process is described 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

@openshift-ci

openshift-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown

@red-hat-konflux[bot]: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/unit 855f92c link true /test unit
ci/prow/images 855f92c link true /test images
ci/prow/ci-index-lightspeed-bundle-test 855f92c link true /test ci-index-lightspeed-bundle-test
ci/prow/bundle-e2e-4-21 855f92c link true /test bundle-e2e-4-21
ci/prow/fips-image-scan-operator 855f92c link true /test fips-image-scan-operator
ci/prow/generate 855f92c link true /test generate

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant