Skip to content

Commit f1725d7

Browse files
committed
Merge tag 'v1.1.4' into develop
Released v1.1.4
2 parents 84649b9 + 6468f77 commit f1725d7

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
66
### Changed
77
- Timezones from `time.Time` are now stored in the database, before all times were stored as UTC. To convert a go `time.Time` back to UTC you can call `t.In(time.UTC)`.
88

9+
## v1.1.4
910
### Added
1011
- Added root table terms (`r.TableCreate`, `r.TableList` and `r.TableDrop`)
1112

@@ -17,6 +18,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1718
- Fixed panic when `fetchMore` returns an error
1819
- Fixed deadlock when closing changefeed
1920
- Fixed stop query incorrectly waiting for response
21+
- Fixed pointers not to be properly decoded
2022

2123
## v1.1.3
2224
### Fixed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
![GoRethink Logo](https://raw.github.com/wiki/dancannon/gorethink/gopher-and-thinker-s.png "Golang Gopher and RethinkDB Thinker")
1010

11-
Current version: v1.1.3 (RethinkDB v2.1)
11+
Current version: v1.1.4 (RethinkDB v2.1)
1212

1313
Please note that this version of the driver only supports versions of RethinkDB using the v0.4 protocol (any versions of the driver older than RethinkDB 2.0 will not work).
1414

@@ -215,6 +215,16 @@ Field int `gorethink:",omitempty"`
215215

216216
When encoding maps with non-string keys the key values are automatically converted to strings where possible, however it is recommended that you use strings where possible (for example `map[string]T`).
217217

218+
## Logging
219+
220+
By default the driver logs errors when it fails to connect to the database. If you would like more verbose error logging you can call `r.SetVerbose(true)`.
221+
222+
Alternatively if you wish to modify the logging behaviour you can modify the logger provided by `github.com/Sirupsen/logrus`. For example the following code completely disable the logger:
223+
224+
```go
225+
r.Log.Out = ioutil.Discard
226+
```
227+
218228
## Benchmarks
219229

220230
Everyone wants their project's benchmarks to be speedy. And while we know that rethinkDb and the gorethink driver are quite fast, our primary goal is for our benchmarks to be correct. They are designed to give you, the user, an accurate picture of writes per second (w/s). If you come up with a accurate test that meets this aim, submit a pull request please.

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Package gorethink implements a Go driver for RethinkDB
22
//
3-
// Current version: v1.1.3 (RethinkDB v2.1)
3+
// Current version: v1.1.4 (RethinkDB v2.1)
44
// For more in depth information on how to use RethinkDB check out the API docs
55
// at http://rethinkdb.com/api
66
package gorethink

0 commit comments

Comments
 (0)