Skip to content

Commit

Permalink
0.43.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vemv committed Nov 4, 2023
1 parent 85616d8 commit 430a99a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## master (unreleased)

## 0.43.0 (2023-11-04)

### New features

* [cider#3565](https://github.com/clojure-emacs/cider/issues/3565): Add new [`inspect-last-exception`](https://docs.cider.mx/cider-nrepl/nrepl-api/ops.html#inspect-last-exception) op.
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ light-kondo: clean

lint: kondo cljfmt eastwood

# PROJECT_VERSION=0.42.1 make install
# PROJECT_VERSION=0.43.0 make install
install: dump-version check-install-env .inline-deps
rm -f .no-mranderson
touch .no-pedantic
Expand All @@ -115,7 +115,7 @@ install: dump-version check-install-env .inline-deps
make clean
git checkout resources/cider/nrepl/version.edn

# PROJECT_VERSION=0.42.1 make fast-install
# PROJECT_VERSION=0.43.0 make fast-install
fast-install: dump-version check-install-env
lein with-profile -user,-dev,+$(CLOJURE_VERSION) install
make clean
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ PARSER_TARGET=parser-next make fast-test
# Install the project in your local ~/.m2 directory, using mranderson (recommended)
# The JVM flag is a temporary workaround.
export LEIN_JVM_OPTS="-Dmranderson.internal.no-parallelism=true"
PROJECT_VERSION=0.42.1 make install
PROJECT_VERSION=0.43.0 make install
# Install the project in your local ~/.m2 directory, without using mranderson
# (it's faster, but please only use when you repeatedly need to install cider-nrepl)
# The JVM flag is a temporary workaround.
export LEIN_JVM_OPTS="-Dmranderson.internal.no-parallelism=true"
PROJECT_VERSION=0.42.1 make fast-install
PROJECT_VERSION=0.43.0 make fast-install
# Runs clj-kondo, cljfmt and Eastwood (in that order, with fail-fast).
# Please try to run this before pushing commits.
Expand All @@ -107,7 +107,7 @@ before cutting a new release.
Release to [clojars](https://clojars.org/) by tagging a new release:

```
git tag -a v0.42.1 -m "Release 0.42.1"
git tag -a v0.43.0 -m "Release 0.43.0"
git push --tags
```

Expand Down
2 changes: 1 addition & 1 deletion doc/antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ name: cider-nrepl
title: CIDER nREPL
# The version should be in the format major.minor (e.g. 0.28).
# Don't include patch in the version (e.g. 0.28.7).
version: ~
version: 0.43
nav:
- modules/ROOT/nav.adoc
16 changes: 8 additions & 8 deletions doc/modules/ROOT/pages/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ Use the convenient plugin for defaults, either in your project's

[source,clojure]
----
:plugins [[cider/cider-nrepl "0.42.1"]]
:plugins [[cider/cider-nrepl "0.43.0"]]
----

A minimal `profiles.clj` for CIDER would be:

[source,clojure]
----
{:user {:plugins [[cider/cider-nrepl "0.42.1"]]}}
{:user {:plugins [[cider/cider-nrepl "0.43.0"]]}}
----

Or (if you know what you're doing) add `cider-nrepl` to your `:dev
Expand All @@ -31,7 +31,7 @@ under `:repl-options`.

[source,clojure]
----
:dependencies [[cider/cider-nrepl "0.42.1"]]
:dependencies [[cider/cider-nrepl "0.43.0"]]
:repl-options {:nrepl-middleware
[cider.nrepl/wrap-apropos
cider.nrepl/wrap-classpath
Expand Down Expand Up @@ -65,15 +65,15 @@ it on the command line through the `cider.tasks/add-middleware` task
functionality):

----
boot -d nrepl:1.0.0 -d cider/cider-nrepl:0.42.1 -i "(require 'cider.tasks)" cider.tasks/add-middleware -m cider.nrepl.middleware.apropos/wrap-apropos -m cider.nrepl.middleware.version/wrap-version repl --server wait
boot -d nrepl:1.0.0 -d cider/cider-nrepl:0.43.0 -i "(require 'cider.tasks)" cider.tasks/add-middleware -m cider.nrepl.middleware.apropos/wrap-apropos -m cider.nrepl.middleware.version/wrap-version repl --server wait
----

Or for all of their projects by adding a `~/.boot/profile.boot` file like so:

[source,clojure]
----
(set-env! :dependencies '[[nrepl "1.0.0"]
[cider/cider-nrepl "0.42.1"]])
[cider/cider-nrepl "0.43.0"]])
(require '[cider.tasks :refer [add-middleware]])
Expand All @@ -95,7 +95,7 @@ You can easily boot an nREPL server with the CIDER middleware loaded
with the following "magic" incantation:

----
clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.42.1"} }}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.43.0"} }}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
----

There are also two convenient aliases you can employ:
Expand All @@ -105,12 +105,12 @@ There are also two convenient aliases you can employ:
{...
:aliases
{:cider-clj {:extra-deps {org.clojure/clojure {:mvn/version "1.10.1"}
cider/cider-nrepl {:mvn/version "0.42.1"}}
cider/cider-nrepl {:mvn/version "0.43.0"}}
:main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}
:cider-cljs {:extra-deps {org.clojure/clojure {:mvn/version "1.10.1"}
org.clojure/clojurescript {:mvn/version "1.10.339"}
cider/cider-nrepl {:mvn/version "0.42.1"}
cider/cider-nrepl {:mvn/version "0.43.0"}
cider/piggieback {:mvn/version "0.5.2"}}
:main-opts ["-m" "nrepl.cmdline" "--middleware"
"[cider.nrepl/cider-middleware,cider.piggieback/wrap-cljs-repl]"]}}}
Expand Down

0 comments on commit 430a99a

Please sign in to comment.