docs: add Breaking Changes section for v2.0.0#144
Conversation
Document the v2.0.0 breaking change ahead of the release: the Consul SessionLockDelay validation upper bound was tightened from 60 minutes to 60 seconds to match Consul's own limit, so configs above 60s now throw at startup. Includes before/after and migration guidance, plus a note that Distributed Semaphores are a new additive feature. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011D79i3saTKrBEKrhpMuDWv
PR Summary by QodoDocs: add v2.0.0 Breaking Changes section to README
AI Description
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #144 +/- ##
==========================================
- Coverage 72.97% 72.85% -0.13%
==========================================
Files 65 65
Lines 4974 4974
Branches 608 608
==========================================
- Hits 3630 3624 -6
- Misses 1141 1146 +5
- Partials 203 204 +1 see 4 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Address Qodo review on PR #144: SessionLockDelay is an init-only property, so the original `options.SessionLockDelay = ...` assignment form does not compile outside an object initializer. Rewrite the breaking-change snippet to construct via object initializers and note the init-only constraint. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011D79i3saTKrBEKrhpMuDWv
Adds a Breaking Changes section to the README ahead of the v2.0.0 release, placed near the top (right after Requirements) so upgraders see it.
The v2.0.0 entry documents:
SessionLockDelayvalidation tightened — the permitted maximum dropped from 60 minutes to 60 seconds (matching Consul's own limit), so values above 60s now throw anArgumentExceptionat startup. Includes before/after snippets and migration guidance. Configs using the default (15s) are unaffected.Docs-only change.
🤖 Generated with Claude Code
https://claude.ai/code/session_011D79i3saTKrBEKrhpMuDWv
Generated by Claude Code