github typeddjango/djangorestframework-stubs 3.15.0

latest release: 3.15.1
5 months ago

djangorestframework 3.15 support

Stubs changes

  • allow floats for _GetDataType by @asottile-sentry in #546
  • Use Pattern[str] for RegexField by @Viicos in #539
  • Fixed ModelSerializer.build_standard_field(model_field=) parameter typing by @noamkush in #541
  • Make HyperlinkedRelatedField(view_name=) & HyperlinkedIdentityField(view_name=) param optional by @Alexerson in #530
  • Allow passing None, empty to ModelSerializer.__init__() default= and initial= kwargs by @intgr in #521
  • Add ViewSetAction.__name__ attribute by @igorgaming in #567
  • Make HyperlinkedModelSerializer generic by @intgr in #595
  • Fix HyperlinkedRelatedField.get_object() argument types by @intgr in #597
  • Allow None for ListField.min/max_length by @Viicos in #601

Housekeeping

  • Omit authtoken.migration of allowlist_todo by @saJaeHyukc in #583
  • Tests: Fix test after django-stubs StrPromise changes by @intgr in #518
  • Update pre-commit by @sobolevn in #550
  • Bump pytest-mypy-plugins and mypy by @sobolevn in #557
  • Use explicit target versions for black by @sobolevn in #558
  • Update DRF to 3.15.0 by @sobolevn in #560
  • Clean mypy cache on each run of stubtest by @intgr in #562
  • Fix and enable Ruff lints PYI002, PYI026 by @intgr in #496
  • Update djangorestframework to 3.15.1 by @sobolevn in #565
  • Fix CI: suppress mypy errors in test suite that come from 3rd party packages by @intgr in #596
  • CI: Run tests daily to detect incompatible django-stubs changes by @intgr in #519
  • Version 3.15.0 release by @intgr in #605

New Contributors

Full Changelog: 3.14.5...3.15.0

Don't miss a new djangorestframework-stubs release

NewReleases is sending notifications on new releases.