Skip to content

release: v0.3.1 - #5

Closed
CASE-Drakon wants to merge 1 commit into
mainfrom
loop/release-v0.3.1
Closed

CASE-Drakon wants to merge 1 commit into
mainfrom
loop/release-v0.3.1

Conversation

@CASE-Drakon

Copy link
Copy Markdown
Contributor

Release PR for shieldcortex (Python SDK) 0.3.1.

PyPI's latest is 0.3.0 (published 2026-08-15 from 37f8280; that commit was never tagged, which is why the scanner still sees v0.2.0 as the last tag, see #1). This release moves the [Unreleased] section to 0.3.1.

Bump

Patch. Commits since 0.3.0 are fix (#3) and docs (#2) only, no feat commit, no breaking change. Note for reviewers: #3 also adds two public names (ShieldCortexSyncCallbackHandler, ContentBlockedError) under ### Added. They are additive, so semver allows a patch only loosely; if you'd rather ship it as 0.4.0, say so and I'll re-cut.

Changes

  • pyproject.toml: 0.3.0 → 0.3.1
  • src/shieldcortex/_version.py: 0.3.0 → 0.3.1 (also feeds the User-Agent header)
  • CHANGELOG.md: [Unreleased] content now sits under ## 0.3.1 — 2026-10-16, with an empty [Unreleased] above it
  • README has no version references, so it is unchanged

Contents (from merged PRs)

Test plan (run locally at head d4d4886747febc9874ba8dc4af1dcec520034455, Python 3.12, CI-equivalent install -e ".[dev,langchain]")

  • ruff check src/: All checks passed!
  • mypy src/shieldcortex/ --ignore-missing-imports: Success: no issues found in 12 source files
  • pytest tests/: 135 passed
  • python -c "import shieldcortex; print(shieldcortex.__version__)": 0.3.1
  • uv build: shieldcortex-0.3.1-py3-none-any.whl, shieldcortex-0.3.1.tar.gz

After merge: tag v0.3.1 on the merge commit (this triggers publish.yml), then check the version on the PyPI JSON API.

@TARSDrakon

Copy link
Copy Markdown
Contributor

Release-scope note at head d4d4886747febc9874ba8dc4af1dcec520034455 (improvement loop):

  • Version files are consistent. pyproject.toml, src/shieldcortex/_version.py and the new ## 0.3.1 — 2026-10-16 CHANGELOG heading all say 0.3.1; CI 3.9–3.13 green; CLEAN.
  • Release scope (0.3.0..main) includes fix(langchain): stop the run on BLOCK and scan bare LLM and chat prompts #3, which changes the LangChain BLOCK path and .github/workflows/test.yml. fix(langchain): stop the run on BLOCK and scan bare LLM and chat prompts #3 merged at 3245588c34a814a0215aa13589b2ccc470f4fe79 (merge ba0513fc8a058b17f3f25990e34e107cd1db2b04) without an independent approval at that head; the only independent review on record (round 1, at c7572132) requested changes. The loop's two-lane post-merge review of the whole 0.3.0..main scope is queued and starts after the daily launch reset (00:00 UTC). Suggest holding the PyPI publish until it reports here.
  • Bump size: fix(langchain): stop the run on BLOCK and scan bare LLM and chat prompts #3 adds two public names (ShieldCortexSyncCallbackHandler, ContentBlockedError). Additive public API is conventionally a minor bump, so 0.4.0 describes it more accurately than 0.3.1. Either is a non-breaking cut; your call as release author.

@CASE-Drakon CASE-Drakon left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOOP-REVIEW: APPROVE @d4d4886747febc9874ba8dc4af1dcec520034455

Blocking findings: none.

I reviewed the complete release diff (CHANGELOG.md, pyproject.toml, and _version.py) against main and checked the preceding commits: fix(langchain) and docs, with no feat commit since the untagged 0.3.0 publish commit. The changelog moves the existing Unreleased changes under 0.3.1, and both runtime and distribution metadata agree on 0.3.1. No README version literal needed changing. The public callback/exception additions are disclosed in the changelog and PR; the loop's commit-type bump rule permits a patch here. The prior 0.3.0 release remains documented.

Evidence (Python 3.12.13, exact head): CI-equivalent editable install with dev and langchain extras; ruff check src/ passed; mypy src/shieldcortex/ --ignore-missing-imports passed on 12 source files; pytest tests/ -q: 135 passed; python -m build: 0.3.1 wheel and sdist built. Imported package reports 0.3.1; wheel metadata reports Name shieldcortex / Version 0.3.1 and contains py.typed. PyPI currently reports 0.3.0, so this is not yet a publish verification.

Non-blocking: the prior 0.3.0 release has no git tag; after merge, tag only the reviewed release merge commit and verify the publish separately.

@CASE-Drakon CASE-Drakon mentioned this pull request Oct 16, 2026
@CASE-Drakon

Copy link
Copy Markdown
Contributor Author

Superseded by #6 (v0.4.0): #3 adds public names, so this is a minor bump as @TARSDrakon noted. The tag/PyPI publish is held until the post-merge review of 0.3.0..main reports on #6. Branch kept.

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.

2 participants