Skip to content

Release version 0.5.0 - #202

Merged
ESultanik merged 1 commit into
masterfrom
release-0.5.0
Sep 16, 2026
Merged

ESultanik merged 1 commit into
masterfrom
release-0.5.0

Conversation

@ESultanik

Copy link
Copy Markdown
Collaborator

Bumps the version ahead of the 0.5.0 release.

graphtage/version.py is the source of truth; pyproject.toml, docs/conf.py, and bindist/Makefile derive from
it. The other three files repeat the version and need a hand edit:

File Change
graphtage/version.py 0.4.00.5.0
docs/_templates/layout.html new <dd> below latest (the href carries the v, the link text does not)
README.md the --version example
CITATION.cff version and date-released

Verified the derived sites pick it up: python graphtage/version.py prints 0.5.0, make -C bindist dist-name
prints graphtage-0.5.0-darwin-arm64.zip, and the built docs render 0.5.0.

Why minor rather than patch

docs/releasing.rst reserves a patch bump for "only fixes bugs". An AST diff of the public surface between v0.4.0
and this commit shows no name removed and 29 added, but several behavior changes that a library consumer can trip
over:

  • StringEdit derives from ConstantCostEdit. bounds() and tighten_bounds() are inherited rather than
    overridden, and are now definitive and a no-op respectively.
  • StringEdit.edit_distance is a read-only property; assigning to it raises AttributeError.
  • StringNode(b"hello").total_size is 5 rather than 8.
  • MATCHING_SIZE_WARNING_THRESHOLD went from 400 to 250,000.
  • Unordered collections may pick a different equally optimal matching.

Plus a new public graphtage.batch_distance module and the GRAPHTAGE_BATCH_BACKEND environment 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

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
@ESultanik
ESultanik merged commit deefed1 into master Sep 16, 2026
12 checks passed
@ESultanik
ESultanik deleted the release-0.5.0 branch September 16, 2026 18:54
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.

1 participant