Releases: kevmoo/pubviz
Releases · kevmoo/pubviz
package:pubviz v6.1.0
- Added
--filteroption to CLI (that's also reflected in the web UI). - Added a
workspacefilter 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
--packageflag to open a specific published package. - Added a
hide-isolatedfilter to remove unpublished or root workspace
packages with no incoming dependencies. VizRootimplements a newHasPackagesmixin, mostly for testing.- Added
copyanddownloadbuttons to the web UI. - Added reset mechanism to the UI.
package:pubviz v6.0.0
Breaking Changes
VizRoot.forDirectoryhas been replaced by thevizRootextension method on
Serviceto accommodate internal refactoring.vizRootis exposed directly
viapubviz.dart.- Reduced the mutable public API surface of
VizRootsignificantly; package
nodes and references are formally encapsulated, and filtering logic like
.filternow returns immutable clones ofVizRootrather than mutating
objects in-place. VizRoot.allDepshas been removed.- Removed the
--action createoption. - Removed the
--out-diroption.
Web UI Overhaul
--flag-outdatednow defaults to on.- Added a filter to hide
dev_dependencyedges and nodes. - Added a filter to only show paths to outdated dependencies.
- Assets are now served without creating a temp directory.
New Features
- Workspaces:
pubviznow automatically infers workspace context.
If run in a workspace root or member package, it natively visualizes the
layout for the entire workspace graph. The--workspaceflag 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
Breaking Changes
- Replaced positional commands (
open,create,print) and the--format
option with a unified--action(-a) flag. - Default execution (
pubviz) now functions identically topubviz -a open. - Removed the
viz/dot.dartlibrary.toDotis now exposed via a an extension
onVizRoot
New Features
- Workspaces: Added the
--workspace(-w) flag to visualize all linked
packages within a Dart workspace. - Output Controls: Added the
--out-diroption to specify a target
destination for generated HTML and offline capabilities. - Serve Mode & Offline Support: Added the
serveaction which hosts the
web app locally viadhttpdwithout booting up a new browser window. The
openaction now uses this local server to bypass strictfile://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
zkeyboard 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 frompubtool invocations. - Hide version labels for primary node packages intentionally marked
publish_to: none. - Display a helpful warning message if
pubvizruns inside a workspace root
missing the--workspaceflag. - Fixed a bug causing wrong colors on hover interactions over outdated packages.
- Require
sdk: ^3.10.0.
package:pubviz v4.1.1
- Fix issue with
scripttag.
package:pubviz v4.1.0
- Added a printed output to
pubvizwhen using the-oflag that provides a
topologically sorted update order for outdated packages. - Require
sdk: ^3.9.0.
package:pubviz v4.0.1
- Fix issue when package has dependency overrides.
package:pubviz v4.0.0
- Support (Dart 3.6) workspaces.
- API refactoring to support workspaces.
package:pubviz v3.0.1
- require at least Dart 3.5