Releases: Khaaz/AxonCore
2.1.0
v2.1.0 - General sanitization update
Improvement and fixes.
Breaking
- fetchGuildSchema is called fetchGuildDocument (d3e9f44)
Additions
- Custom
AxonConfig
andGuildConfig
(23aff28) - Proper extensions support (921252e,
0155f0f) - AxonOptions.logo can use AxonCore.version parameter (
6754f7e) Logger.type
(3f30bf1)DBProvider.type
(d685078)splitMessage
optional length (b611ca9)CommandEnvironment.usedLabel
(52fda11)
Fixes
- DBProvider initialisation (77df877)
- Mention prefix (699de76)
- LibraryInterface selector log message (
bbae6bc) template
andlibrary
should be getter ofBase
(5186efb)- sendDM now returns the Promise as expected (81e0636)
GuildConfig.update
no longer pass prefixed props to the DB (9c16d4fa)
Chore
v2.0.1
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>
v1.1.1
v1.1.0
- Fixed jsonDB to correctly create guildSchema data on first creation
- Db now uses the default global prefix as default prefix when creating the schema
- Help now uses correctly embed color in template (base 10 or base 16 supported)
- You can now actually use a custom Utils/ DBService
options.cooldown
being null or false doesn't error anymore- Fix sendFullHelp erroring (#24 )
v1.0.0
Version 1.0.0
- Complete command handler
- Complete event handler
- Built in Database support (mongoDB or JsonDB)
- Built in custom Logger
- Set of Utility methods (AxonCore specific and general usage)
- Resolver - Resolver utility methods
- Collection - Better Map data structure
- Embed - create an embed easily
- Prompt - Wait for a response
- MessageCollector - Collect messages