Skip to content

Releases: kevmoo/pubviz

package:pubviz v6.1.0

01 May 05:29
b1b09dd

Choose a tag to compare

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

package:pubviz v6.0.0

03 Apr 19:10
8646441

Choose a tag to compare

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.

package:pubviz v5.0.0

23 Mar 04:58
d509eec

Choose a tag to compare

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.

package:pubviz v4.1.1

13 Mar 19:24
87a712f

Choose a tag to compare

  • Fix issue with script tag.

package:pubviz v4.1.0

11 Mar 21:11
dd5e519

Choose a tag to compare

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

package:pubviz v4.0.1

04 Dec 00:54
0bb8da7

Choose a tag to compare

  • Fix issue when package has dependency overrides.

package:pubviz v4.0.0

25 Nov 03:20
324eada

Choose a tag to compare

  • Support (Dart 3.6) workspaces.
  • API refactoring to support workspaces.

package:pubviz v3.0.1

23 Oct 22:34
4354e3b

Choose a tag to compare

  • require at least Dart 3.5