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
48 changes: 0 additions & 48 deletions .changeset/account-profile-custom-renderer.md

This file was deleted.

48 changes: 0 additions & 48 deletions .changeset/email-template-metadata-type.md

This file was deleted.

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

## 7.1.0

## 7.0.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/account/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@objectstack/account",
"version": "7.0.0",
"version": "7.1.0",
"description": "ObjectStack Account - End-user account & organization self-service portal",
"license": "Apache-2.0",
"type": "module",
Expand Down
49 changes: 49 additions & 0 deletions examples/app-crm/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,54 @@
# @objectstack/example-crm

## 4.0.27

### Patch Changes

- 47a92f4: Promote `email_template` to a first-class metadata type using the canonical
`EmailTemplateDefinitionSchema`.

Previously `email_template` had two competing Zod schemas (Prime Directive
#8 violation): the legacy `EmailTemplateSchema` (a sub-shape of
`Notification`) and the richer `EmailTemplateDefinitionSchema`. The runtime
metadata protocol (`packages/objectql/src/protocol.ts`) and Studio's
property panel registered the legacy one, which is why all the new fields
(`name`, `label`, `category`, `locale`, `bodyHtml`, `bodyText`, …) were
reported as “declared in form layout but missing from schema”.

This change:

- Repoints the `email_template` entry in `TYPE_TO_SCHEMA`
(`packages/objectql/src/protocol.ts`) and in
`BUILTIN_METADATA_TYPE_SCHEMAS`
(`packages/spec/src/kernel/metadata-type-schemas.ts`) to
`EmailTemplateDefinitionSchema`. The legacy `EmailTemplateSchema` is
kept only as an inline sub-shape inside `Notification`.
- Adds an `emailTemplates` collection to `defineStack()` input
(`packages/spec/src/stack.zod.ts`), registers it in
`MAP_SUPPORTED_FIELDS`/`PLURAL_TO_SINGULAR`
(`packages/spec/src/shared/metadata-collection.zod.ts`), wires it into
`ARTIFACT_FIELD_TO_TYPE` (`packages/metadata/src/plugin.ts`) and
`APP_CATEGORY_KEYS` (`packages/runtime/src/app-plugin.ts`).
- Rewrites `packages/spec/src/system/email-template.form.ts` for the new
schema with sections for Identity, Subject, HTML body, Plain-text body,
Variables, Delivery overrides, Status.
- Ships three reference templates in `examples/app-crm/src/emails/`:
`crm.deal_won` (rewritten to canonical shape), `crm.welcome` (new),
`crm.lead_followup` (new), and wires them into the CRM stack via
`emailTemplates: Object.values(emails)`.

End-to-end verified in Studio: list view at
`/_console/apps/studio/metadata/email_template` shows all three entries;
the detail view renders the EmailTemplatePreview iframe and the property
panel cleanly renders every canonical field (no missing-schema warnings).
`GET /api/v1/meta` now returns the new `properties` set
(`name, label, category, locale, subject, bodyHtml, bodyText, variables,
fromOverride, replyTo, active, isSystem, description`).

- Updated dependencies [47a92f4]
- @objectstack/spec@7.1.0
- @objectstack/runtime@7.1.0

## 4.0.26

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/app-crm/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@objectstack/example-crm",
"version": "4.0.26",
"version": "4.0.27",
"description": "Minimal CRM example — a smoke-test workspace that exercises the metadata loading pipeline (objects → views → app → dashboard → hook → flow → seed). For a full-featured enterprise CRM see https://github.com/objectstack-ai/hotcrm.",
"license": "Apache-2.0",
"private": true,
Expand Down
15 changes: 15 additions & 0 deletions examples/app-todo/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
# @objectstack/example-todo

## 4.0.27

### Patch Changes

- Updated dependencies [47a92f4]
- @objectstack/spec@7.1.0
- @objectstack/objectql@7.1.0
- @objectstack/metadata@7.1.0
- @objectstack/runtime@7.1.0
- @objectstack/service-ai@7.1.0
- @objectstack/client@7.1.0
- @objectstack/driver-sqlite-wasm@7.1.0
- @objectstack/knowledge-memory@7.1.0
- @objectstack/service-knowledge@7.1.0

## 4.0.26

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/app-todo/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@example/app-todo",
"version": "4.0.26",
"version": "4.0.27",
"description": "Example Todo App using ObjectStack Protocol",
"license": "Apache-2.0",
"private": true,
Expand Down
2 changes: 2 additions & 0 deletions packages/adapters/express/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
# @objectstack/express

## 7.1.0

## 7.0.0

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

## 7.1.0

## 7.0.0

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

## 7.1.0

### Patch Changes

- @objectstack/plugin-hono-server@7.1.0

## 7.0.0

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

## 7.1.0

## 7.0.0

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

## 7.1.0

## 7.0.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/nextjs/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@objectstack/nextjs",
"version": "7.0.0",
"version": "7.1.0",
"license": "Apache-2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions packages/adapters/nuxt/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
# @objectstack/nuxt

## 7.1.0

## 7.0.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/nuxt/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@objectstack/nuxt",
"version": "7.0.0",
"version": "7.1.0",
"license": "Apache-2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions packages/adapters/sveltekit/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
# @objectstack/sveltekit

## 7.1.0

## 7.0.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/sveltekit/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@objectstack/sveltekit",
"version": "7.0.0",
"version": "7.1.0",
"license": "Apache-2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
43 changes: 43 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
# @objectstack/cli

## 7.1.0

### Patch Changes

- Updated dependencies [6228609]
- Updated dependencies [47a92f4]
- @objectstack/platform-objects@7.1.0
- @objectstack/spec@7.1.0
- @objectstack/objectql@7.1.0
- @objectstack/runtime@7.1.0
- @objectstack/plugin-approvals@7.1.0
- @objectstack/plugin-audit@7.1.0
- @objectstack/plugin-auth@7.1.0
- @objectstack/plugin-email@7.1.0
- @objectstack/plugin-org-scoping@7.1.0
- @objectstack/plugin-reports@7.1.0
- @objectstack/plugin-security@7.1.0
- @objectstack/plugin-sharing@7.1.0
- @objectstack/plugin-webhooks@7.1.0
- @objectstack/service-ai@7.1.0
- @objectstack/service-job@7.1.0
- @objectstack/service-queue@7.1.0
- @objectstack/service-realtime@7.1.0
- @objectstack/service-settings@7.1.0
- @objectstack/account@7.1.0
- @objectstack/client@7.1.0
- @objectstack/core@7.1.0
- @objectstack/observability@7.1.0
- @objectstack/driver-memory@7.1.0
- @objectstack/driver-mongodb@7.1.0
- @objectstack/driver-sql@7.1.0
- @objectstack/driver-sqlite-wasm@7.1.0
- @objectstack/plugin-hono-server@7.1.0
- @objectstack/plugin-mcp-server@7.1.0
- @objectstack/rest@7.1.0
- @objectstack/service-analytics@7.1.0
- @objectstack/service-automation@7.1.0
- @objectstack/service-cache@7.1.0
- @objectstack/service-feed@7.1.0
- @objectstack/service-package@7.1.0
- @objectstack/service-storage@7.1.0
- @objectstack/console@7.1.0

## 7.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "@objectstack/cli",
"version": "7.0.0",
"version": "7.1.0",
"description": "Command Line Interface for ObjectStack Protocol",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
9 changes: 9 additions & 0 deletions packages/client-react/CHANGELOG.md
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
# @objectstack/client-react

## 7.1.0

### Patch Changes

- Updated dependencies [47a92f4]
- @objectstack/spec@7.1.0
- @objectstack/client@7.1.0
- @objectstack/core@7.1.0

## 7.0.0

### Patch Changes
Expand Down
Loading