Skip to content
GitHub

Changelog for 4.3

Every release, newest first, each on a page of its own with its notes in full. Entries marked Breaking change a working bot; the migration guide says what to do about them.

4.3.4

· 12 patch changes

Patch Changes

  • respond(interaction).error() now adds an error to a private component message only when the message stays within Discord's text limits: 4000 characters across a Components V2 message's Text Displays, and 6000 characters across an embed message's embeds.

  • An attachments list given to respond()'s send() or edit() is still sent as given, but MeoCord now warns when it leaves out uploads the edit's media still show, naming them: that media is sent as given and breaks, a gallery reading back not found, a File component refused, and an embed's images left as links to their signed CDN URLs in place of their uploads, so remove it too or keep its upload listed.

  • meocord/eslint now reads a bot's tsconfig.json, tsconfig.test.json and tsconfig.eslint.json from the folder of the bot's own eslint.config.*, wherever ESLint runs from.

  • respond() now edits a follow-up that became the answer in that follow-up's own format.

  • @Defer's lock no longer deletes a Components V2 message's uploaded files when the presenter's loading view has files of its own, and the restore no longer leaves its images broken.

  • An edit through respond() now keeps a message's uploaded files attachment-backed when it lists no attachments: @Defer's lock and restore without loading files, and an app's own send() or edit() that re-sends the message's components or embeds.

  • respond() now edits a reply the app sent itself with interaction.reply() or deferReply() to a button, select menu or modal on a Components V2 message in that reply's own format.

  • respond() now edits a Components V2 reply the app sent itself with interaction.reply() as V2.

  • Under useStrictMocks(), the mocks now handle Components V2 messages as Discord does.

  • Under useStrictMocks(), the mocks now keep the files a message is sent with as Discord does, so a test sees an edit lose them.

  • respond() now logs a warning, naming the interaction, when it drops non-empty content or embeds from an answer to a Components V2 message, which can carry only components.

  • respond() now clears the content and embeds of a message that holds them when its edit or update makes it Components V2, sending content: null and embeds: [] with the components.

The 4.3.4 notes in full

Earlier releases

  • 4.3.3 · · 1 patch change
  • 4.3.2 · · 5 patch changes
  • 4.3.1 · · 2 patch changes
  • 4.3.0 · · 33 minor changes and 31 patch changes, 2 breaking