asgi-gzip 0.3
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Anyone running Datasette with datasette-gzip can now serve Server-Sent Events in production without the gzip middleware silently breaking the event stream.
Simon Willison released version 0.3 of asgi-gzip, a small open-source Python library that compresses web traffic to speed it up. It previously broke a technology called Server-Sent Events, which lets a web page receive live updates from a server, by compressing them incorrectly. The fix matters to people running Datasette, his data-exploration tool, whose gzip add-on depends on this library.
This is a minor bugfix release (asgi-gzip 0.3), not a strategic development. The bug broke Server-Sent Events on production Datasette instances using the datasette-gzip plugin, so operators deploying streaming features hit failures. The root cause was a maintenance gap: an automated workflow that syncs fixes from the upstream Starlette project had silently stopped running. Operators can update today; the cost of not doing so is broken streaming endpoints.
asgi-gzip, an ASGI middleware extracted from Starlette, was compressing text/event-stream SSE responses incorrectly; Starlette had fixed the same bug upstream but asgi-gzip's GitHub Actions scheduled workflow that checks for updates had stopped running and missed the port. Version 0.3 integrates that fix, so datasette-gzip and asgi-gzip now handle text/event-stream correctly. No benchmarks or other changes are documented.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
asgi-gzip 0.3 datasette-gzip Datasette Starlette GitHub Actions Server-Sent Events
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.