Releases: chenmingyong0423/go-mongox
Releases · chenmingyong0423/go-mongox
Go Mongox 2.0.0-beta1
Upgrade to v2 module and update dependencies
- Update module and internal import paths to include
/v2
- Upgrade
go.mongodb.org/mongo-driver
dependency to v2 - Update the README.md and README-zh_CN.md
- creator, aggregator, deleter: Adjust
Options
parameters for compatibility with mongo-driver v2 - updater: Adjust
Options
parameters and updateUpsert
method for compatibility with mongo-driver v2 - finder: Adjust
Options
parameters and updateDistinct
andDistinctWithParse
methods for compatibility with mongo-driver v2 - bson: Refactor
dToM
function for compatibility with mongo-driver v2
Full Changelog: v1.6.0...v2.0.0-beta1
v1.6.0
What's Changed
- feat: update workflows by @chenmingyong0423 in #57
- feat: Official mongo library upgrade by @chenmingyong0423 in #56
Full Changelog: v1.5.0...v1.6.0
v1.5.0
What's Changed
- Feat: Refactor model hook and add beforeUpdate hook registration for field hook. by @chenmingyong0423 in #55
Full Changelog: v1.4.0...v1.5.0
v1.4.0
What's Changed
- Feat: Refactor model hook and integrate ModelHook across operations. by @chenmingyong0423 in #54
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's Changed
- Feat: Refactor the field hook, add a custom interface for flexibility, and update MongoDB operations and
OpContext
to adapt to these changes. by @chenmingyong0423 in #53
Full Changelog: v1.2.0...v1.3.0
v1.2.0
What's Changed
- builder/query: alphabetize the constants, functions, and method names. by @chenmingyong0423 in #49
- Update integrate_test.sh by @chenmingyong0423 in #51
- finder: Add Method FindOneAndUpdate and refactor methods a and preActionHandler and postActionHandler by @chenmingyong0423 in #50
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- refactor(updater): remove UpdatesWithOperator method by @chenmingyong0423 in #38
- Update go.yml by @chenmingyong0423 in #40
- update readme by @chenmingyong0423 in #41
- update readme by @chenmingyong0423 in #42
- builder/aggregation: Supplement the remaining arithmetic operators by @chenmingyong0423 in #46
- builder/aggregation: Supplement the remaining arithmetic operators by @chenmingyong0423 in #47
- builder/aggregation: alphabetize and optimize constants and function names, add missing arithmetic operators by @chenmingyong0423 in #48
Full Changelog: v1.0.3...v1.1.0
v1.0.3
What's Changed
- refactor: Add omitempty to the bson tag for the ID field of the Model struct by @chenmingyong0423 in #37
Full Changelog: v1.0.2...v1.0.3
v1.0.2
What's Changed
- refactor: rename BsonBuilder to NewBuilder by @chenmingyong0423 in #36
Full Changelog: v1.0.1...v1.0.2
v1.0.1
What's Changed
- aggregation: rename StageBsonBuilder to NewStageBuilder by @chenmingyong0423 in #35
Full Changelog: v1.0.0...v1.0.1