PackageTrack
Sign in Get early access

gg_publish

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

4.4.0 12K downloads/mo #2688 most downloaded on pub.dev inlavigo/gg_publish

What this package is like to depend on

Last release 10 days ago

14 Aug 2026

Ships unpredictably

gaps range from 8 days to 6 months

Most releases are documented

notes for 62 of 72 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

72 releases · first in 2024

38 releases in the last 12 months

see the full history below

Release timeline

72 releases · Mar 2024 to Aug 2026
2025 2026
Release Pre-release

Releases

latest 60 of 72
  1. 4.4.0 14 Aug 2026
    Release notes

    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.
    Open source →
  2. 4.3.3 12 Aug 2026

    Nothing published for this version

  3. 4.3.2 11 Aug 2026
    Release notes

    Changed

    • Provide gg via npm
    • Fix shell changes
    Open source →
  4. 4.3.1 10 Aug 2026
    Release notes

    Fixed

    • Various log and color fixes across the gg command output
    Open source →
  5. 4.3.0 09 Aug 2026
    Release notes

    Changed

    • Improve commit behavior
    • Move gg commit conventions from gg_git to gg_one_core
    Open source →
  6. 4.2.0 09 Aug 2026

    Nothing published for this version

  7. 4.1.0 09 Aug 2026
    Release notes

    Added

    • SyncHybridVersions — writes the higher of pubspec.yaml and package.json into both manifests and regenerates the version files. A hybrid has two version numbers describing one artifact, and nothing kept them together, so they drifted.
    • PublishTo.targets — the registries a package publishes to, as a set. fromDirectory stays, but only as a label for messages (pub.dev+npm for a hybrid): no single string can answer "run pana?", "check the npm login?" and "is there any registry?" at once, and pretending otherwise is what made hybrids npm-only.
    • Publish takes targets and an onPublished callback. A resumed publish passes the registries that are still open, and the callback runs between the uploads, so a registry that already accepted the version is recorded before the next one can fail.
    • PublishedVersion.latestVersionFor / registryVersionsFor answer per registry; IsInRegistry.missingTargets names the registries a package has never been released on.

    Changed

    • A hybrid is published to both of its registries. Each manifest decides for its own side: publish_to: none takes the Dart side out without touching the npm side, and private: true does the reverse. pub.dev is uploaded first because dart pub publish --dry-run is the only pre-upload validation gate.
    • When one registry fails after another succeeded, the failure now says which registry is already done — reporting "nothing happened" made users restart instead of continue, and the restart was then rejected by the registry.
    • PublishedVersion.get returns the highest version across all registries of a package, and allVersions/registryVersions their union. The bump has to clear every registry the package is on.
    • IsInRegistry reports true only when every registry has the package, and the first-publish prompt asks per registry, naming that registry's package name and publish command.
    • The npm wait prints the status page of the resolved registry. A scoped package on a private feed is not on npmjs.com, and that link sent users to a
    • publish_to: naming a custom pub server is treated as a pub.dev target instead of raising UnimplementedError. Only none takes a package off its registry. Note the version lookup still queries pub.dev itself — the registry url comes from the language catalog, not from the manifest.
    • Allow to publish hybrid packages
    Open source →
  8. 4.0.0 08 Aug 2026
    Release notes

    Changed

    • Allow to pass custom options to exec of dir commands.
    Open source →
  9. 3.10.2 04 Aug 2026

    Nothing published for this version

  10. 3.10.1 04 Aug 2026
    Release notes

    Changed

    • Merge origin/main and tighten dependency constraints (dart pub upgrade --tighten)
    Open source →
  11. 3.10.0 04 Aug 2026
    Release notes

    Changed

    • Rename .master in .ocean
    Open source →
  12. 3.9.5 04 Aug 2026
    Release notes

    Changed

    • Finetune command line output
    Open source →
  13. 3.9.4 03 Aug 2026
    Release notes

    Changed

    • Prevent pubspec.lock interrupting publishing

    Fixed

    • Fix issues with pubspec.lock
    Open source →
  14. 3.9.3 03 Aug 2026
    Release notes

    Changed

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

    Fixed

    • Fix unit test errors
    Open source →
  15. 3.9.2 01 Aug 2026
    Release notes

    Changed

    • Take base version from git tags when publish_to is none
    Open source →
  16. 3.9.1 01 Aug 2026
    Release notes

    Changed

    • Fix: Skipping unchanged repos from publishing does not work
    Open source →
  17. 3.9.0 01 Aug 2026
    Release notes

    Added

    • New command »is-in-registry«: checks if at least one version of the package is available on its registry (pub.dev / npm)
    • »publish« makes sure at least one version is already on the registry. A package that was never published is published manually by the user first — the shell commands to execute are shown, the publish continues after the package became visible on the registry

    Changed

    • Make sure package is already published in registry before publishing
    • Merge main
    Open source →
  18. 3.8.6 01 Aug 2026
    Release notes

    Fixed

    • Fix: Publishing fails
    Open source →
  19. 3.8.5 01 Aug 2026
    Release notes

    Changed

    • Stop publishing when warnings happen
    • #gg: changed references to pub.dev
    Open source →
  20. 3.8.4 30 Jul 2026

    Nothing published for this version

  21. 3.8.3 30 Jul 2026
    Release notes

    Removed

    • Don't delete branches twice. Remove pubspec_override.yaml before publishing
    Open source →
  22. 3.8.2 30 Jul 2026
    Release notes

    Added

    • Add package version number code to each package
    Open source →
  23. 3.8.1 29 Jul 2026
    Release notes

    Added

    • RemoveVersionTag command: removes an already existing tag of the version to be published - locally as well as on the remote - so the publish flow can recreate it on the new release commit

    Changed

    • Publish removes an already existing version tag before publishing to the registry. A publish that failed after tagging left the tag on a commit the retry replaces, which made the tag step of the next run refuse to tag or tag an abandoned commit.
    Open source →
  24. 3.8.0 29 Jul 2026
    Release notes

    Changed

    • Support projects without manifest: ProjectType.none, checks skipped, version tracked as git tag only
    • gg_multi: changed references to git
    Open source →
  25. 3.7.3 29 Jul 2026
    Release notes

    Added

    • WaitUntilPublished command: waits until the current manifest version is visible on the registry (pub.dev/npm) — announces the wait incl. a status url, reports progress and fails with a bounded timeout (15 min — pub.dev itself can take up to ~10 min) instead of hanging; skips packages that publish to no registry
    • IsVersionPrepared.messagePrefixFor(manifestFile) builds the message prefix from the manifest the version was actually read from
    • Add WaitUntilPublished command with status url and bounded timeout

    Changed

    • Raise WaitUntilPublished default timeout to 15 min (pub.dev can take ~10 min)

    Fixed

    • Fix hanging publishing process
    • "Version in ./pubspec.yaml must be one of the following" no longer names pubspec.yaml for TypeScript projects, which made them look like they were detected as Dart projects. The message now names package.json.
    • Requires gg_lang ^0.2.5, so npm published-version lookups no longer trust the "latest" dist-tag
    Open source →
  26. 3.7.2 28 Jul 2026
    Release notes

    Changed

    • Name the actual manifest in the version-not-prepared message
    Open source →
  27. 3.7.1 22 Jul 2026
    Release notes

    Changed

    • Run npm registry lookups in the package directory so the project-level .npmrc with private feeds is honored
    • gg_multi: changed references to git
    Open source →
  28. 3.7.0 20 Jul 2026
    Release notes

    Added

    • Add rc prerelease channel to gg do publish (channel field/flag, X.Y.Z-rc.N computation, npm --tag rc, single + multi repo)
    • Address review: wrap registry version-parse errors as RegistryException, clarify spent-version rc message, lock cider rc changelog format

    Changed

    • gg_multi: changed references to git
    Open source →
  29. 3.6.0 01 Jul 2026
    Release notes

    Changed

    • npm/pnpm (TypeScript) publishes now run interactively by inheriting the terminal's stdio, so the package manager can drive its own 2FA flow — prompting for a one-time password or opening its browser login — instead of failing with ERR_PNPM_OTP_NON_INTERACTIVE when gg captured the pipe. Dart/pub.dev publishing is unchanged (still captured, gg answers the confirmation prompt).
    • feat(gg): do checkout + .gg/.ticket.json ticket marker; TS format no direct eslint & P:\programs\flutter/bin/internal/exit_with_errorlevel.bat
    • feat(gg): interactive npm publish + npm-logged-in precheck; package.json prepublishOnly->build->test rules (bridges exempt from build->test); do review pnpm blockExoticSubdeps + stdout; can publish runs per-repo can-publish; do merge/publish write doCommit; pana skip label
    • gg_multi: changed references to git
    Open source →
  30. 3.5.1 26 Jun 2026
    Release notes

    Changed

    • gg_multi: changed references to git
    Open source →
  31. 3.5.0 19 Jun 2026
    Release notes

    Changed

    • Treat dart-typescript bridge repos as TypeScript for can/do review (npm install, skip dart pub get); export isBridgeProject from gg_one
    • Publish bridges as TypeScript: pnpm-aware publish, dual-manifest version bump, non-swallowed publish errors, idempotent resume, review skips merged repos, link: for local TS deps, package.json scripts check
    • gg_multi: changed references to git
    Open source →
  32. 3.4.0 08 Jun 2026
    Release notes

    Changed

    • feat: language-universal publishing via gg_lang (npm + pub.dev registry-aware version checks, manifest-driven publish command, TypeScript bypasses CHANGELOG)
    • feat(do add): auto-clone transitive deps into master before graph build & P:\programs\flutter/bin/internal/exit_with_errorlevel.bat
    • gg_multi: changed references to git
    • gg_multi: changed references to git
    • Gg Multi: changed references to pub.dev
    Open source →
  33. 3.3.1 20 Apr 2026

    Nothing published for this version

  34. 3.3.0 07 Apr 2026
    Release notes

    Changed

    • kidney: changed references to path
    • Refactor MainBranch to inject process runner and improve tests
    • kidney: changed references to git

    Fixed

    • Remove useCarriageReturn and fix ggLog parameter in merge command
    Open source →
  35. 3.2.1 30 Mar 2026

    Nothing published for this version

  36. 3.2.0 19 Mar 2026
    Release notes

    Added

    • Add is-main-branch command to check for main branch in Git
    Open source →
  37. 3.1.0 18 Mar 2026
    Release notes

    Changed

    • Improve error message for non-feature branches in is_feature_branch
    • Update dependencies: gg_console_colors, gg_git, gg_capture_print
    • Update latest dependencies, Add .gitattributes file
    Open source →
  38. 3.0.19 18 Feb 2026

    Nothing published for this version

  39. 3.0.18 11 Aug 2025
    Release notes

    Changed

    • Update to gg_git 3.0.0
    Open source →
  40. 3.0.17 09 Jun 2025
    Release notes

    Changed

    • Improve version mismatch error message
    Open source →
  41. 3.0.16 13 Apr 2024
    Release notes

    Removed

    • dependency pana
    Open source →
  42. 3.0.15 12 Apr 2024
    Release notes

    Added

    • use dart pub outdated json response

    Removed

    • dependency to gg_install_gg, remove ./check script
    Open source →
  43. 3.0.14 11 Apr 2024
    Release notes

    Changed

    • upgrade dependencies
    Open source →
  44. 3.0.13 11 Apr 2024
    Release notes

    Changed

    • Fix mocks
    Open source →
  45. 3.0.12 11 Apr 2024
    Release notes

    Added

    • PrepareNextVersion: Specify published version from outside
    Open source →
  46. 3.0.11 11 Apr 2024
    Release notes

    Changed

    • MockIsUpgraded reuses code from MockDirCommand
    • derive all mocks from MockDirCommand
    • Fintue mocks
    Open source →
  47. 3.0.10 11 Apr 2024
    Release notes

    Added

    • Extend mock for IsUpgraded
    Open source →
  48. 3.0.9 09 Apr 2024
    Release notes

    Removed

    • 'Pipline: Disable cache'
    Open source →
  49. 3.0.8 09 Apr 2024
    Release notes

    Fixed

    • Fixed an error on IsVersionPrepared
    Open source →
  50. 3.0.7 09 Apr 2024
    Release notes

    Changed

    • Update dependency gg_version to 4.0.0
    Open source →
  51. 3.0.6 09 Apr 2024
    Release notes

    Added

    • Publish: add askBeforePublishing to supress asking for confirmation
    Open source →
  52. 3.0.5 09 Apr 2024
    Release notes

    Fixed

    • PublishedVersion did not handle publish_to: none
    Open source →
  53. 3.0.4 09 Apr 2024
    Release notes

    Fixed

    • IsPublished will no also handle packages that are not published to pub.dev
    Open source →
  54. 3.0.3 09 Apr 2024
    Release notes

    Fixed

    • IsVersionPrepared did not work with local uncommitted changes
    Open source →
  55. 3.0.2 08 Apr 2024
    Release notes

    Added

    • Take over IsVersionPrepared, PrepareNextVersion and PublishedVersion from gg_version
    • IsVersionPrepared: Does also work for packages not published to git
    Open source →
  56. 3.0.1 08 Apr 2024
    Release notes

    Added

    • publish-to command to get the publish target
    Open source →
  57. 3.0.0 06 Apr 2024
    Release notes

    Added

    • Increased version

    Changed

    • Rework changelog
    • 'Github Actions Pipeline'
    • 'Github Actions Pipeline: Add SDK file containing flutter into .github/workflows to make github installing flutter and not dart SDK'
    • BREAKING CHANGE: is-published renamed into is-latest state-published
    • Added a new is-published which returns true when the package is published at all
    Open source →
  58. 2.0.2 05 Apr 2024
    Release notes
    • Update gg_version to 2.0.0
    Open source →
  59. 2.0.1 04 Apr 2024
    Release notes
    • Breaking change: Move IsVersionPrepared and PublishedVersion to gg_version
    Open source →
  60. 2.0.0 04 Apr 2024

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive