Skip to content

chore: update changelog and release - #220

Merged
kodiakhq[bot] merged 1 commit into
mainfrom
changeset-release/main
Oct 7, 2026
Merged

kodiakhq[bot] merged 1 commit into
mainfrom
changeset-release/main

Conversation

@wolfstarbot

@wolfstarbot wolfstarbot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@wolfstar/plugin-cache@0.7.0

Minor Changes

  • #223 4748f09 - Cache the status and start time of voice channels: VOICE_CHANNEL_STATUS_UPDATE, VOICE_CHANNEL_START_TIME_UPDATE and CHANNEL_INFO patch the status and voice_start_time of a cached channel, and leave an uncached one uncached.

@wolfstar/plugin-gateway@0.12.0

Minor Changes

  • #222 ff72647 - Add category.children and answer.voters to @wolfstar/plugin-gateway, after discord.js. category.children is a CategoryChannelChildManager: its cache lists the cached channels of the category (a promise with an asynchronous cache), create() makes a channel inside it, and resolve()/resolveId() look one up. answer.voters is a PollAnswerVoterManager whose fetch() lists the users who voted for the answer; fetchVoters() now goes through it.

    Unlike discord.js, children.cache is read from the channel store on each access, so a store that cannot enumerate its entries throws CacheNotIterable, and create() rejects a category as the channel type. answer.voters has no cache.

  • #226 9eff0b0 - Add GuildManager#fetchSoundboardSounds(guildIds, options?) to @wolfstar/plugin-gateway, which requests the soundboard sounds of several guilds over the gateway (opcode 31) like discord.js, caches them, and resolves with a Collection of each guild's sounds. It sends one request per shard and waits for the SOUNDBOARD_SOUNDS reply of every guild, rejecting with the new GuildSoundboardSoundsTimeoutError (listing the guilds still missing) when they take longer than time (10 seconds by default, restarted by each reply).

    The replies carry no nonce, so only the process that sent the request resolves it, and a reply arriving after the timeout is only cached.

  • #221 3a209a4 - Add small manager methods of discord.js to @wolfstar/plugin-gateway: DataManager#valueOf() (the manager's cache), GuildEmojiManager#resolveIdentifier(), GuildManager#widgetImageURL(guild, style?) and GuildChannelManager#channelCountWithoutThreads.

    Unlike discord.js, resolveIdentifier throws for a value it cannot resolve instead of returning null (an uncached emoji ID still answers null), and channelCountWithoutThreads throws CacheNotIterable when the channel store cannot enumerate its entries.

  • #223 4748f09 - Add the status and start time of voice channels to @wolfstar/plugin-gateway, after discord.js. VoiceChannel gets status, voiceStartTimestamp and voiceStartAt (all null until Discord sends them) and setStatus(). The new voiceChannelStatusUpdate and voiceChannelStartTimeUpdate events carry the channel before and after, and client.channels.requestInfo() (also guild.requestChannelInfo()) asks a guild's shard for the info over the gateway, resolving once the channelInfo reply is cached or rejecting with a GuildChannelInfoTimeoutError.

    Requests for one guild run one after the other, because Discord's reply has no nonce, and only the process that sent a request resolves it. A GUILD_CREATE resets both fields to null.

  • #219 3954f0f - Add the managers of a guild, whose cache is keyed by the entity's ID alone, like discord.js: guild.members, guild.roles, guild.voiceStates and guild.presences, also reachable as client.guilds.members(guildId), roles(guildId), voiceStates(guildId) and presences(guildId). guild.members.cache.get(userId) replaces client.members.cache.get(client.members.resolveKey(guildId, userId)), which keeps working. Each manager has the methods of the client's one with the guild's ID filled in (guild.members.kick(userId), guild.roles.create(options), ...), and channel.messages and thread.members gain the same cache. guild.members.me is a getter, like discord.js's. They are the client's managers themselves, built with a guild's ID as an optional second argument and typed GuildMemberManager<true>, RoleManager<true>, VoiceStateManager<true> and PresenceManager<true>: the classes gain an InGuild type parameter (false by default, so existing code is unaffected) and a guildId property. On the client's manager me is now a property holding the function rather than a prototype method, called the same way (client.members.me(guildId)).

Patch Changes

  • #225 cd3dcda - Fix GatewayClient never becoming ready when its shards resume a stored session (sessionStore). A shard that resumes gets RESUMED and no READY, so clientReady was never emitted, isClientReady() stayed false and client.user stayed null. The client now restores client.user from the cache, or from GET /users/@me when the cache does not hold it, and emits clientReady once every shard is ready, whether it got there through READY or RESUMED. A failed restore is reported through error and does not hold clientReady back.
  • Updated dependencies [4748f09]:
    • @wolfstar/plugin-cache@0.7.0

@wolfstar/plugin-scheduled-tasks@0.2.0

Minor Changes

  • #228 1ba434b - Add a readiness gate for tasks that need the app to be up. Give the plugin a ready callback (with optional readyTimeout and readyDelay) and set waitForReady: true on the tasks that need it: when a job is taken before the app is ready it waits, and if the timeout passes it is moved back to delayed instead of failed, so it costs no attempt and emits no scheduledTaskError. The new scheduledTaskNotReady event (ScheduledTaskEvents.ScheduledTaskNotReady) reports it, and ScheduledTaskHandler#waitForReady() lets a task wait by hand. ScheduledTaskHandler#run takes an optional second argument with the BullMQ job and token.

@wolfstar/plugin-broker@0.5.1

Patch Changes

  • Updated dependencies [4748f09]:
    • @wolfstar/plugin-cache@0.7.0

@coldtea-pr-lens

Copy link
Copy Markdown

Note

The title starts with chore:, so PR Lens left this pull request undrawn. Comment @pr-lens draw to draw it

github.comment.notice: false in .github/pr-lens.yml turns this note off

@wolfstarbot wolfstarbot added the packages:plugin-gateway Changes in plugin-gateway label Oct 6, 2026
@wolfstarbot
wolfstarbot force-pushed the changeset-release/main branch from 1ed0ce5 to a20e6f7 Compare October 6, 2026 12:08
@pkg-pr-new

pkg-pr-new Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@wolfstar/plugin-api

pnpm add https://pkg.pr.new/@wolfstar/plugin-api@220

@wolfstar/plugin-broker

pnpm add https://pkg.pr.new/@wolfstar/plugin-broker@220

@wolfstar/plugin-cache

pnpm add https://pkg.pr.new/@wolfstar/plugin-cache@220

@wolfstar/plugin-gateway

pnpm add https://pkg.pr.new/@wolfstar/plugin-gateway@220

@wolfstar/plugin-i18next

pnpm add https://pkg.pr.new/@wolfstar/plugin-i18next@220

@wolfstar/plugin-logger

pnpm add https://pkg.pr.new/@wolfstar/plugin-logger@220

@wolfstar/plugin-scheduled-tasks

pnpm add https://pkg.pr.new/@wolfstar/plugin-scheduled-tasks@220

@wolfstar/plugin-sharder

pnpm add https://pkg.pr.new/@wolfstar/plugin-sharder@220

@wolfstar/plugin-subcommands-advanced

pnpm add https://pkg.pr.new/@wolfstar/plugin-subcommands-advanced@220

commit: 79582ee

@wolfstarbot
wolfstarbot force-pushed the changeset-release/main branch 3 times, most recently from 49fd104 to a09ec7e Compare October 6, 2026 16:48
@wolfstarbot wolfstarbot added packages:plugin-cache Changes in plugin-cache packages:plugin-broker Changes in plugin-broker labels Oct 6, 2026
@wolfstarbot
wolfstarbot force-pushed the changeset-release/main branch from a09ec7e to ce1d6c0 Compare October 7, 2026 13:01
@wolfstarbot
wolfstarbot force-pushed the changeset-release/main branch from ce1d6c0 to 79582ee Compare October 7, 2026 16:11
@wolfstarbot wolfstarbot added the packages:plugin-scheduled-tasks Changes in plugin-scheduled-tasks label Oct 7, 2026
@kodiakhq
kodiakhq Bot merged commit aabfe45 into main Oct 7, 2026
17 checks passed
@kodiakhq
kodiakhq Bot deleted the changeset-release/main branch October 7, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages:plugin-broker Changes in plugin-broker packages:plugin-cache Changes in plugin-cache packages:plugin-gateway Changes in plugin-gateway packages:plugin-scheduled-tasks Changes in plugin-scheduled-tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants