What's New
Stripe Subscription Plugin
New core plugin for managing Stripe subscriptions with full lifecycle support:
- Webhook endpoint with HMAC-SHA256 signature verification
- Handles subscription created/updated/deleted, checkout completed, payment succeeded/failed
- Checkout session creation with automatic Stripe customer linking
- Subscription status API for authenticated users
- Admin dashboard with stats cards and filterable subscription table
requireSubscription()middleware for gating routes to active subscribers- Zero external dependencies — uses
fetch+ Web Crypto API (Cloudflare Workers compatible)
Bug Fixes
- Fixed migration 029 detection and re-run when forms tables are missing (#762)
Installation
```bash
npm create sonicjs@latest my-app
```
Or update existing project:
```bash
npm install @sonicjs-cms/core@2.14.0
```