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

Bump serenity from 0.11.7 to 0.12.0 #2434

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 30, 2023

Bumps serenity from 0.11.7 to 0.12.0.

Release notes

Sourced from serenity's releases.

v0.12.0

This release turned out to be one of serenity's largest ever, with well over 300 PRs in total! It contains quite a few major breaking changes to the API. Therefore, the changelog for this release also serves as a migration guide for users upgrading from the 0.11 series.

Thanks to the following for their contributions:

Builders

The closure-based API for constructing requests using the builder pattern has been ripped out and replaced. In place of closures, users must now pass in builder types directly. For example, in serenity 0.11, code like the following was very common:

let channel = guild
    .create_channel(&http, |c| c.name("my-test-channel").kind(ChannelType::Text))
    .await?;

Now, users instead write the following code:

let builder = CreateChannel::new("my-test-channel").kind(ChannelType::Text);
let channel = guild.create_channel(&http, builder).await?;
</tr></table> 

... (truncated)

Changelog

Sourced from serenity's changelog.

[0.12.0] - 2023-11-27

This release turned out to be one of serenity's largest ever, with well over 300 PRs in total! It contains quite a few major breaking changes to the API. Therefore, the changelog for this release also serves as a migration guide for users upgrading from the 0.11 series.

Thanks to the following for their contributions:

Builders

The closure-based API for constructing requests using the builder pattern has been ripped out and replaced. In place of closures, users must now pass in builder types directly. For example, in serenity 0.11, code like the following was very common:

let channel = guild
    .create_channel(&http, |c| c.name("my-test-channel").kind(ChannelType::Text))
    .await?;

Now, users instead write the following code:

let builder = CreateChannel::new("my-test-channel").kind(ChannelType::Text);
</tr></table> 

... (truncated)

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 added the dependencies Pull requests that update a dependency file label Nov 30, 2023
@tremor-bot tremor-bot enabled auto-merge (rebase) November 30, 2023 04:33
@dependabot dependabot bot force-pushed the dependabot/cargo/serenity-0.12.0 branch from 4a9c47f to d9a0535 Compare November 30, 2023 04:43
@dependabot dependabot bot force-pushed the dependabot/cargo/serenity-0.12.0 branch from d9a0535 to f1ab63f Compare November 30, 2023 04:56
@dependabot dependabot bot force-pushed the dependabot/cargo/serenity-0.12.0 branch from f1ab63f to 576cdcc Compare December 15, 2023 04:11
@dependabot dependabot bot force-pushed the dependabot/cargo/serenity-0.12.0 branch from 576cdcc to cd6ae49 Compare December 15, 2023 04:18
@dependabot dependabot bot force-pushed the dependabot/cargo/serenity-0.12.0 branch from cd6ae49 to 1f1b097 Compare December 15, 2023 05:03
Bumps [serenity](https://github.com/serenity-rs/serenity) from 0.11.7 to 0.12.0.
- [Release notes](https://github.com/serenity-rs/serenity/releases)
- [Changelog](https://github.com/serenity-rs/serenity/blob/current/CHANGELOG.md)
- [Commits](serenity-rs/serenity@v0.11.7...v0.12.0)

---
updated-dependencies:
- dependency-name: serenity
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/serenity-0.12.0 branch from 1f1b097 to 6a3c0b5 Compare December 21, 2023 18:41
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 29, 2024

Superseded by #2448.

@dependabot dependabot bot closed this Feb 29, 2024
auto-merge was automatically disabled February 29, 2024 04:24

Pull request was closed

@dependabot dependabot bot deleted the dependabot/cargo/serenity-0.12.0 branch February 29, 2024 04:24
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.

1 participant