nrepl

https://github.com/nrepl/nrepl || https://nrepl.org
bozhidar 2019-03-29T16:46:35.000300Z

A long overdue article https://metaredux.com/posts/2019/03/29/nrepl-0-6.html

🎉 2
dpsutton 2019-03-29T16:49:19.000600Z

#announcements ?

bozhidar 2019-03-29T17:20:13.000900Z

It was released 2 months ago. 🙂

dpsutton 2019-03-29T17:25:29.001200Z

announce the informative post 🙂

đź‘Ť 1
bozhidar 2019-03-29T18:48:52.001600Z

Done!

cfleming 2019-03-29T21:03:40.002500Z

Does the new nREPL actually require Java 8 for anything? I didn’t realise it had that dependency, and have started receiving issues from users who are using JDK7.

dpsutton 2019-03-29T21:31:04.002700Z

the change points here: https://github.com/nrepl/nREPL/issues/26

dpsutton 2019-03-29T21:41:05.003100Z

all tests pass with :javac-options ["-target" "6" "-source" "6"]

dpsutton 2019-03-29T21:41:12.003300Z

not sure if that's dispositive or not

cfleming 2019-03-29T21:45:55.004500Z

@dpsutton Thanks! Since the version in Cursive is only used when Cursive starts its own REPL, perhaps I’ll fork a version compiled against Java 6. But in general, it seems like it would be good to support older versions if newer ones are not required for anything.

dpsutton 2019-03-29T21:46:36.005200Z

from the ticket it doesn't look like raising the bar was intended unintended. I guess @bozhidar took 8 to be the current java version rather than the current bytecode version?

dpsutton 2019-03-29T21:46:51.005600Z

it was usually 6 for clojure until 1.10 right?

dpsutton 2019-03-29T21:46:59.005800Z

(unless i'm conflating issues)

cfleming 2019-03-29T21:47:13.006200Z

Yes, that’s right.

cfleming 2019-03-29T21:47:38.006800Z

But Cursive is used a lot in enterprise environments, where upgrading is often not a choice.

dpsutton 2019-03-29T21:47:42.007Z

for sure

dpsutton 2019-03-29T21:47:55.007300Z

is this just in an EAP?

dpsutton 2019-03-29T21:48:17.008100Z

or have you gone full nrepl 6 in the main version?

cfleming 2019-03-29T21:48:29.008400Z

No, I released it in the latest stable release, I hadn’t realised that it had a Java 8 dep.

dpsutton 2019-03-29T21:48:46.008900Z

ah. shucks

cfleming 2019-03-29T21:49:38.010Z

Well, when users start a REPL via lein or deps, you get whatever they use, which is probably 90% of the REPL use. But some users start a REPL in a project not managed by one of those two (e.g. Maven, Gradle, manual project setup or some other means), and then Cursive injects nREPL to start the server.

cfleming 2019-03-29T21:50:02.010400Z

In that case, it uses the version bundled with Cursive, which is now 0.6