Repository navigation
Use 0.10.0 as the router cookie deprecation version - #7523
Conversation
The State.router.headers.cookie deprecation added in #7360 shipped in the 0.10 alpha line, so the warning should name 0.10.0 rather than 0.9.13. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XGbR9efAcf7RNMMqU7JLY8
|
Merging this PR will improve performance by 7.12%
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | test_hydration_metadata[200] |
2 ms | 1.8 ms | +9.15% |
| ⚡ | test_hydration_metadata[20] |
218.9 µs | 208.2 µs | +5.13% |
Tip
Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.
Comparing claude/funny-cerf-ynbx20 (dd01ddc) with main (beef0ae)
Footnotes
-
18 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
All Submissions:
Type of change
Changes To Core Features:
The
State.router.headers.cookiedeprecation added in #7360 passesdeprecation_version="0.9.13", but it first ships in the 0.10 release line (latest tagv0.10.0a5). This PR changes it to"0.10.0".It's a one-line change in
reflex/istate/data.py.tests/units/istate/test_data.pypasses and ruff is clean.There's no news fragment. This corrects a change that hasn't been released yet, and the existing
news/+router-cookie-privacy.deprecation.mddoesn't mention a version, so it's still accurate. The PR needs theskip-changeloglabel.🤖 Generated with Claude Code
https://claude.ai/code/session_01XGbR9efAcf7RNMMqU7JLY8
Generated by Claude Code