fix_globals 1.2.2 copy "fix_globals: ^1.2.2" to clipboard
fix_globals: ^1.2.2 copied to clipboard

A command-line utility to cleanly reinstall and refresh all globally activated Dart and Flutter packages from their original sources (pub, path, git, and custom registries).

1.2.2 #

  • Removed version pinning for hosted and custom-hosted packages so they always install/upgrade to the latest version.

1.2.1 #

  • Updated CHANGELOG to document the mandatory migration step (dart install fix_globals) for upgrading from pre-1.2.0 versions.

1.2.0 #

Important

Migration Note: Because the tool has transitioned to the new SDK toolchain, your old version of fix-globals installed via pub global activate will continue to use the old commands. You must manually run dart install fix_globals once to install the new version.

  • Completely migrated package management backend from the deprecated pub global commands to the new dart install, dart installed, and dart uninstall commands.
  • Implemented an internal OS-specific directory scanner to locate globally installed AOT app-bundles and parse pubspec.lock files to dynamically reconstruct their original install descriptors.
  • Removed the deprecated --sdk / -s option, running all commands on the standard dart toolchain.
  • Updated the dry-run output and final reinstallation summary layout to reflect the new install commands.
  • Updated documentation and unit tests to verify the new toolchain integration.

1.1.0 #

  • Added the --update / -u CLI flag. When active, it bypasses the package deactivation step to quickly pull updates for active packages and repair bound shims.
  • Updated the dry-run output to only display activation commands when in update mode.
  • Enhanced the end-of-execution summary table to show (up to date) or [Failed to Update] statuses.
  • Added comprehensive documentation comparing Default Mode vs. Update Mode in the README.

1.0.1 #

  • Explicitly declared supported desktop platforms (Linux, macOS, Windows) in pubspec.yaml to exclude non-applicable mobile/web platform tags on pub.dev.

1.0.0 #

  • Initial release of fix_globals!
  • Parses currently activated global packages from pub.dev, local path, git repositories, and custom hosted registries.
  • Deactivates and cleanly reactivates packages to force re-compilation of same-version packages (essential for fixing stale/broken global binaries after Dart SDK upgrades).
  • Standard CLI argument parser with support for:
    • --dry-run / -n to preview reinstallation commands.
    • --sdk / -s to choose between running processes via dart or flutter.
    • --help / -h for usage help.
  • Implements automated rollback safety on reactivation failure to prevent package loss.
  • Displays a clean, readable Reinstallation Summary table at the end of execution.
2
likes
0
points
199
downloads

Publisher

verified publisherstonehenge.com

Weekly Downloads

A command-line utility to cleanly reinstall and refresh all globally activated Dart and Flutter packages from their original sources (pub, path, git, and custom registries).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, path, yaml

More

Packages that depend on fix_globals