Skip to content

Latest commit

 

History

History
194 lines (103 loc) · 3.17 KB

File metadata and controls

194 lines (103 loc) · 3.17 KB

@objectstack/fastify

4.0.4

Patch Changes

  • @objectstack/runtime@4.0.4

4.0.3

Patch Changes

  • @objectstack/runtime@4.0.3

4.0.2

Patch Changes

  • @objectstack/runtime@4.0.2

4.0.0

Patch Changes

  • f08ffc3: Fix discovery API endpoint routing and protocol consistency.

    Discovery route standardization:

    • All adapters (Express, Fastify, Hono, NestJS, Next.js, Nuxt, SvelteKit) now mount the discovery endpoint at {prefix}/discovery instead of {prefix} root.
    • .well-known/objectstack redirects now point to {prefix}/discovery.
    • Client connect() fallback URL changed from /api/v1 to /api/v1/discovery.
    • Runtime dispatcher handles both /discovery (standard) and / (legacy) for backward compatibility.

    Schema & route alignment:

    • Added storage (service: file-storage) and feed (service: data) routes to DEFAULT_DISPATCHER_ROUTES.
    • Added feed and discovery fields to ApiRoutesSchema.
    • Unified GetDiscoveryResponseSchema with DiscoverySchema as single source of truth.
    • Client getRoute('feed') fallback updated from /api/v1/data to /api/v1/feed.

    Type safety:

    • Extracted ApiRouteType from ApiRoutes keys for type-safe client route resolution.
    • Removed as any type casting in client route access.
  • Updated dependencies [f08ffc3]

  • Updated dependencies [e0b0a78]

    • @objectstack/runtime@4.0.0

3.3.1

Patch Changes

  • @objectstack/runtime@3.3.1

3.3.0

Patch Changes

  • @objectstack/runtime@3.3.0

3.2.9

Patch Changes

  • @objectstack/runtime@3.2.9

3.2.8

Patch Changes

  • @objectstack/runtime@3.2.8

3.2.8

Patch Changes

  • fix: unified catch-all dispatch pattern — objectStackPlugin() now delegates all non-framework-specific routes to HttpDispatcher.dispatch(), automatically supporting packages, analytics, automation, i18n, ui, openapi, custom endpoints, and any future routes
  • Only auth (service check), storage (file upload), GraphQL (raw result), and discovery (response wrapper) remain as explicit routes

3.2.7

Patch Changes

  • @objectstack/runtime@3.2.7

3.2.6

Patch Changes

  • @objectstack/runtime@3.2.6

3.2.5

Patch Changes

  • @objectstack/runtime@3.2.5

3.2.4

Patch Changes

  • @objectstack/runtime@3.2.4

3.2.3

Patch Changes

  • @objectstack/runtime@3.2.3

3.2.2

Patch Changes

  • @objectstack/runtime@3.2.2

3.2.1

Patch Changes

  • @objectstack/runtime@3.2.1

3.2.0

Patch Changes

  • @objectstack/runtime@3.2.0

3.1.1

Patch Changes

  • @objectstack/runtime@3.1.1

3.1.0

Patch Changes

  • @objectstack/runtime@3.1.0

3.0.11

Patch Changes

  • @objectstack/runtime@3.0.11

3.0.10

Patch Changes

  • @objectstack/runtime@3.0.10

3.0.9

Patch Changes

  • @objectstack/runtime@3.0.9

3.0.8

Patch Changes

  • @objectstack/runtime@3.0.8

3.0.7

Patch Changes

  • @objectstack/runtime@3.0.7

3.0.6

Patch Changes

  • @objectstack/runtime@3.0.6

3.0.5

Patch Changes

  • @objectstack/runtime@3.0.5

3.0.4

Patch Changes

  • @objectstack/runtime@3.0.4

3.0.3

Patch Changes

  • Updated dependencies [c7267f6]
    • @objectstack/runtime@3.0.3