Releases: Dagin34/errium
Releases · Dagin34/errium
Release list
v0.1.1 — Documentation
Documentation-only release. No code changes — 0.1.1 is functionally identical to 0.1.0, and exists so the updated README renders on the PyPI project page, which snapshots it per version.
Changed
- README now carries PyPI, Python version, license, and CI badges, documents the
flask/ninja/drfextras together, notes thepy.typedmarkers shipped in all five packages, and flags that a server (uvicorn) must be installed separately — Errium depends onfastapi, notfastapi[standard].
Added
Full changelog: v0.1.0...v0.1.1
v0.1.0 — First public release
First public release — now on PyPI.
pip install erriumErrium normalizes uncaught exceptions, HTTP exceptions, and request validation errors into one consistent, frontend-safe JSON shape.
Highlights
- Framework-agnostic core (
errium_core) — classification engine, contracts, formatters, normalizers, and dev/prod sanitization viaERRIUM_DEBUG. - Four adapters — FastAPI (
errium), Flask (errium[flask]), Django Ninja (errium[ninja]), and Django REST Framework (errium[drf]). - Database classification — SQLAlchemy errors map to
DATABASE_ERROR, uniqueness violations toDUPLICATE_RESOURCE, with no hard SQLAlchemy dependency. - Fully typed — all five packages ship
py.typed; the source is checked undermypy --strict.