Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Dec 21:18
· 7 commits to master since this release

2.0.0 (2025-12-25)

  • feat!: switch package output to ESM (cf399d3)
  • feat!: update build to esm (#58) (64ebf18)

Bug Fixes

  • cache-headers: fix joining for cache headers and update wrong readme code sample (1291a54)
  • clean: cleanup example (c8fdfea)
  • core: change npm to yarn and also enchance semantic-release config (d545ef8)
  • cors: add cors middleware (2fcb791)
  • npm: add repository link (037f42f)
  • pretty print pino issue (f90c938)
  • readme: update readme (2326658)
  • request-time: make request time header optional (d1e52be)
  • response-headers: fix behavior for response headers setHeader method (61f58d0)
  • server: add typing correct exposure and helper shape type (d72d4de)
  • server: fix sound return for empty response (adb0565)
  • ts: ts definitions for catched errors (3c67cc3)

Features

  • add params type infer to the route handlers (#57) (75b1139)
  • add readme rename the api method for starters (e4dcd73)
  • fast-json: basic schema generation from return type (9236aa4)
  • fast-json: wip type walking (4a6da78)
  • query: add query params parsing (9f8ab80)
  • routes: bulk & chaining declaration & readme update #36 (81e8dc4)
  • server: add runtime routes declaration (043acd3)
  • ws: add websocket basic support v1, change flows map to weakmap (cc86bdd)
  • ws: add websocket handy methods exposure for easy interaction (3ba660a)

BREAKING CHANGES

  • package is now ESM-only (imports must use .js extensions).
  • update dependencies