gg_merge 3.7.0
gg_merge: ^3.7.0 copied to clipboard
Various tools and checks for publishing dart packages, e.g. versioning, checks etc.
Changelog #
3.7.0 - 2026-09-11 #
Fixed #
IsBehindMain,IsAheadMain,CanMergeandLocalMergeuse the repository's default branch instead ofmainWaitForMergeno longer aborts on the moment GitHub reports an auto-merged pull request as CLOSED; a CLOSED pull request with a merge date counts as merged
3.6.0 - 2026-09-11 #
3.4.1 - 2026-09-01 #
3.4.0 - 2026-08-13 #
3.3.0 - 2026-08-10 #
Added #
--bodyonmerge-git/do-merge: the pull-request description, separate from the title
3.2.1 - 2026-08-10 #
Fixed #
- Fix org-url repo add, code-workspace upkeep on rm and the auto-merge PR hint
3.1.0 - 2026-08-09 #
Changed #
- Allow to publish hybrid packages
Fixed #
HasLocalReferences— and with itcan merge— inspects every manifest a repository carries instead of only the onedetectProjectTypepicks. That one ispubspec.yamlwhenever it exists, so a hybrid could carry alink:to a sibling checkout in itspackage.json, passcan merge, and publish apackage.jsonnobody else can resolve.
2.1.1 - 2026-08-04 #
Changed #
- Merge origin/main and tighten dependency constraints (dart pub upgrade --tighten)
2.0.2 - 2026-08-03 #
2.0.0 - 2026-07-31 #
Changed #
- Prefix all gg-generated commit messages with "#gg: "; the unchanged-repo check treats such commits as not user generated
1.7.0 - 2026-07-29 #
Changed #
- Support projects without manifest: ProjectType.none, checks skipped, version tracked as git tag only
- gg_multi: changed references to git
1.6.1 - 2026-07-29 #
Added #
- The pull request url is now surfaced everywhere the publish interacts with a PR: when it is created, when an existing PR is reused, and once at the start of the wait-for-merge poll ("Check the pull request status here:
Changed #
- Show the pull request url on create, reuse and while waiting for the merge
- "Created pull request" / "Reusing existing pull request" messages are printed dark gray (url blue)
- Reuse only open pull requests; print PR messages dark gray
- Fall back to a direct squash merge when auto-merge is not allowed
- Never merge a pull request automatically; pass the PR source branch to the wait
- Handle auto merge when github does not support auto merge
Fixed #
- gg never merges a pull request on its own: when the provider rejects auto-merge, the PR stays open and the publish waits for the manual merge (the merge stays an explicit human decision)
- WaitForMerge accepts the pull request's source branch, so the wait no longer looks for a pull request of the default branch when HEAD moved on ("No pull request found for branch main")
- PR reuse now only considers OPEN pull requests. Before, a merged pull request of an earlier release on the same branch was "reused", so wait-for-merge saw »merged« immediately although the new release content was never merged to main
1.6.0 - 2026-07-22 #
Added #
- Add --pr support: PR created plain with URL logged, auto-merge best-effort with strategy detection and squash retry, new --delete-source-branch flag
Changed #
- Always squash-merge pull requests and use the merge message as PR title and squash commit message
- Share the origin-url lookup, use named arguments in MergeGit internals and unify the best-effort automerge warning
- gg_multi: changed references to git
1.5.0 - 2026-07-06 #
Changed #
- feat: merge via auto-complete pull request on protected main (Azure) and wait until merged
1.4.0 - 2026-07-01 #
Changed #
- feat(gg): do checkout + .gg/.ticket.json ticket marker; TS format no direct eslint & P:\programs\flutter/bin/internal/exit_with_errorlevel.bat
- gg_multi: changed references to git
1.2.0 - 2026-06-08 #
Changed #
- feat: TS-aware HasLocalReferences/HasGitReferences via gg_lang dispatch
- gg_multi: changed references to git
- Gg Multi: changed references to pub.dev
- gg_multi: changed references to git
1.1.0 - 2026-05-19 #
1.0.5 - 2026-05-19 #
Added #
LocalMergeconstructor:runPubGetflag (defaulttrue) to skip the pub-get + lockfile staging step. Useful for tests that driveLocalMergethroughDoMergewith a realGgProcessWrapper
Fixed #
local-merge: rundart pub get(orflutter pub get) and stagepubspec.lockbetween the squash merge and the commit, so the updated lockfile is part of the squash commit instead of being left dirty by VS Code's auto pub get after the fact
1.0.4 - 2026-03-26 #
1.0.3 - 2025-08-11 #
- Update to gg_git 3.0.0