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 and Password fields in the ConnectOpts.
    • Added the Grant term
    • Added the Ordered optional argument to EqJoin
    • Added the Fold term and examples
    • Added the ReadOne and ReadAll helper functions for quickly executing a query and scanning the result into a variable. For examples see the godocs.
    • Added the Peek and Skip functions to the Cursor.
    • Added support for referential arrays in structs
    • Added the Durability argument to RunOpts/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 field PrimaryTag