Skip to content

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

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-hashicorp-copywrite-0.x
Open

fix(deps): update module github.com/hashicorp/copywrite to v0.25.2#105
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-hashicorp-copywrite-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Feb 12, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/hashicorp/copywrite v0.25.0v0.25.2 age confidence
github.com/hashicorp/copywrite v0.24.2v0.25.2 age confidence

Release Notes

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

v0.25.2

Compare Source

What's Changed

New Features
  • ignore_year1 config option (#​213): Added a new project.ignore_year1 boolean flag in .copywrite.hcl. When set to true, the tool skips updating the start year in existing copyright headers, preserving historically accurate start years (e.g. 2015) even when they differ from copyright_year in config. End-year logic is unaffected — files modified after their copyright end year still get the end year bumped to current year. New files with no copyright header are also unaffected and always receive the config year as the start year.

    project {
      copyright_year = 2024
    
      # Preserve original start years in existing headers
      ignore_year1 = true
    }
Bug Fixes
  • Removed unused ignore_year2 references from config, CLI, init template, and README.
Documentation
  • README updated with ignore_year1 behaviour for both source file headers and LICENSE files.
  • Init template updated to include ignore_year1 as a commented-out option.

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.


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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from RoseSecurity as a code owner February 12, 2026 09:08
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@renovate renovate bot force-pushed the renovate/github.com-hashicorp-copywrite-0.x branch 2 times, most recently from f294e6e to 3b67908 Compare February 25, 2026 12:17
@renovate 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
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Mar 3, 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):

  • 9 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25 -> 1.25.0
github.com/bmatcuk/doublestar/v4 v4.6.0 -> v4.10.0
github.com/bradleyfalzon/ghinstallation/v2 v2.5.0 -> v2.18.0
github.com/google/go-querystring v1.1.0 -> v1.2.0
github.com/hashicorp/go-hclog v1.5.0 -> v1.6.3
github.com/jedib0t/go-pretty/v6 v6.6.8 -> v6.7.8
github.com/mergestat/timediff v0.0.3 -> v0.0.4
github.com/samber/lo v1.51.0 -> v1.53.0
github.com/thanhpk/randstr v1.0.4 -> v1.0.6
golang.org/x/oauth2 v0.30.0 -> v0.36.0
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):

  • 12 additional dependencies were updated

Details:

Package Change
github.com/bmatcuk/doublestar/v4 v4.6.0 -> v4.10.0
github.com/bradleyfalzon/ghinstallation/v2 v2.5.0 -> v2.18.0
github.com/cli/go-gh/v2 v2.12.2 -> v2.13.0
github.com/google/go-querystring v1.1.0 -> v1.2.0
github.com/hashicorp/go-hclog v1.5.0 -> v1.6.3
github.com/jedib0t/go-pretty/v6 v6.6.8 -> v6.7.8
github.com/mergestat/timediff v0.0.3 -> v0.0.4
github.com/samber/lo v1.51.0 -> v1.53.0
github.com/spf13/cobra v1.10.1 -> v1.10.2
github.com/thanhpk/randstr v1.0.4 -> v1.0.6
golang.org/x/oauth2 v0.30.0 -> v0.36.0
golang.org/x/sync v0.18.0 -> v0.19.0

@renovate renovate bot force-pushed the renovate/github.com-hashicorp-copywrite-0.x branch 2 times, most recently from 22c074a to 1d88c35 Compare March 5, 2026 19:00
@renovate renovate bot changed the title fix(deps): update module github.com/hashicorp/copywrite to v0.25.1 fix(deps): update module github.com/hashicorp/copywrite to v0.25.2 Mar 24, 2026
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-copywrite-0.x branch from 1d88c35 to 39c2cd5 Compare March 24, 2026 09:57
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