diff --git a/CHANGELOG.md b/CHANGELOG.md index c62b5383..e7f43647 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Note that in line with [Django REST Framework policy](http://www.django-rest-framework.org/topics/release-notes/), any parts of the framework not mentioned in the documentation should generally be considered private API, and may be subject to change. -## [Unreleased] +## [4.2.0] - 2021-05-03 ### Added @@ -26,16 +26,13 @@ any parts of the framework not mentioned in the documentation should generally b name='order-related'), ``` * Ensure default `included_resources` are considered when calculating prefetches. - +* Avoided error when using `include` query parameter on related urls (a regression since 4.1.0) ### Deprecated * Deprecated default `format_type` argument of `rest_framework_json_api.utils.format_value`. Use `rest_framework_json_api.utils.format_field_name` or specify specifc `format_type` instead. -* Deprecated `format_type` argument of `rest_framework_json_api.utils.format_link_segment`. Use `format_value` instead. +* Deprecated `format_type` argument of `rest_framework_json_api.utils.format_link_segment`. Use `rest_framework_json_api.utils.format_value` instead. -### Fixed - -* Avoided error when using `include` query parameter on related urls (a regression since 4.1.0) ## [4.1.0] - 2021-03-08 diff --git a/rest_framework_json_api/__init__.py b/rest_framework_json_api/__init__.py index 3ce910ef..d166001f 100644 --- a/rest_framework_json_api/__init__.py +++ b/rest_framework_json_api/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- __title__ = "djangorestframework-jsonapi" -__version__ = "4.1.0" +__version__ = "4.2.0" __author__ = "" __license__ = "BSD" __copyright__ = ""