PackageTrack
Sign in Get early access

pubviz

A tool to visualize package dependencies and version constraints in your Dart project.

6.2.0 9.3K downloads/mo #3039 most downloaded on pub.dev kevmoo/pubviz

What this package is like to depend on

Last release 24 days ago

30 Jul 2026

Ships unpredictably

gaps range from 8 days to 2.6 years

Most releases are documented

notes for 43 of 59 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

59 releases · first in 2013

7 releases in the last 12 months

see the full history below

Release timeline

59 releases · Dec 2013 to Jul 2026
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 59
  1. 6.2.0 30 Jul 2026
    Release notes
    • Now supports dart run pubviz@.
    • Faster local web serving via pre-gzipped embedded assets with HTTP
      Content-Encoding: gzip.
    • Added native Mermaid diagram support:
      • Added the print-mermaid action (-a print-mermaid) to print the
        dependency graph as a Mermaid flowchart.
      • Added Mermaid export options ("Copy Mermaid" and "Save Mermaid") to the
        web UI.
    • Require sdk: ^3.12.0.
    Open source →
    Release notes
    • Now supports dart run pubviz@.
    • Faster local web serving via pre-gzipped embedded assets with HTTP Content-Encoding: gzip.
    • Added native Mermaid diagram support:
      • Added the print-mermaid action (-a print-mermaid) to print the dependency graph as a Mermaid flowchart.
      • Added Mermaid export options ("Copy Mermaid" and "Save Mermaid") to the web UI.
    • Require sdk: ^3.12.0.
    Open source →
  2. 6.2.0+1 30 Jul 2026
    Release notes
    • Documentation updates.
    Open source →
    Release notes
    • Documentation updates.
    Open source →
  3. 6.1.0 01 May 2026
    Release notes
    • Added --filter option to CLI (that's also reflected in the web UI).
    • Added a workspace filter to only show packages in the workspace.
    • Use a worker so the UI doesn't freeze when rendering big graphs.
    • MUCH smaller WebAssembly module.
    • Added --package flag to open a specific published package.
    • Added a hide-isolated filter to remove unpublished or root workspace
      packages with no incoming dependencies.
    • VizRoot implements a new HasPackages mixin, mostly for testing.
    • Added copy and download buttons to the web UI.
    • Added reset mechanism to the UI.
    Open source →
    Release notes
    • Added --filter option to CLI (that's also reflected in the web UI).
    • Added a workspace filter to only show packages in the workspace.
    • Use a worker so the UI doesn't freeze when rendering big graphs.
    • MUCH smaller WebAssembly module.
    • Added --package flag to open a specific published package.
    • Added a hide-isolated filter to remove unpublished or root workspace packages with no incoming dependencies.
    • VizRoot implements a new HasPackages mixin, mostly for testing.
    • Added copy and download buttons to the web UI.
    • Added reset mechanism to the UI.
    Open source →
  4. 6.0.0 03 Apr 2026
    Release notes

    Breaking Changes

    • VizRoot.forDirectory has been replaced by the vizRoot extension method on
      Service to accommodate internal refactoring. vizRoot is exposed directly
      via pubviz.dart.
    • Reduced the mutable public API surface of VizRoot significantly; package
      nodes and references are formally encapsulated, and filtering logic like
      .filter now returns immutable clones of VizRoot rather than mutating
      objects in-place.
    • VizRoot.allDeps has been removed.
    • Removed the --action create option.
    • Removed the --out-dir option.

    Web UI Overhaul

    • --flag-outdated now defaults to on.
    • Added a filter to hide dev_dependency edges and nodes.
    • Added a filter to only show paths to outdated dependencies.
    • Assets are now served without creating a temp directory.

    New Features

    • Workspaces: pubviz now automatically infers workspace context.
      If run in a workspace root or member package, it natively visualizes the
      layout for the entire workspace graph. The --workspace flag is now optional
      (--[no-]workspace).

    Bug Fixes

    • Workspaces: Included missing relational web edges for dev_dependencies
      belonging to workspace sub-members. They previously rendered as disconnected
      nodes.
    Open source →
    Release notes

    Breaking Changes

    • VizRoot.forDirectory has been replaced by the vizRoot extension method on Service to accommodate internal refactoring. vizRoot is exposed directly via pubviz.dart.
    • Reduced the mutable public API surface of VizRoot significantly; package nodes and references are formally encapsulated, and filtering logic like .filter now returns immutable clones of VizRoot rather than mutating objects in-place.
    • VizRoot.allDeps has been removed.
    • Removed the --action create option.
    • Removed the --out-dir option.

    Web UI Overhaul

    • --flag-outdated now defaults to on.
    • Added a filter to hide dev_dependency edges and nodes.
    • Added a filter to only show paths to outdated dependencies.
    • Assets are now served without creating a temp directory.

    New Features

    • Workspaces: pubviz now automatically infers workspace context. If run in a workspace root or member package, it natively visualizes the layout for the entire workspace graph. The --workspace flag is now optional (--[no-]workspace).

    Bug Fixes

    • Workspaces: Included missing relational web edges for dev_dependencies belonging to workspace sub-members. They previously rendered as disconnected nodes.
    Open source →
  5. 5.0.0 23 Mar 2026
    Release notes

    Breaking Changes

    • Replaced positional commands (open, create, print) and the --format
      option with a unified --action (-a) flag.
    • Default execution (pubviz) now functions identically to pubviz -a open.
    • Removed the viz/dot.dart library. toDot is now exposed via a an extension
      on VizRoot

    New Features

    • Workspaces: Added the --workspace (-w) flag to visualize all linked
      packages within a Dart workspace.
    • Output Controls: Added the --out-dir option to specify a target
      destination for generated HTML and offline capabilities.
    • Serve Mode & Offline Support: Added the serve action which hosts the
      web app locally via dhttpd without booting up a new browser window. The
      open action now uses this local server to bypass strict file:// CORS
      restrictions internally. Additionally, the package now supports complete
      offline functionality by bundling compiled Dart web application assets (JS
      and WASM) directly inside the package.

    Web UI Overhaul

    • Completely redesigned the interactive web interface, adding a collapsible
      sidebar for cleaner zooming and display control.
    • Added a z keyboard shortcut to easily toggle graph zoom capabilities.
    • Improved graph styling: Primary packages now utilize a distinct background
      color to distinguish them easily.

    Other Improvements & Fixes

    • Modernized workspace discovery inside the codebase by utilizing structured
      JSON data directly from pub tool invocations.
    • Hide version labels for primary node packages intentionally marked
      publish_to: none.
    • Display a helpful warning message if pubviz runs inside a workspace root
      missing the --workspace flag.
    • Fixed a bug causing wrong colors on hover interactions over outdated packages.
    • Require sdk: ^3.10.0.
    Open source →
    Release notes

    Breaking Changes

    • Replaced positional commands (open, create, print) and the --format option with a unified --action (-a) flag.
    • Default execution (pubviz) now functions identically to pubviz -a open.
    • Removed the viz/dot.dart library. toDot is now exposed via a an extension on VizRoot

    New Features

    • Workspaces: Added the --workspace (-w) flag to visualize all linked packages within a Dart workspace.
    • Output Controls: Added the --out-dir option to specify a target destination for generated HTML and offline capabilities.
    • Serve Mode & Offline Support: Added the serve action which hosts the web app locally via dhttpd without booting up a new browser window. The open action now uses this local server to bypass strict file:// CORS restrictions internally. Additionally, the package now supports complete offline functionality by bundling compiled Dart web application assets (JS and WASM) directly inside the package.

    Web UI Overhaul

    • Completely redesigned the interactive web interface, adding a collapsible sidebar for cleaner zooming and display control.
    • Added a z keyboard shortcut to easily toggle graph zoom capabilities.
    • Improved graph styling: Primary packages now utilize a distinct background color to distinguish them easily.

    Other Improvements & Fixes

    • Modernized workspace discovery inside the codebase by utilizing structured JSON data directly from pub tool invocations.

    • Hide version labels for primary node packages intentionally marked publish_to: none.

    • Display a helpful warning message if pubviz runs inside a workspace root missing the --workspace flag.

    • Fixed a bug causing wrong colors on hover interactions over outdated packages.

    • Require sdk: ^3.10.0.

    Open source →
  6. 4.1.1 13 Mar 2026
    Release notes
    • Fix issue with script tag.
    Open source →
    Release notes
    • Fix issue with script tag.
    Open source →
  7. 4.1.0 11 Mar 2026
    Release notes
    • Added a printed output to pubviz when using the -o flag that provides a
      topologically sorted update order for outdated packages.
    • Require sdk: ^3.9.0.
    Open source →
    Release notes
    • Added a printed output to pubviz when using the -o flag that provides a topologically sorted update order for outdated packages.
    • Require sdk: ^3.9.0.
    Open source →
  8. 4.0.1 04 Dec 2024
    Release notes
    • Fix issue when package has dependency overrides.
    Open source →
    Release notes
    • Fix issue when package has dependency overrides.
    Open source →
  9. 4.0.0 25 Nov 2024
    Release notes
    • Support (Dart 3.6) workspaces.
    • API refactoring to support workspaces.
    Open source →
    Release notes
    • Support (Dart 3.6) workspaces.
    • API refactoring to support workspaces.
    Open source →
  10. 3.0.1 23 Oct 2024
    Release notes
    • require at least Dart 3.5
    Open source →
    Release notes
    • require at least Dart 3.5
    Open source →
  11. 3.0.0 21 Mar 2022
    Release notes
    • require at least Dart 2.18
    • Allow latest pkg:http.
    Open source →
  12. 2.8.2 20 May 2020
    Release notes
    • Handle a null output from pub without crashing.
    Open source →
  13. 2.8.2+1 02 Oct 2020
    Release notes
    • Update README with instructions how to generate PDF, PNG or other files
    Open source →
  14. 2.8.1 13 May 2020
    Release notes
    • Copy valid package name parsing logic from pub tool.
      • Packages with . in their name are now allowed.
    Open source →
  15. 2.8.0 08 May 2020
    Release notes
    • Add new --production-dependencies flag to only output packages needed for production.
    • Updated --direct-dependencies behavior to treat dev_dependencies the same as dependencies.
    • Don't include sky_engine in output ever – it's just dart:ui.
    • Bumped min Dart SDK to 2.8.1.
    • Implementation: use new pub outdated command.
    Open source →
  16. 2.7.0 11 Mar 2020
    Release notes
    • Added --version to CLI.
    • Bumped min Dart SDK to 2.3.
    Open source →
  17. 2.6.0 28 Jan 2020
    Release notes
    • Add support for direct dependencies only with --direct-dependencies (-d).
    Open source →
  18. 2.5.5 20 Oct 2019
    Release notes
    • Update dependencies.
    Open source →
  19. 2.5.4 20 Oct 2018
    Release notes
    • Improve the package description.

    • Update some dependencies.

    Open source →
  20. 2.5.3 23 Jul 2018
    Release notes
    • Support Dart 2 stable.
    Open source →
  21. 2.5.2 21 Jun 2018
    Release notes
    • Fixes for Dart 2 type system.
    Open source →
  22. 2.5.1 12 Jun 2018
    Release notes
    • Stop using deprecated HTTP constants.
    Open source →
  23. 2.5.0 07 Jun 2018
    Release notes
    • Use pkg:pubspec_parse package.

    • Stop using deprecated constants.

    • Improve handling of pre-release packages.

    Open source →
  24. 2.4.5 09 May 2018
    Release notes
    • Fix for latest Flutter SDK.
    Open source →
  25. 2.4.4 21 Apr 2018
    Release notes
    • Fixed code organization to eliminate warning during pub global activate.
    Open source →
  26. 2.4.3 21 Apr 2018
    Release notes
    • Improvements in CLI error handling and help.
    Open source →
  27. 2.4.2 27 Dec 2017
    Release notes
    • Updated output format.

    • And other cleanup...

    Open source →
  28. 2.4.1 21 Dec 2017
    Release notes
    • Using nodesep=0.2 on the graph to make it tighter.

    • Hosted code

      • Much more robust handling of node clicks to add/remove.

      • Make it clear that nodes can be clicked by changing the cursor.

    Open source →
  29. 2.4.0 28 Nov 2017
    Release notes
    • Better error output if a subprocess fails.

    • Try to handle flutter packages.

    Open source →
  30. 2.3.11 16 Aug 2017
    Release notes
    • Better hover-over behavior for outdated dependencies.
    Open source →
  31. 2.3.10 16 Aug 2017
    Release notes
    • Update gviz.

    • Support larger dependency graphs.

    • Update version of viz.js.

    • Use viz-lite.js – smaller download.

      • Continue to host vis.js so we don't break existing installations.
    Open source →
  32. 2.3.9 07 Jul 2017
    Release notes
    • Updated dependencies.

    • Fix case where we're pulling in a pre-release version that is after the latest stable version.

    Open source →
  33. 2.3.9+1 03 Aug 2017
    Release notes
    • Use gviz package. Get out of the GraphViz formatting business.
    Open source →
  34. 2.3.8 19 May 2017
    Release notes
    • Send a descriptive user agent to the server.

    • Added retry logic for HTTP requests.

    • Sort the output.

    Open source →
  35. 2.3.7 20 Sep 2016
    Release notes
    • Better stack trace on errors.
    Open source →
  36. 2.3.6 11 Feb 2016
    Release notes
    • Cleanup, handled some deprecations, improve load time.
    Open source →
  37. 2.3.5 22 Oct 2015
    Release notes
    • Tweaks test code, examples, dependencies.
    Open source →
  38. 2.3.4 14 May 2015
    Release notes
    • Properly escape the latest version for outdated dependencies.

    • Add a reasonable tool-tip for the entire graph.

    • Don't show the root node as outdated.

    Open source →
  39. 2.3.3 13 May 2015
    Release notes
    • Using CSS animations for effects. Hosting style on GitHub.
    Open source →
  40. 2.3.2 13 May 2015
    Release notes
    • All fancy with mouse-over effects.
    Open source →
  41. 2.3.1 05 May 2015
    Release notes
    • With --flag-outdated (-o) do version lookup in parallel. MUCH faster.
    Open source →
  42. 2.3.1+1 06 May 2015
    Release notes
    • Fix README.md.
    Open source →
  43. 2.3.0 03 Apr 2015
    Release notes
    • Allow ignoring packages via --ignore-packages. Thanks, Günter!

    • A fix for running on Windows. Thanks, Oliver!

    • A fix for formatting packages with hyphens. Thanks, Bryon!

    Open source →
  44. 2.2.2 07 Mar 2015

    Nothing published for this version

  45. 2.2.2+1 07 Mar 2015

    Nothing published for this version

  46. 2.2.2+2 07 Mar 2015

    Nothing published for this version

  47. 2.2.1 28 Aug 2014

    Nothing published for this version

  48. 2.2.1+1 28 Aug 2014

    Nothing published for this version

  49. 2.2.1+2 29 Aug 2014

    Nothing published for this version

  50. 2.2.1+3 26 Sep 2014

    Nothing published for this version

  51. 2.2.1+4 29 Sep 2014

    Nothing published for this version

  52. 2.2.1+5 16 Oct 2014

    Nothing published for this version

  53. 2.2.1+6 16 Oct 2014

    Nothing published for this version

  54. 2.2.0 24 Jul 2014

    Nothing published for this version

  55. 2.1.0 17 Feb 2014

    Nothing published for this version

  56. 2.0.0 16 Feb 2014

    Nothing published for this version

  57. 1.3.0 16 Feb 2014

    Nothing published for this version

  58. 1.2.0 27 Dec 2013

    Nothing published for this version

  59. 1.1.0+1 27 Dec 2013

    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