Skip to content
Merged
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
5 changes: 0 additions & 5 deletions .changeset/billing-bin-shim.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/calm-tools-name.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clear-mcp-challenges.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/generic-mcp-conformance.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/kernel-malformed-authorization.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/oauth-kit-baseurl-type.md

This file was deleted.

30 changes: 0 additions & 30 deletions .changeset/platform-cli.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/billing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @codelitdev/billing

## 0.2.0

### Patch Changes

- 9bef99a: Ship the `codelit-billing` CLI through a committed `bin/codelit-billing.js` shim so workspace installs link the command before `dist/` is built.

## 0.1.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/billing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codelitdev/billing",
"version": "0.1.0",
"version": "0.2.0",
"description": "Provider-neutral billing engine for CodeLit products",
"author": "CodeLit",
"type": "module",
Expand Down
4 changes: 4 additions & 0 deletions packages/design-system/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @codelitdev/design-system

## 0.2.0

No changes in this release.

## 0.1.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codelitdev/design-system",
"version": "0.1.0",
"version": "0.2.0",
"description": "Shared CodeLit design tokens, Tailwind preset, and React primitives for CourseLit, MediaLit, SendLit, and FrontLit.",
"license": "Apache-2.0",
"author": "CodeLit",
Expand Down
12 changes: 12 additions & 0 deletions packages/mcp-server-kit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @codelitdev/mcp-server-kit

## 0.2.0

### Patch Changes

- 047058c: `selectHttpCredential` and `selectMcpCredential` now reject an `Authorization` header that is present but is not `Bearer <token>` with a new `{ kind: "malformed" }` selection (error code `unauthenticated`). Previously such a header was ignored, so a request could fall back to a session cookie or API key, contrary to ADR 0001. `Bearer <token> <extra>` is also malformed now. `mcp-server-kit` rejects malformed headers before calling `authenticate`.

**Product changes**

- Code that branches on the selection result must handle `"malformed"` like `"ambiguous"` (return a rejected result with `selected.error`). TypeScript reports the unhandled case where the code reads `selected.credential`.
- Updated dependencies [047058c]
- @codelitdev/platform@0.2.0

## 0.1.0

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/mcp-server-kit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codelitdev/mcp-server-kit",
"version": "0.1.0",
"version": "0.2.0",
"description": "MCP transport, session, auth hooks, and error mapping for CodeLit products",
"author": "CodeLit",
"type": "module",
Expand Down Expand Up @@ -37,7 +37,7 @@
"zod": "^3.25.76"
},
"peerDependencies": {
"@codelitdev/platform": ">=0.1.0-alpha.0"
"@codelitdev/platform": ">=0.2.0"
},
"devDependencies": {
"@codelitdev/platform": "workspace:*",
Expand Down
6 changes: 6 additions & 0 deletions packages/oauth-server-kit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @codelitdev/oauth-server-kit

## 0.2.0

### Patch Changes

- 047058c: Accept Better Auth 1.7 instances in `createMcpOAuthDiscoveryRoutes` without a cast: `auth.options.baseURL` is typed as `unknown` and rejected at runtime unless it is a static URL string.

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/oauth-server-kit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codelitdev/oauth-server-kit",
"version": "0.1.0",
"version": "0.2.0",
"description": "Lean Better Auth OAuth authentication framework for web, mobile, REST, and MCP surfaces.",
"author": "CodeLit",
"license": "MIT",
Expand Down
4 changes: 4 additions & 0 deletions packages/observability/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @codelitdev/observability

## 0.2.0

No changes in this release.

## 0.1.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/observability/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codelitdev/observability",
"version": "0.1.0",
"version": "0.2.0",
"description": "Provider-neutral logging and optional telemetry for CodeLit products",
"author": "CodeLit",
"type": "module",
Expand Down
35 changes: 35 additions & 0 deletions packages/platform-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# @codelitdev/platform-cli

## 0.2.0

### Minor Changes

- 047058c: Replace versioned `upgrade` with `sync`, bundle the compatibility preset, and update the template.

**CLI**

- `sync` replaces `upgrade`. It re-renders the CLI-managed files from this release's template and refuses to overwrite a file whose hash no longer matches the manifest. Writes need a clean Git worktree; `--dry-run` works in a dirty one.
- The manifest is `schemaVersion: 2`: it records the product name and slug and the CLI version that last synced, and drops `templateVersion`, `appliedUpgrades`, and `presetVersion`. v1 manifests are migrated on the next `sync`.
- The compatibility preset ships inside the CLI (`dist/preset.json`). `@codelitdev/platform-preset` is no longer published.
- External pins now come from the template's exact versions: better-auth 1.7.7, @electric-sql/pglite 0.5.8, drizzle-kit 0.31.10, Next.js 16.3.6, and React 19.2.8.
- The only managed file is `.github/workflows/platform-conformance.yml`. `tooling/platform/config.ts` and the API README title codemod are removed.
- The package includes its README.

**Template**

- `platform-conformance.yml` (managed) runs `doctor` with the pinned CLI version, `check:drift`, and the API package's `test:conformance` script. Lint, typecheck, test, and build move to a product-owned `code-quality.yml`.
- `create` writes a product-owned `.github/dependabot.yml` that groups `@codelitdev/*` updates into one pull request per release.
- The Better Auth schema is regenerated for 1.7.7, which drops `account.issuer`.
- `.env.example` points at the Postgres service in `docker-compose.yml`.
- Removed leftover reference-product branding, the unused `logger.ts`, and the duplicate root `generate:check` script.

**Product changes for this release**

- Add a `test:conformance` script to the API package that runs the product's `@codelitdev/platform-conformance` suites. The conformance workflow fails without it.
- `sync` removes test, typecheck, and build from the managed workflow. If no other workflow runs them, copy `templates/saas-product/.github/workflows/code-quality.yml`.
- Upgrade to the new external pins, including Next.js 16, or `doctor` fails.
- Add a migration that drops or relaxes `account.issuer` before running Better Auth 1.7.7.
- Handle the new `"malformed"` credential selection from `@codelitdev/platform` (see its release notes).

### Patch Changes

- 93b95f7: Derive generated product names from the destination directory basename so absolute and nested paths produce valid workspace scopes, and keep generated Next.js configuration stable after its first production build.

## 0.1.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codelitdev/platform-cli",
"version": "0.1.0",
"version": "0.2.0",
"description": "Create, check, and sync CodeLit Platform products",
"author": "CodeLit",
"type": "module",
Expand Down
16 changes: 8 additions & 8 deletions packages/platform-cli/src/preset.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,42 @@
},
"packages": {
"@codelitdev/platform": {
"recommended": "0.1.0",
"recommended": "0.2.0",
"supported": ">=0.1.0-alpha.0 <2",
"minimumSecure": "0.1.0-alpha.0"
},
"@codelitdev/observability": {
"recommended": "0.1.0",
"recommended": "0.2.0",
"supported": ">=0.1.0-alpha.0 <2",
"minimumSecure": "0.1.0-alpha.0"
},
"@codelitdev/mcp-server-kit": {
"recommended": "0.1.0",
"recommended": "0.2.0",
"supported": ">=0.1.0-alpha.0 <2",
"minimumSecure": "0.1.0-alpha.0"
},
"@codelitdev/platform-conformance": {
"recommended": "0.1.0",
"recommended": "0.2.0",
"supported": ">=0.1.0-alpha.0 <2",
"minimumSecure": "0.1.0-alpha.0"
},
"@codelitdev/platform-cli": {
"recommended": "0.1.0",
"recommended": "0.2.0",
"supported": ">=0.1.0-alpha.0 <2",
"minimumSecure": "0.1.0-alpha.0"
},
"@codelitdev/billing": {
"recommended": "0.1.0",
"recommended": "0.2.0",
"supported": ">=0.1.0-alpha.4 <1",
"minimumSecure": "0.1.0-alpha.4"
},
"@codelitdev/oauth-server-kit": {
"recommended": "0.1.0",
"recommended": "0.2.0",
"supported": ">=0.1.0-alpha.2 <1",
"minimumSecure": "0.1.0-alpha.2"
},
"@codelitdev/design-system": {
"recommended": "0.1.0",
"recommended": "0.2.0",
"supported": ">=0.1.0-alpha.7 <1",
"minimumSecure": "0.1.0-alpha.7"
}
Expand Down
9 changes: 9 additions & 0 deletions packages/platform-conformance/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @codelitdev/platform-conformance

## 0.2.0

### Patch Changes

- 047058c: Require MCP conformance adapters to expose the unauthenticated HTTP response headers and fail when the 401 response lacks a canonical protected-resource bearer challenge.
- 047058c: Document product adoption and add a standalone HTTP MCP OAuth discovery suite that does not require reference-product routes or fixtures.
- Updated dependencies [047058c]
- @codelitdev/platform@0.2.0

## 0.1.0

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/platform-conformance/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codelitdev/platform-conformance",
"version": "0.1.0",
"version": "0.2.0",
"description": "Shared HTTP conformance suites for CodeLit Platform products",
"author": "CodeLit",
"type": "module",
Expand Down Expand Up @@ -37,7 +37,7 @@
"tag": "latest"
},
"peerDependencies": {
"@codelitdev/platform": ">=0.1.0-alpha.0"
"@codelitdev/platform": ">=0.2.0"
},
"devDependencies": {
"@codelitdev/platform": "workspace:*",
Expand Down
10 changes: 10 additions & 0 deletions packages/platform/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @codelitdev/platform

## 0.2.0

### Minor Changes

- 047058c: `selectHttpCredential` and `selectMcpCredential` now reject an `Authorization` header that is present but is not `Bearer <token>` with a new `{ kind: "malformed" }` selection (error code `unauthenticated`). Previously such a header was ignored, so a request could fall back to a session cookie or API key, contrary to ADR 0001. `Bearer <token> <extra>` is also malformed now. `mcp-server-kit` rejects malformed headers before calling `authenticate`.

**Product changes**

- Code that branches on the selection result must handle `"malformed"` like `"ambiguous"` (return a rejected result with `selected.error`). TypeScript reports the unhandled case where the code reads `selected.credential`.

## 0.1.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/platform/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codelitdev/platform",
"version": "0.1.0",
"version": "0.2.0",
"description": "Composition kernel for CodeLit Platform products",
"author": "CodeLit",
"type": "module",
Expand Down
Loading