unstale

pypi / djangorestframework

djangorestframework

What changed in djangorestframework 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.

9 breaking3 security7 new APIs and options1 behavior and defaults25 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

djangorestframework 345 changes

Breaking changes 9

Security 3

New APIs and options 7

  • Adds a compatibility setting for ListSerializer error formats.

    3.18.1release notes

  • SearchFilter adds unaccent support.

    3.18.0release notes

  • A function-based view decorator for throttle scopes is added.

    3.18.0release notes

  • UniqueTogetherValidator adds nulls_distinct support.

    3.18.0release notes

  • Serialization of BigInteger to string is now optionally supported.

    3.17.0release notes

  • You can now specify the output format for DurationField.

    3.17.0release notes

  • UniqueTogetherValidator now supports violation_error_code and violation_error_message from UniqueConstraint.

    3.17.0release notes

Behavior and default changes 1

Fixes and other changes 25

  • Restored from 3.18.1 to fix a broken return value.

    3.18.3release notes

  • Python 3.15 is supported.

    3.18.2release notes

  • Validation now works correctly for unique constraints with conditional fields.

    3.18.2release notes

  • Fields with blank=True in unique constraints are no longer treated as required.

    3.18.2release notes

  • Fixes duplicate validation errors for GenericIPAddressField when a protocol is specified.

    3.18.1release notes

  • Fixes int64 format detection for negative IntegerField minimums in OpenAPI schema definitions.

    3.18.1release notes

  • Fixes the list serializer when used with a unique constraint validator.

    3.18.1release notes

  • BooleanField representation values that are unhashable no longer cause a crash.

    3.18.0release notes

  • The choices parameter is now included for non-editable fields.

    3.18.0release notes

  • The cursor pagination template in the browsable API is more accessible.

    3.18.0release notes

  • HTML input for missing DictField fields no longer returns an empty dict.

    3.18.0release notes

  • Django 6.1 is now supported.

    3.18.0release notes

  • Partial form data updates involving ListField are fixed.

    3.18.0release notes

  • OpenAPI schemas now handle zero numeric bounds on ListField children correctly.

    3.18.0release notes

  • Rollback is now limited to initialized connections.

    3.18.0release notes

  • Fixes rendering forms with empty datetime values.

    3.17.1release notes

  • Django 6.0 is now supported.

    3.17.0release notes

  • The renderer now ensures a valid datetime-local format.

    3.17.0release notes

  • Validation is fixed for a many to many field when default=None.

    3.17.0release notes

  • MultipleChoiceField now preserves ordering.

    3.17.0release notes

  • Python 3.14 is now supported.

    3.17.0release notes

  • A small risk of Token overwrite is prevented.

    3.17.0release notes

  • TokenAdmin now respects the user model's USERNAME_FIELD.

    3.17.0release notes

  • Validation is fixed when a condition references a read-only field.

    3.17.0release notes

  • This decorator is now available for function-based views.

    3.17.0release notes