Skip to content

Releases: typeddjango/djangorestframework-stubs

1.9.1

23 Feb 12:19
98cca07
Compare
Choose a tag to compare

Emergency release to fix packaging issues in yesterday's version.

For yet unknown reasons, the wheel package of djangorestframework-stubs 1.9.0 also contained the full source code of Django REST Framework version 3.11. Thus installing djangorestframework-stubs 1.9.0 would overwrite djangorestframework files.

To fix an installation with this issue: pip uninstall djangorestframework djangorestframework-stubs && pip install djangorestframework djangorestframework-stubs==1.9.1 (tweak as necessary if you need a particular djangorestframework version)

Thanks to @monosans for debugging this issue. For details, see #362

What's Changed

Housekeeping

  • Update package metadata: release notes URL, classifiers, maintainer by @intgr in #359
  • Version 1.9.1 release by @intgr in #365

Project CI

Full Changelog: 1.9.0...1.9.1

1.9.0

22 Feb 11:02
21818bc
Compare
Choose a tag to compare

This release updates recommended mypy version to 1.0.x.

In addition to code contributions, I'd like to thank @PedroPerpetua @sobolevn @mschoettle @piotrszyma for helping out with reviews.

What's Changed

Type stubs

  • Allow subclasses of APIView to override get_permissions with return type implementing _SupportsHasPermission by @guldfisk in #320
  • Add return type to APIClient.get method by @piotrszyma in #330
  • Fix type of data parameter in get test requests by @nils-van-zuijlen in #267

Type stubs: Serializer fields

  • Fix encoder and decoder params on JSONField by @zetahernandez in #304
  • Add missing allow_empty arg to ManyRelatedField by @guldfisk in #322
  • Add max_length and min_length args for ListSerializer signature by @imamatory in #336

Type stubs: Strings/translations

Dependencies

CI & Housekeeping

  • Run pre-commit isort on pyi files by @intgr in #347
  • Fix CI: add typecheck suppression & upgrade flake8-pyi by @intgr in #303
  • Fix CI typecheck (add new ignore) by @intgr in #311
  • Fix CI: Run apt-get update before install by @intgr in #316
  • Fix CI typecheck (add new ignores) by @intgr in #323
  • CI: Freeze DRF commit used in typecheck_tests and types-requests/types-urllib3 by @intgr in #345
  • CI: Use django-stubs 1.14.0 for testing by @intgr in #346
  • CI: Enable testing with Python 3.11 by @intgr in #284
  • Version 1.9.0 release by @intgr in #357

New Contributors

Full Changelog: 1.8.0...1.9.0

Version 1.8.0

18 Nov 08:36
2584ad3
Compare
Choose a tag to compare

What's Changed

Continuous integration

  • Fix errors in CI by @intgr in #273
  • Fix CI: Use flake8 from GitHub not GitLab by @intgr in #289
  • CI: Enable testing with Python 3.10 by @intgr in #292
  • CI: Remove unused typecheck ignores by @intgr in #295

Dependency updates

New Contributors

Full Changelog: 1.7.0...1.8.0

Version 1.7.0

22 Jun 09:26
bf412d4
Compare
Choose a tag to compare
Version 1.7.0

Version 1.6.0

24 May 10:07
5f6059d
Compare
Choose a tag to compare
  • mypy 0.950 support

Version 1.5.0

06 Apr 10:06
23cbc4a
Compare
Choose a tag to compare
Version 1.5.0

Version 1.4.0

03 Feb 11:26
f74916e
Compare
Choose a tag to compare
Version 1.4.0

Version 1.3.0

03 Feb 11:24
361f4de
Compare
Choose a tag to compare
Version 1.3.0

v1.2.0

26 May 17:08
Compare
Choose a tag to compare
bump to 1.2.0

Release 1.1.0 (#47)

12 Dec 13:02
f0afc57
Compare
Choose a tag to compare
* wip on drf 3.10 support

* some fixes