Skip to content

Placeholder for 3.12 release #7379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Sep 28, 2020
Merged

Placeholder for 3.12 release #7379

merged 9 commits into from
Sep 28, 2020

Conversation

tomchristie
Copy link
Member

@tomchristie tomchristie commented Jun 15, 2020

Basic structure at the moment looks like this...

(Tho there's a whole host of smaller line items)

Need to flesh this out with examples for everything to give some better context throughout, and also figure out what other PRs ought to make the 3.12 cutoff.

Django REST framework 3.12

Schema generation improvements

Grouping operations with tags.

https://www.django-rest-framework.org/api-guide/schemas/#grouping-operations-with-tags

Customizing the operation ID.

https://www.django-rest-framework.org/api-guide/schemas/#operationid

Support OpenAPI components.

https://www.django-rest-framework.org/api-guide/schemas/#components

More Public API

  • get_path_parameters
  • get_pagination_parameters
  • get_filter_parameters
  • get_request_body
  • get_responses
  • get_serializer
  • get_paginator
  • map_serializer
  • map_field
  • map_choice_field
  • map_field_validators
  • allows_filters.

See the schema docs.

Support for JSONField.

Django 3.1 deprecated the existing django.contrib.postgres.fields.JSONField
in favour of a new database-agnositic JSONField.

REST framework 3.12 now supports this new model field, and ModelSerializer
classes will correctly map the model field.

SearchFilter improvements

There are a couple of significant improvements to the SearchFilter class.

Support for nested search within JSONField and HStoreField

TODO Example to give better context.

Support for searching against fields created using annotate

TODO Example to give better context.

@tomchristie tomchristie added this to the 3.12 Release milestone Jun 15, 2020
@tomchristie tomchristie merged commit 6f7aad8 into master Sep 28, 2020
@tomchristie tomchristie deleted the version-3.12 branch September 28, 2020 09:47
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
* Placeholder for 3.12 release

* Updating release notes

* Updating release notes

* Updating release notes

* Update release notes

* Fix typo

* Basic structure for release announcement

* 3.12 release notes

* Version 3.12.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant