summaryrefslogtreecommitdiff
path: root/cider.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2018-08-06 09:07:34 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2018-08-06 09:07:34 +0300
commit2ab2e3e1518d244236443cb82b130b81499050d6 (patch)
treefdac810a578c7a4fb7fb3fd88ef51c61be0a3072 /cider.el
parent1c9f9e33a2c3995774953e43906148200b11507e (diff)
Stop releasing CIDER and cider-nrepl together
cider-nrepl now has its own release cycle and CIDER introduces `cider-required-middleware-version` to track it.
Diffstat (limited to 'cider.el')
-rw-r--r--cider.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/cider.el b/cider.el
index b308f047..462de2f8 100644
--- a/cider.el
+++ b/cider.el
@@ -391,6 +391,12 @@ Elements of the list are artifact name and list of exclusions to apply for the a
(defconst cider-latest-clojure-version "1.10.0"
"Latest supported version of Clojure.")
+(defconst cider-required-middleware-version "0.18.0"
+ "The minimum CIDER nREPL version that's known to work properly with CIDER.")
+
+(defconst cider-latest-middleware-version "0.18.0"
+ "The latest CIDER nREPL version that's known to work properly with CIDER.")
+
(defcustom cider-jack-in-auto-inject-clojure nil
"Version of clojure to auto-inject into REPL.
If nil, do not inject Clojure into the REPL. If `latest', inject
@@ -418,7 +424,7 @@ that extend CIDER, not for users. For example, a refactoring package might
want to inject some middleware only when within a project context.)")
(put 'cider-jack-in-lein-plugins 'risky-local-variable t)
(cider-add-to-alist 'cider-jack-in-lein-plugins
- "cider/cider-nrepl" (upcase cider-version))
+ "cider/cider-nrepl" cider-latest-middleware-version)
(defvar cider-jack-in-cljs-lein-plugins nil
"List of Leiningen plugins to be injected at jack-in.