Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 14:43
· 41 commits to main since this release
05b1430

Added

  • Published to PyPI as authzai. Releases are built and published by a tag-triggered
    workflow, with no manual upload and no repository secret. Each release carries:

    • the same wheel and sdist on PyPI and on the GitHub release
    • SHA256SUMS and signed build provenance
    • a matching server image, ghcr.io/xinweiiiii/agentic-auth
      RELEASING.md covers cutting a release, recovering a half-finished one, and verifying a
      download.
  • Install options. The base install is the offline verifier only (pyjwt[crypto]). The
    extras are:

    • client: the agent SDK
    • drift: the CLI and CI check
    • embedded: see below
    • server: the control plane, sidecar, gateway and boundary
    • otel and all
      Importing a surface without its extra names the extra to install.
  • Embedded control plane (agentic_auth.embedded, authzai[embedded]). The whole control
    plane runs inside your process, on SQLite and an in-process Redis, with no server, database
    or open port. It is the same app, PDP, token exchange and audit log a deployment runs, and
    cp.client() returns the same AgenticAuthClient. Instances are isolated from each other.
    The store is temporary by default, or a single durable file that one process holds at a
    time. On reopen, sessions created before the restart are refused (session_superseded)
    rather than honoured without the taint and replay records they had. Embedded mode is for
    development and testing only
    . It says so when it starts, and every decision it records is
    labelled deployment: embedded. tests/conformance runs every scenario against both
    deployments and requires identical results.

  • audit_decisions.deployment (server | embedded), migration 0006. It is additive:
    existing rows read as server.

  • The import root is now agentic_auth, not app. A top-level app package collided with
    the application package of almost every FastAPI or Flask project that installed this one.
    Imports become from agentic_auth.sdk import AgenticAuthClient, and the control plane runs
    as uvicorn agentic_auth.main:app. To migrate:
    sed -E 's/\b(from|import) app\./\1 agentic_auth./g'.

  • Logger names follow the module path, so app.api.v1.authorize is now
    agentic_auth.api.v1.authorize. Update any logging configuration that names them.

Fixed

  • The 0.1.0 notes and the README described the decision log as "hash-chained". It is not:
    rows are append-only, enforced by the database, and each decision links to its parent, but
    no row carries a hash of the one before it. The README now says what the log actually
    guarantees.
  • scripts/export_manifest_schema.py wrote to a path outside this repository. It now writes
    docs/contracts/manifest.schema.json, the file the drift test reads.