Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changelog of V4 #93

Closed
Smaug6739 opened this issue Jun 4, 2022 · 0 comments
Closed

Changelog of V4 #93

Smaug6739 opened this issue Jun 4, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation meta Includes only non-code changes semver:major V4 Version 4.0.0
Milestone

Comments

@Smaug6739
Copy link
Member

Smaug6739 commented Jun 4, 2022

Changelog of V4

🚀 Version dev.11

Structures

  • [Command]: Fix descriptionLocalizations. (cb13044)

Managers

  • [CommandsManager]: Change type of the prefix key, it can be a function with ctx: Message | Interaction as a parameter. (644888b)
  • [CommandsManager]: Permissions events change signature: (ctx: Message|Interaction, perms: string[], command:Command). (2373369)
  • [CommandsManager]: Add strategies for register application commands. (09f3b49)

Events

  • Improve errors display on events. (43d3724)

🚀 Version dev.10

Some fixes on version.

🚀 Version dev.9

General

  • Improve typings in general (caeb29c)
  • Improve errors management (6f8b2b9)

Structures

  • [Inhibitor]: Change function execute and onFailure first parapeter is now the structure (client => structure type of BaseStructure) (448f55e)

🚀 Version dev.8

Structures

  • [Command] : Add nameLocalizations and descriptionLocalizations keys in structures. (897f1a1 & ed51bf5)
  • [Command]: userPermissions and clientPermissions is now of type PermissionResolvable[]. (897f1a1 & ed51bf5)
  • [Command]: Fix channel types (add global) (ed51bf5)
  • [Command]: Support slash-commands permissions (897f1a1 & ed51bf5)

🚀 Version dev.7

Client

  • Collections (client.collections) contain now an array of structures. (cd74b3d)

Loader V2 - Custom project structure

Structures

  • Possibility to enable or disable structures. (2f054c9)

Managers

  • Managers: Collections can't be null now, however the collections can be empty. (cd74b3d)

Events

  • Support array of structures in collections. (1f88271)

🚀 Version dev.6

Loader V2 - Custom project structure

Structures

  • Change register and unregister functions: Return the structure without saving it in a collection. (5ad3c46)

Managers

  • CommandsManager: Change the getApplicationCommandData prototype : the parameter is the command (Command type) returns: ApplicationCommandData. (92340a9).
  • CommandsManager: Add getAllApplicationCommandData function that take a collection of commands in parameter and returns an array of ApplicationCommandData (ApplicationCommandData[]) (92340a9).

🚀 Version dev.5

Loader V2 - Custom project structure

🚀 Version dev.4

Client

  • [ShewenyClientOptions]: Add disableCooldownForAdmins option (3fbd807)
  • [ClientUtil]: getX return an array (Array.from(interator)) instedof an iterator. (0cab451)
  • [ClientUtil]: Add resolveCommand function (88d93cd).

Managers

  • Support for custom project structures & flexibility #90
    • [CommandsManager] : Remove loadAndRegisterAll() => now in loadAll() (c7f41b1).
    • [EventsManager] : Remove loadAndRegisterAll() => now in loadAll() (c7f41b1).
    • [Managers]: Remove loadAll option (c7f41b1).
    • [Managers]: Removed auto-saving of structures in client.collection (it remains automatic through the client options) (c7f41b1).
  • [CommandsManager]: Add description to the default object (7c10846)
  • Modals support (d084556)
    • [ModalsManager]: Create this manager

Structures

  • Modals support (d084556)
    • [Modal]: Create this structure
  • [Command]: Add "COMMAND" type in message command (88d93cd).
  • [Command]: Add "GLOBAL" type in channel option (2933afd).
  • [Structures]: Allow regular expressions and strings in same array (c7f41b1)

Events

  • [CommandsManager]: emit invalidChannel event when command is in bad channel (b39ae2c)

Cooldowns

Loader V2

@Smaug6739 Smaug6739 added documentation Improvements or additions to documentation meta Includes only non-code changes V4 Version 4.0.0 semver:major labels Jun 4, 2022
@Smaug6739 Smaug6739 added this to the Version 4.0.0 milestone Jun 4, 2022
@Smaug6739 Smaug6739 pinned this issue Jun 4, 2022
@Smaug6739 Smaug6739 changed the title Minimal changelog of V4 Changelog of V4 Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation meta Includes only non-code changes semver:major V4 Version 4.0.0
Projects
None yet
Development

No branches or pull requests

1 participant