framework
framework copied to clipboard
Breaking changes on main
Breaking changes in development version
This issue tracks changes that may require users to update codes. Only intentional breaking changes are mentioned here, this is not a reference for new features.
:rocket: Version 4.0.0-dev.9
Structures
- [Inhibitor]: Change function
executeandonFailurefirst parapeter is now the structure (client => structure type of BaseStructure) (448f55e)
:rocket: Version 4.0.0-dev.8
Structures
- [Command]:
userPermissionsandclientPermissionsis now of typePermissionResolvable[].
:rocket: Version 4.0.0-dev.7
Client
- Collections (
client.collections) contain now an array of structures.
Loader V2 - Custom project structure
- Support arrays of structures.
Managers
- Managers: Collections can't be null now, however the collections can be empty.
:rocket: Version 4.0.0-dev.6
Structures
- [BaseStructure]: Add static, private and readonly
_idproperty used by the loader.
Structures
- Change register and unregister functions: Return the structure without saving it in a collection.
Managers
- CommandsManager: Change the
getApplicationCommandDataprototype : the parameter is the command (Commandtype) returns:ApplicationCommandData. - CommandsManager: Add getAllApplicationCommandData function that take a collection of commands in parameter and returns an array of
ApplicationCommandData(ApplicationCommandData[]).
:rocket: Version 4.0.0-dev.4
Managers
- [CommandsManager] : Remove
loadAndRegisterAll()=> now inloadAll() - [EventsManager] : Remove
loadAndRegisterAll()=> now inloadAll() - [Managers]: Remove
loadAlloption - [Managers]: Remove
loadAlloption - [Managers]: Removed auto-saving of structures in
client.collection(it remains automatic through the client options)
Loader V2
- Remove loadFiles function
- Remove readDirAndPush function
Other
- Remove build & typings on main :
Please use the version published on npm instead (
npm i sheweny@dev)
:rocket: Version 4.0.0-dev.2
Client
- [ClientUtil]:
getXreturn an array (Array.from(interator)) instedof an iterator