Skip to content

feat(cli): add --since flag to add command#1840

Open
wotan-allfather wants to merge 1 commit intochangesets:mainfrom
wotan-allfather:feat/add-since-flag
Open

feat(cli): add --since flag to add command#1840
wotan-allfather wants to merge 1 commit intochangesets:mainfrom
wotan-allfather:feat/add-since-flag

Conversation

@wotan-allfather
Copy link

Add support for the --since flag to the add command, allowing users to specify which branch, tag, or git ref to use when detecting changed packages. This is useful for gitflow workflows where multiple target branches exist and the baseBranch config doesn't cover all use cases.

  • Add since parameter to add command function
  • Pass since to getVersionableChangedPackages
  • Update help message and documentation
  • Add test for --since flag functionality

Closes #477

Add support for the --since flag to the add command, allowing users to
specify which branch, tag, or git ref to use when detecting changed
packages. This is useful for gitflow workflows where multiple target
branches exist and the baseBranch config doesn't cover all use cases.

- Add since parameter to add command function
- Pass since to getVersionableChangedPackages
- Update help message and documentation
- Add test for --since flag functionality

Closes changesets#477
@changeset-bot
Copy link

changeset-bot bot commented Feb 6, 2026

🦋 Changeset detected

Latest commit: b18a146

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

This PR includes changesets to release 1 package
Name Type
@changesets/cli 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

@ivanm696
Copy link

CI

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.

Add support for the --since flag to the add command

2 participants