v2.0.0
V2 is here!
The long awaited rewrite of the framework comes with a lot of changes, improvement and addition!
Unfortunately, it also means a significant amount of changes will be necessary to move from v1 to v2.
As we are entirely dropping v1 support, we will focus entirely on v2, making sure we keep improving the framework. This rewrite was necessary, but we don't want to drop support for a version entirely next time, so we will make sure to keep legacy support and reduce the amount of breaking change!
Changes
Here some of the main addition and improvement v2 brings (only a part of the changes are listed):
- Full typescript support (@bsian03 via #42 and #59)
- Library agnostic, we now support eris, djs and incoming detritus with the same interface
- Message Parsing and Translation, full support for easy translation system
- Database rewrite, better, more intuitive, easier way to interact with the Database
- Utilities, bunch of new utilities, general structure or discord specific helpers
- Command rewrite, more abstraction where it is needed, more options, better permissions...
- Stores and registry, one interface for every Map-like object (see #72) and Registries to handle Modules, Commands and Listeners
- Error handling, better error handling with complete stack trace and additional contextual info (via CommandContext)
- Tracking event, Execution and Error event emitted by AxonClient on Command/Listeners execution
Of course there are a LOT more. Changelog in the future will be complete and precise, but this is an entire rewrite.
Docs
All docs can be found at HERE
Still in work, but API documentation is really and available there.
To create an AxonCore application, you can use create-axoncore-app that makes it easy: https://github.com/Khaazz/create-axoncore-app
yarn create axoncore-app --lib <lib> --type <type>