Sorry, something went wrong.
|
⚠️ Please install the to ensure uploads and comments are reliably processed by Codecov. Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## master #253 +/- ##
==========================================
+ Coverage 97.52% 97.68% +0.15%
==========================================
Files 13 13
Lines 888 906 +18
==========================================
+ Hits 866 885 +19
+ Misses 22 21 -1
☔ View full report in Codecov by Harness.
|
Sorry, something went wrong.
Summary
Pre-release sweep so every decided 2.0 removal warns in 1.3.0, the bridge release (holding #252 until this lands):
Follow-up: stacklevel fix from review
A multi-agent review caught that the bytes-deprecation warnings misattributed their source line whenever they fired through a wrapper call instead of directly:
Fixed by extracting the shared decode+warn logic into a private helper (_add_normalized / _apply_full_name) that each public entry point (add()/add_with_encoding(), and the setter/__init__) calls directly with its own correct stacklevel. Verified empirically with warnings.catch_warnings(record=True) that both the direct-call and constructor/wrapper paths now attribute to the actual caller's line.
Also from the same review pass:
Test plan
🤖 Generated with Claude Code