Skip to content

fix(deps): update module github.com/hashicorp/copywrite to v0.25.1#263

Open
sander0542-renovate[bot] wants to merge 3 commits into
mainfrom
renovate/github.com-hashicorp-copywrite-0.x
Open

fix(deps): update module github.com/hashicorp/copywrite to v0.25.1#263
sander0542-renovate[bot] wants to merge 3 commits into
mainfrom
renovate/github.com-hashicorp-copywrite-0.x

Conversation

@sander0542-renovate

@sander0542-renovate sander0542-renovate Bot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/hashicorp/copywrite v0.22.0v0.25.1 age confidence

Release Notes

hashicorp/copywrite (github.com/hashicorp/copywrite)

v0.25.1

Compare Source

Fixed

  • Fixed copyright year updates not being applied due to invalid git log format in the year update cache (#​191 regression)
  • Fixed symlink resolution issue on macOS causing cache misses for file copyright year lookups
  • Improved git information caching reliability and accuracy

Details

This release fixes two critical bugs introduced in v0.25.0 (#​191):

  1. The buildRepositoryCache now correctly formats git output with __CW_YEAR__= prefix, allowing the parser to properly identify years vs filenames
  2. Symlink paths are now resolved before computing relative paths, preventing cache misses on systems where /tmp is a symlink (macOS)

Users running v0.25.0 who noticed copyright year updates weren't working should upgrade to this version.

v0.25.0

Compare Source

Improvements

  • Major Performance Optimizations (#​191): Significantly improved performance by caching git repository information and reducing redundant lookups during header processing
  • Auto-Migration from HashiCorp to IBM (#​189): Added automatic detection and migration of HashiCorp copyright holders to IBM format, supporting all comment styles and preserving year information

v0.24.2

Compare Source

v0.24.2

Bug Fixes

Fix .hbs file copyright parsing to prevent code corruption

Fixed a critical bug where the copyright detection logic was incorrectly modifying JavaScript code inside .hbs (Handlebars) template files. Previously, any indented line containing "copyright" (such as copyright: 'Copyright Acme Inc.' in JavaScript objects) was being treated as a copyright header and modified.

What changed:

  • Implemented comment block tracking for .hbs files to distinguish between actual copyright headers inside {{! ... }} comment blocks and regular code
  • Removed the generic two-space prefix from global comment detection to prevent false positives
  • Indented copyright lines are now only detected when inside handlebars {{! ... }} comment blocks

Impact:

  • .hbs files with multi-line copyright headers in {{! ... }} blocks work correctly
  • ✅ JavaScript code with "copyright" keywords (e.g., in config objects) is no longer modified
  • ✅ All other file types (.js, .go, .py, etc.) are unaffected

This fix was tested against the hashicorp/boundary-ui repository and confirmed to resolve the issue without introducing regressions.

v0.24.1

Compare Source

What's Changed

v0.24.0

Compare Source

What's Changed

Full Changelog: hashicorp/copywrite@v0.23.0...v0.24.0

v0.23.0

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/copywrite@v0.22.0...v0.23.0


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 is behind base branch, 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

This PR has been generated by Renovate Bot.

@sander0542-renovate

sander0542-renovate Bot commented Jan 27, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: tools/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):

  • 10 additional dependencies were updated

Details:

Package Change
github.com/cli/go-gh/v2 v2.12.1 -> v2.12.2
github.com/inconshreveable/mousetrap v1.0.1 -> v1.1.0
github.com/jedib0t/go-pretty/v6 v6.4.6 -> v6.6.8
github.com/mergestat/timediff v0.0.3 -> v0.0.4
github.com/samber/lo v1.37.0 -> v1.51.0
github.com/spf13/cobra v1.6.1 -> v1.10.1
github.com/spf13/pflag v1.0.5 -> v1.0.10
github.com/thanhpk/randstr v1.0.4 -> v1.0.6
golang.org/x/oauth2 v0.27.0 -> v0.30.0
golang.org/x/sync v0.18.0 -> v0.19.0

@sander0542-renovate sander0542-renovate Bot force-pushed the renovate/github.com-hashicorp-copywrite-0.x branch from 2e62607 to 56e8d95 Compare January 28, 2026 16:02
@sander0542-renovate sander0542-renovate Bot changed the title fix(deps): update module github.com/hashicorp/copywrite to v0.23.0 fix(deps): update module github.com/hashicorp/copywrite to v0.24.0 Jan 28, 2026
Sander0542
Sander0542 previously approved these changes Jan 30, 2026
@sander0542-renovate sander0542-renovate Bot force-pushed the renovate/github.com-hashicorp-copywrite-0.x branch from 56e8d95 to 8468496 Compare February 3, 2026 12:02
@sander0542-renovate sander0542-renovate Bot changed the title fix(deps): update module github.com/hashicorp/copywrite to v0.24.0 fix(deps): update module github.com/hashicorp/copywrite to v0.24.1 Feb 3, 2026
@sander0542-renovate sander0542-renovate Bot force-pushed the renovate/github.com-hashicorp-copywrite-0.x branch from 8468496 to 83d062a Compare February 5, 2026 10:02
@sander0542-renovate sander0542-renovate Bot changed the title fix(deps): update module github.com/hashicorp/copywrite to v0.24.1 fix(deps): update module github.com/hashicorp/copywrite to v0.24.2 Feb 5, 2026
@sander0542-renovate sander0542-renovate Bot force-pushed the renovate/github.com-hashicorp-copywrite-0.x branch 2 times, most recently from 03475af to 9929361 Compare February 12, 2026 07:03
@sander0542-renovate sander0542-renovate Bot changed the title fix(deps): update module github.com/hashicorp/copywrite to v0.24.2 fix(deps): update module github.com/hashicorp/copywrite to v0.25.0 Feb 12, 2026
@sander0542-renovate sander0542-renovate Bot force-pushed the renovate/github.com-hashicorp-copywrite-0.x branch 5 times, most recently from 49aa757 to 60204a2 Compare February 26, 2026 21:28
@sander0542-renovate sander0542-renovate Bot force-pushed the renovate/github.com-hashicorp-copywrite-0.x branch 2 times, most recently from c3eefe0 to ea5ae1d Compare March 3, 2026 07:02
@sander0542-renovate sander0542-renovate Bot changed the title fix(deps): update module github.com/hashicorp/copywrite to v0.25.0 fix(deps): update module github.com/hashicorp/copywrite to v0.25.1 Mar 3, 2026
@sander0542-renovate sander0542-renovate Bot force-pushed the renovate/github.com-hashicorp-copywrite-0.x branch 2 times, most recently from 232867c to e1ed29b Compare March 8, 2026 14:46
@sander0542-renovate sander0542-renovate Bot force-pushed the renovate/github.com-hashicorp-copywrite-0.x branch from e1ed29b to 0d42891 Compare March 8, 2026 15:44
@sander0542-renovate

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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.

1 participant