Skip to content

Commit

Permalink
Merge branch 'strip-empty-keys'
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Oct 11, 2023
2 parents 82c46c9 + 678844d commit 5ba3f16
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Upgrading To 1.x From 0.x

## Empty properties are now removed

Previously, optional keys were always included. Optional keys are now removed from the response. This includes empty `attributes`, `relationships`, `links`, `meta`, `included`.

This may impact consumers of your API if they are expecting those keys to be present even when empty.

### Method visibility

The following methods should now me marked as `public`:
Expand Down

0 comments on commit 5ba3f16

Please sign in to comment.