Skip to content

Commit

Permalink
v0.17.1100
Browse files Browse the repository at this point in the history
  • Loading branch information
mk committed Oct 17, 2024
1 parent 1c4560d commit fabcedd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,31 @@ Changes can be:

## Unreleased

...

## 0.17.1100 (2024-10-17)

* 🌿 Switch underlying markdown implementation to a parser based on commonmark-java

This upgrades `nextjournal/markdown` library to `{:mvn/version 0.6.157}` switching markdown parsing from `markdown-it` via GraalJS to `commonmark-java` yielding an ~10x performance improvement. Restores compatibility with Java 22 or later ([#642](https://github.com/nextjournal/clerk/issues/642)).

* ⚡️ Render REPL

For interactive development of `:render-fn`s, Clerk comes with a Render nREPL server. To enable it, pass the `:render-nrepl` option to `serve!`. You can change the default port `1339` by passing a different `:port` number.
For interactive development of `:render-fn`s, Clerk now comes with a Render nREPL server. To enable it, pass the `:render-nrepl` option to `serve!`. You can change the default port `1339` by passing a different `:port` number.

* 🗃️ Support `:require-cljs` viewer key for loading `:render-fn` from a separate ClojureScript file
* 🗃️ Support `:require-cljs` viewer key for loading `:render-fn`s from a separate ClojureScript file

* 💥 Better Errors

Improve Clerk's handling and display of errors moving them to a redesigned overlay at the bottom of the screen.
Improve Clerk's handling and display of errors by moving them to a redesigned overlay at the bottom of the screen.

* flattening the error hierarchy by not catching and rethrowing eval errors
* not having the whole doc on the exception again which doesn't help and looks strange when custom viewers are used
* updating the in-memory cache when evaluation fails halfway through a notebook
* not throwing during `clerk/show!` when triggered through the file watcher
* add react error boundaries for root and inspect-presented ([#698](https://github.com/nextjournal/clerk/issues/698))

* 🔭 Show render errors the error overlay
* 🔭 Show render errors in the error overlay

* 🎡 First cut `clerk/show!` support for .cljs files. They are evaluated via Clerk's render sci environment.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ To use Clerk in your project, you'll need Java 11+ and [`clojure`](https://cloju
following dependency to your `deps.edn`:

```edn
{:deps {io.github.nextjournal/clerk {:mvn/version "0.16.1016"}}}
{:deps {io.github.nextjournal/clerk {:mvn/version "0.17.1100"}}}
```

Require and start Clerk as part of your system start, e.g. in `user.clj`:
Expand Down
2 changes: 1 addition & 1 deletion resources/META-INF/nextjournal/clerk/meta.edn
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{:version {:major 0, :minor 16, :rev-count 1016}}
{:version {:major 0, :minor 17, :rev-count 1100}}

0 comments on commit fabcedd

Please sign in to comment.