+
Skip to content

Releases: centrifugal/centrifuge-js

5.5.0

14 Oct 18:49
6c71051
Compare
Choose a tag to compare

What's Changed

  • Support for filter by tags by @FZambia in #336 - this is a major addition to the Centrifugal ecosystem, enabling more powerful data organization and filtering capabilities to reduce bandwidth usage and processing overhead.
    👉 See the Centrifugo v6.4.0 release notes for more details.
  • Mark ready method of Centrifuge instance as async by @FZambia in #332
  • add setData method to Centrifuge client instance and Subscription by @FZambia in #338
  • Support channel compaction by @FZambia in #335
  • Fix comments in types.ts by @FZambia in #340
  • Better readme - covers more options now

Full Changelog: 5.4.0...5.5.0

5.4.0

21 Jul 05:44
0b0b341
Compare
Choose a tag to compare

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.

New Contributors

Full Changelog: 5.3.5...5.4.0

5.3.5

11 May 07:33
382986f
Compare
Choose a tag to compare

What's Changed

  • Proper UnauthorizedError on missing getToken, more tests by @FZambia in #315
  • docs: fix removeSubscription by @roymiloh in #316
  • Partial since in SubscriptionOptions to enable cache recovery by @FZambia in #318

New Contributors

Full Changelog: 5.3.4...5.3.5

5.3.4

25 Feb 16:53
ebae3d3
Compare
Choose a tag to compare

What's Changed

  • Remove cache: no-cache from emulation fetch to allow caching preflight by @FZambia in #313
  • Remove cache: no-cache from http streaming fetch to allow caching preflight by @FZambia in #314
  • Mention react native on android issue by @FZambia in #309
  • Better error message when WS is not supported by @FZambia in #312

5.3.3 is working also, but we skipped making Github release for that version because forgot to include #314 into it.

Full Changelog: 5.3.2...5.3.4

5.3.2

29 Jan 18:53
8de6b05
Compare
Choose a tag to compare

What's Changed

  • Fix calling subscription getToken twice by @FZambia in #307
  • SDK now reconnects/resubscribes upon connection and subscription getData call exceptions
  • Bump undici from 5.28.4 to 5.28.5 by @dependabot in #305

Full Changelog: 5.3.1...5.3.2

5.3.1

25 Jan 09:59
e9fb984
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.3.0...5.3.1

5.3.0

16 Jan 04:57
Compare
Choose a tag to compare

What's Changed

SockJS transport warning

SockJS transport is removed in Centrifugo v6, but it will be supported in centrifuge-js for some time, but eventually will be removed in centrifuge-js v6.

Full Changelog: 5.2.2...5.3.0

5.2.2

29 Jun 16:50
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.2.1...5.2.2

5.2.1

20 Jun 03:58
0d25830
Compare
Choose a tag to compare

What's Changed

  • Synchronize subscribe with unsubscribe to properly work in emulation case by @FZambia in #288. This solves a possible race condition when working with HTTP-streaming and SSE fallback transports and issuing subscribe/unsubscribe requests quickly - the race could lead to already subscribed error.

Full Changelog: 5.2.0...5.2.1

5.2.0

30 May 19:40
a5384ce
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.1.1...5.2.0

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载