- Address reflection warnings.
- #118: Fix bad dependencies in release.
- #117: Require
cljs.repl
andcljs.pprint
intocljs.user
in the case that the repl-env specifies:repl-requires
.
- #117: Require
cljs.repl
andcljs.pprint
intocljs.user
in the case that the repl-env specifies:repl-requires
.
- #108: (Breaking) Dropped support for nREPL versions 0.4 and 0.5,
[nrepl "0.6.0"]
is now the minimum required version. - #108: Added support for nREPL print middleware introduced in nREPL 0.6.0.
- Moved away from Nashorn: changed tests and example code to Node.
- #107: Make piggieback a no-op when ClojureScript is not loaded.
- Fix a bug affecting nREPL 0.6 where
*out*
and*err
were not reliably bound after session init.
- (Breaking) Dropped support for
clojure.tools.nrepl
.[nrepl "0.4.0"]
is now the minimum required version. - Add compatibility with nREPL 0.6+.
- Honor
:repl-requires
CLJS repl option. - Bind
cljs.repl/*repl-env*
to better support CLJS versions newer than 1.10.126.
- Fix the
tools.nrepl
support. (a silly typo had broken it)
- Add compatibility with nREPL 0.4+.
- Allow repl-options to flow through.
- Fix loss of
compiler-env
.
- Fix REPL teardown problem with ClojureScript 1.10.
- Fix REPL teardown problem and bind out and err for initialization (this affected the node repl).
- Enable
:wrap
repl-option. - Enable
:caught
repl-option. - Capture
cljs-warning-handlers
so consumers can bind them.
- #87: Fix a Nashorn regression introduced in 0.2.3.
- Drop support for Rhino.
- Change the namespace prefix from
cemerick
tocider
.
- Changed the artefact coordinates to
cider/piggieback
. It's now being deployed to Clojars, instead of to Maven Central. - #80: Make eval just eval, instead of creating a new REPL for each evaluation.
- Piggieback now requires ClojureScript 1.9 and Java 8.
- Removed superfluous Clojure 1.6.0 dependency (gh-70)
- The current nREPL's session's
*e
binding is now set properly when an uncaught exception occurs.
Fixes nREPL load-file support, implementing it in terms of evaluation of the
load-file
cljs.repl
special function.
This release is essentially a rewrite to accommodate the significant changes to the upstream ClojureScript REPL infrastructure. Using piggieback is effectively unchanged, things just work a lot better now (and many outstanding issues are no longer relevant due to a change in how Piggieback is implemented).
Note that cemerick.piggieback/cljs-repl
has been changed to match the signature
provided by cljs.repl/repl
, i.e. the REPL environment is always the first
argument.
There are no breaking changes AFAICT w.r.t. other nREPL middlewares that might use Piggieback to access e.g. the current session's ClojureScript REPL environment, etc.
- Add support for "new style" ClojureScript special REPL functions. Piggieback is now completely compatible with ClojureScript >= 2665. (gh-38)
- Fix to support ClojureScript-provided node.js REPL environment (gh-39)
- Change to support updated
cljs.repl
API, per https://github.com/clojure/clojurescript/wiki/Custom-REPLs. Piggieback now requires ClojureScript >= 2665.
- Piggieback now uses tools.reader to read expressions sent for evaluation when
a ClojureScript REPL environment is active. This preserves proper source
information (useful for source maps) and allows Piggieback to participate in
the aliasing mechanism used in ClojureScript to support namespace
alias-qualified keywords e.g.
::alias/keyword
(gh-19) - The ClojureScript support for the
load-file
nREPL operation now correctly provides the source file's path instead of its name to the compiler. (gh-24)
Released to fix a derp in 0.1.1
.
- Adds support for ClojureScript compiler environments introduced in
0.0-2014
. Now requires that version of ClojureScript or higher.
-
Breaking change: ClojureScript REPL environments no longer need to / should be explicitly
-setup
prior to use withcemerick.piggieback/cljs-repl
. i.e. this:
(cemerick.piggieback/cljs-repl :repl-env (doto (create-some-cljs-repl-env) cljs.repl/-setup))
should be replaced with this:
(cemerick.piggieback/cljs-repl :repl-env (create-some-cljs-repl-env))
Fixes gh-10.
* Deprecated `cemerick.piggieback/rhino-repl-env`, which will be removed
~`0.2.0`; it now simply calls through
to `cljs.repl.rhino/repl-env`. Any usage of the former should be replaced
with the latter. Fixes gh-9.