Remove ObjectSerializer#serialized_json (#91)
* chore(ObjectSerializer): remove deprecated serialized_json * update CHANGELOG.md
This commit is contained in:
parent
1819629408
commit
3ff69ccce1
@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
### Changed
|
||||||
|
- Remove `ObjectSerializer#serialized_json` (#91)
|
||||||
|
|
||||||
## [1.7.2] - 2020-05-18
|
## [1.7.2] - 2020-05-18
|
||||||
### Fixed
|
### Fixed
|
||||||
- Relationship#record_type_for does not assign static record type for polymorphic relationships (#83)
|
- Relationship#record_type_for does not assign static record type for polymorphic relationships (#83)
|
||||||
|
@ -72,15 +72,6 @@ module FastJsonapi
|
|||||||
serializable_hash
|
serializable_hash
|
||||||
end
|
end
|
||||||
|
|
||||||
def serialized_json(*args)
|
|
||||||
warn(
|
|
||||||
'DEPRECATION: `#serialized_json` will be removed in the next release. '\
|
|
||||||
'More details: https://github.com/fast-jsonapi/fast_jsonapi/pull/44'
|
|
||||||
)
|
|
||||||
serializable_hash.to_json(*args)
|
|
||||||
end
|
|
||||||
alias to_json serialized_json
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def process_options(options)
|
def process_options(options)
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
module FastJsonapi
|
module FastJsonapi
|
||||||
VERSION = '1.7.2'.freeze
|
VERSION = '2.0.0'.freeze
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user