InsightFlare v0.6.0 focuses on keeping analytics reliable as data volumes grow. This release adds site-scoped member access controls, migrates the application runtime to TanStack Start and Vite, and systematically improves dashboard loading, query efficiency, tracker payload size, and runtime observability.
For teams, members can now access only their assigned sites. For day-to-day analysis, the dashboard opens overviews, details, long lists, and complex dimensions faster. For self-hosted maintainers, the new runtime, build pipeline, release validation, and diagnostics reduce the cost of upgrades and troubleshooting.
Highlights
- Added member site access controls. Team owners can grant a member access to all sites or only selected sites.
- Migrated the application from Next.js and OpenNext to TanStack Start, TanStack Router, Vite, and the Cloudflare Vite Plugin. The dashboard, public shares, account flows, embeds, and management pages now use a unified Worker runtime and routing model.
- Improved dashboard responsiveness through shared query caching. Reopening a previously visited page now avoids unnecessary repeat requests.
- Improved large analytics lists and event details, with more stable table interactions and loading states.
- Reduced tracking-script delivery overhead. The browser SDK now sends smaller request payloads.
- Optimized map and dashboard rendering.
Changes Since v0.5.0
- Added a site-level access model for team members. After migration, existing members retain access to all sites.
- Added site-aware authorization checks for site analytics, custom events, archives, API v1 queries, realtime WebSocket connections, team invitations, and member management.
- Migrated all application routes from the Next.js App Router to TanStack Router route modules. Locale routes, login and password-reset pages, account action links, shared dashboards, embeds, analytics pages, team pages, and system management pages continue to be served through a unified route tree.
- Reworked the Cloudflare build pipeline around Vite and the Cloudflare Vite Plugin.
- Added TanStack Query caching and request reuse across dashboard and management experiences, including overview metrics, trend cards, analytics tables, detail drawers, site settings, notifications, API keys, and system administration pages.
- Added keyset pagination for journey and event records, bounded deep offsets and administrative multi-site reads, consolidated repeated breakdown queries, and materialized selected technology and trend sources. These changes reduce D1 workload for long time ranges and high-traffic multi-site accounts.
- Improved event analytics by loading event fields, context cards, and breakdowns on demand; combining event overview reads; preserving private event detail shaping; and consistently returning UTM dimension values in campaign views.
- Improved analytics table behavior with a reusable infinite-scroll sentinel, standardized wide-table cards, lazy campaign breakdown tabs, more stable request-table loading, and safer detail-drawer navigation from session and visitor lists.
- Improved system performance and diagnostics views with explicit query-source metadata, D1 row-read availability, safer dashboard cache windows, and indexes for short-window system-wide visit and custom-event queries.
- Improved the tracking SDK by replacing build-time configuration placeholders with validated runtime configuration. It also preserves privacy behavior, reduces client visit payloads, trims unnecessary User-Agent Client Hints processing, and removes performance instrumentation from no-performance builds.
- Reduced the tracking-script cache TTL from one hour to ten minutes, allowing site configuration changes to take effect sooner without changing the public script URL.
- Improved ingestion and aggregation efficiency by skipping unchanged visit updates, recovering stale open-visit backfills, consolidating hot journey and event queries, and reusing notification metrics within a single scheduler tick.
- Improved request observation compatibility by handling legacy Analytics Engine blob formats, aggregating network breakdowns in Analytics Engine, enriching dimension labels, and consistently resolving site labels for aggregated results.
- Added Worker and Durable Object invocation logs for requests, background work, D1 operations, scheduled tasks, and external fetches. Administrators can inspect diagnostics without introducing a separate application-visible telemetry store.
- Improved dashboard maps, charts, and navigation, including isolated map renderers, geo detail loading, sidebar hydration, page-title templates, detail interactions, and protection against dashboards getting stuck in a loading state.
- Added an explicit under-construction state for Widgets, so the page does not imply that unfinished functionality is available.
- Added a Japanese README and updated the Chinese and English documentation for the Vite development workflow and current technology stack.
Developer Experience
- Added an isolated local E2E runner with controlled application and browser clocks, historical analytics seed data, local R2 archive coverage, and fail-closed mocks for Analytics Engine, Resend, Turnstile, and release-version data.
- Added a release gate that runs the full browser acceptance suite before synchronizing release artifacts and creating a GitHub Release.
- Expanded test coverage for site-scoped permissions, API key scope enforcement, invitations, real tracker ingestion, realtime WebSockets, public sharing, historical analytics, scheduled notifications, archive reads, request observation, and system lifecycle behavior.
- Improved quality checks by running independent checks in parallel and serializing coverage reporting, reducing local validation time while keeping output deterministic.
- Added D1 migrations for member site access and high-frequency query indexes. Temporary Foundation performance-control tables introduced during development are removed by subsequent migrations and are not required for normal operation.
- Updated build, deployment, and Worker configuration tests for the Vite runtime, Cloudflare bindings, and environment overrides.
Upgrade Notes
- After migration, existing team members continue to have access to all sites in their teams. To limit a member's site access, adjust their permissions in team settings.