Changes
- Fix #785: BruteForceDetector no longer crashes when KV namespace is unavailable — added null guards to all KV-dependent methods
- Fix #786: New event tracking API (
POST /api/events) for analytics — supports single and batch event tracking with filtering and stats endpoints - Fix #787: Analytics admin dashboard now renders properly at
/admin/analyticswith real metrics from system logs - Fix #788: Routes no longer return 400 Bad Request — expanded CSRF exempt paths and added Authorization header bypass
Installation
npm create sonicjs@latest my-appOr update existing project:
npm install @sonicjs-cms/core@2.16.0