Skip to content

v2.3.4

Choose a tag to compare

@github-actions github-actions released this 12 Aug 22:10
· 12 commits to main since this release

serverstruct

2.3.0

Minor Changes

  • 09841cf: Add custom error message for missing context value
  • 9121a54: Add schemas() for defining route schemas

2.2.0

Minor Changes

  • 8687fd7: Support router.mount() mounting multiple sub-apps at once using box

2.1.0

Minor Changes

  • 45cd71f: Add router.document() for serving OpenAPI docs

2.0.0

Major Changes

  • 3aadc73: Remove deprecated OpenApiPaths.routes() — use router.route() instead
  • 3aadc73: Remove deprecated createRouter — use useRouter instead
  • 3aadc73: Upgrade to getbox@v2

1.4.0

Minor Changes

  • 597d6f1: Replace OpenApiPaths.routes with OpenApiRouter.route and deprecate OpenApiPaths.routes
  • 597d6f1: Replace createRouter with useRouter and deprecate createRouter

1.3.0

Minor Changes

  • 11e53bd: Add route function for defining standalone OpenAPI routes

Patch Changes

  • a97a191: Use transient for controller, handler, eventHandler, middleware and route constructors

1.2.0

Minor Changes

  • 0031700: Add OpenAPI Integration
  • 0031700: Add OpenTelemetry Integration
  • 0031700: Re-export serve function H3

1.1.0

Minor Changes

  • 2d657d5: Add handler, eventHandler and middleware functions

    Add request-scoped Context with the context function.

1.0.0

Major Changes

0.4.0

Minor Changes

  • 84d056e: Migrate from hono and hollywood-di to h3 and getbox.

    Replace createModule() with application(fn, box?) and controller(fn).

0.3.0

Minor Changes

  • bffca37: Rename createRoute to createModule

0.2.0

Minor Changes

  • fa4e3da: Replace createController/createModule API with createRoute

0.1.1

Patch Changes

  • 609146c: Bump CI node version to v18