Repository navigation
Releases
Releases · rethinkdb/rethinkdb-go
v3.0.5
Fix default timeouts
- Fixed default context timeout if one of config's timeout is omitted
v3.0.3
v3.0.1
v3.0.0
v3.0.0 - 2016-12-06
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 GoRethink 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
gorethinkorganisation - 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
v2.2.2
v2.2.1
v2.2.0
Added
- Added support for optional arguments to
r.JS() - Added
NonVotingReplicaTagsoptional argument toTableCreateOpts - Added root term
TypeOf, previously only the method term was supported - Added root version of
Groupterms (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
ReadModetoRunOpts - Added the
Interfacefunction to theCursorwhich returns a queries result set as aninterface{} - Added
GroupOptstype - Added
GetAllOptstype - Added
MinOpts/MaxOptstypes - Added
OptArgsmethod toTermwhich 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 `gorethink:"id[0]"`
Name string `gorethink:"id[1]"`
Age int `gorethink:"age"`
}
// Creates
{"id": [COMPANY, NAME], "age": AGE}- Added
Mergefunction toencodingpackage that decodes data into a value without zeroing it first.
Changed
- Renamed
PrimaryTagtoPrimaryReplicaTaginReconfigureOpts - Renamed
NotAtomictoNonAtomicinReplaceOptsandUpdateOpts - Changed behaviour of function callbacks to allow arguments to be either of type
r.Termorinterface {}instead of onlyr.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
Allnot working correctly when the cursor is created byMock - Fixed byte arrays not being correctly converted to the BINARY pseudo-type
v2.1.2
Added
- Added the
InitialCapfield toConnectOptsto replaceMaxIdleas the name no longer made sense.
Changed
- Improved documentation of ConnectOpts
- Default value for
KeepAlivePeriodchanged from0to30s
Deprecated
- Deprecated the field
MaxIdleinConnectOpts, it has now been replaced byInitialCapwhich 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