Features:
- Forms as collections, submissions as content (#740, by @mmcintosh)
Fixes:
- Website MDX metadata exports for Next.js 16.2 compatibility
馃 Generated with [Claude Code](https://claude.com/claude-code)
Re-cherry-pick of PR #628 onto latest main with missing dependencies
(linkedom, @cf-wasm/resvg, qrcode-svg) added to packages/core.
Features: QR code generation with SVG/PNG export, logo embedding,
shape customization, redirect integration, and admin UI.
Co-authored-by: ahaasco <andrewjohnhaas@gmail.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* chore(deps): bump undici and wrangler
Bumps [undici](https://github.com/nodejs/undici) to 7.18.2 and updates ancestor dependency [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler). These dependencies need to be updated together.
Updates `undici` from 7.14.0 to 7.18.2
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v7.14.0...v7.18.2)
Updates `wrangler` from 4.59.1 to 4.65.0
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/wrangler@4.65.0/packages/wrangler)
---
updated-dependencies:
- dependency-name: undici
dependency-version: 7.18.2
dependency-type: indirect
- dependency-name: wrangler
dependency-version: 4.65.0
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
* ci: trigger e2e tests for Dependabot PR
This empty commit changes the workflow actor from dependabot[bot] to a human,
enabling access to repository secrets for e2e tests.
馃 Generated with [Claude Code](https://claude.com/claude-code)
* ci: trigger e2e tests for Dependabot PR
This empty commit changes the workflow actor from dependabot[bot] to a human,
enabling access to repository secrets for e2e tests.
馃 Generated with Claude Code
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lane Campbell <ldc0618@gmail.com>
* chore(deps): bump next-mdx-remote from 5.0.0 to 6.0.0
Bumps [next-mdx-remote](https://github.com/hashicorp/next-mdx-remote) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/hashicorp/next-mdx-remote/releases)
- [Changelog](https://github.com/hashicorp/next-mdx-remote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/next-mdx-remote/compare/v5.0.0...v6.0.0)
---
updated-dependencies:
- dependency-name: next-mdx-remote
dependency-version: 6.0.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* ci: trigger e2e tests for Dependabot PR
This empty commit changes the workflow actor from dependabot[bot] to a human,
enabling access to repository secrets for e2e tests.
馃 Generated with [Claude Code](https://claude.com/claude-code)
* ci: trigger e2e tests for Dependabot PR
This empty commit changes the workflow actor from dependabot[bot] to a human,
enabling access to repository secrets for e2e tests.
馃 Generated with Claude Code
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lane Campbell <ldc0618@gmail.com>
* chore(deps): bump hono from 4.11.7 to 4.12.7
Bumps [hono](https://github.com/honojs/hono) from 4.11.7 to 4.12.7.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.11.7...v4.12.7)
---
updated-dependencies:
- dependency-name: hono
dependency-version: 4.12.7
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* ci: trigger e2e tests for Dependabot PR
This empty commit changes the workflow actor from dependabot[bot] to a human,
enabling access to repository secrets for e2e tests.
馃 Generated with [Claude Code](https://claude.com/claude-code)
* ci: trigger e2e tests for Dependabot PR
This empty commit changes the workflow actor from dependabot[bot] to a human,
enabling access to repository secrets for e2e tests.
馃 Generated with Claude Code
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lane Campbell <ldc0618@gmail.com>
* chore(deps): bump yaml from 2.8.1 to 2.8.3
Bumps [yaml](https://github.com/eemeli/yaml) from 2.8.1 to 2.8.3.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](https://github.com/eemeli/yaml/compare/v2.8.1...v2.8.3)
---
updated-dependencies:
- dependency-name: yaml
dependency-version: 2.8.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* ci: trigger e2e tests for Dependabot PR
This empty commit changes the workflow actor from dependabot[bot] to a human,
enabling access to repository secrets for e2e tests.
馃 Generated with Claude Code
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lane Campbell <ldc0618@gmail.com>
* fix(www): remove extra spacing above RESULT Instant REST API section
- Reduce h3 margin from mb-4 to mb-2
- Put pre content on same line as tag to prevent MDX p-tag insertion
- Add m-0 to pre to remove default margins
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix(www): fix deploy by using webpack for Next 16 build
Next 16 uses Turbopack by default which can't handle non-serializable
MDX plugin options (functions) or custom webpack config in search.mjs.
Force webpack for builds with --webpack flag.
- Update @next/mdx from ^15 to ^16
- Update eslint-config-next from ^15 to ^16
- Add --webpack flag to build script for Turbopack compatibility
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
The lock file was out of sync after the stats package reorganization,
causing CI to fail with npm ci errors.
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Updates package-lock.json to match package.json after rebasing onto main.
Fixes npm ci sync errors for sonicjs-stats and drizzle-kit versions.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
## Overview
Introduces a complete form management system featuring Form.io's
visual form builder and Cloudflare Turnstile for bot protection.
## Key Features
- Visual drag-and-drop form builder with 30+ field types
- Cloudflare Turnstile bot protection (CAPTCHA-free)
- Multi-page wizards with conditional logic
- Headless API with React hooks and vanilla JS helpers
- Comprehensive documentation and examples
## What's Included
- New forms and form_submissions database tables
- Admin UI for form creation, editing, and viewing submissions
- Public form rendering with Turnstile validation
- REST API endpoints for headless usage
- Custom Turnstile component for Form.io
- Unit tests and E2E tests (with documentation)
## Database Migrations
- 029_add_forms_system.sql - Forms tables and schema
- 030_add_turnstile_to_forms.sql - Turnstile integration
## Documentation
Complete user and developer guides included in docs/ folder
## Breaking Changes
None - This is a new feature addition
Fixes bonus issue: Reference fields E2E test strict mode violation
* chore(deps): bump hono from 4.10.4 to 4.11.4
Bumps [hono](https://github.com/honojs/hono) from 4.10.4 to 4.11.4.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.10.4...v4.11.4)
---
updated-dependencies:
- dependency-name: hono
dependency-version: 4.11.4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix(e2e): use request API for 404 test to avoid redirect issues
The page.goto() follows redirects, causing the test to fail when
middleware redirects to /auth/login or /auth/register (HTTP 200).
Using the request API with an /api/* path properly tests 404 handling.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* chore: update package-lock.json after rebase
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lane Campbell <ldc0618@gmail.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* feat: Add Cloudflare Turnstile plugin for bot protection
This commit adds Cloudflare Turnstile CAPTCHA integration for bot protection with the following features:
Core Features:
- Seamless integration with Cloudflare Turnstile (CAPTCHA alternative)
- Easy form protection with simple data attributes
- Admin configuration for site keys and settings
- Automatic token validation on form submission
- Support for multiple challenge modes (managed, non-interactive, invisible)
Implementation:
- New Turnstile plugin with modular architecture
- Admin UI for configuring site key and secret key
- Client-side script injection for Turnstile widget
- Server-side token verification endpoint
- Comprehensive test coverage with E2E tests
Technical Details:
- Zero-friction user experience (no image puzzles)
- Privacy-focused (no personal data collection)
- Automatic retry on failure
- Includes test cleanup fixes for CI stability
- All tests passing with proper validation
Related: #466
* chore: revert wrangler.toml to upstream config [skip ci]
## Changes
- feat: OTP login and magic link authentication routes
- fix(core): EasyMDE data sync issue causing save failures
- fix(auth): enforce disable user registration setting
- fix(dev): wait for core dist build before starting wrangler
- docs: Astro integration guide, custom public routes tutorial, CORS docs
- test: e2e tests for OTP/magic link auth, disable registration tests
馃 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Implements a full-featured blog for the www site with SEO optimizations:
Blog Infrastructure:
- Blog index page with featured posts and category filter
- Dynamic blog post pages with MDX rendering
- Category archive pages
- RSS feed endpoint at /blog/feed.xml
- Full sitemap integration
SEO Features:
- TL;DR boxes at top of posts for featured snippet optimization
- JSON-LD structured data (Article, BreadcrumbList schemas)
- OpenGraph and Twitter Card meta tags
- Reading time and word count calculations
- Related posts based on category/tags
Components:
- BlogCard, BlogHeader, ShareButtons, RelatedPosts
- CategoryFilter, TLDRBox for featured snippet boxes
- StructuredData components for JSON-LD
Initial Blog Posts:
- Why Edge-First CMS is the Future (featured)
- Getting Started with SonicJS (featured)
- SonicJS vs Strapi Comparison
- Building a Blog with SonicJS
- SonicJS Caching Strategy Guide
Also updates SEO agent commands with TL;DR box best practices.
馃 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* chore(deps): bump next from 15.5.8 to 15.5.9
Bumps [next](https://github.com/vercel/next.js) from 15.5.8 to 15.5.9.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v15.5.8...v15.5.9)
---
updated-dependencies:
- dependency-name: next
dependency-version: 15.5.9
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* ci: trigger e2e tests for Dependabot PR
This empty commit changes the workflow actor from dependabot[bot] to a human,
enabling access to repository secrets for e2e tests.
馃 Generated with [Claude Code](https://claude.com/claude-code)
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lane Campbell <ldc0618@gmail.com>