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