Skip to content

Commit

Permalink
[SQLLINE-304] Release 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
julianhyde committed May 28, 2019
1 parent f083fba commit e8a87c2
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 5 deletions.
39 changes: 39 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,45 @@

For a full list of releases, see <a href="https://github.com/julianhyde/sqlline/releases">github</a>.

## <a href="https://github.com/julianhyde/sqlline/releases/tag/sqlline-1.8.0">1.8.0</a> (2019-05-29)

1.8 comes quite soon after 1.7, and the most significant change is
<a href="https://github.com/julianhyde/sqlline/issues/292">fixing Ctrl-C to abort the current statement, not crash SQLLine</a>.
Among the improvements are
<a href="https://github.com/julianhyde/sqlline/issues/237">allowing multiple statements on the same line</a>,
a more powerful
<a href="https://github.com/julianhyde/sqlline/issues/298">!set outputformat</a> command,
and allowing null values to be
<a href="https://github.com/julianhyde/sqlline/issues/288">output as "null"</a>.

This release requires Java version 8 or higher.

Bugs and functional changes:

* [<a href="https://github.com/julianhyde/sqlline/issues/295">SQLLINE-295</a>]
Find all db metadata methods including class hierarchy cases
* [<a href="https://github.com/julianhyde/sqlline/issues/284">SQLLINE-284</a>]
Use proxy for `DatabaseMetaData`
* [<a href="https://github.com/julianhyde/sqlline/issues/237">SQLLINE-237</a>]
Allow several SQL statements on the same line, separated by ';'
* [<a href="https://github.com/julianhyde/sqlline/issues/288">SQLLINE-288</a>]
Output null value as `null`
* [<a href="https://github.com/julianhyde/sqlline/issues/298">SQLLINE-298</a>]
Optional extra parameters for `!set outputformat` command
* Improve the `hashCode` of the key used in the internal table cache
* [<a href="https://github.com/julianhyde/sqlline/issues/292">SQLLINE-292</a>]
`Ctrl-C` causes SQLLine to quit, but should just cancel current query
* Upgrades:
* [<a href="https://github.com/julianhyde/sqlline/issues/301">SQLLINE-301</a>]
Upgrade checkstyle to 8.20, jmockit to 1.46 and junit to 5.4.2
* [<a href="https://github.com/julianhyde/sqlline/issues/287">SQLLINE-287</a>]
Support JDK 12

Other:

* [<a href="https://github.com/julianhyde/sqlline/issues/296">SQLLINE-296</a>]
Replace class `ColorBuffer` with Jline3's class `AttributedString`

## <a href="https://github.com/julianhyde/sqlline/releases/tag/sqlline-1.7.0">1.7.0</a> (2019-03-27)

Continuing the major changes in the previous release, this release
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SQLLine release 1.7.0
SQLLine release 1.8.0

This is a source or binary distribution of SQLLine.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If you have [Coursier](https://github.com/coursier/coursier) installed, you
can quickly connect to a [demo Hypersonic database](https://github.com/julianhyde/foodmart-data-hsqldb) with:

```
$ coursier launch sqlline:sqlline:1.7.0 org.hsqldb:hsqldb:2.4.1 net.hydromatic:foodmart-data-hsqldb:0.4 -M sqlline.SqlLine -- -u jdbc:hsqldb:res:foodmart -n FOODMART -p FOODMART -d org.hsqldb.jdbcDriver
$ coursier launch sqlline:sqlline:1.8.0 org.hsqldb:hsqldb:2.4.1 net.hydromatic:foodmart-data-hsqldb:0.4 -M sqlline.SqlLine -- -u jdbc:hsqldb:res:foodmart -n FOODMART -p FOODMART -d org.hsqldb.jdbcDriver
0: jdbc:hsqldb:res:foodmart> select avg("shelf_height" * "shelf_width" * "shelf_depth") as "avg_volume" from "product";
+-------------------------+
| avg_volume |
Expand Down Expand Up @@ -116,7 +116,7 @@ Use the following definition to use `sqlline` in your maven project:
<dependency>
<groupId>sqlline</groupId>
<artifactId>sqlline</artifactId>
<version>1.7.0</version>
<version>1.8.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion src/docbkx/manual.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[
<!-- "http://www.docbook.org/xml/4.2/docbookx.dtd" -->
<!-- "file:/sw/share/xml/dtd/docbookx/4.2.0/docbookx.dtd" -->
<!ENTITY VERSION "1.7.0">
<!ENTITY VERSION "1.8.0">
]>
<book>
<bookinfo>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/sqlline/manual.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SQLLine 1.7.0
SQLLine 1.8.0

Copyright © 2002, 2003, 2004, 2005 Marc Prud'hommeaux
Copyright 2006-2019 Julian Hyde
Expand Down

0 comments on commit e8a87c2

Please sign in to comment.