Skip to content

Commit

Permalink
Release 0.26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
djblue committed May 14, 2022
1 parent 5b13181 commit fdea983
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 14 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## 0.26.0 - 2022-05-14

- Add shift h / shift l for history commands 1ae20b0
- Add space as shortcut for toggle-expand cbc7b7f
- Add relative viewer selection 6086262
- Add `portal.ui.commands/select-prev-viewer`
- Add `portal.ui.commands/select-next-viewer`
- Support instance api functions ad7062e
- Initial http viewer 238cf06
- Update nrepl middleware 2df0fdf
- Expand / collapse code viewer 3954914
- Expand / collapse for bin viewer f8f1e56
- Expand / collapse text viewer ef03645

### Bug Fixes

- Select root value on history push 350f8ce
- intellij: Improve initial options loading 471207f
- vs-code: Prevent app drag region e625065
- Fix clear race condition client error c7432e0

## 0.25.0 - 2022-04-27

- Allow `:runtime` to be specified for exceptions c3fdb55
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A clojure tool to navigate through your data.
The portal UI can be used to inspect values of various shapes and sizes. The UX
will probably evolve over time and user feedback is welcome!

For an in-depth explanation of the UI, you can jump to the [UI](https://cljdoc.org/d/djblue/portal/0.25.0/doc/ui-concepts) docs.
For an in-depth explanation of the UI, you can jump to the [UI](https://cljdoc.org/d/djblue/portal/0.26.0/doc/ui-concepts) docs.

## Demo

Expand All @@ -27,29 +27,29 @@ To get an overview of the Portal UI and workflow, checkout the following recordi
To start a repl with portal, run the **clojure >= 1.10.0** cli with:

```bash
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.25.0"}}}'
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.26.0"}}}'
```

or for a **web** **clojurescript >= 1.10.773** repl, do:

```bash
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.25.0"}
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.26.0"}
org.clojure/clojurescript {:mvn/version "1.10.844"}}}' \
-m cljs.main
```

or for a **node** **clojurescript >= 1.10.773** repl, do:

```bash
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.25.0"}
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.26.0"}
org.clojure/clojurescript {:mvn/version "1.10.844"}}}' \
-m cljs.main -re node
```

or for a **babashka >=0.2.4** repl, do:

```bash
bb -cp `clj -Spath -Sdeps '{:deps {djblue/portal {:mvn/version "0.25.0"}}}'`
bb -cp `clj -Spath -Sdeps '{:deps {djblue/portal {:mvn/version "0.26.0"}}}'`
```

or for examples on how to integrate portal into an existing project, look
Expand Down Expand Up @@ -112,4 +112,4 @@ function with the following options:
| `:app` | Launch as separate window | true |
| `:window-title` | Custom title for UI window | "portal" |

For more documentation, take a look through the [docs](https://cljdoc.org/d/djblue/portal/0.25.0/doc/ui-concepts).
For more documentation, take a look through the [docs](https://cljdoc.org/d/djblue/portal/0.26.0/doc/ui-concepts).
2 changes: 1 addition & 1 deletion dev/tasks/info.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(:require [clojure.java.shell :refer [sh]]
[clojure.string :as str]))

(def version "0.25.0")
(def version "0.26.0")

(defn git-hash []
(str/trim (:out (sh "git" "rev-parse" "HEAD"))))
Expand Down
4 changes: 2 additions & 2 deletions extension-intellij/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group 'djblue'
version '0.25.0'
version '0.26.0'

intellij {
version = '2021.3'
Expand Down Expand Up @@ -33,7 +33,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.25.0'
// implementation 'djblue:portal:0.26.0'
// implementation 'nrepl:nrepl:0.8.3'
}

Expand Down
2 changes: 1 addition & 1 deletion extension-vscode/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "portal",
"version": "0.25.0",
"version": "0.26.0",
"description": "A clojure tool to navigate through your data.",
"icon": "icon.png",
"main": "vs-code.js",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "portal",
"version": "0.25.0",
"version": "0.26.0",
"repository": "github:djblue/portal",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.36",
Expand Down
2 changes: 1 addition & 1 deletion src/portal/extensions/vs_code.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
" - "
["portal"
(get options :window-title "vs-code")
"0.25.0"])
"0.26.0"])
(.-One vscode/ViewColumn)
#js {:enableScripts true
:retainContextWhenHidden true})
Expand Down
2 changes: 1 addition & 1 deletion src/portal/runtime.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
{:name (if (= :dev (:mode options))
"portal-dev"
"portal")
:version "0.25.0"
:version "0.26.0"
:platform
#?(:bb "bb"
:clj "jvm"
Expand Down
2 changes: 1 addition & 1 deletion src/portal/runtime/index.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(defn html [{:keys [name version host session-id code-url platform mode]
:or {name "portal"
version "0.25.0"
version "0.26.0"
code-url "main.js"
platform #?(:bb "bb" :clj "jvm" :cljs "node")}}]
(str
Expand Down

0 comments on commit fdea983

Please sign in to comment.