Skip to content

Commit

Permalink
Release 4.2.0 (#937)
Browse files Browse the repository at this point in the history
  • Loading branch information
sliverc authored May 12, 2021
1 parent 16a3d6b commit 0fcede4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion rest_framework_json_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

__title__ = "djangorestframework-jsonapi"
__version__ = "4.1.0"
__version__ = "4.2.0"
__author__ = ""
__license__ = "BSD"
__copyright__ = ""
Expand Down

0 comments on commit 0fcede4

Please sign in to comment.