Skip to content

v0.5.0

Latest

Choose a tag to compare

@davidoladeji-ogenticai davidoladeji-ogenticai released this 24 Jun 18:26

[0.5.0] - 2026-06-24

Added

  • Shield.classify_batch(texts: list[str], *, profile: str | None = None) -> list[AnalysisResult | BatchItemError] — convenience API for analysing multiple texts in a single call. Per-item errors are captured as BatchItemError objects so a single bad input does not abort the whole batch. Empty-list input returns [] immediately. (#42, OGE-1057)

Fixed

  • Bumped mypy>=1.13 minimum to accept numpy 2.x PEP 695 type X = ... stub syntax during type-checking. Runtime behaviour is unchanged; requires-python stays at >=3.10. (#37, OGE-1029)