Skip to content

chore(deps): bump @discordjs/rest from 1.5.0 to 2.0.1#192

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/discordjs/rest-2.0.1
Open

chore(deps): bump @discordjs/rest from 1.5.0 to 2.0.1#192
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/discordjs/rest-2.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Aug 18, 2023

Bumps @discordjs/rest from 1.5.0 to 2.0.1.

Release notes

Sourced from @​discordjs/rest's releases.

@​discordjs/rest@​2.0.0

Features

  • No-de-no-de, now with extra buns (#9683) (386f206)
    • BREAKING CHANGE: The REST and RequestManager classes now extend AsyncEventEmitter from @vladfrangu/async_event_emitter, which aids in cross-compatibility between Node, Deno, Bun, CF Workers, Vercel Functions, etc.
    • BREAKING CHANGE: DefaultUserAgentAppendix has been adapted to support multiple different platforms (previously mentioned Deno, Bun, CF Workers, etc)
    • BREAKING CHANGE: the entry point for @discordjs/rest will now differ in non-node-like environments (CF Workers, etc.)
  • User avatar decorations (#8914) (8d97017)
  • Support new username system (#9512) (1ab60f9)

Refactor

  • REST: Remove double classing (#9722) (8f4256d)
    • BREAKING CHANGE: REST and RequestManager have been combined, most of the properties, methods, and events from both classes can now be found on REST
    • BREAKING CHANGE: REST#raw has been removed in favor of REST#queueRequest
    • BREAKING CHANGE: REST#getAgent has been removed in favor of REST#agent
  • chore: update for /rest changes
  • rest: Switch api to fetch-like and provide strategies (#9416) (cdaa0a3)
    • BREAKING CHANGE: NodeJS v18+ is required when using node due to the use of global fetch
    • BREAKING CHANGE: The raw method of REST now returns a web compatible Respone object.
    • BREAKING CHANGE: The parseResponse utility method has been updated to operate on a web compatible Response object.
    • BREAKING CHANGE: Many underlying internals have changed, some of which were exported.
    • BREAKING CHANGE: DefaultRestOptions used to contain a default agent, which is now set to null instead.

@​discordjs/rest@​1.7.1

Bug Fixes

Documentation

  • Reference package names properly (#9426) (d6bca9b)
  • Generate static imports for types with api-extractor (98a76db)

@​discordjs/rest@​1.7.0

Bug Fixes

  • handlers: Create burst handler for interaction callbacks (#8996) (db8df10)
  • scripts: Accessing tsComment (d8d5f31)
  • rest: Remove const enums in favour of regular enums (#9243) (229ad07)

Features

  • website: Render syntax and mdx on the server (#9086) (ee5169e)

... (truncated)

Changelog

Sourced from @​discordjs/rest's changelog.

@​discordjs/rest@​2.0.1 - (2023-08-17)

Documentation

@​discordjs/rest@​2.0.0 - (2023-07-31)

Features

  • No-de-no-de, now with extra buns (#9683) (386f206)
    • BREAKING CHANGE: The REST and RequestManager classes now extend AsyncEventEmitter from @vladfrangu/async_event_emitter, which aids in cross-compatibility between Node, Deno, Bun, CF Workers, Vercel Functions, etc.
    • BREAKING CHANGE: DefaultUserAgentAppendix has been adapted to support multiple different platforms (previously mentioned Deno, Bun, CF Workers, etc)
    • BREAKING CHANGE: the entry point for @discordjs/rest will now differ in non-node-like environments (CF Workers, etc.)
    • Co-authored-by: Suneet Tipirneni 77477100+suneettipirneni@users.noreply.github.com
    • Co-authored-by: Jiralite 33201955+Jiralite@users.noreply.github.com
    • Co-authored-by: suneettipirneni suneettipirneni@icloud.com
  • User avatar decorations (#8914) (8d97017)
  • Support new username system (#9512) (1ab60f9)

Refactor

  • REST: Remove double classing (#9722) (8f4256d)
    • BREAKING CHANGE: REST and RequestManager have been combined, most of the properties, methods, and events from both classes can now be found on REST
    • BREAKING CHANGE: REST#raw has been removed in favor of REST#queueRequest
    • BREAKING CHANGE: REST#getAgent has been removed in favor of REST#agent
  • chore: update for /rest changes
  • rest: Switch api to fetch-like and provide strategies (#9416) (cdaa0a3)
    • BREAKING CHANGE: NodeJS v18+ is required when using node due to the use of global fetch
    • BREAKING CHANGE: The raw method of REST now returns a web compatible Respone object.
    • BREAKING CHANGE: The parseResponse utility method has been updated to operate on a web compatible Response object.
    • BREAKING CHANGE: Many underlying internals have changed, some of which were exported.
    • BREAKING CHANGE: DefaultRestOptions used to contain a default agent, which is now set to null instead.

@​discordjs/rest@​1.7.1 - (2023-05-01)

Bug Fixes

Documentation

  • Reference package names properly (#9426) (d6bca9b)
  • Generate static imports for types with api-extractor (98a76db)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@discordjs/rest](https://github.com/discordjs/discord.js/tree/HEAD/packages/rest) from 1.5.0 to 2.0.1.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Changelog](https://github.com/discordjs/discord.js/blob/main/packages/rest/CHANGELOG.md)
- [Commits](https://github.com/discordjs/discord.js/commits/@discordjs/rest@2.0.1/packages/rest)

---
updated-dependencies:
- dependency-name: "@discordjs/rest"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 18, 2023
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 18, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (43e6a24) 70.94% compared to head (ff539f1) 70.94%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #192   +/-   ##
=======================================
  Coverage   70.94%   70.94%           
=======================================
  Files          22       22           
  Lines         616      616           
  Branches       37       37           
=======================================
  Hits          437      437           
  Misses        179      179           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants