Skip to content

v0.5.0

Choose a tag to compare

@knoan knoan released this 14 Oct 16:21
· 12 commits to main since this release

Line-opening release stating interface faults as defects and confining them with failure guards.

Added

  • @metreeca/tile-hive/guard — Guard failure boundary showing a fallback in place of a component that failed to
    render, and raising the failure on the shared board while the rest of the screen keeps working
  • @metreeca/tile-hive/toast — bug glyph marking defect posts, painted on the fail step like ordinary failures

Changed

  • @metreeca/tile-data/board — breaking: Status gains a defect member for faults of the interface itself,
    and raise posts errors and any other value that is not problem details as a defect instead of a failure
    (migration: add a defect branch to every exhaustive switch over Status, and match "defect" wherever raised
    issues are picked out by status === "failure", since broken scripts and failed renders now reach the board so)
  • @metreeca/tile-data/board — only the outermost Board takes up broken scripts and unhandled rejections, so a
    page issue is stated once however many boards are nested, while each board keeps the posts of its own components
  • @metreeca/tile-cell — no longer depends on @metreeca/http, which none of its modules imports

Full Changelog: v0.4.0...v0.5.0