Skip to content

Releases: qiniu/qmgo

v0.9.3

04 May 14:25
4d039cd
Compare
Choose a tag to compare

fix #171

v0.9.2

13 Mar 12:17
e3610a9
Compare
Choose a tag to compare
  • Fix fieldName typo #162
  • Options when Aggregation #163

v0.9.1

14 Dec 15:14
2320d4c
Compare
Choose a tag to compare

Fix #141
Fix #147 , the type of parameter options is changed in API NewClient() and Open(),

Before :

    import  "go.mongodb.org/mongo-driver/mongo/options"

    opt := options.Client().SetAppName("example")
    cli, err := Open(ctx, &Config{Uri: URI, Database: DATABASE, Coll: COLL}, opt)

After:

import (
	"github.com/qiniu/qmgo/options"
	opts "go.mongodb.org/mongo-driver/mongo/options"
)
	opt := opts.Client().SetAppName("example")
	cli, err := Open(ctx, &Config{Uri: URI, Database: DATABASE, Coll: COLL}, options.ClientOptions{ClientOptions: opt})

v0.9.0

13 Dec 07:24
e3cff98
Compare
Choose a tag to compare

#145 support plugin

v0.8.2

13 Dec 06:03
1375890
Compare
Choose a tag to compare

#137 add DropAllIndexes func
#139 refactor to middleware to support field、hook and more
#142 support RunCommand
#143 support Qmgo tags for struct validation

v0.8.1

25 Nov 12:26
a4d495d
Compare
Choose a tag to compare

#129 fix Query.Sort() erroring later if field list is empty
#130 fix IsDup(nil) panicking
#133 fix custom field setId bug
#135 Update no such document error

v0.8.0

15 Nov 12:56
323f2db
Compare
Choose a tag to compare
  • Support All official Mongo-go-driver options in Insert/Update/Upsert/Replace/Remove API
  • Split implement of hook interface to before hook and after hook, user only need to implement one interface function when only need before hook or after hook

v0.7.8

27 Oct 06:06
ea82514
Compare
Choose a tag to compare
  • Support UpsertId
  • Support UpdateId
  • Enlarge Ping timeout
  • Support Hint() when Find

v0.7.7

15 Oct 03:25
07f1dbc
Compare
Choose a tag to compare

fix #114
Distinct() could not work when different types of values

v0.7.6

27 Sep 09:20
7f6139f
Compare
Choose a tag to compare
  • fix error in Find().Apply()