Skip to content

build(deps): Bump github.com/hashicorp/copywrite from 0.25.0 to 0.25.1 in /tools#627

Merged
rainkwan merged 1 commit intomainfrom
dependabot/go_modules/tools/github.com/hashicorp/copywrite-0.25.1
Mar 4, 2026
Merged

build(deps): Bump github.com/hashicorp/copywrite from 0.25.0 to 0.25.1 in /tools#627
rainkwan merged 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.25.0 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.

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.25.0 to 0.25.1.
- [Release notes](https://github.com/hashicorp/copywrite/releases)
- [Commits](hashicorp/copywrite@v0.25.0...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-patch
...

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
@dependabot dependabot bot requested a review from a team as a code owner March 3, 2026 12:43
@dependabot dependabot bot added the go Pull requests that update Go code label Mar 3, 2026
Copy link
Contributor

@rainkwan rainkwan left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me 👍🏽

@rainkwan rainkwan merged commit 8d3e875 into main Mar 4, 2026
2 checks passed
@rainkwan rainkwan deleted the dependabot/go_modules/tools/github.com/hashicorp/copywrite-0.25.1 branch March 4, 2026 19:16
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.

1 participant