v2.0.0
Changed
- GoRethink 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:
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
Thanks to all contributors who helped out with this release, especially @rschmukler and @russmatney for spending the time to work with me on fixing some of the more difficult issues in this release.