Skip to content

Prepare v0.1.8: correct the self-reported version and guard it - #12

Merged
interplains merged 1 commit into
mainfrom
release/v0.1.8
Oct 20, 2026
Merged

interplains merged 1 commit into
mainfrom
release/v0.1.8

Conversation

@interplains

Copy link
Copy Markdown
Owner

Summary

v0.1.7 shipped a single-file build that reported Zero Breach 0.1.6. The version was hardcoded in build/bundle.py and had drifted from scan/adint_scan/__init__.py (which was never bumped), so someone who updated to get the PowerShell security fix saw 0.1.6 and could not tell the fix was present.

Changes

  • scan/adint_scan/__init__.py: version → 0.1.8.
  • build/bundle.py: derives the single-file version from the package instead of repeating it — the two can no longer disagree.
  • build/build.py: new --expect-version X.Y.Z fails the build unless the package version matches the release being cut.
  • test_bundle_release.py: asserts the bundle reports the package version.
  • README.md, SIGNING.md: updated to v0.1.8 and the new zero-breach.py SHA-256 (74740af20f609f82dc6e50d66f234d0c39a20f516caa35731c2d19c11684ef44).

Notes for the release

Testing

  • Full suite: 283 passed, 1 skipped.
  • Reproducible build (two builds byte-identical); --check clean; --expect-version passes on 0.1.8 and fails on a mismatch.

v0.1.7 shipped a single file that reported "Zero Breach 0.1.6": the version was
hardcoded in build/bundle.py and had drifted from scan/adint_scan/__init__.py,
which was itself never bumped. Someone who updated to get the security fix saw
0.1.6 and could not tell the fix was present.

- Bump the package version to 0.1.8.
- bundle.py now derives the single-file version from the package instead of
  repeating it, so the two can never disagree again.
- build.py gains --expect-version, which fails the build unless the package
  version matches the release being cut.
- Add a regression test asserting the bundle reports the package version.
- Update README and SIGNING.md to v0.1.8 and the new zero-breach.py hash.
@interplains
interplains merged commit eda8e05 into main Oct 20, 2026
19 checks passed
@interplains
interplains deleted the release/v0.1.8 branch October 20, 2026 13:18
@okba14

okba14 commented Oct 20, 2026

Copy link
Copy Markdown

Thank you for releasing v0.1.7 and for crediting my report.

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