Skip to content

Releases: taoensso/sente

1.19.0 (2023-07-13)

13 Jul 10:33

Choose a tag to compare

📦 Available on Clojars

This is intended as a non-breaking maintenance release, but it touches a lot of code so please keep an eye out for (and let me know about) any unexpected problems - thank you! 🙏

Tip: the reference example includes a number of tools to help test Sente in your environment.

Fixes since 1.18.1

  • 0dc8a12 [fix] [#431] Some disconnected user-ids not removed from connected-uids (big thanks to @krajj7 for the report and assistance debugging!)

New since 1.18.1

  • e330ef2 [new] Allow WebSocket constructors to delay connection
  • 6021258 [new] [example] Misc improvements to example project
  • d0fd918 [new] Alias client option: :ws-kalive-ping-timeout-ms -> :ws-ping-timeout-ms
  • GraalVM compatibility is now tested during build

1.18.1 (2023-07-04)

04 Jul 08:12

Choose a tag to compare

📦 Available on Clojars

This is an important hotfix release, please update if you're using 1.18.0.

Fixes since 1.18.0

  • ad62f1e [fix] Ajax poll not properly timing out
  • 1d15fe5 [fix] [#430] [:chsk/uidport-close] server event not firing

New since 1.18.0

  • 5c0f4ad [new] [example] Add example server-side uidport event handlers

1.18.0 (2023-06-30)

30 Jun 17:24

Choose a tag to compare

📦 Available on Clojars

Same as 1.18.0-RC1, except for:

  • 7889a0b [fix] [#429] Bump deps, fix possible broken cljs builds

1.18.0-RC1 (2023-05-30)

30 May 12:29

Choose a tag to compare

Pre-release

📦 Available on Clojars

This is a major pre-release that INCLUDES BREAKING CHANGES.

Please test carefully and report any issues!

⚠️ Changes since 1.17.0

See here for detailed migration/upgrade instructions! 👈

  • 0b37e4c [mod] [#319] [BREAKING] Change default wrap-recv-evs? value
  • d5b3dc5 [mod] [#404] [#398] [BREAKING] Disable default legacy pack value
  • 23d9f7a [mod] [#412] [BREAKING] Move unofficial adapters under community dir
  • c3d7c6c [mod] [#424] [BREAKING] Temporarily remove jetty9-ring-adapter support
  • bfa4c72 [mod] Client will now re-connect on WebSocket send error
  • 76b8abc [mod] [Aleph adapter] [#350] Experimental change to support Ring middleware (@g7s)
  • 728901a [mod] [Undertow adapter] [#409] Add default Ajax read timeout (@kajism)
  • 8806e72 [new] [Undertow adapter] [#409] Allow Ajax read timeout (@kajism)
  • e6cdf99 [mod] Refactor, improve logging

Fixes since 1.17.0

  • eae2726 [fix] [#259] Improve client-side detection of broken connections
  • a2b9af8 [fix] [#417] Fix broken server->client broadcast on client IP change (@Naomarik)
  • 82fc83d [fix] Verify expected server-ch identity when updating conns
  • c6deca6 [fix] Potential (though unlikely) race condition on client GC
  • 7b466ad [fix] [#260] NB Prevent unnecessary participation of Ajax channels in conns_ during handshake
  • cc84303 [fix] [new] [#380] NB Refactor ws state management
  • da73f03 [fix] [#346] [#340] Malformed :chsk/bad-package error
  • 91a239b [fix] [#428] Unpack broken for binary data (@rosejn)
  • Several fixes to Undertow adapter (2a91ad4, 318e90a, a4cf644)

New since 1.17.0

  • New community docs wiki with lots of new & updated documentation
  • 7dba037 [new] [#420] More reliable WebSocket server->client broadcasts
  • 5f945db [new] [#414] Add server config option to control msecs before marking conns as closed
  • 6f3e521 [new] [#259] Add client config option to control kalive ping timeout
  • f560294 [new] [#325] Add option for custom WebSocket constructor
  • ddde20d [new] [#342] Smarter Ajax XHR acquisition, opt to control pool
  • 45e1880 [new] [#422] Add client-side util to simulate a broken connection
  • 627029f [new] [Experimental] Add support for 3-arity (async) Ring v1.6+ handlers
  • 221f112 [new] [Example] Update, improve reference example

Other improvements since 1.17.0

  • 057a8cb [new] Add interface docstrings
  • c6aca8c [nop] [#406] Clarify client+server docstrings re: csrf-token
  • 8b9804e [nop] Mark deprecated vars
  • Major improvements to example project
  • Many other small improvements to implementation, documentation, etc.

v1.17.0 - 2022 Jun 13

15 Jun 11:46

Choose a tag to compare

[com.taoensso/sente "1.17.0"]

This is a non-breaking maintenance and feature release.
See here for recommended steps when updating any Clojure/Script dependencies.

Identical to v1.17.0-RC2.

Changes since 1.16.2

  • Updated dependencies

New since 1.16.2

Fixes since 1.16.2

  • [#403][Fix] Start ws-kalive loop only after conn is established (@Snurppa)

v1.17.0-RC2 - 2022 Jun 1

01 Jun 10:28

Choose a tag to compare

Pre-release
[com.taoensso/sente "1.17.0-RC2"]

This is a non-breaking maintenance and feature release.
See here for recommended steps when updating any Clojure/Script dependencies.

Changes since 1.16.2

  • Updated dependencies

New since 1.16.2

Fixes since 1.16.2

  • [#403][Fix] Start ws-kalive loop only after conn is established (@Snurppa)

v1.16.2 - 2021 Feb 26

26 Feb 10:51

Choose a tag to compare

[com.taoensso/sente "1.16.2"]

This is a non-breaking minor maintenance release.
See here for recommended steps when updating any Clojure/Script dependencies.

New since 1.16.1

  • Add public ring-allow-origin? util fn

Changes since 1.16.1

  • Updated dependencies (non-breaking)

v1.16.1 - 2021 Jan 31

31 Jan 08:28

Choose a tag to compare

[com.taoensso/sente "1.16.1"]

This is a minor maintenance release.
See here for recommended steps when updating any Clojure/Script dependencies.

Fixes since 1.16.0

  • [#385] Fix: pass ring-req to authorized?-fn (@viesti)

New since 1.16.0

  • chsk server: add :?unauthorized-fn option

v1.16.0 - 2020 Sep 19

19 Sep 11:48

Choose a tag to compare

[com.taoensso/sente "1.16.0"]

Major feature release. Should be non-breaking, but see here for recommended steps when updating any Clojure/Script dependencies.

Same as v1.16.0-RC1, v1.16.0-alpha2.

Changes since v1.15.0

  • [NB] http-kit users must now use >= http-kit v2.4.0 (v2.5.0 is latest as of writing)

New since v1.15.0

Fixes since v1.15.0

v1.16.0-RC1 - 2020 Sep 10

10 Sep 08:27

Choose a tag to compare

Pre-release
[com.taoensso/sente "1.16.0-RC1"]

Same as v1.16.0-alpha2.

See here recommended steps when updating any Clojure/Script dependencies.