v0.52.0

feder-cr/invisible_dotsv0.52.0Sep 14, 2026by github-actions[bot]

Upgrading?

AI Summary

This release introduces a `swallow(why)` context manager to make previously silent exception handling explicit and loggable. It also adds a static analysis gate to detect bare `pass` statements that were previously missed by grep. The Workbench now tracks the impact of these previously unheard exceptions, and documentation has been simplified to reflect the current browser session count.

Key Highlights

  • Introduced `swallow(why)` context manager to make exception swallowing explicit and loggable
  • Added a static analysis gate to detect bare `pass` statements after exception handling
  • Workbench now records the cost and impact of previously unheard exceptions
  • Documentation updated to reflect current browser session capabilities

New Features

  • swallow(why) context manager for explicit exception handling
  • Static analysis gate to detect bare pass statements
  • Workbench tracking for silenced exceptions

Full Release Notes

Sixteen places in the package caught an exception and passed, each with
its reason in a comment beside the `pass` - the one thing a reader skips
and a gate cannot see. `swallow(why)` is a context manager that makes the
reason an argument: it sits on the line that swallows, it can be grepped,
and it is logged at debug with the traceback, so a silence that hides a
real defect can be heard by turning the logger up instead of by adding a
print. The workbench records what an unheard silence cost: a live pane
frozen on an old page for a whole session, the capture stopped, the only
sign a swallowed exception nobody could see.

A gate reads the package for the bare shape - `except Exception:` then,
comments aside, `pass` - and refuses it; it found three the grep that
listed the sixteen had missed. Three mutations, three killed: a bare pass
back with a good comment, a silence that stops logging, a silence that
re-raises.

One sentence of prose that described a session of eight browsers now
describes the two there are.

Related Repositories