What's Changed
This version introduces a transition to the minimal build of ProtobufJS, contributed by @wrangelvid. It speeds up Protobuf encode/decode methods (in our benchmark suite: encode from 5.94 µs/op -> 4.80 µs/op, i.e. 19% improvement, and decode from 2.54 µs/op -> 1.87 µs/op, i.e. 26% improvement). While the minified build of centrifuge-js with Protobuf codec is larger now, the gzipped version is actually 18% smaller.
- make functions async, more type safety internally by @FZambia in #323
- use minimal protobufjs by @wrangelvid in #324
- add codecs benchmarks by @FZambia in #322
- fix decode benchmark by @FZambia in #327
- add hasRecoveredPublications field to SubscribedContext by @pavelmakeenko in #326
- hasRecoveredPublications for ServerSubscribedContext by @FZambia in #328
- document that SDK does not catch any app-level exceptions by @FZambia in #321
New Contributors
- @wrangelvid made their first contribution in #324
- @pavelmakeenko made their first contribution in #326
Full Changelog: 5.3.5...5.4.0