Skip to content

Releases: nyx-discord/nyx

@nyx-discord/[email protected]

05 Sep 06:30
Compare
Choose a tag to compare

2.5.0 (2024-09-05)

Features

  • add CommandManager#setCommands() and default impl (78a7373)
  • add CommandRepository#clear() (4cfefd5)
  • make DefaultCommandManager#setCommands() emit add and remove events (af91a96)

@nyx-discord/[email protected]

05 Sep 06:30
Compare
Choose a tag to compare

2.3.0 (2024-09-05)

Features

  • add CommandManager#setCommands() and default impl (78a7373)
  • add CommandRepository#clear() (4cfefd5)
  • make DefaultCommandManager#setCommands() emit add and remove events (af91a96)

@nyx-discord/[email protected]

23 Aug 05:50
Compare
Choose a tag to compare

2.4.0 (2024-08-23)

Features

@nyx-discord/[email protected]

23 Aug 05:50
Compare
Choose a tag to compare

2.2.0 (2024-08-23)

Features

@nyx-discord/[email protected]

27 Jul 05:27
Compare
Choose a tag to compare

2.3.1 (2024-07-27)

Bug Fixes

  • fix DefaultCommandResolver skipping subcommand autocompletes (30989c0)

@nyx-discord/[email protected]

23 Jul 04:35
Compare
Choose a tag to compare

2.3.0 (2024-07-23)

Features

  • ActionRowList: add push, setAt, slice and pop methods (9bf0af1)

Bug Fixes

  • fix BasicEventEmitterBus omitting rest subscribers (0a750a2)

@nyx-discord/[email protected]

15 Jul 02:11
Compare
Choose a tag to compare

2.2.0 (2024-07-15)

Features

  • add iterators to repositories, buses and plugin manager (4854343)

@nyx-discord/[email protected]

15 Jul 02:11
Compare
Choose a tag to compare

2.1.0 (2024-07-15)

Features

  • add iterators to repositories, buses and plugin manager (4854343)

@nyx-discord/[email protected]

13 Jul 19:00
Compare
Choose a tag to compare

2.1.0 (2024-07-13)

Features

  • commands: fallback to ChatInput when a command's type isn't found (0fa8c61)

@nyx-discord/[email protected]

11 Jul 23:48
Compare
Choose a tag to compare

2.0.0 (2024-07-11)

⚠ BREAKING CHANGES

  • replace manager fields in NyxBot with getters
  • move session end codes to single SessionEndCodes enum
  • rename dataSeparator to metadataSeparator and remove CustomIdBuilder#getNamespace(), #getSeparator(), #getDataSeparator()
  • make event manager/bus add/subscribe methods take a rest array rather than a single argument
  • make command deployment on start optional
  • remove EventBus dependency on bots
  • remove ErrorHandler dependency on bots
  • rewrite commands to use DJS builders, allow guild commands and create CommandDeployer
  • remove LinkedList logic from middlewares
  • add BotOptions#refreshCommands
  • rename Session#start() to Session#onStart() and Session#update() to Session#onUpdate()

Features

  • add #subscribe() methods to every manager (fa55bb3)
  • add BotOptions#refreshCommands (a50218e)
  • add CommandCustomIdCodec#getNameTreeFromId() and deserializeToNameTree() (4828ee5)
  • add CustomIdCodec getters for separators and namespace (a5edab0)
  • add SessionManager#resolve() (fae4114)
  • make AbstractSession#selfEnd() reason optional (99523e7)
  • make command deployment on start optional (ac2eee3)
  • make event manager/bus add/subscribe methods take a rest array rather than a single argument (e58b97b)
  • make PluginManager#register() accept rest (fc9b981)
  • move session end codes to single SessionEndCodes enum (3266822)
  • remove ErrorHandler dependency on bots (8f2bf41)
  • remove EventBus dependency on bots (c342cea)
  • rename Session#start() to Session#onStart() and Session#update() to Session#onUpdate() (0eb3645)
  • rewrite commands to use DJS builders, allow guild commands and create CommandDeployer (9e9e96b)

Bug Fixes

  • fix errors caught by the new eslint (6837629)
  • handle undefined return type in SessionRepository (58441ba)

Code Refactoring

  • remove LinkedList logic from middlewares (4b56d73), closes #7
  • rename dataSeparator to metadataSeparator and remove CustomIdBuilder#getNamespace(), #getSeparator(), #getDataSeparator() (2053f9f)
  • replace manager fields in NyxBot with getters (ff95b33)