diff --git a/package.json b/package.json index 8ac524469..44f45d4f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sonicjs", - "version": "3.0.0-beta.12", + "version": "3.0.0-beta.13", "private": true, "type": "module", "workspaces": [ diff --git a/packages/core/package.json b/packages/core/package.json index 4d3443bdc..346bb4586 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@sonicjs-cms/core", - "version": "3.0.0-beta.12", + "version": "3.0.0-beta.13", "description": "Core framework for SonicJS headless CMS - Edge-first, TypeScript-native CMS built for Cloudflare Workers", "type": "module", "main": "./dist/index.cjs", diff --git a/packages/core/src/db/migrations-bundle.ts b/packages/core/src/db/migrations-bundle.ts index 3e3eb93cc..f69a47a3e 100644 --- a/packages/core/src/db/migrations-bundle.ts +++ b/packages/core/src/db/migrations-bundle.ts @@ -1,7 +1,7 @@ /** * AUTO-GENERATED FILE - DO NOT EDIT * Generated by: scripts/generate-migrations.ts - * Generated at: 2026-06-25T17:24:06.727Z + * Generated at: 2026-06-25T18:58:40.212Z * * This file contains all migration SQL bundled for use in Cloudflare Workers * where filesystem access is not available at runtime. diff --git a/packages/create-app/package.json b/packages/create-app/package.json index 81d16da04..fbd28ce4e 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -1,6 +1,6 @@ { "name": "create-sonicjs", - "version": "3.0.0-beta.12", + "version": "3.0.0-beta.13", "description": "Create a new SonicJS application with zero configuration", "type": "module", "bin": { diff --git a/packages/create-app/src/cli.js b/packages/create-app/src/cli.js index 2496155ec..effd6d709 100644 --- a/packages/create-app/src/cli.js +++ b/packages/create-app/src/cli.js @@ -409,7 +409,7 @@ async function copyTemplate(templateName, targetDir, options) { // Add @sonicjs-cms/core dependency packageJson.dependencies = { - '@sonicjs-cms/core': '^3.0.0-beta.12', + '@sonicjs-cms/core': '^3.0.0-beta.13', ...packageJson.dependencies } diff --git a/www/src/app/changelog/page.mdx b/www/src/app/changelog/page.mdx index 043bb9383..717dc41bf 100644 --- a/www/src/app/changelog/page.mdx +++ b/www/src/app/changelog/page.mdx @@ -99,6 +99,30 @@ export const sections = [ +{/* Version 3.0.0-beta.13 */} +
+
+ +
+
+ v3.0.0-beta.13 + June 25, 2026 + +
+ +
+
+

+ Highlights +

+
    +
  • **fix(auth)**: `POST /auth/login` now returns a JWT `token` in the response body — API callers can use `Authorization: Bearer ` without a separate token endpoint
  • +
+
+
+
+
+ {/* Version 3.0.0-beta.12 */}
@@ -353,6 +377,31 @@ export const sections = [
+ +{/* Version 3.0.0-beta.13 */} +
+
+ +
+
+ v3.0.0-beta.13 + June 25, 2026 + Latest +
+ +
+
+

+ Highlights +

+
    +
  • Various improvements and bug fixes
  • +
+
+
+
+
+ {/* Version 2.19.0 */}
diff --git a/www/src/app/page.mdx b/www/src/app/page.mdx index 2a36c02f1..f0780fbfa 100644 --- a/www/src/app/page.mdx +++ b/www/src/app/page.mdx @@ -515,25 +515,49 @@ Join thousands of developers building the future of web APIs
- {/* v3.0.0-beta.12 */} + {/* v3.0.0-beta.13 */}
- v3.0.0-beta.12 + v3.0.0-beta.13 LATEST 2026-06-25
- **fix(cors)**: apply CORS middleware globally so `/auth/*` routes work from Astro/Next.js/frontend frameworks + Various improvements and bug fixes
+
+
+ +
+
+ v3.0.0-beta.13 + + 2026-06-25 +
+
- - **fix(forms)**: forms plugin no longer returns 500 when `forms` table hasn't been migrated — shows empty state instead + + **fix(auth)**: `POST /auth/login` now returns a JWT `token` in the response body — use `Authorization: Bearer token` for API access +
+
+
+ + {/* v3.0.0-beta.12 */} +
+
+ v3.0.0-beta.12 + 2026-06-25 +
+
+
+ + **fix(cors)**: apply CORS middleware globally so `/auth/*` routes work from Astro/Next.js/frontend frameworks
- - **docs**: added CORS configuration section to authentication.md and getting-started.md troubleshooting guide + + **fix(forms)**: forms plugin no longer returns 500 when `forms` table hasn't been migrated — shows empty state instead
diff --git a/www/src/lib/version.ts b/www/src/lib/version.ts index c731bd7b7..a96a59a53 100644 --- a/www/src/lib/version.ts +++ b/www/src/lib/version.ts @@ -5,7 +5,7 @@ // When releasing a new version, run `npm run version:patch` (or minor/major) from the root // which will update this file via scripts/sync-versions.js -export const VERSION = '3.0.0-beta.12' +export const VERSION = '3.0.0-beta.13' // Helper function to get the current month/year for "Last updated" export function getLastUpdatedDate(): string {