Skip to content

v0.6.4 - Connection Fix & Cachalot Compatibility

Choose a tag to compare

@astro-stack astro-stack released this 30 Mar 23:14
· 26 commits to main since this release

What's New

Fixed

  • Critical: DB connections exhausted (#15) — _table_exists() now caches its result at process level. Previously it ran a full schema introspection query on every cache hit, model save, or management command event, spiking DB connections under load.
  • Critical: migrate fails on fresh database (#16) — Added _table_exists() guard to record_command() and record_cache_operation() to prevent Orbit from writing to orbit_orbitentry before migrations have created it (fixes PostgreSQL transaction poisoning).
  • Critical: RecursionError with django-cachalot (#10) — Wrapped all internal Orbit writes in cachalot_disabled() to break the infinite invalidation loop.
  • Crash on anonymous signals (#7) — Safe sender name resolution prevents AttributeError.

Added

  • Duplicate Query Detection (N+1) with "DUP" badge and filter
  • Top Slowest Queries highlighted in entry detail view
  • ORBIT settings key support (backwards compatible with ORBIT_CONFIG)

Upgrading

pip install django-orbit==0.6.4

No migration changes required.