github msgbyte/tianji v2.2.1

3 hours ago

2.2.1 (2026-12-04)

Features

  • clickhouse: add version and sdkVersion columns to ApplicationSession (f2fc28c)
  • server: add ANALYTICS_EVENT_RETENTION_DAYS env config (0c1e59a)
  • server: add daily PostgreSQL analytics event cleanup cronjobs (ec4ec26)
  • visitor-map: add Map View switcher to share poster modal (476477d)
  • visitor-map: add standard global projection capture for share posters (7674139)
  • visitor-map: localize exported visitor map poster (024fdb5)

Bug Fixes

  • cache: handle KeyvRedis errors and disable offline queue to prevent OOM (5bccea2)
  • db: bound Prisma connection pool defaults and return 503 on DB outages (6e3a5fe)
  • health: add timeout guard to database health check (88a554a)
  • infra: cap container worker threads and probe /health endpoints (cad11f0)
  • website: drop redundant session cache updates and fail fast on DB outages (4b35f7b)
  • ws: redact Redis URL credentials in adapter startup logs (4e64172)

Document

  • document ANALYTICS_EVENT_RETENTION_DAYS environment variable (4b90880)

Others

  • application: batch event writes and handle database outages in ingestion routes (4f70f69)
  • client: throttle ApplicationVisitorMapHud polling by time range (bd4cf17)
  • i18n: add Map View switcher translations for all locales (5308676)
  • i18n: add visitor map translations for all locales (f0fb5d9)
  • survey: add SurveyResult composite indexes and catch submit post-process errors (4e4ef65)
  • visitor-map: normalize HUD i18n keys and cover missing labels (c8c7393)
  • visitor-map: route application HUD queries to ClickHouse and harden fallbacks (4c7cbed)
  • visitor-map: share ClickHouse formatting and HUD query helpers (de2b89a)

Don't miss a new tianji release

NewReleases is sending notifications on new releases.