Skip to content
This repository was archived by the owner on Jun 9, 2026. It is now read-only.

0.12.0

Choose a tag to compare

@exronnin exronnin released this 28 May 20:09
· 92 commits to main since this release

Changed

  • Centralized app lifecycle defaults in @arkstack/contract, including shared boot() defer semantics and startup wiring.
  • Moved boot/shutdown hook execution into the shared bootWithDetectedPort() lifecycle path.
  • Simplified Express and H3 templates by removing duplicated lifecycle boilerplate.
  • Registered global request helpers during HTTP and CLI boot:
    • abort()
    • abortIf()
    • assertFound()

Fixed

  • Fixed generated config typings so middleware.ts is included in ConfigRegistry.
  • Fixed config('middleware') TypeScript failures by treating all Function values as terminal dot-path leaves.
  • Added a regression test for middleware config type generation.
  • Added RequestException.assertFound() and kept assertNotEmpty() as a deprecated alias.

Full Changelog: 0.11.2...0.12.0