Add drawbridge.bridge: a local nREPL socket server that relays to a
remote Drawbridge endpoint, so socket-based clients (CIDER, Calva,
rebel-readline, nrepl.cmdline) can connect to Drawbridge.
Add drawbridge.auth/wrap-token (constant-time bearer-token middleware)
and drawbridge.core/secure-ring-handler, a one-form secure endpoint
that refuses to run unauthenticated unless passed :insecure true.
#44: Add a WebSocket
transport (drawbridge.websocket server side,
drawbridge.websocket-client client side, registered on url-connect
for ws/wss) with server push instead of HTTP long-polling.
Add an options arity to ring-client-transport accepting :http-headers.
The bridge CLI writes a .nrepl-port file for editor auto-detection,
reads the token from DRAWBRIDGE_TOKEN, validates its arguments, and
supports --help.
The bridge reports connection failures to the local client as an
in-band :err message instead of just dropping the socket.
The WebSocket server pings connections every 30s (:ping-interval-ms)
so proxies don’t drop idle REPL sessions.
Add a deps.edn, making Drawbridge usable as a git dependency.
#11: Confirmed fixed — the handler keeps its session state in a private store under its own cookie and no longer clobbers the application’s ring session (now covered by a regression test).
Update dependencies: nREPL 1.7.0, Ring 1.15.5, Cheshire 6.2.0.
#10: Throttle client polling to avoid flooding the server with GET requests.
Replace deprecated compojure.handler/api with explicit Ring middleware.
Update all dependencies to current versions.
(Breaking) Drop support for Clojure 1.7-1.9. Minimum is now Clojure 1.10.
(Breaking) Require nREPL 1.0+.
(Breaking) Require Java 17+ (Ring 1.15 uses Jetty 12).
Fix client transport to keywordize JSON response keys for compatibility with nREPL 1.x.
Expand test suite with comprehensive Ring handler and HTTP client transport tests.
#38: Support additional HTTP headers from nREPL config.
(Breaking) Drop support for nREPL 0.2.
Remove explicit Clojure dependency.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |