Skip to content

release: v2.6.0 — O(n) replacements, version sync#34

Merged
click0 merged 2 commits into
mainfrom
claude/refactor-data-masking-lIcWN
Jun 11, 2026
Merged

release: v2.6.0 — O(n) replacements, version sync#34
click0 merged 2 commits into
mainfrom
claude/refactor-data-masking-lIcWN

Conversation

@click0

@click0 click0 commented Jun 11, 2026

Copy link
Copy Markdown
Owner

v2.5.8 + v2.6.0

2.5.8 — Performance

  • Four replacement loops (mask engine, initials phase, both unmask passes) build results via segment join — O(n) instead of O(n²) string rebuilding on large documents
  • Mask engine items processed in document order: instance numbers match occurrence order (was reversed — collision cases could restore the wrong value)
  • Large-document roundtrip regression test (300 lines, mask→unmask exact match verified; manually validated on 4000-line/205KB doc)

2.6.0 — Release

  • Version strings synchronized across all ~35 file headers (were stuck at 2.5.1)
  • Wrapper docstrings describe actual changes; historical refactoring references pinned to v2.5.0 so they no longer drift
  • CHANGELOG rollup entry

Test plan

  • 427 tests pass
  • CI version regex + runtime __version__ both report 2.6.0

https://claude.ai/code/session_01XT6iUWaQgahXDB9TWX9Bq7


Generated by Claude Code

claude added 2 commits June 11, 2026 20:50
- Four replacement loops (mask items, initials, unmask ranks, unmask
  other) no longer rebuild the full string per replacement
- Mask items processed in document order: instance tracking matches
  occurrence order (was reversed — collision cases restored wrong value)
- Large-document roundtrip regression test

https://claude.ai/code/session_01XT6iUWaQgahXDB9TWX9Bq7
- All ~35 file headers updated from stale 2.5.1 to 2.6.0
- Wrapper docstrings describe actual 2.6.0 changes
- Historical refactoring references pinned to v2.5.0 (no more drift)
- CHANGELOG rollup entry for 2.5.2-2.5.8

https://claude.ai/code/session_01XT6iUWaQgahXDB9TWX9Bq7
@click0 click0 merged commit bd1ef3a into main Jun 11, 2026
1 check passed
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