Skip to content

Release v4.6.0#155

Merged
sidmohan0 merged 15 commits into
mainfrom
release/4.6.0
Jul 2, 2026
Merged

Release v4.6.0#155
sidmohan0 merged 15 commits into
mainfrom
release/4.6.0

Conversation

@sidmohan0

Copy link
Copy Markdown
Contributor

What ships in 4.6.0

A purely additive minor release: the two agent-firewall adapters, no changes to the core library or its dependencies.

See the CHANGELOG entry in this PR for full details.

Release mechanics

  • Base version set to 4.6.0 in datafog/__about__.py (the stable pipeline publishes exactly this) and .bumpversion.cfg (was stale at 4.5.0b5)
  • main is currently a strict ancestor of dev, so this merge cannot reintroduce stale main-side code — but per our release checklist, please use "Create a merge commit" (not squash), and I'll verify the merged tree matches this branch before dispatching
  • After merge: Release workflow dispatch release_type=stable with dry_run=true → verify "Would have published: 4.6.0" → dry_run=false → verify PyPI + v4.6.0 tag → fast-forward dev to main

Test plan

sidmohan0 added 15 commits July 2, 2026 10:52
Removes the stale Roadmap.md gitignore entry (no such private file
exists) so the public roadmap can live at the repo root.
Offline PII firewall for agent tool calls. Speaks the Claude Code hooks
protocol: PreToolUse gates egress tools (ask/deny on EMAIL, PHONE,
CREDIT_CARD, SSN findings), UserPromptSubmit and PostToolUse inject
non-blocking warnings. Core-only dependencies, ~70ms per invocation,
fail-open by design, never echoes matched PII in its own output.
docs: add public v5.0.0 roadmap
This reverts commit a1feddb, reversing
changes made to 2fbce0a.
Offline PII guardrail for the LiteLLM proxy: pre_call redacts or blocks
PII in request messages before egress, post_call redacts model
responses. In-process, ~31µs per request — no sidecar service.
Blocks surface as HTTP 400 guardrail interventions; engine errors
follow a configurable fail policy (open/closed) and never leak matched
text into logs or exception chains.
… coverage job

Installs litellm in the nlp-advanced CI profile so the DataFogGuardrail
tests execute where coverage thresholds are enforced, instead of being
skipped and dragging patch coverage to zero.
feat: add Claude Code hook adapter (datafog-hook)
Base litellm does not include fastapi (it's in their proxy extra), so
test collection failed with ModuleNotFoundError in CI. Proxy deployments
always ship fastapi; CI now installs it alongside litellm and the test
module skips gracefully without it.

Adds edge-path tests (no-messages data, non-text content parts, opaque
responses, observability failure) bringing the adapter to 100% line
coverage.
feat: add LiteLLM guardrail adapter (DataFogGuardrail)
@sidmohan0 sidmohan0 merged commit 5dbdffd into main Jul 2, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant