Skip to content

Release v0.4.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 08:46

InsightFlare v0.4.0 moves the product from viewing analytics data to actively monitoring, notifying, and managing operations.

This release focuses on notification and operations management. Teams can configure notification rules for sites, receive localized notification emails, and inspect notification messages and diagnostics. System administrators also get more complete management surfaces for email, login security, teams, users, tasks, and system status. Account invitations, password resets, Turnstile login protection, and scheduled task reliability have also been strengthened.

Highlights

  • Added a team notification system. Teams can configure event-based and report-based notification rules, then view the notification center, rule states, message history, and diagnostics from the dashboard.
  • Added localized notification emails. Notification content can be generated from the user's preferred language, with email previews, email UI components, Resend sending configuration, and test delivery support.
  • Added system-level notification email management. Administrators can configure sender details, a Resend API Key, reply-to address, and send test emails to verify the configuration.
  • Added Turnstile login protection. Administrators can manage login security settings from system settings and add captcha protection to public login entry points.
  • Added team invitation links and account action links. The system now supports invitation links, password reset links, account link inspection, and completion flows, reducing manual member creation and account recovery work for administrators.
  • Added global management and root dashboard layouts. System performance, system settings, teams, users, scheduled tasks, and version update pages have been moved out of the team context for clearer administration paths.
  • Improved scheduled task execution and health statistics. Scheduled task runs can be grouped, skipped tasks count as successful in health summaries, and cron batches are split to reduce pressure on a single run.
  • Improved dashboard interactions, including page transition animations, icons in titles and control areas, native scrollbars on Safari, sidebar transitions, member time display, and management page layout.

Changes Since v0.3.0

  • Added notification rules, notification messages, delivery states, email channels, and diagnostics covering rule creation, state tracking, message storage, email delivery, and failure feedback.
  • Added notification email preview pages and sample data, making it easier to inspect email content for different notification types before sending.
  • Hardened Resend email delivery with retries, network failure handling, redacted error summaries, and test email failure handling.
  • Added a preferred locale field for users, so notification workflows can generate messages using each user's preferred language.
  • Added account action token storage for team invitations, password resets, and account link flows.
  • Added Turnstile protection to the login flow and adjusted login behavior to avoid implicitly creating teams during sign-in.
  • Administrators can now generate password reset links and create teams through a system user, making account and team management friendlier for self-hosted operations.
  • Replaced direct member creation with invitation links for team member management, reducing accidental changes and inconsistent account states.
  • Added public account link pages plus inspection and completion APIs for invitation and password reset entry points.
  • Added a system settings page in the management area and improved the information structure for system performance, teams, users, scheduled tasks, and version updates.
  • Reorganized root dashboard and team layouts so site analytics, team features, and system administration have clearer navigation levels.
  • Added new client management views for the notification center, email previews, team notification settings, login security settings, and notification email settings.
  • Expanded Demo Mode with users, team invitations, notification email previews, and sample events to make the new features easier to try.
  • Allowed required Cloudflare scripts through CSP and improved edge API origin inference.

Developer Experience

  • Added D1 migrations for notification rule messages, user preferred locale, notification rule state, and account action tokens.
  • Expanded test coverage for notifications, email configuration, email rendering, the Resend client, account links, invitation links, Turnstile, account tokens, and routing layers.
  • Improved notification-related test stability by reducing the impact of slow retry behavior in email network failure tests.
  • Updated test coverage for scheduled tasks, notification tasks, and report data modules to reduce regression risk in future rule and scheduling changes.
  • Removed old legacy admin/archive route adapter code and kept thinner Hono route entry points.
  • Adjusted build and prebuild scripts to improve configuration handling in Cloudflare build environments.

Upgrade Notes

  • If notification emails are enabled, configure the Resend API Key and sender email in system settings, then use a test email to confirm the sending domain status.
  • If Turnstile login protection is enabled, prepare the site key and secret configuration in Cloudflare Turnstile first.