chore(deps): update dependency djangorestframework-stubs to v3.15.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
djangorestframework-stubs (changelog) | dev | minor |
3.14.5 -> 3.15.0
|
Release Notes
typeddjango/djangorestframework-stubs (djangorestframework-stubs)
v3.15.0
djangorestframework 3.15 support
- Add
ValidationError
params=
argument &default_params
attribute by @intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/338 - Add
SimpleRouter
use_regex_path
argument by @intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/344 - Add
construct_search
function queryset argument forSearchFilter
by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/574 - Add
get_field_name
function ofAutoSchema
by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/575 - Move
fields.set_value
toSerializer.set_value
by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/576 - Remove
compat.distinct
function by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/579 - Add
fields.logging
by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/581 - Add
RemovedInDRF317Warning
by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/578 - Add
DecimalField
normalize_output
argument by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/584 - Add
serializers.LIST_SERIALIZER_KWARGS_REMOVE
by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/580 - Add
represent_timedelta
, a function related toCustomScalar
by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/586 - Add
is_already_registered
function ofBaseRouter
by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/587 - Add
__class_getitem__
of classes by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/585 - Add
optional_logout
csrf_token
argument by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/589 - Add
run_child_validation
function ofListSerializer
by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/590 - Add
filters.search_smart_split
by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/592 - Add functions related to
UniqueConstraint
by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/591
Stubs changes
- allow floats for _GetDataType by @asottile-sentry in https://github.com/typeddjango/djangorestframework-stubs/pull/546
- Use
Pattern[str]
forRegexField
by @Viicos in https://github.com/typeddjango/djangorestframework-stubs/pull/539 - Fixed
ModelSerializer.build_standard_field(model_field=)
parameter typing by @noamkush in https://github.com/typeddjango/djangorestframework-stubs/pull/541 - Make
HyperlinkedRelatedField(view_name=)
&HyperlinkedIdentityField(view_name=)
param optional by @Alexerson in https://github.com/typeddjango/djangorestframework-stubs/pull/530 - Allow passing
None
,empty
toModelSerializer.__init__()
default=
andinitial=
kwargs by @intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/521 - Add
ViewSetAction.__name__
attribute by @igorgaming in https://github.com/typeddjango/djangorestframework-stubs/pull/567 - Make
HyperlinkedModelSerializer
generic by @intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/595 - Fix
HyperlinkedRelatedField.get_object()
argument types by @intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/597 - Allow
None
forListField.min/max_length
by @Viicos in https://github.com/typeddjango/djangorestframework-stubs/pull/601
Housekeeping
- Omit authtoken.migration of allowlist_todo by @saJaeHyukc in https://github.com/typeddjango/djangorestframework-stubs/pull/583
- Tests: Fix test after django-stubs StrPromise changes by @intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/518
- Update
pre-commit
by @sobolevn in https://github.com/typeddjango/djangorestframework-stubs/pull/550 - Bump
pytest-mypy-plugins
andmypy
by @sobolevn in https://github.com/typeddjango/djangorestframework-stubs/pull/557 - Use explicit target versions for black by @sobolevn in https://github.com/typeddjango/djangorestframework-stubs/pull/558
- Update DRF to 3.15.0 by @sobolevn in https://github.com/typeddjango/djangorestframework-stubs/pull/560
- Clean mypy cache on each run of
stubtest
by @intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/562 - Fix and enable Ruff lints PYI002, PYI026 by @intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/496
- Update djangorestframework to 3.15.1 by @sobolevn in https://github.com/typeddjango/djangorestframework-stubs/pull/565
- Fix CI: suppress mypy errors in test suite that come from 3rd party packages by @intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/596
- CI: Run tests daily to detect incompatible django-stubs changes by @intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/519
- Version 3.15.0 release by @intgr in https://github.com/typeddjango/djangorestframework-stubs/pull/605
New Contributors
- @asottile-sentry made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/546
- @Viicos made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/539
- @Alexerson made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/530
- @igorgaming made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/567
- @saJaeHyukc made their first contribution in https://github.com/typeddjango/djangorestframework-stubs/pull/574
Full Changelog: https://github.com/typeddjango/djangorestframework-stubs/compare/3.14.5...3.15.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.