Remove ObjectSerializer#serialized_json (#91)

* chore(ObjectSerializer): remove deprecated serialized_json
* update CHANGELOG.md
This commit is contained in:
Kevin Pheasey 2020-06-09 09:03:15 -04:00 committed by GitHub
parent 1819629408
commit 3ff69ccce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 10 deletions

View File

@ -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)

View File

@ -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)

View File

@ -1,3 +1,3 @@
module FastJsonapi module FastJsonapi
VERSION = '1.7.2'.freeze VERSION = '2.0.0'.freeze
end end