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

Changelog History
Page 2

  • v3.0.5 Changes

    September 28, 2017
    • ๐Ÿ›  Fixed typo at http opts
  • v3.0.4 Changes

    September 04, 2017
    • ๐Ÿ›  Fixed default context timeout if one of config's timeout is omitted
  • v3.0.3 Changes

    September 03, 2017
    • โž• Added support to cancellation queries and timeouts with context.Context passed through RunOpts
    • ๐Ÿ›  Fixed import path for sirupsen/logrus due to repo was renamed
  • v3.0.2 Changes

    April 17, 2017

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated Go versions used by CI

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed performance issue caused by lock contention in IsConnected (thanks to @ekle)
  • v3.0.1 Changes

    January 30, 2016

    ๐Ÿ›  Fixed

    • Fixed import paths
    • Updated Go version used by Travis
  • v3.0.0 Changes

    December 06, 2016

    ๐Ÿš€ Unfortunately this will likely be the last release I plan to work on. This is due to the following reasons:

    • Over the last few years while I have spent a lot of time maintaining this driver I have not used it very much for my own personal projects.
    • My job has been keeping me very busy lately and I don't have as much time to work on this project as I used to.
    • The company behind RethinkDB has shut down and while I am sure the community will keep the database going it seems like a good time for me to step away from the project.
    • The driver itself is in a relatively good condition and many companies are using the existing version in production.

    I hope you understand my decision to step back from the project, if you have any questions or would be interested in take over some of the maintenance of the project please let me know. To make this process easier I have also decided to move the repository to the RethinkDB-go organisation. All existing imports should still work.

    ๐Ÿ— Thanks to everybody who got involved with this project over the last ~4 years and helped out, I have truly enjoyed the time I have spent building this library and I hope both RethinkDB and this driver manage to keep going.

    ๐Ÿ”„ Changed

    • Moved project to gorethink organisation
    • Fixed behaviour when unmarshaling nil slices

    ๐Ÿ›  Fixed

    • Fix possible deadlock when calling Session.Reconnect
    • Fixed another bug with panic/infinite loop when closing cursor during reads
    • Fixed goroutine leak when calling Session.Close
  • v3.0.x

    April 17, 2017
  • v2.2.2 Changes

    September 25, 2016

    ๐Ÿ”„ Changed

    • The gorethink struct tag is now always checked even after calling SetTags

    ๐Ÿ›  Fixed

    • Fixed infinite loop in cursor when closed during read
  • v2.2.1 Changes

    September 18, 2016

    โž• Added

    • Added State and Error to ChangeResponse

    ๐Ÿ›  Fixed

    • Fixed panic caused by cursor trying to read outstanding responses while closed
    • Fixed panic when using mock session
  • v2.2.0 Changes

    August 16, 2016

    โž• Added

    • Added support for optional arguments to r.JS()
    • Added NonVotingReplicaTags optional argument to TableCreateOpts
    • Added root term TypeOf, previously only the method term was supported
    • Added root version of Group terms (Group, GroupByIndex, MultiGroup, MultiGroupByIndex)
    • Added root version of Distinct
    • Added root version of Contains
    • Added root version of Count
    • Added root version of Sum
    • Added root version of Avg
    • Added root version of Min
    • Added root version of MinIndex
    • Added root version of Max
    • Added root version of MaxIndex
    • Added ReadMode to RunOpts
    • Added the Interface function to the Cursor which returns a queries result set as an interface{}
    • Added GroupOpts type
    • Added GetAllOpts type
    • Added MinOpts/MaxOpts types
    • Added OptArgs method to Term which allows optional arguments to be specified in an alternative way, for example:
    r.DB("examples").Table("heroes").GetAll("man_of_steel").OptArgs(r.GetAllOpts{
        Index: "code_name",
    })
    
    • Added ability to create compound keys from structs, for example:
    type User struct {
      Company string `rethinkdb:"id[0]"`
      Name    string `rethinkdb:"id[1]"`
      Age     int    `rethinkdb:"age"`
    }
    // Creates
    {"id": [COMPANY, NAME], "age": AGE}
    
    • Added Merge function to encoding package that decodes data into a value without zeroing it first.
    • Added MockAnything functions to allow mocking of only part of a query (Thanks to @pzduniak)

    ๐Ÿ”„ Changed

    • Renamed PrimaryTag to PrimaryReplicaTag in ReconfigureOpts
    • Renamed NotAtomic to NonAtomic in ReplaceOpts and UpdateOpts
    • Changed behaviour of function callbacks to allow arguments to be either of type r.Term or interface {} instead of only r.Term
    • Changed logging to be disabled by default, to enable logs change the output writer of the logger. For example: r.Log.Out = os.Stderr

    ๐Ÿ›  Fixed

    • Fixed All not working correctly when the cursor is created by Mock
    • Fixed Mock not matching queries containing functions
    • Fixed byte arrays not being correctly converted to the BINARY pseudo-type