Skip to content

Commit ca53178

Browse files
committed
Bump to 0.10.7; update changelog
1 parent c41e243 commit ca53178

File tree

2 files changed

+36
-4
lines changed

2 files changed

+36
-4
lines changed

CHANGELOG.md

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,41 @@
11
## 0.10.x
22

3-
### [master (unreleased)](https://github.com/rails-api/active_model_serializers/compare/v0.10.6...master)
3+
### [master (unreleased)](https://github.com/rails-api/active_model_serializers/compare/v0.10.7...0-10-stable)
44

55
Breaking changes:
66

77
Features:
8-
- [#2136](https://github.com/rails-api/active_model_serializers/pull/2136) Enable inclusion of sideloaded relationship objects by `key`. (@caomania)
98

9+
Fixes:
10+
11+
Misc:
12+
13+
### [v0.10.7 (2017-11-14)](https://github.com/rails-api/active_model_serializers/compare/v0.10.6...v0.10.7)
14+
15+
Regressions Fixed From v0.10.6:
16+
17+
- [#2211](https://github.com/rails-api/active_model_serializers/pull/2211). Fixes #2125, #2160. (@bf4)
18+
- Fix polymorphic belongs_to tests; passes on v0.10.5, fails on v0.10.6
19+
- Fix JSON:API polymorphic type regression from v0.10.5
20+
- Fix JSON:API: for_type_and_id should always inflect_type
21+
```
22+
Should Serializer._type ever be inflected?
23+
Right now, it won't be, but association.serializer._type will be inflected.
24+
25+
That's the current behavior.
26+
```
27+
- [#2216](https://github.com/rails-api/active_model_serializers/pull/2216). Fixes #2132, #2180. (@bf4)
28+
- Fix JSON:API: Serialize resource type for unpersisted records (blank id)
29+
- [#2218](https://github.com/rails-api/active_model_serializers/pull/2218). Fixes #2178. (@bf4)
30+
- Fix JSON:API: Make using foreign key on belongs_to opt-in. No effect on polymorphic relationships.
31+
```
32+
# set to true to opt-in
33+
ActiveModelSerializer.config.jsonapi_use_foreign_key_on_belongs_to_relationship = true
34+
```
35+
36+
Features:
37+
38+
- [#2136](https://github.com/rails-api/active_model_serializers/pull/2136) Enable inclusion of sideloaded relationship objects by `key`. (@caomania)
1039
- [#2021](https://github.com/rails-api/active_model_serializers/pull/2021) ActiveModelSerializers::Model#attributes. Originally in [#1982](https://github.com/rails-api/active_model_serializers/pull/1982). (@bf4)
1140
- [#2130](https://github.com/rails-api/active_model_serializers/pull/2130) Allow serialized ID to be overwritten for belongs-to relationships. (@greysteil)
1241
- [#2189](https://github.com/rails-api/active_model_serializers/pull/2189)
@@ -18,11 +47,14 @@ Fixes:
1847
- [#2022](https://github.com/rails-api/active_model_serializers/pull/2022) Mutation of ActiveModelSerializers::Model now changes the attributes. Originally in [#1984](https://github.com/rails-api/active_model_serializers/pull/1984). (@bf4)
1948
- [#2200](https://github.com/rails-api/active_model_serializers/pull/2200) Fix deserialization of polymorphic relationships. (@dennis95stumm)
2049
- [#2214](https://github.com/rails-api/active_model_serializers/pull/2214) Fail if unable to infer collection type with json adapter. (@jmeredith16)
50+
- [#2149](https://github.com/rails-api/active_model_serializers/pull/2149) Always include self, first, last pagination link. (@mecampbellsoup)
51+
- [#2179](https://github.com/rails-api/active_model_serializers/pull/2179) Fixes #2173, Pass block to Enumerator.new. (@drn)
2152
2253
Misc:
2354
24-
- #2176 Documentation for global adapter config (@mrpinsky)
55+
- [#2176](https://github.com/rails-api/active_model_serializers/pull/2176) Documentation for global adapter config. (@mrpinsky)
2556
- [#2215](https://github.com/rails-api/active_model_serializers/pull/2215) Update `serializers.md` documentation to denote alternate use cases for `scope`. (@stratigos)
57+
- [#2212](https://github.com/rails-api/active_model_serializers/pull/2212) Remove legacy has_many_embed_ids test. (@bf4)
2658
2759
### [v0.10.6 (2017-05-01)](https://github.com/rails-api/active_model_serializers/compare/v0.10.5...v0.10.6)
2860
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module ActiveModel
22
class Serializer
3-
VERSION = '0.10.6'.freeze
3+
VERSION = '0.10.7'.freeze
44
end
55
end

0 commit comments

Comments
 (0)