Skip to content

Commit

Permalink
Release 0.58.0
Browse files Browse the repository at this point in the history
  • Loading branch information
djblue committed Oct 11, 2024
1 parent 45323c8 commit 7c1ac63
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 15 deletions.
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,41 +41,41 @@ 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
```

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
```

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]
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.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
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.57.3")
(def version "0.58.0")

(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.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.
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.57.3",
"version": "0.58.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": "@djblue/portal",
"version": "0.57.3",
"version": "0.58.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 @@ -46,7 +46,7 @@
" - "
["portal"
(get options :window-title "vs-code")
"0.57.3"])
"0.58.0"])
(view-column)
(clj->js
{:enableScripts 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 @@ -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"
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 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
Expand Down

0 comments on commit 7c1ac63

Please sign in to comment.