Skip to content

0.4.0

Choose a tag to compare

@3m1n3nc3 3m1n3nc3 released this 08 May 02:34
· 647 commits to main since this release

Highlights

  • Added @arkstack/view, an Edge.js-powered view package with Laravel-style rendering APIs.
  • Added package-scoped views using ~package-name.view and ~org/package-name.view.
  • Added default welcome.edge and 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/view with:
    • 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:view command for generating Edge templates.
  • Added tests for view rendering, composers, package views, and the make-view command.

Templates

  • Added welcome.edge views 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/view workspace 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