Skip to content

Bump version to 1.0.0#59

Merged
Korijn merged 1 commit into
masterfrom
claude/patchdiff-1-0-0-release
Jul 13, 2026
Merged

Bump version to 1.0.0#59
Korijn merged 1 commit into
masterfrom
claude/patchdiff-1-0-0-release

Conversation

@Korijn

@Korijn Korijn commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

This is the 1.0.0 release, closing out the roadmap laid out in #46. It bundles no behavioral changes of its own beyond the version bump — everything below already landed on master through the 11 preceding PRs.

What's in 1.0.0

Documentation

Typing

Test hardening

CI & benchmarking

Performance

Benchmarks: 1.0.0 vs 0.3.12

Median times from 3 interleaved local runs per side (PYTHONHASHSEED=0, GC disabled), same methodology as CI's benchmark guard.

Benchmark 0.3.12 1.0.0 Δ
list_diff_medium[0.1] (Myers vs DP) 340.4 ms 1.85 ms −99.5%
list_diff_completely_different 356.7 ms 107.8 ms −69.8%
dict_diff_flat_500_keys 328.3 µs 148.8 µs −54.7%
set_diff_1000_elements 87.4 µs 60.7 µs −30.5%
produce_deep_leaf_writes[copy] 216.8 µs 133.5 µs −38.4%
produce_in_place_vs_copy_dict 218.8 µs 188.4 µs −13.9%
diff_dict_many_mutations 1.46 ms 1.19 ms −18.3%
apply_dict_many_ops 839.8 µs 788.1 µs −6.2%

The list-diff rewrite dominates: cases with large or scattered edit distance see order-of-magnitude wins, since the DP table's O(m·n) cost no longer applies. A handful of list_diff_similar_* benchmarks (many small localized edits already handled well by the prefix/suffix trim) show a mild regression instead — up to +19% — from Myers' bookkeeping overhead on inputs where the old approach had little left to do; this sits within the CI guard's documented noise floor (10–30% run-to-run) and wasn't worth chasing further given the wins elsewhere. Everything else lands within a few percent either way.

Verification

  • uv run pytest — 100% coverage
  • uv run ruff check / ruff format --check
  • uv run ty check
  • mkdocs build — warning-free

Next step

Once merged, tag the merge commit v1.0.0 to trigger the release/publish pipeline (publish job in CI, gated on refs/tags/v*).


Generated by Claude Code

@Korijn
Korijn merged commit 334bd96 into master Jul 13, 2026
11 checks passed
@Korijn
Korijn deleted the claude/patchdiff-1-0-0-release branch July 13, 2026 11:52
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