README.md in jsonapi-serializers-0.2.0 vs README.md in jsonapi-serializers-0.2.1
- old
+ new
@@ -278,21 +278,21 @@
"self": "/posts/1"
},
"relationships": {
"author": {
"links": {
- "self": "/posts/1/links/author",
+ "self": "/posts/1/relationships/author",
"related": "/posts/1/author"
},
"data": {
"type": "users",
"id": "1"
}
},
"comments": {
"links": {
- "self": "/posts/1/links/comments",
+ "self": "/posts/1/relationships/comments",
"related": "/posts/1/comments"
},
"data": [
{
"type": "comments",
@@ -324,21 +324,21 @@
"self": "/comments/1"
},
"relationships": {
"user": {
"links": {
- "self": "/comments/1/links/user",
+ "self": "/comments/1/relationships/user",
"related": "/comments/1/user"
},
"data": {
"type": "users",
"id": "2"
}
},
"post": {
"links": {
- "self": "/comments/1/links/post",
+ "self": "/comments/1/relationships/post",
"related": "/comments/1/post"
}
}
}
},
@@ -432,9 +432,10 @@
* Support for the `fields` spec is planned, would love a PR contribution for this.
* Support for pagination/sorting is unlikely to be supported because it would likely involve coupling to ActiveRecord, but please open an issue if you have ideas of how to support this generically.
## Release notes
+* v0.2.1: Compliance fix for self links.
* v0.2.0: Initial release with support for the final v1 JSON API spec.
## Contributing
1. Fork it ( https://github.com/fotinakis/jsonapi-serializers/fork )