v1.0.0
1.0.0 is finally here, This is the first stable production ready release of GoRethink!
In an attempt to make this library more "idiomatic" some functions have been renamed, for the full list of changes and bug fixes see below.
Added
- Added more documentation.
- Added
Shards
,Replicas
andPrimaryReplicaTag
optional arguments inTableCreateOpts
. - Added
MultiGroup
andMultiGroupByIndex
which are equivalent to the runninggroup
with themulti
optional argument set to true.
Changed
- Renamed
Db
toDB
. - Renamed
DbCreate
toDBCreate
. - Renamed
DbDrop
toDBDrop
. - Renamed
RqlConnectionError
toRQLConnectionError
. - Renamed
RqlDriverError
toRQLDriverError
. - Renamed
RqlClientError
toRQLClientError
. - Renamed
RqlRuntimeError
toRQLRuntimeError
. - Renamed
RqlCompileError
toRQLCompileError
. - Renamed
Js
toJS
. - Renamed
Json
toJSON
. - Renamed
Http
toHTTP
. - Renamed
GeoJson
toGeoJSON
. - Renamed
ToGeoJson
toToGeoJSON
. - Renamed
WriteChanges
toChangeResponse
, this is now a general type and can be used when dealing with changefeeds. - Removed depth limit when encoding values using
Expr
Fixed
- Fixed issue causing errors when closing a changefeed cursor (#191)
- Fixed issue causing nodes to remain unhealthy when host discovery is disabled (#195)
- Fixed issue causing driver to fail when connecting to DB which did not have its canonical address set correctly (#200).
- Fixed ongoing queries not being properly stopped when closing the cursor.
Removed
- Removed
CacheSize
andDataCenter
optional arguments inTableCreateOpts
. - Removed
CacheSize
optional argument fromInsertOpts