You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+27-5
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,29 @@
2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [Semantic Versioning](http://semver.org/).
4
4
5
-
## v1.1.4
5
+
## v1.2.0 - 2015-11-19
6
+
### Added
7
+
- Added `UUID` term
8
+
- Added `Values` term
9
+
- Added `IncludeInitial` and `ChangefeedQueueSize` to `ChangesOpts`
10
+
- Added `UseJSONNumber` to `ConnectOpts` which changes the way the JSON unmarshal works when deserializing JSON with interface{}, it's preferred to use json.Number instead float64 as it preserves the original precision.
11
+
- Added `HostDecayDuration` to `ConnectOpts` to configure how hosts are selected. For more information see the godoc.
12
+
13
+
### Changed
14
+
- 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)`.
15
+
- Improved host selection to use `hailocab/go-hostpool` to select nodes based on recent responses and timings.
16
+
- Changed connection pool to use `fatih/pool` instead of a custom connection pool, this has caused some internal API changes and the behaviour of `MaxIdle` and `MaxOpen` has slightly changed. This change was made mostly to make driver maintenance easier.
17
+
+`MaxIdle` now configures the initial size of the pool, the name of this field will likely change in the future.
18
+
+ Not setting `MaxOpen` no longer creates an unbounded connection pool per host but instead creates a pool with a maximum capacity of 2 per host.
19
+
20
+
### Deprecated
21
+
- Deprecated the option `NodeRefreshInterval` in `ConnectOpts`
22
+
- Deprecated `SetMaxIdleConns` and `SetMaxOpenConns`, these options should now only be set when creating the session.
23
+
24
+
### Fixed
25
+
- Fixed some type aliases not being correctly encoded when using `Expr`.
26
+
27
+
## v1.1.4 - 2015-10-02
6
28
### Added
7
29
- Added root table terms (`r.TableCreate`, `r.TableList` and `r.TableDrop`)
8
30
@@ -16,22 +38,22 @@ This project adheres to [Semantic Versioning](http://semver.org/).
16
38
- Fixed stop query incorrectly waiting for response
17
39
- Fixed pointers not to be properly decoded
18
40
19
-
## v1.1.3
41
+
## v1.1.3 - 2015-09-06
20
42
### Fixed
21
43
- Fixed pointers not to be properly decoded
22
44
- Fixed queries always timing out when Timeout ConnectOpt is set.
23
45
24
-
## v1.1.2
46
+
## v1.1.2 - 2015-08-28
25
47
### Fixed
26
48
- Fixed issue when encoding some maps
27
49
28
-
## v1.1.1
50
+
## v1.1.1 - 2015-08-21
29
51
### Fixed
30
52
- Corrected protobuf import
31
53
- Fixed documentation
32
54
- Fixed issues with time pseudotype conversion that caused issues with milliseconds
33
55
34
-
## v1.1.0
56
+
## v1.1.0 - 2015-08-19
35
57
### Added
36
58
- Replaced `UseOutdated` with `ReadMode`
37
59
- Added `EmergencyRepair` and `NonVotingReplicaTags` to `ReconfigureOpts`
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9

10
10
11
-
Current version: v1.1.4 (RethinkDB v2.1)
11
+
Current version: v1.2.0 (RethinkDB v2.2)
12
12
13
13
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).
0 commit comments