Skip to content

chore(deps): update go-openapi packages#776

Open
red-hat-konflux[bot] wants to merge 1 commit into
release/1.1.zfrom
konflux/mintmaker/release/1.1.z/go-openapi
Open

chore(deps): update go-openapi packages#776
red-hat-konflux[bot] wants to merge 1 commit into
release/1.1.zfrom
konflux/mintmaker/release/1.1.z/go-openapi

Conversation

@red-hat-konflux
Copy link
Copy Markdown
Contributor

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

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
github.com/go-openapi/jsonpointer v0.21.1v0.23.1 age confidence
github.com/go-openapi/jsonreference v0.21.0v0.21.5 age confidence
github.com/go-openapi/swag v0.23.1v0.26.0 age confidence

Warning

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


Release Notes

go-openapi/jsonpointer (github.com/go-openapi/jsonpointer)

v0.23.1

Compare Source

0.23.1 - 2026-04-18

Full Changelog: go-openapi/jsonpointer@v0.23.0...v0.23.1

5 commits in this release.


Fixed bugs
  • fix(offset): in Offset method, fixed index of value of array element. by @​fredbi in #​128 ...
Documentation
Updates

People who contributed to this release

jsonpointer license terms

License

v0.23.0

Compare Source

0.23.0 - 2026-04-15

Support for known limitations

Full Changelog: go-openapi/jsonpointer@v0.22.5...v0.23.0

16 commits in this release.


Implemented enhancements
Fixed bugs
Documentation
Miscellaneous tasks
Updates

People who contributed to this release

New Contributors

jsonpointer license terms

License

v0.22.5

Compare Source

0.22.5 - 2026-03-02

Full Changelog: go-openapi/jsonpointer@v0.22.4...v0.22.5

15 commits in this release.


Documentation
Code quality
Miscellaneous tasks
Updates

People who contributed to this release

New Contributors

jsonpointer license terms

License

v0.22.4

Compare Source

0.22.4 - 2025-12-06

Full Changelog: go-openapi/jsonpointer@v0.22.3...v0.22.4

1 commits in this release.


Miscellaneous tasks

People who contributed to this release

jsonpointer license terms

License

v0.22.3

Compare Source

0.22.3 - 2025-11-17

Full Changelog: go-openapi/jsonpointer@v0.22.2...v0.22.3

8 commits in this release.


Documentation
Code quality
Miscellaneous tasks

People who contributed to this release

New Contributors

jsonpointer license terms

License

v0.22.2

Compare Source

0.22.2 - 2025-11-14

Full Changelog: go-openapi/jsonpointer@v0.22.1...v0.22.2

12 commits in this release.


Documentation
Code quality
Testing
Miscellaneous tasks
Security
Updates

People who contributed to this release

jsonpointer license terms

License

v0.22.1

Compare Source

v0.22.0

Compare Source

v0.21.2

Compare Source

go-openapi/jsonreference (github.com/go-openapi/jsonreference)

v0.21.5

Compare Source

0.21.5 - 2026-03-02

Full Changelog: go-openapi/jsonreference@v0.21.4...v0.21.5

14 commits in this release.


Documentation
Code quality
Testing
Miscellaneous tasks
Updates

People who contributed to this release

jsonreference license terms

License

v0.21.4

Compare Source

0.21.4 - 2025-12-08

Full Changelog: go-openapi/jsonreference@v0.21.3...v0.21.4

1 commits in this release.


Documentation

People who contributed to this release

New Contributors

jsonreference license terms

License

v0.21.3

Compare Source

v0.21.2

Compare Source

v0.21.1

Compare Source

go-openapi/swag (github.com/go-openapi/swag)

v0.26.0

Compare Source

0.26.0 - 2026-04-15

Full Changelog: go-openapi/swag@v0.25.5...v0.26.0

14 commits in this release.


Implemented enhancements
  • feat(jsonname): added new json name provider more respectful of go co… by @​fredbi in #​195 ...
Documentation
Code quality
Miscellaneous tasks
Updates

People who contributed to this release

swag license terms

License

Per-module changes

cmdutils (0.26.0)
Miscellaneous tasks

conv (0.26.0)
Miscellaneous tasks
Updates

fileutils (0.26.0)
Miscellaneous tasks
Updates

jsonname (0.26.0)
Implemented enhancements
  • feat(jsonname): added new json name provider more respectful of go co… by @​fredbi in #​195 ...
Miscellaneous tasks
Updates

jsonutils/adapters/easyjson (0.26.0)
Miscellaneous tasks
Updates

jsonutils/adapters/testintegration/benchmarks (0.26.0)
Miscellaneous tasks
Updates

jsonutils/adapters/testintegration (0.26.0)
Miscellaneous tasks
Updates

jsonutils/fixtures_test (0.26.0)
Miscellaneous tasks
Updates

jsonutils (0.26.0)
Miscellaneous tasks
Updates

loading (0.26.0)
Miscellaneous tasks
Updates

mangling (0.26.0)
Miscellaneous tasks
Updates

netutils (0.26.0)
Miscellaneous tasks
Updates

stringutils (0.26.0)
Miscellaneous tasks
Updates

typeutils (0.26.0)
Miscellaneous tasks
Updates

yamlutils (0.26.0)
Miscellaneous tasks
Updates

v0.25.5

Compare Source

0.25.5 - 2026-03-02

Full Changelog: go-openapi/swag@v0.25.4...v0.25.5

16 commits in this rel


Configuration

📅 Schedule: 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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
Copy link
Copy Markdown
Contributor Author

red-hat-konflux Bot commented May 8, 2026

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25 -> 1.25.0
github.com/go-openapi/jsonpointer v0.21.1 -> v0.22.5

@sourcery-ai
Copy link
Copy Markdown

sourcery-ai Bot commented May 8, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates go-openapi dependencies and aligns the Go toolchain directive, pulling in the full swag module split while dropping unused indirect dependencies.

File-Level Changes

Change Details Files
Align Go module directive with explicit patch version.
  • Change go directive in go.mod from 1.25 to 1.25.0 to match upstream module declarations.
go.mod
Upgrade go-openapi libraries to current minor versions and adopt the split swag submodules.
  • Bump github.com/go-openapi/jsonpointer from v0.21.1 to v0.23.1 (indirect).
  • Bump github.com/go-openapi/jsonreference from v0.21.0 to v0.21.5 (indirect).
  • Bump github.com/go-openapi/swag from v0.23.1 to v0.26.0 and add the new swag submodules (cmdutils, conv, fileutils, jsonname, jsonutils, loading, mangling, netutils, stringutils, typeutils, yamlutils) at v0.26.0 as indirect requirements to satisfy the new module layout.
  • Ensure go.sum is updated accordingly for the new versions and added modules.
go.mod
go.sum
Remove no-longer-needed indirect dependencies superseded by the updated go-openapi stack.
  • Drop github.com/josharian/intern from indirect requirements.
  • Drop github.com/mailru/easyjson from indirect requirements, as newer go-openapi/swag jsonutils now depends differently.
  • Let go.sum cleanup reflect these removals.
go.mod
go.sum

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - I've found 1 issue, and left some high level feedback:

  • The go.mod now pins a large set of github.com/go-openapi/swag submodules as indirect dependencies; unless these packages are imported directly in this repo, consider dropping them and running go mod tidy to let Go resolve only the actually needed modules.
  • Given the bump of go-openapi/jsonpointer and jsonreference, check whether any code relies on previously undocumented or deprecated behavior (e.g., pointer parsing quirks) and, if not, consider adding a brief note in the commit message/PR description summarizing any behavioral changes that are relevant to this project.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The go.mod now pins a large set of github.com/go-openapi/swag submodules as indirect dependencies; unless these packages are imported directly in this repo, consider dropping them and running `go mod tidy` to let Go resolve only the actually needed modules.
- Given the bump of go-openapi/jsonpointer and jsonreference, check whether any code relies on previously undocumented or deprecated behavior (e.g., pointer parsing quirks) and, if not, consider adding a brief note in the commit message/PR description summarizing any behavioral changes that are relevant to this project.

## Individual Comments

### Comment 1
<location path="go.mod" line_range="3" />
<code_context>
 module github.com/trustification/trusted-profile-analyzer-operator

-go 1.25
+go 1.25.0

 require (
</code_context>
<issue_to_address>
**issue:** The `go` directive should not include a patch version and may cause tooling issues.

Go modules require the `go` directive in `major.minor` format. Please change this back to `go 1.25` (or the actual minimum version you support), since tools like `go mod tidy` may otherwise rewrite it or treat it as invalid.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread go.mod
module github.com/trustification/trusted-profile-analyzer-operator

go 1.25
go 1.25.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

issue: The go directive should not include a patch version and may cause tooling issues.

Go modules require the go directive in major.minor format. Please change this back to go 1.25 (or the actual minimum version you support), since tools like go mod tidy may otherwise rewrite it or treat it as invalid.

@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/release/1.1.z/go-openapi branch 2 times, most recently from e2b21bf to f08f082 Compare May 9, 2026 02:51
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/release/1.1.z/go-openapi branch 2 times, most recently from 495b507 to c85bdbf Compare May 16, 2026 14:40
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/release/1.1.z/go-openapi branch from c85bdbf to 4202a04 Compare May 26, 2026 02:48
@red-hat-konflux red-hat-konflux Bot changed the title chore(deps): update go-openapi packages chore(deps): update module github.com/go-openapi/jsonpointer to v0.23.1 May 26, 2026
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/release/1.1.z/go-openapi branch from 4202a04 to 91e4847 Compare May 26, 2026 13:02
@red-hat-konflux red-hat-konflux Bot changed the title chore(deps): update module github.com/go-openapi/jsonpointer to v0.23.1 chore(deps): update go-openapi packages May 26, 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/release/1.1.z/go-openapi branch from 91e4847 to 2ac5faf Compare May 30, 2026 22:36
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