Skip to content

Commit 5ba3f16

Browse files
committed
Merge branch 'strip-empty-keys'
2 parents 82c46c9 + 678844d commit 5ba3f16

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UPGRADE.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## Upgrading To 1.x From 0.x
44

5+
## Empty properties are now removed
6+
7+
Previously, optional keys were always included. Optional keys are now removed from the response. This includes empty `attributes`, `relationships`, `links`, `meta`, `included`.
8+
9+
This may impact consumers of your API if they are expecting those keys to be present even when empty.
10+
511
### Method visibility
612

713
The following methods should now me marked as `public`:

0 commit comments

Comments
 (0)