All Versions
58
Latest Version
Avg Release Cycle
68 days
Latest Release
1050 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v2.1.3 Changes
August 01, 2016🔄 Changed
- Changed behaviour of function callbacks to allow arguments to be either of type
r.Term
orinterface {}
instead of onlyr.Term
🛠Fixed
- Fixed incorrectly named
Replicas
field inTableCreateOpts
- Fixed broken optional argument
FinalEmit
inFoldOpts
- Fixed bug causing some queries using
r.Row
to fail with the errorCannot use r.row in nested queries.
- Fixed typos in
ConnectOpt
field (and related functions)InitialCap
.
- Changed behaviour of function callbacks to allow arguments to be either of type
-
v2.1.2 Changes
July 22, 2016âž• Added
- Added the
InitialCap
field toConnectOpts
to replaceMaxIdle
as the name no longer made sense.
🔄 Changed
- Improved documentation of ConnectOpts
- Default value for
KeepAlivePeriod
changed from0
to30s
🗄 Deprecated
- Deprecated the field
MaxIdle
inConnectOpts
, it has now been replaced byInitialCap
which has the same behaviour as before. Setting both fields will still work until the field is removed in a future version.
🛠Fixed
- Fixed issue causing changefeeds to hang if no data was received
- Added the
-
v2.1.1 Changes
July 12, 2016- Added
session.Database()
which returns the current default database
🔄 Changed
- Added more documentation
🛠Fixed
- Fixed
Random()
not being implemented correctly and added tests (Thanks to @bakape for the PR)
- Added
-
v2.1.0 Changes
June 26, 2016âž• Added
- Added ability to mock queries based on the library github.com/stretchr/testify
- Added the
QueryExecutor
interface and changed query runner methods (Run
/Exec
) to accept this type instead of*Session
,Session
will still be accepted as it implements theQueryExecutor
interface. - Added the
NewMock
function to create a mock query executor - Queries can be mocked using
On
andReturn
,Mock
also contains functions for asserting that the required mocked queries were executed. - For more information about how to mock queries see the readme and tests in
mock_test.go
.
- Added the
- Added ability to mock queries based on the library github.com/stretchr/testify
-
v2.0.4 Changes
May 22, 2016🔄 Changed
- Changed
Connect
to return the reason for connections failing (instead of just "no connections were made when creating the session") - Changed how queries are retried internally, previously when a query failed due to an issue with the connection a new connection was picked from the connection pool and the query was retried, now the driver will attempt to retry the query with a new host (and connection). This should make applications connecting to a multi-node cluster more reliable.
🛠Fixed
- Fixed queries not being retried when using
Query()
, queries are now retried if the request failed due to a bad connection. - Fixed
Cursor
methods panicking if using a nil cursor, please note that you should still always check if your queries return an error.
- Changed
-
v2.0.3 Changes
May 12, 2016âž• Added
- Added constants for system database and table names.
🔄 Changed
- Re-enabled keep alive by default.
-
v2.0.2 Changes
April 18, 2016🛠Fixed
- Fixed issue which prevented anonymous
time.Time
values from being encoded when used in a struct. - Fixed panic when attempting to run a query with a nil session
- Fixed issue which prevented anonymous
-
v2.0.1 Changes
April 14, 2016âž• Added
- Added
UnionWithOpts
term which allowsUnion
to be called with optional arguments (such asInterleave
) - Added
IncludeOffsets
andIncludeTypes
optional arguments toChangesOpts
- Added
Conflict
optional argument toInsertOpts
🛠Fixed
- Fixed error when connecting to database as non-admin user, please note that
DiscoverHosts
will not work with user authentication at this time due to the fact that RethinkDB restricts access to the required system tables.
- Added
-
v2.0.0 Changes
April 13, 2016🔄 Changed
- RethinkDB-go now uses the v1.0 RethinkDB protocol which supports RethinkDB v2.3 and above. If you are using RethinkDB 2.2 or older please set
HandshakeVersion
when creating a session. For example:go r.Connect( ... HandshakeVersion: r.HandshakeV0_4, ... )
âž• Added
- Added support for username/password authentication. To login pass your username and password when creating a session using the
Username
andPassword
fields in theConnectOpts
. - Added the
Grant
term - Added the
Ordered
optional argument toEqJoin
- Added the
Fold
term and examples - Added the
ReadOne
andReadAll
helper functions for quickly executing a query and scanning the result into a variable. For examples see the godocs. - Added the
Peek
andSkip
functions to theCursor
. - Added support for referential arrays in structs
- Added the
Durability
argument toRunOpts
/ExecOpts
🗄 Deprecated
- Deprecated the root
Wait
term,r.Table(...).Wait()
should now be used instead. - Deprecated session authentication using
AuthKey
🛠Fixed
- Fixed issue with
ReconfigureOpts
fieldPrimaryTag
- RethinkDB-go now uses the v1.0 RethinkDB protocol which supports RethinkDB v2.3 and above. If you are using RethinkDB 2.2 or older please set
-
v1.4.1 Changes
April 02, 2016🛠Fixed
- Fixed panic when closing a connection at the same time as using a changefeed.
- Update imports to correctly use gopkg.in
- Fixed race condition when using anonymous functions
- Fixed IsConflictErr and IsTypeErr panicking when passed nil errors
- RunWrite no longer misformats errors with formatting directives in them