Skip to main content
Changes to @wolfstar/decorators. It provides TypeScript decorators to configure @wolfstar/http-framework pieces and gate their methods, modelled after @sapphire/decorators. For the weekly summary across all packages, see the changelog overview.

0.1.3 (2026-10-17)

Updates

  • @wolfstar/http-framework range — The published peer range is now ^6.4.0. npm still listed ^6.3.0. (#332)

0.1.2 (2026-10-08)

Updates

  • PreconditionError events documented — The docs now state that with @wolfstar/http-framework 6.3.0, the PreconditionError thrown by RequiresUserPermissions and RequiresClientPermissions is emitted as chatInputCommandDenied, contextMenuCommandDenied, or interactionHandlerDenied instead of commandError. Move any listener that replies to these errors to the matching *Denied event. (#298)

0.1.1 (2026-10-06)

Updates

  • Dependencies — Updated all non-major dependencies (#253).

0.1.0

New features

  • New package — The utility decorators moved out of @wolfstar/http-framework into @wolfstar/decorators, mirroring the split between @sapphire/framework and @sapphire/decorators. It ships ApplyOptions, RequiresGuildContext, RequiresDMContext, RequiresUserPermissions, RequiresClientPermissions, Enumerable, EnumerableMethod, createClassDecorator, createMethodDecorator, createProxy, createFunctionPrecondition, and the PieceConstructor and ContextFallback types, with unchanged behaviour. (#238)
  • Auto imports preset — @wolfstar/decorators is one of the default imports.presets in @wolfstar/schema, so projects using the stars CLI’s auto imports get the decorators without an explicit import once the package is installed.

Updates

  • Peer dependency — @wolfstar/http-framework is a peer dependency.
  • Dependencies — Updated @wolfstar/http-framework to 6.0.0.

Migration

  • Import decorators from the new package — @wolfstar/http-framework 6.0.0 no longer exports these decorators and helpers. Install @wolfstar/decorators and change your imports to it. The Register* decorators and RestrictGuildIds stay in the framework.