gg_merge 3.7.0 copy "gg_merge: ^3.7.0" to clipboard
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, CanMerge and LocalMerge use the repository's default branch instead of main
  • WaitForMerge no 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 #

Added #

  • Shared Azure DevOps url helpers azurePullRequestWebUrl, azureRepositoryWebUrl and azureOrganizationUrl

Fixed #

  • WaitForMerge prints the web url of an Azure DevOps pull request instead of "the pull request of

3.5.0 - 2026-09-02 #

Changed #

  • Install the dna_ggsuite DNA

3.4.1 - 2026-09-01 #

Changed #

  • Use ggwsm in pipelines

Fixed #

  • Fix Windows-specific test failures that blocked the review

3.4.0 - 2026-08-13 #

Changed #

  • Rework copyright headers

Fixed #

  • Cleanup copy right headers. Update to dart 3.13. Auto fixes.
  • Cleanup copy right headers. Update to dart 3.13. Auto fixes. Setup quick-check pipeline.

3.3.1 - 2026-08-11 #

Changed #

  • Provide gg via npm
  • Fix shell changes

3.3.0 - 2026-08-10 #

Added #

  • --body on merge-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.2.0 - 2026-08-09 #

Changed #

  • Improve commit behavior

3.1.0 - 2026-08-09 #

Changed #

  • Allow to publish hybrid packages

Fixed #

  • HasLocalReferences — and with it can merge — inspects every manifest a repository carries instead of only the one detectProjectType picks. That one is pubspec.yaml whenever it exists, so a hybrid could carry a link: to a sibling checkout in its package.json, pass can merge, and publish a package.json nobody else can resolve.

3.0.0 - 2026-08-08 #

Changed #

  • Allow to pass custom options to exec of dir commands.

2.1.1 - 2026-08-04 #

Changed #

  • Merge origin/main and tighten dependency constraints (dart pub upgrade --tighten)

2.1.0 - 2026-08-04 #

Changed #

  • Rename .master in .ocean

2.0.3 - 2026-08-04 #

Changed #

  • Finetune command line output

2.0.2 - 2026-08-03 #

Changed #

  • Prevent pubspec.lock interrupting publishing

Fixed #

  • Fix issues with pubspec.lock

2.0.1 - 2026-08-03 #

Changed #

  • refactor: shorten all CLI help texts to 60 chars
  • Improve coloring

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.2 - 2026-07-30 #

Changed #

  • Improve merge on github message

1.7.1 - 2026-07-29 #

Changed #

  • Do not repeat poll messages while publishing or merging

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.1 - 2026-07-20 #

Changed #

  • 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.3.1 - 2026-06-26 #

Changed #

  • gg_multi: changed references to git

1.3.0 - 2026-06-19 #

Changed #

  • 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 #

  • LocalMerge constructor: runPubGet flag (default true) to skip the pub-get + lockfile staging step. Useful for tests that drive LocalMerge through DoMerge with a real GgProcessWrapper

Fixed #

  • local-merge: run dart pub get (or flutter pub get) and stage pubspec.lock between 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 #

Added #

  • Add .gitattributes file

Removed #

  • Remove push to origin/main from local merge and related test

1.0.3 - 2025-08-11 #

  • Update to gg_git 3.0.0

1.0.2 - 2025-08-05 #

Removed #

  • remove has git references from can merge

1.0.1 - 2025-08-02 #

Added #

  • add tests for local merge option
  • Add merge message for squash
  • Initial version of gg_merge

Changed #

  • prepare version 1.0.1
1
likes
160
points
820
downloads

Documentation

API reference

Publisher

verified publisherinlavigo.com

Weekly Downloads

Various tools and checks for publishing dart packages, e.g. versioning, checks etc.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, gg_args, gg_console_colors, gg_git, gg_is_flutter, gg_lang, gg_log, gg_process, gg_status_printer, http, matcher, mocktail, path, pub_semver, yaml

More

Packages that depend on gg_merge