Skip to content

Commit 1a7f509

Browse files
committed
[hotfix] [#478] v1.19.3 (2026-07-22)
Sente versions between 1.18.x and 1.20.x don't allow using a custom ws-constructor. The issue is fixed in 1.21, but some older users may not be able to update due to internal message format changes and pre-existing clients, etc. This undocumented hotfix is intended for such users.
1 parent 71f993b commit 1a7f509

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject com.taoensso/sente "1.19.2"
1+
(defproject com.taoensso/sente "1.19.3"
22
:author "Peter Taoussanis <https://www.taoensso.com>"
33
:description "Realtime web comms for Clojure/Script applications"
44
:url "https://github.com/taoensso/sente"

src/taoensso/sente.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
#?(:clj (:import [org.java_websocket.client WebSocketClient])))
9393

9494
(enc/assert-min-encore-version [3 62 1])
95-
(def sente-version "Useful for identifying client/server mismatch" [1 19 2])
95+
(def sente-version "Useful for identifying client/server mismatch" [1 19 3])
9696

9797
#?(:cljs (def ^:private node-target? (= *target* "nodejs")))
9898

@@ -1997,7 +1997,7 @@
19971997
:packer packer
19981998
:ws-kalive-ms ws-kalive-ms
19991999
:ws-ping-timeout-ms ws-ping-timeout-ms
2000-
:ws-constructor default-client-ws-constructor}
2000+
:ws-constructor ws-constructor}
20012001

20022002
ws-chsk-opts
20032003
(merge common-chsk-opts

0 commit comments

Comments
 (0)