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
HandshakeVersionwhen 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
UsernameandPasswordfields in theConnectOpts. - Added the
Grantterm - Added the
Orderedoptional argument toEqJoin - Added the
Foldterm and examples - Added the
ReadOneandReadAllhelper functions for quickly executing a query and scanning the result into a variable. For examples see the godocs. - Added the
PeekandSkipfunctions to theCursor. - Added support for referential arrays in structs
- Added the
Durabilityargument toRunOpts/ExecOpts
Deprecated
- Deprecated the root
Waitterm,r.Table(...).Wait()should now be used instead. - Deprecated session authentication using
AuthKey
Fixed
- Fixed issue with
ReconfigureOptsfieldPrimaryTag
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.