Skip to content

Releases: typeddjango/djangorestframework-stubs

3.16.5

21 Oct 19:42
fc6d3c8

Choose a tag to compare

What's Changed

Improvements

  • Fix Field.get_attribute() return and RelatedField.to_representation() parameter for PKOnlyObject by @emmanuel-ferdman in #852
  • Add official support & test with Python 3.14 by @intgr in #850

Housekeeping

  • CI: Clean up & speed up: remove unneeded apt package installs by @intgr in #842
  • Fix Renovate 'lock file maintenance' schedule by @intgr in #843 & #844
  • Enable more Ruff rules by @intgr in #845
  • Version 3.16.5 release by @intgr in #855

New Contributors

Full Changelog: 3.16.4...3.16.5

3.16.4

29 Sep 20:10
73ce41a

Choose a tag to compare

What's Changed

Changes

  • Update schemas.get_schema_view(generator_class=) parameter to accept None by @kwang1215 in #703
  • Fix SlugRelatedField.slug_field type: cannot be None by @lev-blit in #830
  • Remove non-existant function schema.generators.common_path() by @kwang1215 in #700
  • Remove non-existant function templatetags.rest_framework.urlize_quoted_links() by @Limsunoh in #699
  • Document intentional discrepancies in allowlist & code comments by @intgr in #833

Housekeeping

New Contributors

Full Changelog: 3.16.3...3.16.4

3.16.4a1 (testing)

29 Sep 19:45
1e92fec

Choose a tag to compare

3.16.4a1 (testing) Pre-release
Pre-release

Testing new release workflow.

Using alpha version in case anything goes wrong -- so users won't be updated automatically.

3.16.3

18 Sep 18:05
fbfde22

Choose a tag to compare

What's Changed

Changes

  • [Breaking change] Remove work-around for ModelSerializer.instance field for many=True by @JoshFerge in #719

    • The background of this change is described in #827. If this change caused a regression in your use case, please comment there ➔ #827
  • Accept lazy strings as path in APIRequestFactory and APIClient http methods by @browniebroke in #825

Housekeeping

New Contributors

Full Changelog: 3.16.2...3.16.3

3.16.2

14 Aug 17:57
0eddd3d

Choose a tag to compare

What's Changed

Housekeeping

  • Tests: Fix compatbility with mypy 1.17 due to bump in django-stubs by @intgr in #791
  • Tests: Update usages of obsolete Union/Optional types by @intgr in #792
  • Tests: Update mypy error message by @intgr in #798
  • Version 3.16.2 release by @intgr in #810

New Contributors

Full Changelog: 3.16.1...3.16.2

3.16.1

15 Jul 12:28
cd9de7f

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.16.0...3.16.1

3.16.0

27 Apr 12:18
f9c241b

Choose a tag to compare

What's Changed

Full Changelog: 3.15.4...3.16.0

3.15.4

27 Apr 11:48
67f6540

Choose a tag to compare

Important

What's Changed

New Contributors

Full Changelog: 3.15.3...3.15.4

3.15.3

21 Feb 14:47
3fe49e9

Choose a tag to compare

What's Changed

  • Update django-stubs requirements
  • Update mypy requirements

Full Changelog: 3.15.2...3.15.3

3.15.2

14 Dec 11:04
db60d64

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.15.1...3.15.2