Releases: paulhobbel/commando-provider-mongo
Releases · paulhobbel/commando-provider-mongo
2.1.0
2.0.2
- Set proper main entry to
dist/index.js
- Added typing entry
- Changed compile target to esnext
2.0.0
BREAKING CHANGE: Starting v2.0.0 and onwards there is no support for Discord.JS v11 and lower.
- Removed non functional backwards compatibility with Discord.JS v11 and lower (#12)
- Migrated to Typescript (#13)
- Fixed shard sync (#14)
- Removed usage of non existing function db.close() (#9)
Due to the switch to TypeScript the way you import the provider has changed:
const MongoDBProvider = require('commando-provider-mongo');
Becomes:
const MongoDBProvider = require('commando-provider-mongo').MongoDBProvider;
Or in the new import
style as follows:
import { MongoDBProvider } from 'commando-provider-mongo';
Discord.JS 12 Support
- Added support for discord.js 12
- Removed dependency on mongodb, this is now a peer dependency