Skip to content

Commit

Permalink
Release 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
djblue committed Sep 11, 2020
1 parent 9630789 commit 9797c96
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 6 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,28 @@
## 0.5.0 - 2020-09-10

- Remove accidentally included example data in release jar
- Table viewer updates
- prevent text wrapping
- fix coll of map indexing
- sticky row and column headers
- reduce padding to increase info density
- Allow window refresh and zoom in / out for portal.web
- Add pseudo portal atom

For jvm and web:

- `portal.api/open` will return an atom like thing
- Use `deref` to get the current value viewed in portal
- Use `reset!` to push a value into portal's history
- Use `swap!` to apply a fn to the current value then `reset!` the
result

For node and bb:

- `portal.api/open` will continue to return nil
- bb support will be added when interfaces can be implemented
- node support is hard since it can't block synchronously

## 0.4.1 - 2020-08-31

- Fix windows issues (thanks, [@MrGung](https://github.com/MrGung) [#12](https://github.com/djblue/portal/issues/12))
Expand Down
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -28,29 +28,29 @@ The UX will probably evolve over time and user feedback is welcome!
To start a repl with portal, run the clojure cli with:

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

or for a **web** clojurescript repl, do:

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

or for a **node** clojurescript repl, do:

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

or for a [**babashka**](https://github.com/borkdude/babashka) [>=0.2.0](https://github.com/borkdude/babashka/blob/master/CHANGELOG.md#new) repl, do:

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

then try the portal api with the following commands:
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>djblue</groupId>
<artifactId>portal</artifactId>
<version>0.4.1</version>
<version>0.5.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.4.1</tag>
<tag>0.5.0</tag>
</scm>
<dependencies>
<dependency>
Expand Down

0 comments on commit 9797c96

Please sign in to comment.