Skip to content

package:pubviz v6.0.0

Choose a tag to compare

@kevmoo kevmoo released this 03 Apr 19:10
8646441

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.