From 224f7b7df511df292f7f723c5f63239aab15541e Mon Sep 17 00:00:00 2001 From: Chris Badahdah Date: Sun, 7 Nov 2021 19:25:38 -0700 Subject: [PATCH] Release 0.17.0 --- CHANGELOG.md | 37 ++++++++++++++++++++++++++++++ README.md | 10 ++++---- dev/tasks.clj | 2 +- extension-intellij/build.gradle | 4 ++-- 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, 50 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73088df6..a892d492 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,40 @@ +## 0.17.0 - 2021-11-07 + +### Highlights + +- First cut of intellij extension 58ff20a +- First cut of multi-select ea9568b + +Selecting multiple values allows for invoking n-arity functions. + +The semantics will be: + +```clojure +(apply f [first-selected second-selcted ...]) +``` + +### Improvements + +- Tree viewer improvements f8e1195 + - Improve selection + - Enable relative selection + - Enable collection selection + - Enable `portal.viewer/default` +- Add `TaggedLiteral` type support 0de75a5 +- Allow relative selecting tagged literal values 2ac964f +- Add `copy-str` command fcbb1c9 +- Add `merge` command 10e9625 +- Add runtime type to `portal.console` b7cf00b +- Add rgb color support to string inspector b9af7ce +- Allow collapsing a value that is default expanded 3773a2f + +### Bug Fixes + +- Fix stale use-invoke 39ba128 +- Focus filter command should respect history 929a18e +- Fix relative selection for `js/BigInt` 062c776 +- Implement `IResolve` for hash maps 97a6840 + ## 0.16.3 - 2021-10-18 ### Bug Fixes diff --git a/README.md b/README.md index 50fc82b3..2b964992 100644 --- a/README.md +++ b/README.md @@ -30,13 +30,13 @@ To get an overview of portal, you can watch the following recording of a [live d To start a repl with portal, run the **clojure >= 1.10.0** cli with: ```bash -clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.16.3"}}}' +clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.17.0"}}}' ``` or for a **web** **clojurescript >= 1.10.773** repl, do: ```bash -clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.16.3"} +clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.17.0"} org.clojure/clojurescript {:mvn/version "1.10.844"}}}' \ -m cljs.main ``` @@ -44,7 +44,7 @@ clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.16.3"} or for a **node** **clojurescript >= 1.10.773** repl, do: ```bash -clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.16.3"} +clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.17.0"} org.clojure/clojurescript {:mvn/version "1.10.844"}}}' \ -m cljs.main -re node ``` @@ -52,7 +52,7 @@ clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.16.3"} or for a **babashka >=0.2.4** repl, do: ```bash -bb -cp `clj -Spath -Sdeps '{:deps {djblue/portal {:mvn/version "0.16.3"}}}'` +bb -cp `clj -Spath -Sdeps '{:deps {djblue/portal {:mvn/version "0.17.0"}}}'` ``` or for examples on how to integrate portal into an existing project, look through the [examples](./examples) directory. @@ -267,7 +267,7 @@ Add a portal alias in `~/.clojure/deps.edn` :portal/cli {:main-opts ["-m" "portal.main"] :extra-deps - {djblue/portal {:mvn/version "0.16.3"} + {djblue/portal {:mvn/version "0.17.0"} ;; optional json support cheshire/cheshire {:mvn/version "5.10.0"} ;; optional yaml support diff --git a/dev/tasks.clj b/dev/tasks.clj index bdf9d9d0..5ea2dbe9 100644 --- a/dev/tasks.clj +++ b/dev/tasks.clj @@ -11,7 +11,7 @@ [pwa] [version])) -(def version "0.16.3") +(def version "0.17.0") (def ^:dynamic *cwd* nil) diff --git a/extension-intellij/build.gradle b/extension-intellij/build.gradle index 1cb3e6d9..1d2e6b77 100644 --- a/extension-intellij/build.gradle +++ b/extension-intellij/build.gradle @@ -5,7 +5,7 @@ plugins { } group 'djblue' -version '0.16.3' +version '0.17.0' intellij { version = '2021.2.3' @@ -24,7 +24,7 @@ dependencies { implementation 'http-kit:http-kit:2.5.3' // Include depdencies for dev // - devImplementation doesn't work for plugin development - // implementation 'djblue:portal:0.16.3' + // implementation 'djblue:portal:0.17.0' // implementation 'nrepl:nrepl:0.8.3' } diff --git a/extension-vscode/package.json b/extension-vscode/package.json index 8c3d9275..ad045957 100644 --- a/extension-vscode/package.json +++ b/extension-vscode/package.json @@ -1,6 +1,6 @@ { "name": "portal", - "version": "0.16.3", + "version": "0.17.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 b063ce58..d4881651 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "portal", - "version": "0.16.3", + "version": "0.17.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 59fa2ad6..0c648d72 100644 --- a/src/portal/extensions/vs_code.cljs +++ b/src/portal/extensions/vs_code.cljs @@ -26,7 +26,7 @@ " - " ["portal" (get options :window-title "vs-code") - "0.16.3"]) + "0.17.0"]) (.-One vscode/ViewColumn) #js {:enableScripts true :retainContextWhenHidden true}) diff --git a/src/portal/runtime.cljc b/src/portal/runtime.cljc index 562586dc..43322439 100644 --- a/src/portal/runtime.cljc +++ b/src/portal/runtime.cljc @@ -196,7 +196,7 @@ (defn- get-options [] (merge {:name "portal" - :version "0.16.3" + :version "0.17.0" :platform #?(:bb "bb" :clj "jvm" diff --git a/src/portal/runtime/index.cljc b/src/portal/runtime/index.cljc index 50d48db8..18e6272d 100644 --- a/src/portal/runtime/index.cljc +++ b/src/portal/runtime/index.cljc @@ -4,7 +4,7 @@ (defn html [& {:keys [name version host session-id code-url platform] :or {name "portal" - version "0.16.3" + version "0.17.0" code-url "main.js" platform #?(:bb "bb" :clj "jvm" :cljs "node")}}] (str