Skip to content

Releases: sapphiredev/plugins

@sapphire/[email protected]

06 Nov 07:06
Compare
Choose a tag to compare

@sapphire/[email protected] - (2024-11-06)

πŸ› Bug Fixes

@sapphire/[email protected]

05 Nov 18:03
Compare
Choose a tag to compare

@sapphire/[email protected] - (2024-11-05)

πŸ› Bug Fixes

@sapphire/[email protected]

05 Nov 08:13
Compare
Choose a tag to compare

@sapphire/[email protected] - (2024-11-05)

🏠 Refactor

@sapphire/[email protected]

02 Nov 19:42
Compare
Choose a tag to compare

@sapphire/[email protected] - (2024-11-02)

πŸ› Bug Fixes

  • Update sapphire dependencies (a837459)

πŸ“ Documentation

@sapphire/[email protected]

02 Nov 19:40
Compare
Choose a tag to compare

@sapphire/[email protected] - (2024-11-02)

πŸ› Bug Fixes

πŸ“ Documentation

  • Update create task function type (f730be1) (#623 by @swiizyy)
  • readme: Remove duplication in Scheduled Tasks README (5193167) (#604 by @feelthatvib3)
  • ScheduledTaskHandler: Remove unused tsdoc parameters (f9230eb)
  • typedoc: Exclude externals to exclude Collection and Map methods from Store (c3e54a4)

@sapphire/[email protected]

02 Nov 19:39
Compare
Choose a tag to compare

@sapphire/[email protected] - (2024-11-02)

πŸ› Bug Fixes

πŸ“ Documentation

  • typedoc: Exclude externals to exclude Collection and Map methods from Store (c3e54a4)

@sapphire/[email protected]

02 Nov 19:37
Compare
Choose a tag to compare

@sapphire/[email protected] - (2024-11-02)

🏠 Refactor

  • i18next: Update the dependency to 23.15.1 accounting for typescript changes (f8b2f60) (#629 by @favna)

πŸ› Bug Fixes

@sapphire/[email protected]

02 Nov 19:36
Compare
Choose a tag to compare

@sapphire/[email protected] - (2024-11-02)

πŸ› Bug Fixes

@sapphire/[email protected]

02 Nov 19:31
Compare
Choose a tag to compare

@sapphire/[email protected] - (2024-11-02)

πŸ› Bug Fixes

@sapphire/[email protected]

02 Nov 19:29
Compare
Choose a tag to compare

@sapphire/[email protected] - (2024-11-02)

🏠 Refactor

  • Remove media parsers (56b0ad1) (#616 by @kyranet)
    • πŸ’₯ BREAKING CHANGE: Removed MediaParser
    • πŸ’₯ BREAKING CHANGE: Removed MediaParserStore
    • πŸ’₯ BREAKING CHANGE: Removed Route#acceptedContentMimeTypes
    • πŸ’₯ BREAKING CHANGE: Removed ApiRequest#body, use the new methods instead
  • Switch MimeTypes to MimeType and use IANA media types (834b446) (#603 by @kyranet)
    • πŸ’₯ BREAKING CHANGE: MimeTypes has been removed in favor of the MimeType string union type consists of all IANA media types
  • router: Change router system (ce675e0) (#590 by @kyranet)
    • πŸ’₯ BREAKING CHANGE: Moved RouteStore#match to a listener
    • πŸ’₯ BREAKING CHANGE: Replaced node:events with @vladfrangu/async_event_emitter
    • πŸ’₯ BREAKING CHANGE: Removed route parameter in the Middleware#run method, use request.route instead
    • πŸ’₯ BREAKING CHANGE: Removed Route#router property
    • πŸ’₯ BREAKING CHANGE: Removed RouteStore#methods property
    • πŸ’₯ BREAKING CHANGE: Removed objects in router events, use request.route and request.routerNode instead
    • πŸ’₯ BREAKING CHANGE: Renamed ServerEvents enum to ServerEvent
    • πŸ’₯ BREAKING CHANGE: Renamed event match to routerFound
    • πŸ’₯ BREAKING CHANGE: Renamed event noMatch to routerBranchNotFound
  • route: Change method handling (08a81b1) (#588 by @kyranet)
    • πŸ’₯ BREAKING CHANGE: The headers middleware now uses the supported HTTP methods from the route or the store instead of sending all supported methods
    • πŸ’₯ BREAKING CHANGE: Changed the method handling in the Route class to not be keyed by the method name, sending all requests to the run method. This allows for more flexibility in the route handling
    • πŸ’₯ BREAKING CHANGE: Writing the name of a file as <name>.<method>.ts will now set <method> as a method for the route
  • route: Proper route handling and FS-based paths (d27dc1c) (#587 by @kyranet)
    • πŸ’₯ BREAKING CHANGE: The prefix is now suffixed with a / before concatenating in RouteData
    • πŸ’₯ BREAKING CHANGE: Route now reads defaults to filesystem-based path definition when options.route is not defined. Virtual pieces (those loaded with loadPiece) are unaffected
    • πŸ’₯ BREAKING CHANGE: Route parameters are now defined as /guilds/[guild] rather than /guilds/:guild

πŸ› Bug Fixes

πŸ“ Documentation

  • typedoc: Exclude externals to exclude Collection and Map methods from Store (c3e54a4)
  • api: Fix tsdoc comments (13aa0b1)

πŸš€ Features