Repository navigation
feat(cli): add --since flag to add command - #1840
Merged
Merged
Conversation
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 detectedLatest commit: 0fa8b89 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1840 +/- ##
==========================================
+ Coverage 81.55% 81.74% +0.18%
==========================================
Files 55 55
Lines 2353 2355 +2
Branches 698 705 +7
==========================================
+ Hits 1919 1925 +6
+ Misses 429 425 -4
Partials 5 5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Merged
10 tasks
axistore80-coder
approved these changes
Mar 8, 2026
leuasseurfarrelds247-arch
approved these changes
Mar 11, 2026
bluluvinn
approved these changes
Mar 27, 2026
This was referenced Apr 3, 2026
nnecec
pushed a commit
to nnecec/changesets-docs
that referenced
this pull request
Apr 16, 2026
* feat(cli): add --since flag to add command 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 * tweak * tweak * tweak * make the test more real * unmock some stuff --------- Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
Closes #477