Skip to content

Commit aba8374

Browse files
committed
[Docs] Update changelog
Closes #69
1 parent 0a969b1 commit aba8374

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,19 @@ All notable changes to this project will be documented in this file. This projec
1111
been updated to receive all the validated data as its third argument. This change was made to allow fields to work out
1212
the value to fill into the model based on other JSON:API field values. If you have written any custom fields, you will
1313
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.
1419
- [#58](https://github.com/laravel-json-api/laravel/issues/58) Schema model classes can now be a parent class or an
1520
interface.
1621

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+
1727
## [1.0.0-beta.1] - 2021-03-30
1828

1929
### Added

0 commit comments

Comments
 (0)