You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15-9Lines changed: 15 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [Semantic Versioning](http://semver.org/).
4
4
5
+
## v5.0.0 - 2018-09-12
6
+
7
+
- Moved to rethinkdb organization
8
+
- Renamed to rethinkdb-go repo
9
+
- Renamed to rethinkdb package
10
+
5
11
## v4.1.0 - 2018-08-29
6
12
7
13
### Fixed
@@ -65,7 +71,7 @@ Unfortunately this will likely be the last release I plan to work on. This is du
65
71
- 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.
66
72
- The driver itself is in a relatively good condition and many companies are using the existing version in production.
67
73
68
-
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.
74
+
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.
69
75
70
76
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.
-GoRethink 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:
263
+
-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:
258
264
```go
259
265
r.Connect(
260
266
...
@@ -294,7 +300,7 @@ r.Connect(
294
300
295
301
### Added
296
302
- Added the ability to reference subdocuments when inserting new documents, for more information see the documentation in the readme.
297
-
- Added the `SetTags` function which allows GoRethink to override which tags are used when working with structs. For example to support the `json` add the following call `SetTags("gorethink", "json")`.
303
+
- Added the `SetTags` function which allows RethinkDB-go to override which tags are used when working with structs. For example to support the `json` add the following call `SetTags("gorethink", "json")`.
298
304
- Added helper functions for checking the error type of a write query, this is useful when calling `RunWrite`.
299
305
+ Added `IsConflictErr` which returns true when RethinkDB returns a duplicate key error.
300
306
+ Added `IsTypeErr` which returns true when RethinkDB returns an unexpected type error.
@@ -319,7 +325,7 @@ r.Connect(
319
325
320
326
### Fixed
321
327
- Fixed `RunWrite` not defering its call to `Cursor.Close()`. This could cause issues if an error occurred when decoding the result.
322
-
- Fixed panic when calling `Error()` on a GoRethink`rqlError`.
328
+
- Fixed panic when calling `Error()` on a RethinkDB-go`rqlError`.
323
329
324
330
## v1.3.0 - 2016-01-11
325
331
@@ -410,9 +416,9 @@ r.Connect(
410
416
411
417
## v1.0.0 - 2015-06-27
412
418
413
-
1.0.0 is finally here, This is the first stable production ready release of GoRethink!
419
+
1.0.0 is finally here, This is the first stable production ready release of RethinkDB-go!
414
420
415
-

421
+

416
422
417
423
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.
test -d ${GOPATH}/src/gopkg.in/gorethink/gorethink.v4&& mv ${GOPATH}/src/gopkg.in/gorethink/gorethink.v4${GOPATH}/src/gopkg.in/gorethink/gorethink.v4.bak;true
go test -coverprofile=cover.out -race gopkg.in/gorethink/gorethink.v4;true
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
0 commit comments