File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 2
2
All notable changes to this project will be documented in this file. This project adheres to
3
3
[ Semantic Versioning] ( http://semver.org/ ) and [ this changelog format] ( http://keepachangelog.com/ ) .
4
4
5
+ ## [ 2.0.0-beta.2] - 2020-04-12
6
+
7
+ ### Changed
8
+ - Refactored API configuration to reduce constructor arguments in the API class.
9
+ - Updated UUID dependency so that version 3 and 4 are allowed.
10
+
11
+ ### Fixed
12
+ - [ #498 ] ( https://github.com/cloudcreativity/laravel-json-api/issues/498 )
13
+ Update exception parser interface to type-hint a ` Throwable ` instance instead of an
14
+ ` Exception ` .
15
+
5
16
## [ 2.0.0-beta.1] - 2020-03-04
6
17
7
18
### Added
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ class Schema extends SchemaProvider
211
211
return [
212
212
'author' => [
213
213
self::DATA => function () use ($post) {
214
- return $post->createdBy ;
214
+ return $post->author ;
215
215
},
216
216
],
217
217
];
@@ -256,7 +256,7 @@ class Schema extends SchemaProvider
256
256
'author' => [
257
257
self::SHOW_DATA => isset($includeRelationships['author']),
258
258
self::DATA => function () use ($post) {
259
- return $post->createdBy ;
259
+ return $post->author ;
260
260
},
261
261
],
262
262
];
@@ -337,7 +337,7 @@ class Schema extends SchemaProvider
337
337
self::SHOW_RELATED => true,
338
338
self::SHOW_DATA => isset($includeRelationships['author']),
339
339
self::DATA => function () use ($post) {
340
- return $post->createdBy ;
340
+ return $post->author ;
341
341
},
342
342
],
343
343
];
You can’t perform that action at this time.
0 commit comments