Release LowPack 0.2.1 with safe archive migration - #11
Merged
Conversation
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.
What changed
I thought too on the point that a security-driven format change should not strand the first LowPack archives. This release adds a narrow, checked bridge from format 1.0 to 1.1 instead of silently accepting older manifests in the normal reader.
Oh! On this part, there are two separate tools on purpose:
lowpack compatibilityauthenticates and classifies an archive without decompressing or writing anything.lowpack migratekeeps the source untouched, preserves the compressed chunk payload area, converts the manifest to schema 2.0, fully reconstructs every file in a sibling temporary archive, and only then atomically publishes the destination.The README now teaches an actual release-wheel install first, while contributor setup has its own clear path. I also added cross-platform getting-started and compatibility guides, typed Python results/APIs, a fixed format-1.0 golden archive, and hostile/corruption coverage.
Closes #3.
Checks completed locally
python -m pytest— 66 passed, 3 expected platform skipspython -m ruff check .— cleanpython -m mypy src/lowpack— strict check cleanSOURCE_DATE_EPOCH=315532800— wheel and sdist byte-identicaldocs/assets/github-cover.pngbyte-for-byteRelease intent
This is an alpha patch release. It does not claim forward compatibility, corruption repair, streaming telemetry transforms, or continuous fuzzing. Those boundaries remain explicit in the docs and roadmap.