Skip to content

Commit

Permalink
Release 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
djblue committed Jun 13, 2021
1 parent 90a2b61 commit 1fb9ea2
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 0.12.0 - 2021-06-12

- Records can now be viewed as maps
- Remove incognito chrome flag for chrome app
- Improve table viewer
- Distinguish header rows / columns from data
- Highlight row / column as you hover over elements
- Fix path for selected value
- Map `META` in shortcuts to `` for mac users
- Add selected path with copy button to bottom of portal
- Add `:portal.viewer/relative-time` for instants
- ex: `1 day ago`
- Add `:portal.viewer/date-time` for instants
- ex: `6/12/2021 6:32:28 PM`
- Viewers that parse data have a tab to get back to the original value

## 0.11.2 - 2021-05-05

- Stop excluding transitive deps
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,29 @@ To get an overview of portal, you can watch the following recording of a live de
To start a repl with portal, run the **clojure >= 1.10.0** cli with:

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

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

```bash
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.11.2"}
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.12.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.11.2"}
clj -Sdeps '{:deps {djblue/portal {:mvn/version "0.12.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.11.2"}}}'`
bb -cp `clj -Spath -Sdeps '{:deps {djblue/portal {:mvn/version "0.12.0"}}}'`
```

or for examples on how to integrate portal into an existing project, look through the [examples](./examples) directory.
Expand Down Expand Up @@ -174,7 +174,7 @@ Add a portal alias in `~/.clojure/deps.edn`
:portal/cli
{:main-opts ["-m" "portal.main"]
:extra-deps
{djblue/portal {:mvn/version "0.11.2"}
{djblue/portal {:mvn/version "0.12.0"}
;; optional json support
cheshire/cheshire {:mvn/version "5.10.0"}
;; optional yaml support
Expand Down
2 changes: 1 addition & 1 deletion dev/tasks.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[pwa]
[version]))

(def version "0.11.2")
(def version "0.12.0")

(defn- sh [& args]
(println "=>" (str/join " " (map name args)))
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>djblue</groupId>
<artifactId>portal</artifactId>
<version>0.11.2</version>
<version>0.12.0</version>
<name>portal</name>
<description>A clojure tool to navigate through your data.</description>
<url>https://github.com/djblue/portal</url>
Expand All @@ -15,7 +15,7 @@
</licenses>
<scm>
<url>https://github.com/djblue/portal</url>
<tag>0.11.2</tag>
<tag>0.12.0</tag>
</scm>
<dependencies>
<dependency>
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 @@ -5,7 +5,7 @@

(defn html [& {:keys [name version code-url platform]
:or {name (:portal.launcher/window-title @r/state)
version "0.11.2"
version "0.12.0"
code-url "main.js"
platform #?(:bb "bb" :clj "jvm" :cljs "node")}}]
(str
Expand Down

0 comments on commit 1fb9ea2

Please sign in to comment.