Nrepl

Latest version: v0.1.5

Safety actively analyzes 619566 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.2.13

* `start-server` now binds to `::` by default, and falls back to `localhost`,
avoiding confusion when working in environments that have both IPv4 and IPv6
networking available. (NREPL-83)

0.2.11

* `clojure.tools.nrepl.middleware.interruptible-eval` now accepts optional
`file`, `line`, and `column` values in order to fix location metadata to
defined vars and functions, for more useful stack traces, navigation, etc.
* REPL evaluations now support use of reader conditionals (loading `.cljc` files
containing reader conditionals has always worked transparently)

0.2.10

* `clojure.tools.nrepl.middleware.pr-values` will _not_ print the contents of
`:value` response messages if the message contains a `:printed-value` slot.
* `default-executor` and `queue-eval` in
`clojure.tools.nrepl.middleware.interruptible-eval` are now public.

0.2.9

* `clojure.tools.nrepl.middleware.interruptible-eval` now defines a default
thread executor used for all evaluations (unless a different executor is
provided to the configuration of
`clojure.tools.nrepl.middleware.interruptible-eval/interruptible-eval`). This
should aid in the development of `interrupt`-capable alternative evaluation
middlewares/handlers.

0.2.8

* The default bind address used by `clojure.tools.nrepl.server/start-server` is
now `localhost`, not `0.0.0.0`. As always, the bind address can be set
explicitly via a `:bind` keyword argument to that function. This is considered
a security bugfix, though _technically_ it may cause breakage if anyone was
implicitly relying upon nREPL's socket server to listen on all network
interfaces.
* The `ServerSocket` created as part of
`clojure.tools.nrepl.server/start-server` is now configured with
`SO_REUSEADDR` enabled; this should prevent spurious "address already in use"
when quickly bouncing apps that open an nREPL server on a fixed port, etc.
(NREPL-67)
* Middlewares may now contribute to the response of the `"describe"` operation
via an optional `:describe-fn` function provided via their descriptors.
(NREPL-64)
* The `:ns` component of the response to `"load-file"` operations is now elided,
as it was (usually) incorrect (as a result of reusing `interruptible-eval` for
handling `load-file` operations) (NREPL-68)

0.2.7

* The topological sort ("linearization") applied to middleware provided to start
a new nREPL server has been reworked to address certain edge case bugs
(NREPL-53)
* `interruptible-eval` no longer incorrectly clobbers a session's `*ns*` binding
when it processes an `eval` message containing an `ns` "argument"
* Eliminated miscellaneous reflection warnings

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.