Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump @discordjs/rest from 1.7.1 to 2.0.1 #499

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 17, 2023

Bumps @discordjs/rest from 1.7.1 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.
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 [email protected]
    • Co-authored-by: Jiralite [email protected]
    • Co-authored-by: suneettipirneni [email protected]
  • 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.
Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from a team as a code owner August 17, 2023 21:57
@dependabot dependabot bot added affects:dependencies PRs: Updates a dependency file priority:p2 Issues and PRs: Medium priority status:confirmed Issues and PRs: Confirmed bug, or enhancement is confirmed to be added status:tested PRs: Tested and working with no issues type:enhancement Issues and PRs: Related to adding or improving something labels Aug 17, 2023
@zptx-bot zptx-bot enabled auto-merge (squash) August 17, 2023 21:57
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/next/discordjs/rest-2.0.1 branch 3 times, most recently from c62e82e to 8103696 Compare August 24, 2023 21:07
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/next/discordjs/rest-2.0.1 branch 3 times, most recently from d2cc4e6 to f0b4ff7 Compare August 31, 2023 21:36
Bumps [@discordjs/rest](https://github.com/discordjs/discord.js/tree/HEAD/packages/rest) from 1.7.1 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/[email protected]/packages/rest)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/next/discordjs/rest-2.0.1 branch from f0b4ff7 to e32d498 Compare September 8, 2023 21:40
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 13, 2023

Superseded by #574.

@dependabot dependabot bot closed this Nov 13, 2023
auto-merge was automatically disabled November 13, 2023 21:25

Pull request was closed

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/next/discordjs/rest-2.0.1 branch November 13, 2023 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects:dependencies PRs: Updates a dependency file priority:p2 Issues and PRs: Medium priority status:confirmed Issues and PRs: Confirmed bug, or enhancement is confirmed to be added status:tested PRs: Tested and working with no issues type:enhancement Issues and PRs: Related to adding or improving something
Development

Successfully merging this pull request may close these issues.

0 participants