Add the 0.10 upgrade guide, the missing sqlmodel release note, and a BackendVarFormatError hint
All Submissions:
- Have you followed the guidelines stated in CONTRIBUTING.md file?
- Have you checked to ensure there aren't any other open Pull Requests for the desired changed?
Type of change
- Bug fix (non-breaking change which fixes an issue)
- This change requires a documentation update
Changes To Core Features:
- Have you added an explanation of what your changes do and why you'd like us to include them?
- Have you written new tests for your core changes, as applicable?
- Have you successfully ran tests with your changes locally?
What
Three commits closing the documentation and error-message gaps the 0.10.0a2 pre-release QA rated "fix before release" (prerelease_testing/2026-10-07/RELEASE_PLAN.md on claude/reflex-prerelease-testing-t0sd90).
- Name the fix in
BackendVarFormatError(fixes #7475).Field.__format__'s backend-var branch still names'Owner.var'and now adds that the code can useOwner.var.default_value(), declare the var asClassVar[...]for a constant shared by all sessions, or use a regular state var for a value the UI should show and update. Unit testtest_backend_field_format_error_names_the_fix(parametrized; failed before). Fragment inpackages/reflex-base/news/. - Add the missing release note for lifting the sqlmodel cap (fixes #7474, item 1). #7462 added no fragment of its own and only trimmed #7424's; the a1 changelog had the cap sentence, the a2 changelog dropped it.
news/7462.misc.mdstates that thesqlmodel<0.0.45cap is gone, that from 0.0.45 a plaindatetimeis stored as UTC, whatuv pip install -Ufrom 0.10.0a1 does (verified by dry-run: sqlmodel 0.0.44 ā 0.0.48, SQLAlchemy 2.0.54 ā 2.1.3), and how to keep naive datetimes (sa_type=DateTime(timezone=False)or a pin);docs/database/tables.mdgains the matching paragraph. - Add an Upgrading to Reflex 0.10 guide (fixes #7474, items 2 and 3): new
docs/changelog/upgrading/upgrading-to-0-10.md, the first item of the Changelog section of the API reference sidebar inside an "Upgrading" accordion that later upgrade guides can join (with a sidebar test; only the package changelogs pulled in from outside the docs tree get the changelog rendering, so other pages underdocs/changelog/are ordinary docs). It covers the class-level read returningFieldwith a replacement table, thatdefault_value()does not exist on 0.9.x and the portableState.get_fields()["_x"].default_value()form, the scope of #7461 class-default assignment (new instances only, annotation-checked, a zero-arg callable called once, mutable defaults copied, shared live objects must beClassVar[...]notAny/Optional[...]because non-ClassVar defaults are deep-copied and unpicklable objects then fail on first read), the background-task handler-call guard with a before/after snippet (narrowed to inherited handlers after checking 0.9.12: a handler declared on the substate already raised;news/7312.breaking.mdadded), and one line each with PR links for #7370, #7312 and #7462.docs/vars/base_vars.mdanddocs/events/background_events.mdcross-link into it.
Every code sample in the guide was executed on this tree and, where noted, on a fresh 0.9.12; all /docs links and anchors were validated against the registered routes.
Test plan
uv run ruff check ./ruff format --check .clean;uv run pyright reflex tests0 errors; pre-commit on the changed files (ruff, codespell, pyi, pyright, ty) passes.BASE_REF=origin/main uv run reflex-release changelog-check: fragments present; towncrier drafts render the new fragments with PR links.- Unit tests for
reflex_base/vars, components, events and vars: 616 passed; the full suite's only failures are the 232reflex_cli/v2version-check tests and the Playwright-less bench driver test, both environmental and identical onmain. - Docs app tests (from
docs/app, browser-driven files excluded): 664 passed, 1 skipped, 6 xfailed (link/SEO checks that need an exported site). The docs site itself was not built here (the full docs app import needs a reflex-enterprise login).
Judgement calls for review: the guide is a new public URL (/docs/changelog/upgrading/upgrading-to-0-10/); 7462.misc.md and 7312.breaking.md use PR-number names; the sqlmodel entry is typed misc because 0.9.12 already allowed sqlmodel up to 0.1 and the exposure is a1 ā a2 upgraders. The BackendVarFormatError change covers the f-string / format() path only; str(), % and !r still embed Field(...) silently.
š¤ Generated with Claude Code
https://claude.ai/code/session_01SjCrbdguMkfe4bhbaREiwo
Generated by Claude Code
Generated by Claude Code