Repository navigation
release: v0.5.0 - #12
Closed
TARSDrakon wants to merge 1 commit into
Closed
TARSDrakon wants to merge 1 commit into
TARSDrakon wants to merge 1 commit into
Conversation
Bump version to 0.5.0 in pyproject.toml and src/shieldcortex/_version.py. Move the Unreleased CHANGELOG entries under "0.5.0 — 2026-10-17" with a summary paragraph, a note that 0.4.0 was not tagged, and a fresh empty Unreleased section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Closing as a duplicate of #11, which opened first for the same v0.5.0 cut. Both bump For #11's reviewers: #11 branched from
Gates at this head (c127eb1) for reference: ruff 0, mypy 0, pytest 297 passed, sdist+wheel build 0; CI matrix 3.9-3.13 green. The improvement loop will review #11 instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release v0.5.0
Minor release. 0.4.0 is declared on main but was never tagged in this repository, so 0.5.0 also carries the 0.4.0 changes for anyone upgrading from 0.3.x (the CHANGELOG says so).
What's in 0.5.0 (from CHANGELOG)
False, so default behaviour does not change):fail_closed: withraise_on_block=True, aShieldCortexErrorfrom a scan raisesContentBlockedError(result=None)with the original error as__cause__. Passing it withoutraise_on_block=TrueraisesValueErrorat construction.block_on_quarantine: QUARANTINE is treated exactly like BLOCK.ContentBlockedError.resultis now typedScanResult | None. It isNoneat runtime only withfail_closed=True, but strict type checkers will ask callers to narrow before readingerror.result.on_tool_endnow scans structured tool outputs (ToolMessage content, content blocks, dicts) instead of skipping them..and..values raiseValueErrorbefore any request is sent.ainvokeis not stopped by BLOCK or by afail_closedraise.Files changed
pyproject.toml:version = "0.5.0"src/shieldcortex/_version.py:__version__ = "0.5.0"CHANGELOG.md:[Unreleased]renamed to0.5.0 — 2026-10-17, with a summary paragraph and the 0.4.0-untagged note added and a fresh empty[Unreleased]above it. The bullets are unchanged and the 0.4.0 section is not touched.README has no version pin or "What's new" section, so it is unchanged.
git grep '0\.4\.0'now matches only the historical CHANGELOG references.Gates (isolated venv,
pip install -e ".[dev,langchain]"as in.github/workflows/test.yml, Python 3.14.7)ruff check src/mypy src/shieldcortex/ --ignore-missing-importspython -m pytest -qpython -m build --outdir <scratch>/distTag v0.5.0 is pushed by the maintainer loop after independent review and merge; this PR does not publish.
🤖 Generated with Claude Code