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.1 #2448

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 29, 2024

Bumps serenity from 0.11.7 to 0.12.1.

Release notes

Sourced from serenity's releases.

v0.12.1

Thanks to the following for their contributions:

Notable changes

In this release, the standard framework has been deprecated (#2733).

As Discord continues to endorse and evolve application commands (/... commands, user commands, message commands, etc.), the standard framework becomes increasingly outdated. Bots are also steadily losing (and already have lost) access to contents of messages, making it difficult to build a prefix-only bot. Unless you plan on restricting your bot to only accept commands in DMs, allowing its presence in only fewer than 100 guilds, or presenting a reasonable justification to Discord for permission to continue using message contents, you should migrate to application commands. We recommend poise, which supports writing both prefix and application commands with a #[command] macro like the standard framework.

Why not just update the framework?

Poise already exists and is better than the standard framework. Efforts should be directed at improving poise instead. To support application commands would require an overhaul of the standard framework, as they are special (for instance, Discord parses arguments on behalf of the bot and passes them as structured data, whereas for prefix commands, the bot must parse by itself).

Smaller, but still notable changes

  • (#2621) Add a temporary cache for messages.
  • (#2649) Deprecate RoleId::to_role_cached - Use Guild::roles instead.
  • (#2726) Pack bitflags - Reduces alignments of bitflags! types, resulting in a smaller memory footprint.
  • (#2696) Support attachments in forum posts.
  • (#2560) Add support for monetization apis.
  • (#2648) Deprecate inefficient emoji helpers - use the emoji methods on guildid/guild instead.

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:

... (truncated)

Changelog

Sourced from serenity's changelog.

[0.12.1] - 2024-02-28

Thanks to the following for their contributions:

Notable changes

In this release, the standard framework has been deprecated (#2733).

As Discord continues to endorse and evolve application commands (/... commands, user commands, message commands, etc.), the standard framework becomes increasingly outdated. Bots are also steadily losing (and already have lost) access to contents of messages, making it difficult to build a prefix-only bot. Unless you plan on restricting your bot to only accept commands in DMs, allowing its presence in only fewer than 100 guilds, or presenting a reasonable justification to Discord for permission to continue using message contents, you should migrate to application commands. We recommend poise, which supports writing both prefix and application commands with a #[command] macro like the standard framework.

Why not just update the framework?

Poise already exists and is better than the standard framework. Efforts should be directed at improving poise instead. To support application commands would require an overhaul of the standard framework, as they are special (for instance, Discord parses arguments on behalf of the bot and passes them as structured data, whereas for prefix commands, the bot must parse by itself).

Smaller, but still notable changes

  • (#2621) Add a temporary cache for messages.
  • (#2649) Deprecate RoleId::to_role_cached - Use Guild::roles instead.
  • (#2726) Pack bitflags - Reduces alignments of bitflags! types, resulting in a smaller memory footprint.
  • (#2696) Support attachments in forum posts.
  • (#2560) Add support for monetization APIs.
  • (#2648) Deprecate inefficient Emoji helpers - Use the emoji methods on GuildId/Guild instead.

... (truncated)

Commits
  • c591d25 Fix documentation typo of GetMessages builder (#2780)
  • d85d99f Remove redundant imports
  • e1dc9f3 Bump version
  • adbf811 Add changelog for v0.12.1 (#2778)
  • 47be39c Remove outdated comment about bots not being able to send stickers (#2779)
  • 37b0ff2 Add UserPublicFlags::SPAMMER (#2679)
  • 472fbed Add Clone to the Interactions Endpoint Verifier (#2777)
  • 40926fa Update GuildChannel::last_message_id for channels stored in the cache when ...
  • dce30fd Remove outdated comment (#2762)
  • b4b907a Update nightly version to fix broken nightly detection (#2761)
  • Additional commits viewable in compare view

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 darach as a code owner February 29, 2024 04:24
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 29, 2024
tremor-bot
tremor-bot previously approved these changes Feb 29, 2024
tremor-bot
tremor-bot previously approved these changes Mar 4, 2024
@dependabot dependabot bot force-pushed the dependabot/cargo/serenity-0.12.1 branch from 7e0092d to 1996021 Compare March 6, 2024 05:02
@dependabot dependabot bot force-pushed the dependabot/cargo/serenity-0.12.1 branch from 1996021 to 6c1c85c Compare March 6, 2024 08:14
@dependabot dependabot bot force-pushed the dependabot/cargo/serenity-0.12.1 branch from 6c1c85c to d6f0039 Compare March 7, 2024 04:27
@dependabot dependabot bot force-pushed the dependabot/cargo/serenity-0.12.1 branch from d6f0039 to 610452f Compare March 11, 2024 09:46
@dependabot dependabot bot force-pushed the dependabot/cargo/serenity-0.12.1 branch from 610452f to f8a629a Compare March 12, 2024 04:55
tremor-bot
tremor-bot previously approved these changes Mar 12, 2024
@darach
Copy link
Member

darach commented May 8, 2024

@dependabot rebase

Bumps [serenity](https://github.com/serenity-rs/serenity) from 0.11.7 to 0.12.1.
- [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.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
tremor-bot
tremor-bot previously approved these changes May 8, 2024
Copy link

codecov bot commented May 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.35%. Comparing base (b2a1dac) to head (57cd45d).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #2448       +/-   ##
===========================================
- Coverage   87.98%   53.35%   -34.64%     
===========================================
  Files         299      192      -107     
  Lines       57517    32352    -25165     
===========================================
- Hits        50607    17261    -33346     
- Misses       6910    15091     +8181     
Flag Coverage Δ
e2e-command ?
e2e-integration ?
e2e-unit ?
e2etests ?
tremorapi ?
tremorcodec 63.82% <ø> (ø)
tremorcommon 57.57% <ø> (ø)
tremorconnectorsgcp ?
tremorconnectorsobjectstorage 0.00% <ø> (ø)
tremorconnectorsotel ?
tremorconnectorstesthelpers 60.56% <ø> (ø)
tremorinflux 87.72% <ø> (ø)
tremorinterceptor 52.74% <ø> (ø)
tremorpipeline 30.74% <ø> (ø)
tremorruntime ?
tremorscript ?
tremorsystem 5.37% <ø> (ø)
tremorvalue 72.45% <ø> (+0.02%) ⬆️
unittests 53.35% <ø> (-24.75%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 232 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b2a1dac...57cd45d. Read the comment docs.

Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.27 to 1.2.0.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md)
- [Commits](hyperium/hyper@v0.14.27...v1.2.0)

---
updated-dependencies:
- dependency-name: hyper
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
darach and others added 26 commits May 13, 2024 12:25
Signed-off-by: Darach Ennis <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
This might have been a rebase artefact - I possibly biased for the wrong variant

Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
Bumps [serenity](https://github.com/serenity-rs/serenity) from 0.11.7 to 0.12.1.
- [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.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 3, 2024

A newer version of serenity exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@Licenser Licenser disabled auto-merge June 18, 2024 08:39
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.

2 participants