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.
🚀 Version 4.0.0-dev.9
Structures
- [Inhibitor]: Change function
execute and onFailure first parapeter is now the structure (client => structure type of BaseStructure) (448f55e)
🚀 Version 4.0.0-dev.8
Structures
- [Command]:
userPermissions and clientPermissions is now of type PermissionResolvable[].
🚀 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.
🚀 Version 4.0.0-dev.6
Structures
- [BaseStructure]: Add static, private and readonly
_id property used by the loader.
Structures
- Change register and unregister functions: Return the structure without saving it in a collection.
Managers
- CommandsManager: Change the
getApplicationCommandData prototype : the parameter is the command (Command type) returns: ApplicationCommandData.
- CommandsManager: Add getAllApplicationCommandData function that take a collection of commands in parameter and returns an array of
ApplicationCommandData (ApplicationCommandData[]).
🚀 Version 4.0.0-dev.4
Managers
- [CommandsManager] : Remove
loadAndRegisterAll() => now in loadAll()
- [EventsManager] : Remove
loadAndRegisterAll() => now in loadAll()
- [Managers]: Remove
loadAll option
- [Managers]: Remove
loadAll option
- [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)
🚀 Version 4.0.0-dev.2
Client
- [ClientUtil]:
getX return an array (Array.from(interator)) instedof an iterator
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.
🚀 Version 4.0.0-dev.9
Structures
executeandonFailurefirst parapeter is now the structure (client => structure type of BaseStructure) (448f55e)🚀 Version 4.0.0-dev.8
Structures
userPermissionsandclientPermissionsis now of typePermissionResolvable[].🚀 Version 4.0.0-dev.7
Client
client.collections) contain now an array of structures.Loader V2 - Custom project structure
Managers
🚀 Version 4.0.0-dev.6
Structures
_idproperty used by the loader.Structures
Managers
getApplicationCommandDataprototype : the parameter is the command (Commandtype) returns:ApplicationCommandData.ApplicationCommandData(ApplicationCommandData[]).🚀 Version 4.0.0-dev.4
Managers
loadAndRegisterAll()=> now inloadAll()loadAndRegisterAll()=> now inloadAll()loadAlloptionloadAlloptionclient.collection(it remains automatic through the client options)Loader V2
Other
Please use the version published on npm instead (
npm i sheweny@dev)🚀 Version 4.0.0-dev.2
Client
getXreturn an array (Array.from(interator)) instedof an iterator