Skip to content

Added disableThanks option#1255

Merged
bluwy merged 5 commits into
changesets:mainfrom
Kauhsa:disable-thanks
May 4, 2026
Merged

Added disableThanks option#1255
bluwy merged 5 commits into
changesets:mainfrom
Kauhsa:disable-thanks

Conversation

@Kauhsa

@Kauhsa Kauhsa commented Nov 3, 2023

Copy link
Copy Markdown
Contributor

Hi,

While thanking users in changelogs is commendable and makes sense for public projects or projects with a large amount of contributors, it served no purpose in our private packages and we felt that it cluttered our changelogs (for example, we had dozen entries in a single release, all prefixed with Thanks @Kauhsa!).

So, I added option disableThanks to @changesets/changelog-github to disable this behaviour.

@changeset-bot

changeset-bot Bot commented Nov 3, 2023

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ad42c64

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@changesets/changelog-github Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codesandbox-ci

codesandbox-ci Bot commented Nov 3, 2023

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d9a639d:

Sandbox Source
Vanilla Configuration

@TheMikeyRoss

Copy link
Copy Markdown
Contributor

@Andarist @emmatown any update on this one?

@kachkaev

kachkaev commented Nov 8, 2025

Copy link
Copy Markdown

It'd be great to have this option indeed! In addition to accepting true/false, the option can also accept a RegExp for usernames. This will be useful for packages mostly maintained by one or two people. If 95% of changes are done by the same person, there's no need to say thanks to them every time. But a casual contributor can be mentioned.

In the meantime, I managed to disable all thanks with a local pnpm patch:
https://github.com/kachkaev/routine-npm-packages/blob/6ed50ddbfcf99ec534717febb67f322a1c2c6321/patches/%40changesets__changelog-github.patch

bluwy and others added 2 commits November 17, 2025 10:28
Co-authored-by: Marco Comi <marco.comi@pagopa.it>
@codecov

codecov Bot commented Nov 17, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.85%. Comparing base (317a373) to head (ad42c64).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1255      +/-   ##
==========================================
+ Coverage   83.84%   83.85%   +0.01%     
==========================================
  Files          56       56              
  Lines        2463     2465       +2     
  Branches      747      743       -4     
==========================================
+ Hits         2065     2067       +2     
  Misses        392      392              
  Partials        6        6              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@beeequeue

beeequeue commented Apr 23, 2026

Copy link
Copy Markdown
Member

related to my pr (#460) from very long ago :^)

@beeequeue beeequeue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

could you add support for a list of names as well as a boolean?

{
  "disableThanks": ["beeequeue"]
}

then one could disable the thanks for people who commit often and still keep thanking rare contributors. :)

this is what my original PR was trying to do

@bluwy bluwy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just noticed that I messed up the cherry-pick before and the option isn't called disableThanks anymore. Temporarily blocking this for now.

@beeequeue I think that idea makes sense too. Seems not too complicated to add so we can do it together in this PR.

@bluwy

bluwy commented Apr 30, 2026

Copy link
Copy Markdown
Member

Actually it's a bit tricky to refactor to handle the username filtering due to how it fetches the sources now, so I'm leaving it out from the changes.

@bluwy bluwy added this pull request to the merge queue May 4, 2026
Merged via the queue into changesets:main with commit 94578cf May 4, 2026
8 checks passed
@github-actions github-actions Bot mentioned this pull request May 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.

6 participants