Skip to content

chore(deps): bump github.com/hashicorp/copywrite from 0.24.2 to 0.25.1 in /tools#26

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/tools/github.com/hashicorp/copywrite-0.25.1
Open

chore(deps): bump github.com/hashicorp/copywrite from 0.24.2 to 0.25.1 in /tools#26
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/tools/github.com/hashicorp/copywrite-0.25.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 3, 2026

Bumps github.com/hashicorp/copywrite from 0.24.2 to 0.25.1.

Release notes

Sourced from github.com/hashicorp/copywrite's releases.

v0.25.1

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

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
Commits
  • 1ebda7a [chore] : Bump github.com/cloudflare/circl from 1.6.1 to 1.6.3 (#196)
  • 69a19ab fix: correct git log format and resolve symlinks in year update cache (#195)
  • 7b93b0a chore: use go-pretty/v6 and drop duplicate module (#158)
  • 112193f [chore] : Bump github.com/hashicorp/go-hclog from 1.5.0 to 1.6.3 (#146)
  • 8e1f1d8 Bump github.com/thanhpk/randstr from 1.0.4 to 1.0.6 (#71)
  • a8ab8a2 [chore] : Bump github.com/mergestat/timediff from 0.0.3 to 0.0.4 (#159)
  • 41e91e1 [chore] : Bump golang.org/x/sync from 0.16.0 to 0.17.0 (#165)
  • d9df283 [chore] : Bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 (#176)
  • f4506ab [chore] : Bump actions/checkout from 6.0.0 to 6.0.2 (#184)
  • c358e9f [chore] : Bump actions/setup-go from 6.1.0 to 6.2.0 (#182)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/hashicorp/copywrite](https://github.com/hashicorp/copywrite) from 0.24.2 to 0.25.1.
- [Release notes](https://github.com/hashicorp/copywrite/releases)
- [Commits](hashicorp/copywrite@v0.24.2...v0.25.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/copywrite
  dependency-version: 0.25.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants