Fix typo to include *.mo locale files to packaging. [5697][gh5697], [5695][gh5695]
3.7.6
Date: [21st December 2017][3.7.6-milestone]
Add missing *.ico icon files to packaging.
3.7.5
Date: [21st December 2017][3.7.5-milestone]
Add missing *.woff2 font files to packaging. [5692][gh5692]
Add missing *.mo locale files to packaging. [5695][gh5695], [5696][gh5696]
3.7.4
Date: [20th December 2017][3.7.4-milestone]
Schema: Extract method for manual_fields processing [5633][gh5633]
Allows for easier customisation of manual_fields processing, for example
to provide per-method manual fields. AutoSchema adds get_manual_fields,
as the intended override point, and a utility method update_fields, to
handle by-name field replacement from a list, which, in general, you are not
expected to override.
Note: AutoSchema.__init__ now ensures manual_fields is a list.
Previously may have been stored internally as None.
Remove ulrparse compatability shim; use six instead [5579][gh5579]
Drop compat wrapper for TimeDelta.total_seconds() [5577][gh5577]
Clean up all whitespace throughout project [5578][gh5578]
Compat cleanup [5581][gh5581]
Add pygments CSS block in browsable API views [5584][gh5584] [5587][gh5587]
Remove set_rollback() from compat [5591][gh5591]
Fix request body/POST access [5590][gh5590]
Rename test to reference correct issue [5610][gh5610]
Documentation Fixes [5611][gh5611] [5612][gh5612]
Remove references to unsupported Django versions in docs and code [5602][gh5602]
Test Serializer exclude for declared fields [5599][gh5599]
Fixed schema generation for filter backends [5613][gh5613]
Minor cleanup for ModelSerializer tests [5598][gh5598]
Add rounding parameter to DecimalField [5562][gh5562]
Fix all BytesWarning caught during tests [5561][gh5561]
Use dict and set literals instead of calls to dict() and set() [5559][gh5559]
Change ImageField validation pattern, use validators from DjangoImageField [5539][gh5539]
Fix processing unicode symbols in query_string by Python 2 [5552][gh5552]
3.7.1
Date: [16th October 2017][3.7.1-milestone]
Fix Interactive documentation always uses false for boolean fields in requests [5492][gh5492]
Improve compatibility with Django 2.0 alpha. [5500][gh5500] [5503][gh5503]
Improved handling of schema naming collisions [5486][gh5486]
Added additional docs and tests around providing a default value for dotted source fields [5489][gh5489]
3.7.0
Date: [6th October 2017][3.7.0-milestone]
Fix DjangoModelPermissions to ensure user authentication before calling the view's get_queryset() method. As a side effect, this changes the order of the HTTP method permissions and authentication checks, and 405 responses will only be returned when authenticated. If you want to replicate the old behavior, see the PR for details. [5376][gh5376]
Deprecated exclude_from_schema on APIView and api_view decorator. Set schema = None or schema(None) as appropriate. [5422][gh5422]
Timezone-aware DateTimeFields now respect active or default timezone during serialization, instead of always using UTC. [5435][gh5435]
Resolves inconsistency whereby instances were serialised with supplied datetime for create but UTC for retrieve. [3732][gh3732]
Possible backwards compatibility break if you were relying on datetime strings being UTC. Have client interpret datetimes or [set default or active timezone (docs)][djangodocs-set-timezone] to UTC if needed.
Removed DjangoFilterBackend inline with deprecation policy. Use django_filters.rest_framework.FilterSet and/or django_filters.rest_framework.DjangoFilterBackend instead. [5273][gh5273]
Don't strip microseconds from time when encoding. Makes consistent with datetime.
BC Change: Previously only milliseconds were encoded. [5440][gh5440]
Added STRICT_JSON setting (default True) to raise exception for the extended float values (nan, inf, -inf) accepted by Python's json module.
BC Change: Previously these values would converted to corresponding strings. Set STRICT_JSON to False to restore the previous behaviour. [5265][gh5265]
Add support for page_size parameter in CursorPaginator class [5250][gh5250]
Make DEFAULT_PAGINATION_CLASSNone by default.
BC Change: If your were just setting PAGE_SIZE to enable pagination you will need to add DEFAULT_PAGINATION_CLASS.
The previous default was rest_framework.pagination.PageNumberPagination. There is a system check warning to catch this case. You may silence that if you are setting pagination class on a per-view basis. [5170][gh5170]
Catch APIException from get_serializer_fields in schema generation. [5443][gh5443]
Allow custom authentication and permission classes when using include_docs_urls [5448][gh5448]
Defer translated string evaluation on validators. [5452][gh5452]
Added default value for 'detail' param into 'ValidationError' exception [5342][gh5342]
Adjust schema get_filter_fields rules to match framework [5454][gh5454]
Updated test matrix to add Django 2.0 and drop Django 1.8 & 1.9
BC Change: This removes Django 1.8 and Django 1.9 from Django REST Framework supported versions. [5457][gh5457]
Fixed a deprecation warning in serializers.ModelField [5058][gh5058]
Added a more explicit error message when get_queryset returned None [5348][gh5348]
Fix docs for Response data description [5361][gh5361]
Fix pycache/.pyc excludes when packaging [5373][gh5373]
Fix default value handling for dotted sources [5375][gh5375]
Ensure content_type is set when passing empty body to RequestFactory [5351][gh5351]
Fix ErrorDetail Documentation [5380][gh5380]
Allow optional content in the generic content form [5372][gh5372]
Updated supported values for the NullBooleanField [5387][gh5387]
Fix ModelSerializer custom named fields with source on model [5388][gh5388]
Fixed the MultipleFieldLookupMixin documentation example to properly check for object level permission [5398][gh5398]
Update get_object() example in permissions.md [5401][gh5401]
Fix authtoken management command [5415][gh5415]
Fix schema generation markdown [5421][gh5421]
Allow ChoiceField.choices to be set dynamically [5426][gh5426]
Add the project layout to the quickstart [5434][gh5434]
Reuse 'apply_markdown' function in 'render_markdown' templatetag [5469][gh5469]
Added links to drf-openapi package in docs [5470][gh5470]
Added docstrings code highlighting with pygments [5462][gh5462]
Fixed documentation rendering for views named data [5472][gh5472]
Remove deprecated schema code from DefaultRouter [5482][gh5482]
Refactor schema generation to allow per-view customisation.
BC Change: SchemaGenerator.get_serializer_fields has been refactored as AutoSchema.get_serializer_fields and drops the view argument [5354][gh5354]
3.6.x series
Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.
There's a new version of djangorestframework available. You are currently using 3.6.4. I have updated it to 3.7.7
These links might come in handy: PyPI | Changelog | Homepage
Changelog
Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.
Happy merging! 🤖