Skip to content

Commit

Permalink
Prep for 1.0.0 gold release
Browse files Browse the repository at this point in the history
  • Loading branch information
seancorfield committed Jun 13, 2019
1 parent e1b42b1 commit 5448d49
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Expand Up @@ -4,13 +4,16 @@ Only accretive/fixative changes will be made from now on.

## Unreleased Changes

The following changes have been committed to the **master** branch and will be in the 1.0.0 release:
The following changes have been committed to the **master** branch since the 1.0.0 release:

* Address #31 by making `reify`'d objects produce a more informative string representation if they are printed (e.g., misusing `plan` by not reducing it or not mapping an operation over the rows).
* Fix #26 by exposing `next.jdbc.result-set/datafiable-result-set` so that various `java.sql.DatabaseMetaData` methods that return result metadata information in `ResultSet`s can be easily turned into a fully realized result set.
* None.

## Stable Builds

* 2019-06-12 -- 1.0.0 "gold"
* Address #31 by making `reify`'d objects produce a more informative string representation if they are printed (e.g., misusing `plan` by not reducing it or not mapping an operation over the rows).
* Fix #26 by exposing `next.jdbc.result-set/datafiable-result-set` so that various `java.sql.DatabaseMetaData` methods that return result metadata information in `ResultSet`s can be easily turned into a fully realized result set.

* 2019-06-04 -- 1.0.0-rc1:
* Fix #24 by adding return type hints to `next.jdbc` functions.
* Fix #22 by adding `next.jdbc.optional` with six map builders that omit `NULL` columns from the row hash maps.
Expand Down
7 changes: 3 additions & 4 deletions CONTRIBUTING.md
@@ -1,8 +1,7 @@
# Contributing to `next.jdbc`

Feel free to [open Issues](https://github.com/seancorfield/next-jdbc/issues) with opinions
and suggestions -- I'm happy to have discussions about any aspect of the library!
Feel free to [open Issues](https://github.com/seancorfield/next-jdbc/issues) with opinions and suggestions -- I'm happy to have discussions about any aspect of the library!

I welcome Pull Requests for source code changes *that are accompanied by tests*, and for documentation changes. For any substantial change, please open an issue for discussion first, or find me in the `#sql` stream on Clojurians Zulip or the `#sql` channel on Clojurians Slack to chat about it.
I welcome Pull Requests for source code changes *that are accompanied by tests*, and for any documentation changes. For any substantial change, please open an issue for discussion first, or find me in the `#sql` stream on Clojurians Zulip or the `#sql` channel on Clojurians Slack to chat about it.

In particular, as of 1.0.0 Beta 1, no breaking changes will be entertained. All future changes must either be purely accretive or purely fixative.
In particular, **no breaking changes will be entertained**. All future changes must either be purely accretive or purely fixative.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -8,7 +8,7 @@ The latest versions on Clojars and on cljdoc:

[![Clojars Project](https://clojars.org/seancorfield/next.jdbc/latest-version.svg)](https://clojars.org/seancorfield/next.jdbc) [![cljdoc badge](https://cljdoc.org/badge/seancorfield/next.jdbc)](https://cljdoc.org/d/seancorfield/next.jdbc/CURRENT)

This documentation is for the upcoming 1.0.0 release -- [see the CHANGELOG](CHANGELOG.md).
This documentation is for the 1.0.0 release -- [see the CHANGELOG](CHANGELOG.md).

* [Getting Started](/doc/getting-started.md)
* [Migrating from `clojure.java.jdbc`](/doc/migration-from-clojure-java-jdbc.md)
Expand Down
10 changes: 5 additions & 5 deletions doc/getting-started.md
Expand Up @@ -9,12 +9,12 @@ It is designed to work with Clojure 1.10 or later, supports `datafy`/`nav`, and
You can add `next.jdbc` to your project with either:

```clojure
{seancorfield/next.jdbc {:mvn/version "1.0.0-rc1"}}
{seancorfield/next.jdbc {:mvn/version "1.0.0"}}
```
for `deps.edn` or:

```clojure
[seancorfield/next.jdbc "1.0.0-rc1"]
[seancorfield/next.jdbc "1.0.0"]
```
for `project.clj` or `build.boot`.

Expand All @@ -28,16 +28,16 @@ For the examples in this documentation, we will use a local H2 database on disk,

```clojure
;; deps.edn
{:deps {org.clojure/clojure {:mvn/version "1.10.0"}
seancorfield/next.jdbc {:mvn/version "1.0.0-rc1"}
{:deps {org.clojure/clojure {:mvn/version "1.10.1"}
seancorfield/next.jdbc {:mvn/version "1.0.0"}
com.h2database/h2 {:mvn/version "1.4.197"}}}
```

In this REPL session, we'll define an H2 datasource, create a database with a simple table, and then add some data and query it:

```clojure
> clj
Clojure 1.10.0
Clojure 1.10.1
user=> (require '[next.jdbc :as jdbc])
nil
user=> (def db {:dbtype "h2" :dbname "example"})
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>seancorfield</groupId>
<artifactId>next.jdbc</artifactId>
<version>1.0.0-rc1</version>
<version>1.0.0</version>
<name>next.jdbc</name>

<description>The next generation of clojure.java.jdbc: a new low-level Clojure wrapper for JDBC-based access to databases.</description>
Expand Down Expand Up @@ -32,7 +32,7 @@
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.10.0</version>
<version>1.10.1</version>
</dependency>
</dependencies>

Expand Down

0 comments on commit 5448d49

Please sign in to comment.