Skip to content

Releases: Khaaz/AxonCore

2.1.0

29 Jul 20:46
c59ce58
Compare
Choose a tag to compare

v2.1.0 - General sanitization update

Improvement and fixes.

Breaking

  • fetchGuildSchema is called fetchGuildDocument (d3e9f44)

Additions

Fixes

  • DBProvider initialisation (77df877)
  • Mention prefix (699de76)
  • LibraryInterface selector log message (
    bbae6bc)
  • template and library should be getter of Base (5186efb)
  • sendDM now returns the Promise as expected (81e0636)
  • GuildConfig.update no longer pass prefixed props to the DB (9c16d4fa)

Chore

v2.0.1

10 May 12:26
Compare
Choose a tag to compare

Patch release (typings and performance)

Fixes/Improvement:

v2.0.0

21 Mar 12:37
Compare
Choose a tag to compare

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

12 May 16:26
Compare
Choose a tag to compare
  • Fix a bug where owner prefix was not working if owner and admin prefixes where of different length (#25 )

v1.1.0

06 May 16:06
Compare
Choose a tag to compare
  • 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

15 Feb 22:08
Compare
Choose a tag to compare

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

v0.9.9

27 Nov 18:18
Compare
Choose a tag to compare
  • Improvement to Cooldown system (optimization, only send one cooldown message)
  • Fixed depreciation warnings in example

v0.9.8

20 Nov 20:19
Compare
Choose a tag to compare
  • Travis auto deploy
  • Invalid initStatus return value

v0.9.7

20 Nov 19:15
Compare
Choose a tag to compare
  • Fixed a bug in execAdmin()
  • Default methods (init() / initStaff())
  • Init staff automatically and correctly
  • Removed useless logging while cleaning up private methods

v0.9.6

17 Nov 20:07
Compare
Choose a tag to compare
  • Fixes an issue in initiating schemas
  • Add a test to prevent trying to initiate commands/events if empty import