Skip to content

Update module github.com/MakeNowJust/heredoc to v2#967

Open
red-hat-konflux[bot] wants to merge 1 commit into
release/3.y.zfrom
konflux/mintmaker/release/3.y.z/github.com-makenowjust-heredoc-2.x
Open

Update module github.com/MakeNowJust/heredoc to v2#967
red-hat-konflux[bot] wants to merge 1 commit into
release/3.y.zfrom
konflux/mintmaker/release/3.y.z/github.com-makenowjust-heredoc-2.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/MakeNowJust/heredoc v1.0.0v2.0.1 age confidence

Warning

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


Release Notes

MakeNowJust/heredoc (github.com/MakeNowJust/heredoc)

v2.0.1

Compare Source

Version 2.0.1

Fixes

  • Correct import path for Go modules

v2.0.0

Compare Source

Version 2.0.0

Breaking Changes

  • Treats only white space (U+0020) and horizontal tabs (U+000D) as space characters. (#​6)

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.

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@sourcery-ai

sourcery-ai Bot commented Jul 4, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR updates the heredoc dependency from v1 to v2 and adjusts the Go module import path to the v2 module path, aligning go.mod with the upstream module’s v2 release requirements.

File-Level Changes

Change Details Files
Update heredoc dependency to v2 module path and version in go.mod.
  • Change heredoc requirement from v1.0.0 to v2.0.1.
  • Switch heredoc import to the /v2 module path to match Go modules conventions.
go.mod

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

@sourcery-ai sourcery-ai 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.

Hey - I've left some high level feedback:

  • Since heredoc v2 changes whitespace handling and the import path, double-check any direct or transitive usage in this repo to ensure imports are updated to github.com/MakeNowJust/heredoc/v2 and that behavior relying on trimming or formatting whitespace still works as expected.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Since heredoc v2 changes whitespace handling and the import path, double-check any direct or transitive usage in this repo to ensure imports are updated to `github.com/MakeNowJust/heredoc/v2` and that behavior relying on trimming or formatting whitespace still works as expected.

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.

@red-hat-konflux red-hat-konflux Bot changed the title chore(deps): update module github.com/makenowjust/heredoc to v2 Update module github.com/MakeNowJust/heredoc to v2 Jul 4, 2026
@red-hat-konflux red-hat-konflux Bot changed the title Update module github.com/MakeNowJust/heredoc to v2 chore(deps): update module github.com/makenowjust/heredoc to v2 Jul 4, 2026
@red-hat-konflux red-hat-konflux Bot changed the title chore(deps): update module github.com/makenowjust/heredoc to v2 Update module github.com/MakeNowJust/heredoc to v2 Jul 4, 2026
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