-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
V4Version 4.0.0Version 4.0.0documentationImprovements or additions to documentationImprovements or additions to documentationmetaIncludes only non-code changesIncludes only non-code changessemver:major
Description
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
executeandonFailurefirst parapeter is now the structure (client => structure type of BaseStructure) (448f55e)
🚀 Version 4.0.0-dev.8
Structures
- [Command]:
userPermissionsandclientPermissionsis now of typePermissionResolvable[].
🚀 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
_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[]).
🚀 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)
🚀 Version 4.0.0-dev.2
Client
- [ClientUtil]:
getXreturn an array (Array.from(interator)) instedof an iterator
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
V4Version 4.0.0Version 4.0.0documentationImprovements or additions to documentationImprovements or additions to documentationmetaIncludes only non-code changesIncludes only non-code changessemver:major