release: 4.0.1#1418
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis patch release updates the package version to 4.0.1 and documents a fix for issue ChangesRelease 4.0.1
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
pyproject.toml4.0.1CHANGELOG entryContext
#1417 reports a regression in 4.0.0 where
ModelSelect2(Multiple)without an AJAX URL only renders already-selected choices on edit forms. The root cause wasSelect2InitialRenderMixin.render()(added in 9eabac0) unconditionally filteringchoices.querysettopk__in=selected_pksat render time, regardless of whether a URL was configured. This was already fixed in master by 12efd27 (removed the mixin entirely). The fix just needs to ship as a patch release.The 4.0.1 CHANGELOG stub already existed (for #1333); this PR adds the #1417 entry and bumps the version so a PyPI release can be cut.
Test plan
python -m buildproduces a4.0.1wheel/sdistModelSelect2Multiple(url=None)on an edit form shows the full queryset🤖 Generated with Claude Code
Summary by CodeRabbit