File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,34 @@ and this project adheres to
8
8
9
9
## [ Unreleased]
10
10
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
+
11
32
### Fixed
12
33
13
34
- 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 ) )
14
37
- Laravel: Fix ` Has ` filter not working without a ` scope `
38
+ - Laravel: Don't apply relationship loading constraints if there aren't any
15
39
16
40
## [ 1.0.0-beta.1] - 2023-09-24
17
41
You can’t perform that action at this time.
0 commit comments