Release version 0.5.0 - #202
Merged
Merged
Conversation
Bump graphtage/version.py, which pyproject.toml, docs/conf.py, and bindist/Makefile all derive from, along with the three files that repeat the version by hand: the documentation version picker, the --version example in the README, and the citation metadata. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F2sHz5c5TvMs9tFn2HhwaC
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.
Bumps the version ahead of the 0.5.0 release.
graphtage/version.pyis the source of truth;pyproject.toml,docs/conf.py, andbindist/Makefilederive fromit. The other three files repeat the version and need a hand edit:
graphtage/version.py0.4.0→0.5.0docs/_templates/layout.html<dd>belowlatest(thehrefcarries thev, the link text does not)README.md--versionexampleCITATION.cffversionanddate-releasedVerified the derived sites pick it up:
python graphtage/version.pyprints0.5.0,make -C bindist dist-nameprints
graphtage-0.5.0-darwin-arm64.zip, and the built docs render0.5.0.Why minor rather than patch
docs/releasing.rstreserves a patch bump for "only fixes bugs". An AST diff of the public surface betweenv0.4.0and this commit shows no name removed and 29 added, but several behavior changes that a library consumer can trip
over:
StringEditderives fromConstantCostEdit.bounds()andtighten_bounds()are inherited rather thanoverridden, and are now definitive and a no-op respectively.
StringEdit.edit_distanceis a read-only property; assigning to it raisesAttributeError.StringNode(b"hello").total_sizeis 5 rather than 8.MATCHING_SIZE_WARNING_THRESHOLDwent from 400 to 250,000.Plus a new public
graphtage.batch_distancemodule and theGRAPHTAGE_BATCH_BACKENDenvironment variable.The policy's minor triggers are CLI-shaped (new filetype, new CLI option, raised Python floor) and have no entry for
a public Python API change. Worth adding one, as a follow-up rather than in this PR.
Checks
Ruff clean, 273 passed with 1770 subtests, docs build clean under
-W --keep-going.🤖 Generated with Claude Code
https://claude.ai/code/session_01F2sHz5c5TvMs9tFn2HhwaC