Changelog
Every release of honocord, generated from the package CHANGELOG.md.
Subscribe via Atom4.1.0
Minor Changes
Require Node.js 24 or newer (
engines.nodeis now>=24).
Patch Changes
Export
AutocompleteHelperfrom the package entry point. It was documented but could not be imported.
4.0.0
Major Changes
Merge the cache adapter packages into
honocord. The separate@honocord/cache-*packages no longer exist and are exposed as subpath exports instead:@honocord/cache-base->honocord/cache@honocord/cache-memory->honocord/cache/memory@honocord/cache-do->honocord/cache/do@honocord/cache-mongo->honocord/cache/mongo
mongooseis an optional peer dependency, only needed when importinghonocord/cache/mongo. To migrate, update your imports and uninstall the old@honocord/cache-*packages.Also removed the unused
CacheAdapterinterface andCacheSetOptionstype: they did not matchBaseCacheAdapter(delete()returnedboolean,set()took an options object instead ofttlMs). ExtendBaseCacheAdapterfor custom adapters. Themset()entry shape is now exported asCacheEntry.
Patch Changes
Fix
main,typesandexportsto point at the files tsdown actually emits (index.cjs,index.mjs,index.d.cts,index.d.mts).require()and CJS type resolution previously pointed at missingdist/index.js/dist/index.d.ts.Update dependencies:
@discordjs/builders1.15.0,@discordjs/core2.7.0,discord-api-types0.38.58.
3.2.0
Minor Changes
Add dynamic command handlers for slash commands and context menu commands. Register
DynamicGuildSlashCommandHandler/DynamicGlobalSlashCommandHandlerandDynamicGuildContextCommandHandler/DynamicGlobalContextCommandHandlervialoadHandlersto catch interactions whose command name isn't known ahead of time (e.g. per-guild custom commands) or that don't match any registered handler. Guild-scoped dynamic handlers are tried first for guild interactions, falling back to the global dynamic handler if no guild handler is registered.
3.1.0
Minor Changes
Export previously-internal types needed for full type coverage of the public API:
HonocordOptions,HonocordAppOptions,CommandInteraction,UserContextInteraction,MessageContextInteraction,AutocompleteInteraction,AutocompleteFocusedOption,APIModalData(and itsBaseModalData/TextInputModalData/SelectMenuModalDatamembers),BlankVariables,CachedDMChannel,CachedThreadChannel,CachedTextGuildChannel,CachedVoiceGuildChannel,NamespaceAccessor,MemberNamespaceAccessor, and theColorsinterface. These were already reachable through other exported types' signatures but couldn't be imported or named directly.Also added comprehensive JSDoc coverage across the library's public classes, methods, and types, improving editor IntelliSense and powering the new auto-generated API reference docs.
3.0.1
Patch Changes
Fix partial guild role caching for interaction payloads; roles.list() now reflects the full guild role set from Discord instead of a truncated interaction-resolved subset.
3.0.0
Major Changes
Move
honoandmongooseto peerDependencies. Consumers must now install these themselves (hono@^4.13.1,mongoose@^9.9.1).
2.2.0
Minor Changes
Add DM channel caching support with user ID lookups
2.1.1
Patch Changes
chore: update deps and restructure deps for docs