github typeddjango/djangorestframework-stubs 3.18.1

3 hours ago

This release dropped Python 3.10 support, following django-stubs upstream (requires Python 3.11+ now).

What's Changed

  • Mark stub-only synthetic types with @type_check_only by @intgr with @Copilot in #1038
  • Fix PrimaryKeyRelatedField pk_field attribute & parameter type by @intgr with @Copilot in #1047
  • Fix ManyRelatedField type parameters & relation field default/initial types by @intgr in #1049

Housekeeping

  • Drop Python 3.10 support by @intgr in #1035
  • Cleanup Python 3.10 compatibility by @intgr in #1036
  • Categorize stubtest allowlist_todo.txt entries by @intgr with @Copilot in #1037
  • Fix remaining items in stubtest allowlist_todo.txt and remove the file by @intgr with @Copilot in #1039
  • Version 3.18.1 release by @intgr in #1050

Full Changelog: 3.18.0...3.18.1

Don't miss a new djangorestframework-stubs release

NewReleases is sending notifications on new releases.