Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .changeset/discovery-route-consistency.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/fix-vercel-api-html-response.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/queryast-convergence.md

This file was deleted.

2 changes: 2 additions & 0 deletions apps/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @objectstack/docs

## 3.4.0

## 3.3.1

## 3.3.0
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@objectstack/docs",
"version": "3.3.1",
"version": "3.4.0",
"private": true,
"description": "ObjectStack Protocol Documentation Site",
"license": "Apache-2.0",
Expand Down
35 changes: 35 additions & 0 deletions apps/studio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# @objectstack/studio

## 3.4.0

### Patch Changes

- 1624851: Fix Vercel deployment API endpoints returning HTML instead of JSON.

The `bundle-api.mjs` script was emitting the serverless function to `api/index.js`
at the project root, but `vercel.json` sets `outputDirectory: "dist"` — causing
Vercel to never find the function entrypoint and fall back to the SPA HTML route
for all `/api/*` requests.

- Change esbuild `outfile` from `api/index.js` to `dist/api/index.js` so the
bundled serverless function lands inside the Vercel output directory.
- Add explicit `functions` config in `vercel.json` pointing to `api/index.js`
(relative to `outputDirectory`) with `@vercel/node@3` runtime.
- Remove obsolete `.gitignore` entries for `api/index.js` and `api/index.js.map`
(now emitted under `dist/` which is already git-ignored).

- Updated dependencies [f08ffc3]
- Updated dependencies [e0b0a78]
- @objectstack/spec@3.4.0
- @objectstack/client@3.4.0
- @objectstack/runtime@3.4.0
- @objectstack/hono@3.4.0
- @objectstack/objectql@3.4.0
- @objectstack/plugin-auth@3.4.0
- @objectstack/client-react@3.4.0
- @objectstack/metadata@3.4.0
- @objectstack/driver-memory@3.4.0
- @objectstack/driver-turso@3.3.2
- @objectstack/plugin-audit@3.4.0
- @objectstack/plugin-msw@3.4.0
- @objectstack/plugin-security@3.4.0
- @objectstack/service-feed@3.4.0

## 3.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/studio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@objectstack/studio",
"version": "3.3.1",
"version": "3.4.0",
"description": "ObjectStack Studio - A metadata-driven admin interface for managing data and configuration",
"license": "Apache-2.0",
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions examples/app-crm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @objectstack/example-crm

## 3.0.26

### Patch Changes

- Updated dependencies [f08ffc3]
- Updated dependencies [e0b0a78]
- @objectstack/spec@3.4.0

## 3.0.25

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/app-crm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@example/app-crm",
"version": "3.0.25",
"version": "3.0.26",
"description": "Example CRM implementation using ObjectStack Protocol",
"license": "Apache-2.0",
"private": true,
Expand Down
17 changes: 17 additions & 0 deletions examples/app-host/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @objectstack/example-host

## 3.0.26

### Patch Changes

- Updated dependencies [f08ffc3]
- Updated dependencies [e0b0a78]
- @objectstack/spec@3.4.0
- @objectstack/runtime@3.4.0
- @objectstack/objectql@3.4.0
- @objectstack/plugin-auth@3.4.0
- @example/app-crm@3.0.26
- @example/app-todo@3.0.26
- @example/plugin-bi@3.0.26
- @objectstack/metadata@3.4.0
- @objectstack/driver-memory@3.4.0
- @objectstack/plugin-hono-server@3.4.0

## 3.0.25

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/app-host/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@example/app-host",
"version": "3.0.25",
"version": "3.0.26",
"license": "Apache-2.0",
"private": true,
"scripts": {
Expand Down
12 changes: 12 additions & 0 deletions examples/app-todo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @objectstack/example-todo

## 3.0.26

### Patch Changes

- Updated dependencies [f08ffc3]
- Updated dependencies [e0b0a78]
- @objectstack/spec@3.4.0
- @objectstack/client@3.4.0
- @objectstack/runtime@3.4.0
- @objectstack/objectql@3.4.0
- @objectstack/driver-memory@3.4.0

## 3.0.25

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/app-todo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@example/app-todo",
"version": "3.0.25",
"version": "3.0.26",
"description": "Example Todo App using ObjectStack Protocol",
"license": "Apache-2.0",
"private": true,
Expand Down
8 changes: 8 additions & 0 deletions examples/plugin-bi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @example/plugin-bi

## 3.0.26

### Patch Changes

- Updated dependencies [f08ffc3]
- Updated dependencies [e0b0a78]
- @objectstack/spec@3.4.0

## 3.0.25

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/plugin-bi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@example/plugin-bi",
"version": "3.0.25",
"version": "3.0.26",
"license": "Apache-2.0",
"private": true,
"main": "objectstack.config.ts",
Expand Down
29 changes: 29 additions & 0 deletions packages/adapters/express/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# @objectstack/express

## 3.4.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@3.4.0

## 3.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@objectstack/express",
"version": "3.3.1",
"version": "3.4.0",
"license": "Apache-2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
29 changes: 29 additions & 0 deletions packages/adapters/fastify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# @objectstack/fastify

## 3.4.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@3.4.0

## 3.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/fastify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@objectstack/fastify",
"version": "3.3.1",
"version": "3.4.0",
"license": "Apache-2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
29 changes: 29 additions & 0 deletions packages/adapters/hono/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# @objectstack/hono

## 3.4.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@3.4.0

## 3.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/hono/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@objectstack/hono",
"version": "3.3.1",
"version": "3.4.0",
"license": "Apache-2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
29 changes: 29 additions & 0 deletions packages/adapters/nestjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# @objectstack/nestjs

## 3.4.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@3.4.0

## 3.3.1

### Patch Changes
Expand Down
Loading