Skip to content

Commit

Permalink
Release 0.38.2
Browse files Browse the repository at this point in the history
  • Loading branch information
djblue committed Apr 3, 2023
1 parent 4d410d9 commit 78bf4cc
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 17 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.38.2 - 2023-04-02

- Unmount notebook output item on dispose 0764a59
- Improve notebook repl error handling fcb741e
- Special print for remote values in UI 5181411
- Add cson support for remote api (#175) df7ed37 Thanks @Cyrik!

## 0.38.1 - 2023-03-30

- Fix advanced compile issue for calva notebooks
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,49 +36,49 @@ Clojurians][london-clojurians].
To start a repl with portal, run the **clojure >= 1.10.0** cli with:

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

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

```bash
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.38.1"}
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.38.2"}
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.38.1"}
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.38.2"}
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.38.1"}}}'`
bb -cp `clj -Spath -Sdeps '{:deps {djblue/portal {:mvn/version "0.38.2"}}}'`
```

or for a Leiningen project:

- Add Portal as a dependency, either to `:dev` profile or its own profile:

```clojure
{:profiles {:dev {:dependencies [[djblue/portal "0.38.1"]]}}}
{:profiles {:dev {:dependencies [[djblue/portal "0.38.2"]]}}}
```

or

```clojure
{:profiles {:portal {:dependencies [[djblue/portal "0.38.1"]]}}}
{:profiles {:portal {:dependencies [[djblue/portal "0.38.2"]]}}}
```

Or as a global profile, add to `~/.lein/profiles.clj`:

```clojure
{:portal {:dependencies [[djblue/portal "0.38.1"]]}}
{:portal {:dependencies [[djblue/portal "0.38.2"]]}}
```

If you add Portal to a profile other than `:dev`, when starting a REPL
Expand Down Expand Up @@ -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.38.1/doc/ui-concepts
[ui-concepts]: https://cljdoc.org/d/djblue/portal/0.38.1/doc/ui-concepts
[docs]: https://cljdoc.org/d/djblue/portal/0.38.2/doc/ui-concepts
[ui-concepts]: https://cljdoc.org/d/djblue/portal/0.38.2/doc/ui-concepts

[vs-code-docs]: ./doc/editors/vs-code.md
[intellij-docs]: ./doc/editors/intellij.md
Expand Down
2 changes: 1 addition & 1 deletion dev/tasks/deploy.clj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
(deploy-clojars)
(deploy-vscode)
(deploy-open-vsx)
(deploy-intellij))
#_(deploy-intellij))

(defn all
"Deploy all artifacts."
Expand Down
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.38.1")
(def version "0.38.2")

(defn git-hash []
(str/trim (:out (sh "git" "rev-parse" "HEAD"))))
Expand Down
2 changes: 1 addition & 1 deletion extension-intellij/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pluginGroup = djblue
pluginName = portal
pluginVersion = 0.38.1
pluginVersion = 0.38.2

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
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.38.1",
"version": "0.38.2",
"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.38.1",
"version": "0.38.2",
"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 @@ -45,7 +45,7 @@
" - "
["portal"
(get options :window-title "vs-code")
"0.38.1"])
"0.38.2"])
(view-column)
#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 @@ -208,7 +208,7 @@
{:name (if (= :dev (:mode options))
"portal-dev"
"portal")
:version "0.38.1"
:version "0.38.2"
: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.38.1"
version "0.38.2"
code-url "main.js"
platform #?(:bb "bb" :clj "jvm" :cljs "node" :cljr "clr")}}]
(str
Expand Down

0 comments on commit 78bf4cc

Please sign in to comment.