From 7c1ac6304cf45a48c4a8bc2d4ae9a0988066e27c Mon Sep 17 00:00:00 2001 From: Chris Badahdah Date: Fri, 11 Oct 2024 14:57:33 -0700 Subject: [PATCH] Release 0.58.0 --- CHANGELOG.md | 41 ++++++++++++++++++++++++++++ README.md | 16 +++++------ dev/tasks/info.clj | 2 +- extension-intellij/gradle.properties | 2 +- extension-vscode/package.json | 2 +- package.json | 2 +- src/portal/extensions/vs_code.cljs | 2 +- src/portal/runtime.cljc | 2 +- src/portal/runtime/index.cljc | 2 +- 9 files changed, 56 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bbcbc7e..f8d34340 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,44 @@ +## 0.58.0 - 2024-10-11 + +### New Features + +- Add catppuccin color theme (#242) 4df60229 + - Thanks @lanjoni! +- Add `portal.api/close` as command 7b6b5873 +- Add PWA launcher for Windows WSL 0c54c547 +- Link mouse 3 / 4 to history stack 961bd058 +- Add support for broadcast repl 55fde5d1 +- Add `load-file` support for `portal.nrepl/wrap-repl` de73ef5f +- First cut of `diff-text` viewer 95536f2b +- Add support for `load-file` in nrepl middleware 9db2d4fa + +### UX Tweaks + +- Improve `:portal.viewer/hiccup` styles 1c0ce9ac +- Switch to new github block quote highlight syntax 6b0b4405 +- Only include file for source-location when available in ex viewer b798af70 +- Fix `:portal.viewer/ex` css f02554cc +- Make search-bar more compact a6e00a5a +- Make footer more compact cd1cf936 + +### Documentation + +- Improve nREPL middleware documentation c9133a9e +- Add docs for `diff-text` 85167a06 +- Add example data for `diff-text` e2509d39 + +### Bug Fixes + +- Fix z-index on multi-select-counter 45323c8e +- Try relative path for vs-code open-file 9f00e2b5 +- Improve error handling for vs-code file-open endpoint 1575e027 +- Prevent over scroll issue in vscode extension edda21f4 +- Fix bug in `portal.runtime.json` 783394db +- Fix `portal.console` for self hosted cljs eed30d62 +- Correctly sort `wrap-repl` with `wrap-portal` 8acecad1 +- Fix `portal.nrepl/wrap-repl` middleware ordering 17f01327 +- Fix joyride runtime support 9d357b5d + ## 0.57.3 - 2024-08-27 - Prefer default viewer meta on history push d0dc39d diff --git a/README.md b/README.md index 2063a7d9..a23adfeb 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,13 @@ More video presentations on Portal can be found [here](./doc/videos.md). To start a repl with portal, run the **clojure >= 1.10.0** cli with: ```bash -clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.57.3"}}}' +clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.58.0"}}}' ``` or for a **web** **clojurescript >= 1.10.773** repl, do: ```bash -clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.57.3"} +clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.58.0"} org.clojure/clojurescript {:mvn/version "1.10.844"}}}' \ -m cljs.main ``` @@ -55,7 +55,7 @@ clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.57.3"} or for a **node** **clojurescript >= 1.10.773** repl, do: ```bash -clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.57.3"} +clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.58.0"} org.clojure/clojurescript {:mvn/version "1.10.844"}}}' \ -m cljs.main -re node ``` @@ -63,19 +63,19 @@ clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.57.3"} or for a **babashka >=0.2.4** repl, do: ```bash -bb -Sdeps '{:deps {djblue/portal {:mvn/version "0.57.3"}}}' +bb -Sdeps '{:deps {djblue/portal {:mvn/version "0.58.0"}}}' ``` or for a lein `project.clj`, add: ```clojure -{:profiles {:dev {:dependencies [[djblue/portal "0.57.3"]]}}} +{:profiles {:dev {:dependencies [[djblue/portal "0.58.0"]]}}} ``` or as a global profile, add to `~/.lein/profiles.clj`: ```clojure -{:portal {:dependencies [[djblue/portal "0.57.3"]]}} +{:portal {:dependencies [[djblue/portal "0.58.0"]]}} ``` > [!NOTE] @@ -163,8 +163,8 @@ For more documentation, take a look through the [docs][docs]. [live-demo]: https://www.youtube.com/watch?v=Tj-iyDo3bq0 [london-clojurians]: https://www.youtube.com/channel/UC-pYfofTyvVDMwM4ttfFGqw -[docs]: https://cljdoc.org/d/djblue/portal/0.57.3/doc/ui-concepts -[ui-concepts]: https://cljdoc.org/d/djblue/portal/0.57.3/doc/ui-concepts +[docs]: https://cljdoc.org/d/djblue/portal/0.58.0/doc/ui-concepts +[ui-concepts]: https://cljdoc.org/d/djblue/portal/0.58.0/doc/ui-concepts [vs-code-docs]: ./doc/editors/vs-code.md [intellij-docs]: ./doc/editors/intellij.md diff --git a/dev/tasks/info.clj b/dev/tasks/info.clj index 65494d17..7c11e28b 100644 --- a/dev/tasks/info.clj +++ b/dev/tasks/info.clj @@ -2,7 +2,7 @@ (:require [clojure.java.shell :refer [sh]] [clojure.string :as str])) -(def version "0.57.3") +(def version "0.58.0") (defn git-hash [] (str/trim (:out (sh "git" "rev-parse" "HEAD")))) diff --git a/extension-intellij/gradle.properties b/extension-intellij/gradle.properties index 9d6bd4a0..0ecd1e1a 100644 --- a/extension-intellij/gradle.properties +++ b/extension-intellij/gradle.properties @@ -3,7 +3,7 @@ pluginGroup = djblue pluginName = portal -pluginVersion = 0.57.3 +pluginVersion = 0.58.0 # See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html # for insight into build numbers and IntelliJ Platform versions. diff --git a/extension-vscode/package.json b/extension-vscode/package.json index c4e361d0..50c2347a 100644 --- a/extension-vscode/package.json +++ b/extension-vscode/package.json @@ -1,6 +1,6 @@ { "name": "portal", - "version": "0.57.3", + "version": "0.58.0", "description": "A clojure tool to navigate through your data.", "icon": "icon.png", "main": "vs-code.js", diff --git a/package.json b/package.json index 5da03cdd..a9c0d01c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@djblue/portal", - "version": "0.57.3", + "version": "0.58.0", "repository": "github:djblue/portal", "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.36", diff --git a/src/portal/extensions/vs_code.cljs b/src/portal/extensions/vs_code.cljs index 5f51f39b..443274fe 100644 --- a/src/portal/extensions/vs_code.cljs +++ b/src/portal/extensions/vs_code.cljs @@ -46,7 +46,7 @@ " - " ["portal" (get options :window-title "vs-code") - "0.57.3"]) + "0.58.0"]) (view-column) (clj->js {:enableScripts true diff --git a/src/portal/runtime.cljc b/src/portal/runtime.cljc index 9ebbda55..37e75c11 100644 --- a/src/portal/runtime.cljc +++ b/src/portal/runtime.cljc @@ -366,7 +366,7 @@ {:name (if (= :dev (:mode options)) "portal-dev" "portal") - :version "0.57.3" + :version "0.58.0" :runtime (runtime) :platform #?(:bb "bb" diff --git a/src/portal/runtime/index.cljc b/src/portal/runtime/index.cljc index a1264b64..19d7930a 100644 --- a/src/portal/runtime/index.cljc +++ b/src/portal/runtime/index.cljc @@ -2,7 +2,7 @@ (defn html [{:keys [name version host port session-id code-url platform mode] :or {name "portal" - version "0.57.3" + version "0.58.0" code-url "main.js" platform #?(:bb "bb" :clj "jvm" :cljs "node" :cljr "clr")}}] (str