Skip to content

Releases: qiniu/qmgo

v1.0.8

05 Apr 15:45
b67a2c1
Compare
Choose a tag to compare

Fix #231 by #232

v1.0.7

05 Mar 06:53
7a07ca4
Compare
Choose a tag to compare
  • Fix #226
  • Fix #212 , support options for Database()
  • Fix #225, support whole index options for Index opetions like Createindex() And EnsureIndex()
    Notes: from this version, use UniqueBackgroundSparse and ExpireAfterSeconds in options.IndexOptions instead of IndexModel
type IndexModel struct {
	Key []string // Index key fields; prefix name with dash (-) for descending order
	*options.IndexOptions
}

example:

	indexOpts := officialOpts.Index()
	indexOpts.SetUnique(true).SetExpireAfterSeconds(expireS)
	ast.NoError(cli.CreateOneIndex(context.Background(), options.IndexModel{Key: unique, IndexOptions: indexOpts}))

v1.0.6

10 Feb 05:19
f5d8b9c
Compare
Choose a tag to compare

#223 upgrade to MongoDB official driver v1.8.2

v1.0.5

29 Nov 02:04
1c11270
Compare
Choose a tag to compare

Fix #216, upgrade to mongo-go-driver v1.8.0

v1.0.4

22 Oct 05:52
4461614
Compare
Choose a tag to compare

Fix:
#209 add options(createcollections_options files),support abundant options(like Time Series) in mongodb5.x version

v1.0.3

03 Sep 15:52
afcf320
Compare
Choose a tag to compare

NOTICE:
In this release, The hook feature need context as the first parameter, otherwise it will not work after(include) v1.0.3.
You can check the readme or UT codes for more information.

Fix issues:
#198 fix data race problem in official driver
#197 add context parameter in middleware

v1.0.2

28 Aug 14:02
2888d4e
Compare
Choose a tag to compare

Fix issues:
#192
#167

v1.0.1

22 Aug 12:15
a0635f5
Compare
Choose a tag to compare
  • Update MongoDB official driver to v1.7.1

v1.0.0

15 Aug 05:56
1bffefb
Compare
Choose a tag to compare

The master branch is used by many repos and works stably in our production environment for half year.
And I think all the features required by v1.0.0 have been implemented.
So publish v1.0.0.

v0.9.4

14 May 15:17
9dca033
Compare
Choose a tag to compare

Fix #169 by #170
Use DoTransaction without admin authentication