File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,19 @@ All notable changes to this project will be documented in this file. This projec
11
11
been updated to receive all the validated data as its third argument. This change was made to allow fields to work out
12
12
the value to fill into the model based on other JSON: API field values. If you have written any custom fields, you will
13
13
need to update the ` fill() ` method on your field class.
14
+ - ** BREAKING** Eloquent attributes now support serializing and filling column values on related objects. This is
15
+ primarily intended for use with the Eloquent ` belongsTo ` , ` hasOne ` , ` hasOneThrough ` and ` morphOne ` relationships that
16
+ have a ` withDefault() ` method. As part of this change, the ` mustExist() ` method was added to the ` Fillable ` interface.
17
+ If you have written any custom fields, you will need to add this method to your field class - it should return ` true `
18
+ if the attribute needs to be filled * after* the primary model has been persisted.
14
19
- [ #58 ] ( https://github.com/laravel-json-api/laravel/issues/58 ) Schema model classes can now be a parent class or an
15
20
interface.
16
21
22
+ ### Fixed
23
+
24
+ - [ #69 ] ( https://github.com/laravel-json-api/laravel/issues/69 ) Fixed the parsing of empty ` include ` , ` sort ` and
25
+ ` withCount ` query parameters.
26
+
17
27
## [ 1.0.0-beta.1] - 2021-03-30
18
28
19
29
### Added
You can’t perform that action at this time.
0 commit comments