Skip to content

Commit c04e2e4

Browse files
committed
6.0 version
1 parent 6bd1634 commit c04e2e4

File tree

127 files changed

+218
-206
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+218
-206
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ go:
99

1010
cache: apt
1111

12-
go_import_path: gopkg.in/rethinkdb/rethinkdb-go.v5
12+
go_import_path: gopkg.in/rethinkdb/rethinkdb-go.v6
1313

1414
install: go get -t ./...
1515

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## v6.0.0 - 2019-12-22
6+
7+
- 2.4 RethinkDB support
8+
- Added JSON tags to ConnectOpts to make it serializable
9+
- Blocking mocks for responses
10+
- Fix Connect documentation
11+
- Added Type to ChangeResponse
12+
- Added bitwise operations support
13+
- Added write hooks support
14+
515
## v5.0.1 - 2018-10-18
616

717
- Fix noreply queries memory leak due unnecessary for responses

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
test:
2-
test -d ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v5 && mv ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v5 ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v5.bak; true
3-
cp -R . ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v5
4-
go test -coverprofile=cover.out -race gopkg.in/rethinkdb/rethinkdb-go.v5; true
2+
test -d ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6 && mv ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6 ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6.bak; true
3+
cp -R . ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6
4+
go test -coverprofile=cover.out -race gopkg.in/rethinkdb/rethinkdb-go.v6; true
55
go tool cover -html=cover.out -o cover.html; true
66
rm -f cover.out; true
7-
rm -rf ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v5
8-
test -d ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v5.bak && mv ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v5.bak ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v5; true
7+
rm -rf ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6
8+
test -d ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6.bak && mv ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6.bak ${GOPATH}/src/gopkg.in/rethinkdb/rethinkdb-go.v6; true

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
![RethinkDB-go Logo](https://raw.github.com/wiki/rethinkdb/rethinkdb-go/gopher-and-thinker-s.png "Golang Gopher and RethinkDB Thinker")
1010

11-
Current version: v5.1.0 (RethinkDB v2.4)
11+
Current version: v6.0.0 (RethinkDB v2.4)
1212

1313
Please note that this version of the driver only supports versions of RethinkDB using the v0.4 protocol (any versions of the driver older than RethinkDB 2.0 will not work).
1414

@@ -17,10 +17,10 @@ If you need any help you can find me on the [RethinkDB slack](https://rethinkdb.
1717
## Installation
1818

1919
```
20-
go get gopkg.in/rethinkdb/rethinkdb-go.v5
20+
go get gopkg.in/rethinkdb/rethinkdb-go.v6
2121
```
2222

23-
Replace `v5` with `v4` or `v3` to use previous versions.
23+
Replace `v6` with `v5` or `v4` to use previous versions.
2424

2525
## Example
2626

@@ -32,7 +32,7 @@ import (
3232
"fmt"
3333
"log"
3434

35-
r "gopkg.in/rethinkdb/rethinkdb-go.v5"
35+
r "gopkg.in/rethinkdb/rethinkdb-go.v6"
3636
)
3737

3838
func Example() {

connection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/opentracing/opentracing-go/ext"
1515
"github.com/opentracing/opentracing-go/log"
1616
"golang.org/x/net/context"
17-
p "gopkg.in/rethinkdb/rethinkdb-go.v5/ql2"
17+
p "gopkg.in/rethinkdb/rethinkdb-go.v6/ql2"
1818
"sync"
1919
)
2020

connection_handshake.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616

1717
"golang.org/x/crypto/pbkdf2"
1818

19-
p "gopkg.in/rethinkdb/rethinkdb-go.v5/ql2"
19+
p "gopkg.in/rethinkdb/rethinkdb-go.v6/ql2"
2020
)
2121

2222
type HandshakeVersion int

connection_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/opentracing/opentracing-go/mocktracer"
88
"golang.org/x/net/context"
99
test "gopkg.in/check.v1"
10-
p "gopkg.in/rethinkdb/rethinkdb-go.v5/ql2"
10+
p "gopkg.in/rethinkdb/rethinkdb-go.v6/ql2"
1111
"io"
1212
"time"
1313
)

cursor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99

1010
"github.com/opentracing/opentracing-go"
1111
"golang.org/x/net/context"
12-
"gopkg.in/rethinkdb/rethinkdb-go.v5/encoding"
13-
p "gopkg.in/rethinkdb/rethinkdb-go.v5/ql2"
12+
"gopkg.in/rethinkdb/rethinkdb-go.v6/encoding"
13+
p "gopkg.in/rethinkdb/rethinkdb-go.v6/ql2"
1414
)
1515

1616
var (

cursor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package rethinkdb
22

33
import (
44
test "gopkg.in/check.v1"
5-
"gopkg.in/rethinkdb/rethinkdb-go.v5/internal/integration/tests"
5+
"gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/tests"
66
)
77

88
type CursorSuite struct{}

errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"fmt"
88
"strings"
99

10-
p "gopkg.in/rethinkdb/rethinkdb-go.v5/ql2"
10+
p "gopkg.in/rethinkdb/rethinkdb-go.v6/ql2"
1111
)
1212

1313
var (

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module gopkg.in/rethinkdb/rethinkdb-go.v5
1+
module gopkg.in/rethinkdb/rethinkdb-go.v6
22

33
require (
44
github.com/cenkalti/backoff v2.0.0+incompatible
@@ -17,3 +17,5 @@ require (
1717
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
1818
gopkg.in/fatih/pool.v2 v2.0.0
1919
)
20+
21+
go 1.13

internal/integration/reql_tests/common.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"time"
1010

1111
"github.com/stretchr/testify/suite"
12-
r "gopkg.in/rethinkdb/rethinkdb-go.v5"
13-
"gopkg.in/rethinkdb/rethinkdb-go.v5/internal/compare"
12+
r "gopkg.in/rethinkdb/rethinkdb-go.v6"
13+
"gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare"
1414
)
1515

1616
func maybeRun(query interface{}, session *r.Session, opts r.RunOpts) interface{} {

internal/integration/reql_tests/gorethink_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"os"
88
"runtime"
99

10-
r "gopkg.in/rethinkdb/rethinkdb-go.v5"
10+
r "gopkg.in/rethinkdb/rethinkdb-go.v6"
1111
)
1212

1313
var url string

internal/integration/reql_tests/reql_aggregation_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_bitwise_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package reql_tests
22

33
import (
44
"github.com/stretchr/testify/suite"
5-
r "gopkg.in/rethinkdb/rethinkdb-go.v5"
5+
r "gopkg.in/rethinkdb/rethinkdb-go.v6"
66
"testing"
77
)
88

internal/integration/reql_tests/reql_changefeeds_edge_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_changefeeds_idxcopy_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_changefeeds_include_states_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_changefeeds_point_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_changefeeds_table_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_control_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_datum_array_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_datum_binary_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_datum_bool_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_datum_null_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_datum_number_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_datum_object_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_datum_string_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_datum_typeof_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_datum_uuid_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_default_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_geo_constructors_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_geo_geojson_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_geo_indexing_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/integration/reql_tests/reql_geo_intersection_inclusion_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)