Skip to content

Upgrade json-patch to v4.13.0 to remove pkg/errors dependency - #6057

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
dims:remove-pkg-errors-dep
Feb 5, 2026
Merged

Upgrade json-patch to v4.13.0 to remove pkg/errors dependency#6057
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
dims:remove-pkg-errors-dep

Conversation

@dims

@dims dims commented Feb 4, 2026

Copy link
Copy Markdown
Member

The github.com/pkg/errors package is unmaintained and archived. It was pulled in as a transitive dependency through json-patch v4.12.0. Upgrading to v4.13.0 removes this dependency while maintaining API compatibility.

json-patch commit: evanphx/json-patch@106306d

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 4, 2026
@dims
dims force-pushed the remove-pkg-errors-dep branch from 04f3d7f to 3ddd0ad Compare February 4, 2026 14:50
@koba1t

koba1t commented Feb 4, 2026

Copy link
Copy Markdown
Member

Thanks @dims
Please exec make workspace-sync to sync every go.mod and fix CI failure.

The github.com/pkg/errors package is unmaintained and archived.
It was pulled in as a transitive dependency through json-patch v4.12.0.
Upgrading to v4.13.0 removes this dependency while maintaining API
compatibility.

json-patch commit: evanphx/json-patch@106306d

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
@dims
dims force-pushed the remove-pkg-errors-dep branch from 3ddd0ad to 297f2b5 Compare February 4, 2026 19:14
@dims

dims commented Feb 4, 2026

Copy link
Copy Markdown
Member Author

Please exec make workspace-sync to sync every go.mod and fix CI failure.

thanks @koba1t !

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 4, 2026
@koba1t

koba1t commented Feb 5, 2026

Copy link
Copy Markdown
Member

Thank you for your help!

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 5, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dims, koba1t

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 5, 2026
@k8s-ci-robot
k8s-ci-robot merged commit 02d23d2 into kubernetes-sigs:master Feb 5, 2026
22 checks passed
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Feb 10, 2026
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [kubernetes-sigs/kustomize](https://github.com/kubernetes-sigs/kustomize) | patch | `v5.8.0` → `v5.8.1` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>kubernetes-sigs/kustomize (kubernetes-sigs/kustomize)</summary>

### [`v5.8.1`](https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize/v5.8.1)

[Compare Source](kubernetes-sigs/kustomize@kustomize/v5.8.0...kustomize/v5.8.1)

#### Introduction

This release completes a fix for namespace propagation that occurred in v5.8.0. [#&#8203;6031 (comment)](kubernetes-sigs/kustomize#6031 (comment))
Also addressed the breaking changes introduced in helm v4. [#&#8203;6016](kubernetes-sigs/kustomize#6016)

#### fix

[#&#8203;5990](kubernetes-sigs/kustomize#5990): fix: allow empty patches files
[#&#8203;6016](kubernetes-sigs/kustomize#6016): fix: support helm v4 beside v3
[#&#8203;6038](kubernetes-sigs/kustomize#6038): Fix a failing test
[#&#8203;6044](kubernetes-sigs/kustomize#6044): Fix namespace propagation problem at v5.8.0

#### Dependencies

[#&#8203;6057](kubernetes-sigs/kustomize#6057): Upgrade json-patch to v4.13.0 to remove pkg/errors dependency

#### chore

[#&#8203;6065](kubernetes-sigs/kustomize#6065): Update kyaml to v0.21.1
[#&#8203;6066](kubernetes-sigs/kustomize#6066): Update cmd/config to v0.21.1
[#&#8203;6067](kubernetes-sigs/kustomize#6067): Update api to v0.21.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

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

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Ni4yIiwidXBkYXRlZEluVmVyIjoiNDIuOTYuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6OnBhdGNoIl19-->
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants