0.4.0
Highlights
- Added
@arkstack/view, an Edge.js-powered view package with Laravel-style rendering APIs. - Added package-scoped views using
~package-name.viewand~org/package-name.view. - Added default
welcome.edgeand error/mail view templates across packages and starter apps. - Moved runtime router exports into driver packages for cleaner app/runtime boundaries.
- Refreshed the docs landing page and shared docs theme with the new Arkstack visual system.
What's Changed
Views
- Added
@arkstack/viewwith:view(name, data)view().share(...)View.make(...)View.first(...)View.exists(...)View.share(...)- view instance
.with(...) - function, class, and instance-based view composers
- package-scoped views
- Added
make:viewcommand for generating Edge templates. - Added tests for view rendering, composers, package views, and the make-view command.
Templates
- Added
welcome.edgeviews for Express and H3. - Updated default
/web routes to render the welcome view. - Added shared error view assets through
@arkstack/common. - Added notification mail view assets through
@arkstack/notifications.
Runtime and Drivers
- Moved router implementations into:
@arkstack/driver-express@arkstack/driver-h3
- Updated app cores to use the driver router exports.
- Improved runtime/network and error-handler integration.
Docs
- Added the Views guide.
- Updated API docs for view APIs and package-scoped views.
- Reworked the Architecture Overview for the current package architecture.
- Updated the docs landing page with runtime tabs, interactive feature selection, and package chips.
- Updated the shared docs theme to match the Arkstack welcome-page styling.
Dependencies and Release
- Added
@arkstack/viewworkspace dependency wiring. - Updated package versions for the 0.4.0 release line.
- Updated lockfile entries for the new view package and Edge.js integration.
Full Changelog: 0.3.17...0.4.0