All Versions
58
Latest Version
Avg Release Cycle
68 days
Latest Release
583 days ago

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 or interface {} instead of only r.Term

    ๐Ÿ›  Fixed

    • Fixed incorrectly named Replicas field in TableCreateOpts
    • Fixed broken optional argument FinalEmit in FoldOpts
    • Fixed bug causing some queries using r.Row to fail with the error Cannot use r.row in nested queries.
    • Fixed typos in ConnectOpt field (and related functions) InitialCap.
  • v2.1.2 Changes

    July 22, 2016

    โž• Added

    • Added the InitialCap field to ConnectOpts to replace MaxIdle as the name no longer made sense.

    ๐Ÿ”„ Changed

    • Improved documentation of ConnectOpts
    • Default value for KeepAlivePeriod changed from 0 to 30s

    ๐Ÿ—„ Deprecated

    • Deprecated the field MaxIdle in ConnectOpts, it has now been replaced by InitialCap 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
  • 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)
  • 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 the QueryExecutor interface.
      • Added the NewMock function to create a mock query executor
      • Queries can be mocked using On and Return, 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.
  • 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.
  • 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
  • v2.0.1 Changes

    April 14, 2016

    โž• Added

    • Added UnionWithOpts term which allows Union to be called with optional arguments (such as Interleave)
    • Added IncludeOffsets and IncludeTypes optional arguments to ChangesOpts
    • Added Conflict optional argument to InsertOpts

    ๐Ÿ›  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.
  • 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 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
  • 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