release v2.3.0 - #799
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #799 +/- ##
==========================================
+ Coverage 88.86% 91.71% +2.84%
==========================================
Files 7 7
Lines 548 676 +128
==========================================
+ Hits 487 620 +133
+ Misses 61 56 -5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe release updates package version metadata from 2.2.8 to 2.3.0 and adds release notes covering connection behavior, cursor APIs, conversion fixes, platform support, testing, new methods, and deprecations. Changes2.3.0 release
Estimated code review effort: 1 (Trivial) | ~3 minutes Merge Risk: ⚪ Minimal · up to The package version and 2.3.0 release notes are updated with no remaining identified merge-readiness risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
This pull request prepares for the 2.3.0 release by updating the version information and adding detailed release notes. The release introduces several new features, improvements, and deprecations to the MySQLdb package.
Release preparation:
src/MySQLdb/release.py.HISTORY.rstdescribing the changes in 2.3.0, including new features, bug fixes, and deprecations.Key highlights from the release notes:
Thread Safety and Concurrency:
Connectionobject from multiple threads now raisesProgrammingErrorimmediately, preventing undefined behavior.Performance and Feature Enhancements:
executemany_fallback="multi"connection option to batch certain statements inCursor.executemany()for improved performance.Cursoran iterator as specified by DB-API 2.0, and addedCursor.warning_countandConnection.more_results()for better API compliance and usability.Deprecations:
Cursorattributes and thereconnectparameter ofConnection.ping().Summary by CodeRabbit
New Features
executemany()behavior.Bug Fixes
ProgrammingErrorimmediately.timedeltaconversion.Compatibility
Deprecations
reconnectparameter ofConnection.ping()are deprecated.