Skip to content

Commit 360c8c1

Browse files
committed
Update changelog
1 parent dcec029 commit 360c8c1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,34 @@ and this project adheres to
88

99
## [Unreleased]
1010

11+
### ⚠️ Breaking Changes
12+
13+
- Types are now their own construct instead of being subclasses of
14+
`Attribute`. See the
15+
[Attributes](https://tobyzerner.github.io/json-api-server/attributes.html)
16+
documentation for more information.
17+
- Removed support for defining polymorphic relationships by passing a map of
18+
model classes to resource types. You should use heterogeneous collections
19+
instead. See the
20+
[Relationships](https://tobyzerner.github.io/json-api-server/relationships.html#polymorphic-relationships)
21+
documentation for more information.
22+
23+
### Added
24+
25+
- Add support for
26+
[heterogeneous collections](https://tobyzerner.github.io/json-api-server/collections.html)
27+
- Add `Arr` type for defining array attributes
28+
([#88](https://github.com/tobyzerner/json-api-server/pull/88) by
29+
@bertramakers)
30+
- Laravel: Allow `WhereHas` field to be specified manually
31+
1132
### Fixed
1233

1334
- When creating a resource, set the context model prior to field validation
35+
- Fix error when updating a resource with a conflicting ID
36+
([#85](https://github.com/tobyzerner/json-api-server/issues/85))
1437
- Laravel: Fix `Has` filter not working without a `scope`
38+
- Laravel: Don't apply relationship loading constraints if there aren't any
1539

1640
## [1.0.0-beta.1] - 2023-09-24
1741

0 commit comments

Comments
 (0)