Skip to content

1.14.0

Compare
Choose a tag to compare
@intgr intgr released this 26 Jan 10:44
· 531 commits to master since this release
5338769

What's Changed

This release updates recommended mypy version to 0.991 and fixes a few regressions in the last release. No changes in Django version compatibility.

In addition to code contributions, I'd like to thank @flaeppe, @ngnpope and @sobolevn who helped out with reviews.

Fixes for regressions from last version

  • Fix some errors in GeoDjango stubs by @ciscorn in #1335
    • Fixes "OGRGeometry" has no attribute "__iter__" (not iterable) #1333
    • Fixes error: "bytes" has no attribute "tobytes" #1336
  • Allow returning Response from admin @action callbacks by @christianbundy in #1331
    • Fixes Recent change to admin action decorators bans return values #1330
  • Allow int, bool for data argument in test.client.Client.get() by @nils-van-zuijlen in #1345
    • Fixes Recent changes to test.client.Client.get() do not accept valid data types #1327

Mypy plugin fixes

  • Fix crash when filtering on implicit pk field on abstract model by @flaeppe in #1328
  • Suppress FieldDoesNotExist raised from attribute on class definition by @flaeppe in #1329
  • Fix crash when FK references unknown 'app_label' by @flaeppe in #1342

Enhancements

Housekeeping, dependencies

New Contributors

Full Changelog: 1.13.2...1.14.0