Skip to content

Releases: Dagin34/errium

v0.1.1 — Documentation

Choose a tag to compare

@Dagin34 Dagin34 released this 03 Sep 08:51

Documentation-only release. No code changes0.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 / drf extras together, notes the py.typed markers shipped in all five packages, and flags that a server (uvicorn) must be installed separately — Errium depends on fastapi, not fastapi[standard].

Added

Full changelog: v0.1.0...v0.1.1

v0.1.0 — First public release

Choose a tag to compare

@Dagin34 Dagin34 released this 03 Sep 08:49

First public release — now on PyPI.

pip install errium

Errium 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 via ERRIUM_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 to DUPLICATE_RESOURCE, with no hard SQLAlchemy dependency.
  • Fully typed — all five packages ship py.typed; the source is checked under mypy --strict.

Requires Python 3.11+. See the changelog and docs.