gorethink v2.0.0 Release Notes
Release Date: 2016-04-13 // about 8 years ago-
๐ 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