Skip to content

Commit

Permalink
Document the omitted undefineds in params
Browse files Browse the repository at this point in the history
  • Loading branch information
ardecvz authored and palkan committed Jan 9, 2024
1 parent 3ad60cc commit 665b188
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## master

- Omit `undefined` within Channels' params to fix invalid JSON serialization. ([@ardecvz][])

It's intended to mimic the ActionCable behavior when using `JSON.stringify`.

Also, extend the type signature to allow `null` values.

## 0.7.11 (2023-11-29)

- Implement `subscriptions.findAll` for Action Cable compat. ([@palkan][])
Expand Down Expand Up @@ -183,3 +189,4 @@ Each component takes care of subscribing and unsubsribing; the actual subscripti
[@gydroperit]: https://github.com/gydroperit
[@TheSeally]: https://github.com/TheSeally
[@lokkirill]: https://github.com/lokkirill
[@ardecvz]: https://github.com/ardecvz

0 comments on commit 665b188

Please sign in to comment.