Skip to content

Commit

Permalink
Release 0.34.0
Browse files Browse the repository at this point in the history
  • Loading branch information
djblue committed Nov 11, 2022
1 parent 10b4612 commit 930d344
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 16 deletions.
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
## 0.34.0 - 2022-11-11

### UX Tweaks

- Only highlight background on filtering 97d7930
- Thanks @dangercoder for the feedback!
- Allow copy + paste of binary data via edn 64580da
- Improve code viewer scroll styles e29340c
- Enable relative selection for hiccup viewer 08d6ac5
- Diff support for test output e892a64
- Remove hard-coded font name (Monaco) from themes. (#146) dcbb185 @finalfantasia
- Add ability to change initial folding for some data structure in a tree viewer (#143) 19a5977 @pfeodrippe

### Documentation

- Add example for consuming μ/log logs in Portal (#151) 7eea29f @walterl
- Fix bad hyperlink in README (#150) 6adb5c6 @The-Alchemist
- Add portal.console docs 04e384e
- Add nREPL customization docs 7ef5e28
- Add nREPL lein docs afd4926
- datafy - example of using nav (#148) e4b0f34 @holyjak
- Add leiningen examples to README (#147) 8dab116

### Viewer Docs

- Initial viewer docs 556bef2
- Add relative selection to doc viewer 2e6d742
- Highlight full tree path in doc viewer ed6e634

### Bug Fixes

- Keep filter highlight color in sync with context 10b4612
- Fix serialization of ##NaN, ##Inf and ##-Inf 36acbe5
- Thanks @rschmukler for the bug report!
- Support fully qualified symbols in tagged values d036b44
- Prevent hiccup css from escaping to children 9fff14f
- Fix pprint for tagged values 4eb1771
- Fix multi select issue caused by 6b34ed1 fe11541

## 0.33.0 - 2022-10-18

- Add portal.api/url to get session url (#144) 9a9fad4
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.33.0"}}}'
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.34.0"}}}'
```

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

```bash
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.33.0"}
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.34.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.33.0"}
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.34.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.33.0"}}}'`
bb -cp `clj -Spath -Sdeps '{:deps {djblue/portal {:mvn/version "0.34.0"}}}'`
```

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.33.0"]]}}}
{:profiles {:dev {:dependencies [[djblue/portal "0.34.0"]]}}}
```

or

```clojure
{:profiles {:portal {:dependencies [[djblue/portal "0.33.0"]]}}}
{:profiles {:portal {:dependencies [[djblue/portal "0.34.0"]]}}}
```

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

```clojure
{:portal {:dependencies [[djblue/portal "0.33.0"]]}}
{:portal {:dependencies [[djblue/portal "0.34.0"]]}}
```

If you add Portal to a profile other than `:dev`, when starting a REPL
Expand Down Expand Up @@ -159,8 +159,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.33.0/doc/ui-concepts
[ui-concepts]: https://cljdoc.org/d/djblue/portal/0.33.0/doc/ui-concepts
[docs]: https://cljdoc.org/d/djblue/portal/0.34.0/doc/ui-concepts
[ui-concepts]: https://cljdoc.org/d/djblue/portal/0.34.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.33.0")
(def version "0.34.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.33.0
pluginVersion = 0.34.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.33.0",
"version": "0.34.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.33.0",
"version": "0.34.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.33.0"])
"0.34.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 @@ -194,7 +194,7 @@
{:name (if (= :dev (:mode options))
"portal-dev"
"portal")
:version "0.33.0"
:version "0.34.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.33.0"
version "0.34.0"
code-url "main.js"
platform #?(:bb "bb" :clj "jvm" :cljs "node")}}]
(str
Expand Down

0 comments on commit 930d344

Please sign in to comment.