github typeddjango/djangorestframework-stubs 3.15.1

8 days ago

What's Changed

  • Fix class hierachy and TypeVars of Serializer classes by @intgr in #520
  • [3.15.1] Add rest_framework.compat.inflection by @saJaeHyukc in #607
  • Fix ModelSerializer.build_*_field() argument types by @intgr in #609
  • Mypy: Don't ignore missing imports (remove ignore_missing_imports) by @intgr in #611
  • Improve DefaultRouter constructor and attributes by @intgr in #610
  • Remove obsolete RenameRouterMethods metaclass by @intgr in #612
  • Accept StrPromise as Validator.message and missing_message by @q0w in #618
  • Make BaseSerializer.is_valid.raise_exception() parameter kw-only by @Viicos in #620
  • Cleanup: Import StrOrPromise from django_stubs_ext by @q0w in #621
  • Bump djangorestframework from 3.15.1 to 3.15.2 by @sobolevn in #628
  • Fix SlugRelatedField.to_representation() parameter name by @DongwookKim0823 in #632
  • Add type hints to JSON utility methods in rest_framework.utils by @DongwookKim0823 in #633
  • Fix APIRequestFactory method signatures by @DongwookKim0823 in #634
  • Update mypy to 1.11.0 by @sobolevn in #642
  • Add objects attribute to Token by @sobolevn in #644
  • Set configured user model as request.user by @flaeppe in #651
  • Add accepted_renderer, accepted_media_type to Request and Response by @q0w in #649
  • Version 3.15.1 release by @intgr in #659

New Contributors

Full Changelog: 3.15.0...3.15.1

Don't miss a new djangorestframework-stubs release

NewReleases is sending notifications on new releases.