Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 13, 2021

Mend Renovate

This PR contains the following updates:

Package Type Update Change
serenity dependencies minor 0.10.8 -> 0.11.5

Release Notes

serenity-rs/serenity

v0.11.5

Compare Source

Thanks to the following for their contributions:

Notable changes
  • Make select menu values optional to fix deserialization of message component interactions ([@​bumblepie])

v0.11.4

Compare Source

Thanks to the following for their contributions:

Notable changes
  • Fix deserialization error of GuildChannel::message_count ([@​anden3])

v0.11.3

Compare Source

Thanks to the following for their contributions:

Notable changes
  • Temporarily fix GuildChannel::message_count in a non-breaking way ([@​GnomedDev])
  • Add support for Auto Moderation feature ([@​nickelc])
  • Add optional min/max length fields for application command string options ([@​nickelc])
  • Allow select menu response for modals ([@​AlexisTM])
  • Add app_permissions field on interactions ([@​nickelc])
  • Enable Invite::expires_at field ([@​mkrasnitski])
  • Fix "missing field discriminator" serde error for presence updates ([@​nickelc])
  • Add webhook example ([@​NotNorom])
  • Introduce rustversion dependency and backports module ([@​GnomedDev])
  • Add MessageType::AutoModerationAction enum variant ([@​nickelc])
  • Attempt to fix lifetime bug around CustomisedHelpData ([@​mkrasnitski])
  • Auto-impl CacheHttp for Arc<T> if T also implements it ([@​mkrasnitski])
  • Add audit log action types for scheduled events ([@​nickelc])
  • Fill gaps in all model::application types ([@​kangalioo])
  • Add support for slash command localization ([@​kangalioo])
  • Implement announcement channel following ([@​GnomedDev])
  • Add event handler methods for scheduled events ([@​nickelc])
  • Add methods to Webhook to enable direct creation ([@​mkrasnitski])
  • Consolidate interactions & oauth2 model types into the application module ([@​nickelc])
  • Fix compile errors in builders when the model feature is disabled ([@​FallenWarrior2k])

v0.11.2

Compare Source

Thanks to the following for their contributions:

Added
  • [model] Implement Guild Scheduled Events support ([@​mkrasnitski]) [c:e690ccd]
  • [model] Add initial application command permissions v2 support ([@​nickelc]) [c:bca105a]
  • [model] Implement Ord and PartialOrd for Timestamp ([@​tedtramonte]) [c:b1c3a62]
  • [model] Add new enum variant to audit_log::Action to represent unknown values ([@​nickelc]) [c:b2ae872]
  • [model] Add SUPPRESS_EMBEDS flag for interaction response messages ([@​nickelc]) [c:888c37f]
  • [builder] Add function for interaction followup messages to set or unset the ephemeral flag ([@​nickelc]) [c:10d9297]
  • [model] Implement conversion from Guild to PartialGuild ([@​kangalioo]) [c:475fc1f]
Changed
  • [model] Split up a few functions to minimize monomorphization-bloat ([@​elkowar]) [c:39fb310]
  • [misc] Adapt the library to pass the majority of clippy::pedantic lints ([@​GnomedDev]) [c:dc22cf2]
  • [utils] Strip leading "Bot " in parse_token ([@​kangalioo]) [c:0a544c6]
  • [model] Replace feature gated simd-json trait imports with json::prelude::* ([@​nickelc]) [c:3e454cc]
  • [gateway] Improve binary message deserialization time by optimizing convert_ws_message ([@​MelonShooter]) [c:8b2326c]
  • [gateway] Remove duplicate WS client creation for native/rustls backends ([@​nickelc]) [c:be17752]
  • [utils] Use Cow in utils/content_safe.rs to save on allocations ([@​mkrasnitski]) [c:79a3cc8]
  • [misc] Use dashmap 5.2.0 for the MSRV build job ([@​nickelc]) [c:2898af2]
  • [misc] Update simd-json to 0.4.14 ([@​nickelc]) [c:0ba01a7]
  • [model] Optimize guild create & delete event deserialization ([@​nickelc]) [c:47433de]
  • [model] Use AttachmentType::data in EditRole::icon ([@​mkrasnitski]) [c:c3ad0b2]
  • [misc] Deny broken and private intra doc links ([@​nickelc]) [c:56293bb]
  • [misc] Update .git-blame-ignore-revs ([@​nickelc]) [c:75df53e]
Fixed
  • [misc] Fix wrong ID type in doc comment ([@​nickelc]) [c:e1eaeeb]
  • [model] Fix lifetimes on interaction response methods ([@​kangalioo]) [c:dd9d255]
  • [framework] Fix argument parsing when no delimiters are specified ([@​acdenisSK]) [c:628c1ea] [c:889540a]
  • [misc] Fix unused import and deny unused items ([@​nickelc]) [c:b1cc702]
  • [misc] Fix broken links in the readme ([@​nickelc]) [c:fe53b16]
Removed
  • [misc] Remove unnecessary braces in use statement ([@​nickelc]) [c:2f8e2b0]
  • [voice] Remove unused code related to the former voice functionality ([@​nickelc]) [c:97ef906]
  • [examples] Remove unused chrono dependency in example 09 ([@​acdenisSK]) [c:0450dde]

v0.11.1

Compare Source

This is a light release to fix compilation on https://docs.rs.

Thanks to the following for their contributions:

Changed
  • [misc] Manually specify list of features for docs.rs to build ([@​acdenisSK]) [c:9f11a3f]

v0.11.0

Compare Source

Thanks to the following for their contributions:

Added
  • [ci] Add build job to test the native-tls backend ([@​nickelc]) [c:440f0fa]
  • [model] Add new command data field guild_id ([@​nickelc]) [c:4dbf3d0]
  • [model] Add new "Directory" channel type ([@​nickelc]) [c:3b99eeb]
  • [utils] Add users argument to utils::content_safe ([@​GnomedDev]) [c:c18e889]
  • [model] Add attachment support to interaction responses ([@​GnomedDev]) [c:dc400de]
  • [model] Add new audit change variant for image_hash key ([@​nickelc]) [c:985212a]
  • [misc] Add .git-blame-ignore-revs file ([@​nickelc]) [c:3a3e399]
  • [builder] Add function to CreateInteractionResponseData to set or unset the ephemeral flag ([@​pascalharp]) [c:283af98]
  • [model] Add method to create model::Timestamp from a UNIX timestamp ([@​nickelc]) [c:66f8be7]
  • [model] Add new message flag FAILED_TO_MENTION_SOME_ROLES_IN_THREAD ([@​nickelc]) [c:a75ac69]
  • [model] Add missing stuff for GatewayIntents ([@​vaporox]) [c:14fc9c6]
  • [model] Add shorthand for checking the GUILD_MESSAGES intent bitflag ([@​Bloectasy]) [c:6f28486]
  • [model] Add Webhook::get_message for retrieving messages sent by a webhook ([@​GnomedDev]) [c:a2b388f]
  • [builder/model] Enable compilation of builder/interaction code without a backend ([@​FallenWarrior2k]) [c:4cd6caa]
  • [http] Support more options for querying invites ([@​AnnikaCodes]) [c:c1ef6d9]
  • [builder] Add components support to ExecuteWebhook and EditWebhookMessage ([@​mkrasnitski]) [c:cb7f211]
  • [http/gateway] Add support for v10 of Discord's HTTP API and Gateway ([@​squili]) [c:5c6c72a]
  • [model] Add GenericId snowflake type for unspecific entities in audit logs ([@​nickelc]) [c:146b1ac]
  • [model] Add support for the Attachment option type ([@​JellyWX]) [c:9866a85]
  • [model] Derive Copy and Clone traits for the audit action enums ([@​nickelc]) [c:dfac5d7]
  • [model] Provide parsing of RFC 3339 strings for model::Timestamp ([@​nickelc]) [c:3aca5ca]
  • [builder] Add convenient methods for creating message components ([@​nickelc]) [c:6476ed1]
  • [model] Derive Default trait for all bitflags types ([@​nickelc]) [c:92de3da]
  • [builder] Add support for allowed_mentions in the ExecuteWebhook builder ([@​mkrasnitski]) [c:71583c3]
  • [model] Add support for locale and guild_locale fields in interactions ([@​Rstar284]) [c:b4d0765]
  • [model] Add data and filename methods to AttachmentType ([@​mkrasnitski]) [c:ad9e987]
  • [builder] Support more integer types for min_value / max_value ([@​kangalioo]) [c:0da4ab5]
  • [model] Add a common constructor for the different ActivityTypes ([@​nickelc]) [c:b4e4add]
  • [json] Expose more types and functions from serde_json and simd-json ([@​vicky5124]) [c:f61fae4]
  • [client] Add cache update calls to dispatched thread events ([@​AngelOnFira]) [c:7e701dc]
  • [model] Support application webhooks ([@​vicky5124]) [c:2c73618]
  • [model] Add USE_EXTERNAL_STICKERS permission and audit log support for stickers ([@​drklee3]) [c:1fbf1e9]
  • [http] Allow sending files when creating and editing followup messages ([@​acdenisSK]) [c:147ed03]
  • [model/http] Add support for sticker packs, guild stickers, and sticker routes ([@​drklee3]) [c:a88673f]
  • [http] Add audit log reason support to most HTTP endpoints ([@​kangalioo]) [c:bec660d]
  • [http] Integrate attachments into the Request system ([@​drklee3]) [c:57582d2]
  • [http] Implement optional pagination for Http::get_guilds ([@​tylerd008]) [c:06d101b]
  • [model] Add support for adding attachments in message edits ([@​kangalioo]) [c:27bf301]
  • [framework] Add the name of the command to the Dispatch error hook ([@​kangalioo]) [c:c2130a8]
  • [misc] Add support for simd-json via a feature flag ([@​Licenser]) [c:afb3c37]
  • [model] Add basic support for forum channels ([@​kangalioo] [@​TheBlackfurGuy]) [c:35ee68b]
  • [model] Add missing method for converting Interaction to ModalSubmitInteraction ([@​gradiuscypher]) [c:e187f73]
  • [builder] Add support to set a single child builder for several parent builders ([@​natto1784]) [c:91ee596]
  • [collector] Add modal submit collector ([@​pascalharp]) [c:e5073ae]
  • [client] Add a method to pass an EventHandler in an Arc directly to the Client ([@​squili]) [c:16c2089]
  • [model] Add Modal Interactions and Input Text ([@​pascalharp]) [c:92fe5bb]
  • [builder] Add set_components to EditMessage ([@​Chronophylos]) [c:57c0826]
  • [model] Add message_id field to audit log options for pinned/unpinned messages ([@​nickelc]) [c:3a64da1]
  • [model] Add add_member to Guild and GuildId ([@​vaporox]) [c:82c2415]
  • [builder] Add support for allowed_mentions in EditMessage ([@​acdenisSK]) [c:86dbaee]
Changed
  • [utils] Use str::split_once for parsing webhooks and user tags ([@​mkrasnitski]) [c:fbfe0cf]
  • [utils] Refactor and fix bugs in utils::content_safe ([@​mkrasnitski]) [c:32cb31c]
  • [model] Move misc::Mention{able} into their own model/mention module ([@​mkrasnitski]) [c:f5458f1]
  • [client] Require setting gateway intents explicitly ([@​kangalioo]) [c:d245e67]
  • [model] Update methods and properties of Permissions ([@​devtomio]) [c:10410a2]
  • [http] Pass parsed token to Ratelimiter::new() ([@​vaporox]) [c:f4f310d]
  • [http] Simplify constructor functions for Http ([@​vaporox]) [c:f8bc937]
  • [model] Remove unnecessary CacheHttp requirements ([@​vaporox]) [c:a36353b]
  • [model] Update documentation around webhook components ([@​mkrasnitski]) [c:6028072]
  • [misc] Format imports with module granularity ([@​nickelc]) [c:4c97810]
  • [gateway] Set Http::application_id in ready event handler ([@​vaporox]) [c:c5f9cbe]
  • [misc] Switch to using URL over URI ([@​vaporox]) [c:81a9bc2]
  • [model] Deserialize the interaction data's target_id unconditionally ([@​nickelc]) [c:c5dc80b]
  • [model] Reduce size of the ResolvedTarget enum variants ([@​nickelc]) [c:404ab03]
  • [model] Change matches where the match expression is a bool to be more idiomatic ([@​nickelc]) [c:977946f]
  • [cache] Place temporary caching functionality under a separate feature flag ([@​acdenisSK]) [c:d03809f]
  • [misc] Make chrono a default optional feature ([@​xfix]) [c:e69bcd3]
  • [model] Clean up macro usage in model::misc ([@​mkrasnitski]) [c:5a0e8f4]
  • [model] Alter Guild::member_named's implementation to use utils::parse_user_tag ([@​mkrasnitski]) [c:8c9670f]
  • [utils] Make ArgumentConvert compatible without the cache feature ([@​kangalioo]) [c:cdaa70c]
  • [model] Document that the MESSAGE_CONTENT intent is now privileged ([@​kangalioo]) [c:63a1000]
  • [client] Use Option in more places in the ClientBuilder ([@​vaporox]) [c:8bca94a]
  • [misc] Simplify the hidden preparation code in doc examples ([@​nickelc]) [c:d67a21d]
  • [model] Remove kind check for sending webhook components ([@​GnomedDev]) [c:a292c2f]
  • [model] Remove the unstable_discord_api feature guard from the application commands ([@​nickelc]) [c:1ce8060]
  • [model] Turn the resolved target of the command interaction data into a method ([@​nickelc]) [c:0036620]
  • [model] Clean up API around Mention/Mentionable ([@​mkrasnitski]) [c:28e6732]
  • [examples] Use the new builder method for ephemeral messages in example ([@​nickelc]) [c:aada1b9]
  • [utils] Replace custom trait with Into<Content> ([@​mkrasnitski]) [c:c9e4f27]
  • [model] Make the non-cache version of the shard_id methods synchronous ([@​nickelc]) [c:787e7d9]
  • [model] Remove manual deserialization of ApplicationCommandInteractionDataResolved ([@​nickelc]) [c:56cab22]
  • [ci] Pin the Rust version for the build jobs with the nightly toolchain ([@​nickelc]) [c:36eac42]
  • [model] Use ApplicationFlags bitflags in the application info structs ([@​nickelc]) [c:33d402f]
  • [misc] Unify std::fmt imports and Display & Debug trait implementations ([@​nickelc]) [c:7a8f2cf]
  • [misc] Update parking_lot to 0.12 ([@​xfix]) [c:d5b5970]
  • [misc] Update async-tungstenite to 0.17 ([@​nickelc]) [c:4ff348e]
  • [misc] Increase MSRV to 1.53 ([@​nickelc]) [c:87bb9a8]
  • [misc] Put tokio::task::Builder usage behind a feature flag ([@​Milo123459]) [c:9624af0]
  • [cache] Temporarily cache users and channels in the to_user and to_channel functions ([@​Milo123459]) [c:1be625b]
  • [model] Rename the enum sub types of the audit log actions ([@​nickelc]) [c:56c40fc]
  • [model] Make the model::guild::audit_log module public ([@​nickelc]) [c:7d99bcb]
  • [collector] Make collector builders synchronous ([@​vaporox]) [c:d640238]
  • [model] Change the data mapping of AuditLogs ([@​nickelc]) [c:7823b6e]
  • [model] Move the audit log serde modules into a separate utils module ([@​nickelc]) [c:5a4fd2a]
  • [model] Change the audit log Change struct into an enum with the actual types ([@​nickelc]) [c:594a00d]
  • [model] Rework the audit log serde module for optional integer strings ([@​nickelc]) [c:74bffd0]
  • [misc] Update dashmap to v5.1.0 ([@​acdenisSK] [@​vicky5124] [@​Some-Dood]) [c:6298f67] [c:342fdbb] [c:28e0311]
  • [model] Replace deserialization helper functions with the required types ([@​nickelc]) [c:938936e]
  • [model] Implement serde traits for the audit Action enum directly ([@​nickelc]) [c:0f77d31]
  • [http] Refactor HttpBuilder to avoid unwrap calls ([@​vaporox]) [c:89499b2]
  • [utils] Move token parse and validate functions into the utils::token module ([@​nickelc]) [c:97ea22f]
  • [model] Make certain embed fields optional ([@​Chronophylos]) [c:daa9434]
  • [utils] Move utils::content_safe and dependants into its own module ([@​nickelc]) [c:ab4e7fe]
  • [model] Replace manual deserialization of VoiceState with helper structs ([@​nickelc]) [c:14e747d]
  • [misc] Move macOS job out of the build job matrix ([@​nickelc]) [c:23ed9ea]
  • [builder] Avoid Vec allocation by using the iterators directly ([@​nickelc]) [c:4556594]
  • [builder] Change emoij parameters in component builders to Into<ReactionType> ([@​nickelc]) [c:8fe7127]
  • [model] Deserialize Discord's status page responses with an interim struct ([@​nickelc]) [c:a29e0f7]
  • [framework] Replace levenshtein implementation with the levenshtein crate ([@​nickelc]) [c:5f6ad2a]
  • [framework] Use subslice patterns to improve code readablility ([@​nickelc]) [c:08b7163]
  • [model] Use the is_false function from the model::utils module ([@​nickelc]) [c:5b43bdb]
  • [model] Use the internal bitflags! macro for ApplicationFlags ([@​nickelc]) [c:dd5661c]
  • [model] Replace the use of DateTime<Utc> with a newtype struct Timestamp ([@​nickelc]) [c:1577efc]
  • [model] Introduce internal bitflags! macro with serde implementation ([@​nickelc]) [c:4d5f4f1]
  • [misc] Decouple the minimal versions check from the nightly build job ([@​nickelc]) [c:fbba88c]
  • [http] Change the return type of Route::stage_instances to &'static str ([@​nickelc]) [c:a3dd38e]
  • [misc] Improve usage of the api! macro ([@​nickelc]) [c:a95ac81]
  • [cache] Move the implementations of CacheUpdate into the cache::event module ([@​nickelc]) [c:afba7f5]
  • [model] Use the bitflags! macro instead of the undocumented macro ([@​nickelc]) [c:701d759]
  • [model] Replace GuildStatus with UnavailableGuild in the ready event ([@​nickelc]) [c:5063de1]
  • [model] Deserialize Permissions without an extra String allocation ([@​nickelc]) [c:f26fb7f]
  • [model] Separate Webhook::edit into three separate methods ([@​mkrasnitski]) [c:1715476]
  • [model] Replace manual deserialization of RoleTags ([@​nickelc]) [c:363a311]
  • [model] Replace (de)serialization implementation of bitflags with a macro ([@​nickelc]) [c:bdf99b9]
  • [model] Replace manual (de)serialization for single field gateway events ([@​nickelc]) [c:599efc1]
  • [model] Move GuildWelcomeScreen and dependant types into a separate module ([@​nickelc]) [c:bc46711]
  • [misc] Improve usage of the cdn! macro ([@​nickelc]) [c:9a2cce8]
  • [http] Remove manual deserialization of DiscordJsonError ([@​nickelc]) [c:080f5b0]
  • [model] Move GatewayIntents to model ([@​Gentoli]) [c:f46bbc8]
  • [http] Change methods on Http to take &JsonMap instead of JsonMap ([@​mkrasnitski]) [c:b1389aa]
  • [misc] Replace the actions-rs GitHub actions with equivalent commands ([@​nickelc]) [c:48de0e5]
  • [misc] Allow clippy::unwrap_used for tests globally ([@​nickelc]) [c:f9f6079]
  • [misc] Speed up the Examples build job by just checking instead of building ([@​nickelc]) [c:34881b9]
  • [model] Refactor GuildWelcomeChannel and dependant types ([@​nickelc]) [c:dfe38c2]
  • [utils] Move the hashmap_to_json_map function into the json module ([@​nickelc]) [c:34c484c]
  • [model] Move the event deserialization of Role creation and update into a helper function ([@​nickelc]) [c:25cdfeb]
  • [client] Streamline EventHandler by removing redundant guild_id parameters ([@​nickelc]) [c:a5f9a4f]
  • [model] Deserialize the GuildMembersChunkEvent struct manually ([@​nickelc]) [c:ae93570]
  • [model] Move User's discriminator de-/serialization into the model::user module ([@​nickelc]) [c:178f62c]
  • [model] Move Discord's snowflake de-/serialization into the model::id module ([@​nickelc]) [c:68d5049]
  • [model] Use serde's primitive integer deserializers for Discord's integer bitflags ([@​nickelc]) [c:7a38ad1]
  • [model] Use type inference in serde functions ([@​nickelc]) [c:d504bf2]
  • [misc] Change matches where the match expression is a bool to be more idiomatic ([@​nickelc]) [c:cb5d090]
  • [model] Reuse the HashMap values serialization in the other serde modules ([@​nickelc]) [c:5ce8177]
  • [model] Add serde visitor to deserialize sequences directly as hashmaps. ([@​nickelc]) [c:e57433f]
  • [model] Move serde functions into modules to be used with #[serde(with = "...")] ([@​nickelc]) [c:173c1a6]
  • [misc] Increase MSRV to 1.51 ([@​nickelc]) [c:590437b]
  • [http] Convert HttpBuilder to be synchronous ([@​Some-Dood]) [c:fa68bb1]
  • [examples] Update dependencies in examples and the library ([@​vicky5124]) [c:228ee8e]
  • [model] Rename the category_id field of channel types to parent_id ([@​AldanTanneo]) [c:cf1a897]
  • [model] Rename ApplicationCommand message type to ChatInputCommand ([@​HarmoGlace]) [c:bc9315c]
  • [cache] Make the cache synchronous and switch to DashMap in its internals ([@​vicky5124]) [c:9e2b9df]
  • [model] Add fallback to HTTP for Message::channel ([@​kangalioo]) [c:c889c7e]
  • [framework] Change return signatures of help commands to return Results ([@​acdenisSK]) [c:a8cd62d]
  • [model] Make Embed::colour an Option ([@​drklee3]) [c:5223ea0]
  • [model] Make RichInvite::inviter optional and replace InviteUser with User ([@​acdenisSK]) [c:82e5095]
  • [misc] Update to reqwest v0.11.7 and async-tungstenite v0.16 ([@​nickelc]) [c:c80084c] [c:d1a3ded] [c:a168913]
Fixed
  • [misc] Fix minor issues with doc comments & examples ([@​nickelc]) [c:d3ae156]
  • [misc] Fix compilation error ([@​nickelc]) [c:1dbe9f1]
  • [misc] Fix clippy warnings suggested by clippy::pedantic ([@​nickelc]) [c:f6a3700]
  • [model] Fix parsing interactions with DM channel argument ([@​kangalioo]) [c:f6c4db0]
  • [misc] Fix unused_imports warning ([@​nickelc]) [c:a9d1919]
  • [ci] Fix typo in environment variable in Publish docs build job ([@​nickelc]) [c:11fff2f]
  • [http] Fix docstring of Route::ChannelsIdMessagesId ([@​mkrasnitski]) [c:1a9bb54]
  • [misc] Fix usage of builder pattern across code, docs, and examples ([@​mkrasnitski]) [c:36e0909]
  • [builder] Clarify documentation for using components with webhooks ([@​mkrasnitski]) [c:87f5bae]
  • [model] Fix the mapping of the Change::Type variant ([@​nickelc]) [c:3f93af8]
  • [model] Fix serialization of the role/user ID in PermissionOverwrite ([@​nickelc]) [c:1f13d70]
  • [model] Fix broken resolving logic for AttachmentType::Image ([@​mkrasnitski]) [c:0632019]
  • [model] Fix missing communication_disabled_until data in member update & chunk events ([@​nickelc]) [c:bb638c0]
  • [misc] Fix & deny intra-doc links to private items ([@​nickelc]) [c:86a5861]
  • [misc] Fix unused import & function warnings for certain feature combinations ([@​nickelc]) [c:6139a63]
  • [misc] Fix clippy warnings ([@​nickelc] [@​acdenisSK]) [c:f724aec] [c:56a9fcb] [c:508864d] [c:2060cfb] [c:111f437]
  • [model] Fix lifetime definitions for builders with attachments ([@​acdenisSK]) [c:65c0122]
  • [misc] Update JOIN_MESSAGES constant to be up to date ([@​acdenisSK]) [c:6219fec]
  • [examples] Fix the e09_create_message_builder example when the time feature is enabled ([@​nickelc]) [c:74f4396]
  • [model] Fix ID type deserialization from signed integers ([@​nickelc]) [c:ba84c77]
  • [misc] Allow feature combination builder,unstable_discord_api ([@​Gentoli]) [c:eda64a6]
  • [model] Fix faulty (de)serialization of ActivityFlags ([@​nickelc]) [c:1725627]
  • [model] Fix faulty (de)serialization of MessageFlags and missing constants ([@​nickelc]) [c:1a0cc66]
  • [model] Fix the EmojiId serialization in the ReactionType serialization ([@​nickelc]) [c:5114d80]
  • [model] Replace some incorrect usage of UserId with ApplicationId ([@​kangalioo]) [c:4b2c4d9]
  • [client] Update the cache when a thread is created, updated, or removed ([@​xMAC94x]) [c:c95bcd3]
  • [model] Fix serialisation and deserialisation of Integration::synced_at ([@​vicky5124]) [c:983d0e4]
  • [model] Fix deserialisation of PresenceUser's discriminator field ([@​acdenisSK]) [c:584d3a9]
  • [model] Return a proper error type for EmojiIdentifier's FromStr impl ([@​kangalioo]) [c:faebd0c]
  • [model] Fix Message::edit's lifetimes ([@​acdenisSK]) [c:22a3f64]
  • [model] Correctly cache guild categories on add/delete/update ([@​drklee3]) [c:3b2b18c]
  • [model] Ensure Activity::url is a valid URL at a type-level ([@​hybras]) [c:3f985b5]
  • [model] Alter deserialisation of Presence::user to properly handle optional fields ([@​kangalioo]) [c:a3a861c]
  • [misc] Fix common spelling mistakes using codespell ([@​acdenisSK]) [c:4eee51c]
  • [misc] Fix typo (titel -> title) ([@​acdenisSK]) [c:519ea83]
  • [model] Update communication_disabled_until field if cached member exists ([@​drklee3]) [c:7a8adfb]
  • [model] Fix mention syntax of guild emojis ([@​pascalharp]) [c:48ca506]
Removed
  • [misc] Remove the Error::Num enum variant ([@​nickelc]) [c:2596927]
  • [any] Remove redundant ClientBuilder::application_id field ([@​nickelc]) [c:d7ef273]
  • [misc] Remove the Error::Rustls enum variant ([@​nickelc]) [c:8d3a079]
  • [framework] Remove unused found_group_prefix parameter ([@​vaporox]) [c:e283b51]
  • [misc] Remove unused update_cache_timeout from CacheAndHttp ([@​vaporox]) [c:c2b9445]
  • [misc] Remove *tls_backend_marker features ([@​vaporox]) [c:16661a3]
  • [client] Remove unused client::Extras struct ([@​nickelc]) [c:1ed7ac5]
  • [model] Remove sunsetted store channel type ([@​nickelc]) [c:1976428] [c:8b21193]
  • [misc] Remove superfluous error heading ([@​nickelc]) [c:c92acfd]
  • [model] Remove unused ApplicationInfo & BotApplication structs ([@​nickelc]) [c:1e427c6]
  • [misc] Remove tokio 0.2 compatibility ([@​xfix]) [c:04a57c3]
  • [misc] Remove usage of #[doc(cfg(...))] ([@​acdenisSK]) [c:602bcb6]
  • [model] Remove unused model::guild::Target enum ([@​nickelc]) [c:b767215]
  • [model] Remove manual deserialization of AuditLogs ([@​nickelc]) [c:16dcc69]
  • [misc] Remove deprecated Error::description implementation ([@​nickelc]) [c:63cdeec]
  • [http] Remove usage of Arc for reqwest::Client ([@​vaporox]) [c:a1cdd7f]
  • [model] Remove the unused Component enum ([@​nickelc]) [c:1e11fb4]
  • [misc] Remove deprecated fields, gateway events, endpoints and traits ([@​nickelc]) [c:75062ae]
  • [model] Remove workaround for serde_json's arbitrary_precision feature ([@​nickelc]) [c:bc77218]
  • [misc] Remove superfluous link reference definitions ([@​nickelc]) [c:0bb6bb1] [c:d51b0b1]
  • [model] Remove the manual deserialization of Activity ([@​nickelc]) [c:4e7c60a]
  • [model] Remove obsolete #[cfg(feature = "utils")] attributes on model methods ([@​nickelc]) [c:0675fd1]
  • [model] Remove unused NeverFails error type ([@​nickelc]) [c:5774572]
  • [client] Remove useless lifetime from ClientBuilder ([@​kangalioo]) [c:e6039c4]
  • [model] Remove the VoiceRegion::vip field ([@​almeidx]) [c:e748deb]
  • [gateway] Remove Shard::is_shutdown ([@​rasm47]) [c:0ccb793]
  • [framework] Remove Box indirection on framework. ([@​Lakelezz]) [c:2f48379]
  • [model] Remove invalid GuildChannel::send_message note ([@​MathyouMB]) [c:73ff5ba]
  • [examples] Remove outdated reference to kankyo::load() in example 06 ([@​ben-brook]) [c:db101fd]

v0.10.10

Compare Source

Thanks to the following for their contributions:

Added
  • [misc] Implement missing fields, methods, endpoints, and other values that are documented ([@​vicky5124]) [c:be5cb54]
  • [builder] Add a timeout doc alias to various methods ([@​Milo123459]) [c:1d05a1e]
  • [builder] Add support for enabling slowmode on thread creation ([@​nickelc]) [c:69896e0]
  • [ci] Add GitHub Actions workflow for labeling pull requests ([@​nickelc]) [c:93b66d0]
  • [model] Add banner and accent_color fields to User ([@​drklee3]) [c:9e10d54]
  • [client] Add get_* methods for many ClientBuilder fields ([@​kangalioo]) [c:90dae53]
  • [model] Add support for member timeout ([@​kristopherbullinger]) [c:944cd54]
  • [utils] Add get_webhook_from_url ([@​mkrasnitski]) [c:b026f00] [c:6bd2f74] [c:7b89775]
  • [examples] Add an example for message components ([@​pascalharp]) [c:ee00e92]
  • [examples] Add step for installing cargo make to the Running Examples section ([@​kafinsalim]) [c:47a297b]
  • [model] Add support for min_value and max_value to slash command options ([@​kangalioo]) [c:cfd518e]
  • [model] Add SUPPRESS_JOIN_NOTIFICATION_REPLIES system channel flag ([@​almeidx]) [c:6121fd0]
  • [model] Add support for Autocomplete interactions ([@​Th3-M4jor]) [c:c322657]
  • [misc] Format code in documentation comments ([@​acdenisSK]) [c:5b84896]
  • [client] Add a method to ClientBuilder for retrieving the current token ([@​kangalioo]) [c:6f87d25]
  • [utils] Add Discord's new branding, CSS & role colours ([@​nickelc]) [c:c0463c0]
  • [misc] Add poise to the "Projects extending Serenity" section ([@​vicky5124]) [c:bfb5f13]
  • [model] Add channel types to application command options ([@​vicky5124]) [c:5a700f7]
  • [model] Add new audit log models for STAGE_INSTANCE, STICKER, and THREAD ([@​woongzeyi]) [c:0bc3ce0]
  • [model] Add defer helper methods for deferring interactions ([@​Milo123459]) [c:d50628e]
  • [examples] Add a database example using SQLite ([@​kangalioo]) [c:02a5e15]
  • [model] Add support for editing threads ([@​lhjt]) [c:afeb76e]
  • [ci] Use a better cache designed for Rust software in CI ([@​Milo123459]) [c:c74162c]
  • [examples] Add a simple web dashboard example ([@​vicky5124]) [c:6c5aa4d]
  • [model] Add new invite fields ([@​vicky5124]) [c:cf4e216]
  • [model] Add ApplicationCommand::version field ([@​HarmoGlace]) [c:c85d44a]
  • [http] Add the guild active threads endpoint ([@​HarmoGlace]) [c:93d6ab8]
  • [builder] Implement From<Datetime> for Timestamp ([@​drklee3]) [c:b905554]
  • [command_attr] Add undocumented #[required_permissions(perms)] requirements ([@​woongzeyi]) [c:f9de6c5]
  • [http] Add paths to HTTP errors ([@​Splingush]) [c:2da46a8]
  • [builder] Add a set_component method to respective builders ([@​JellyWX]) [c:99eba2b]
  • [model] Support context menus ([@​HarmoGlace]) [c:e87293e]
  • [model] Add ContextMenuCommand message type ([@​HarmoGlace]) [c:2a571d3]
Changed
  • [model] Mark the model::guild::GuildStatus enum as deprecated ([@​nickelc]) [c:bd1342e]
  • [model] Suppress deprecation warning for the use of Region ([@​nickelc]) [c:2dcb9b3]
  • [builder] Deprecate slow_mode_rate/rate_limit methods and field ([@​nickelc]) [c:5c1e31e]
  • [builder] Update the notice about the max value for the "per user" ratelimit ([@​nickelc]) [c:32f4430]
  • [model] Mark the model::guild::Region enum as deprecated ([@​nickelc]) [c:6d476cf]
  • [model] Improve the download of Attachments by calling Bytes::to_vec ([@​nickelc]) [c:f630f32]
  • [examples] Refactor examples 03 and 13 to better use the builder pattern ([@​mkrasnitski]) [c:34c2f22]
  • [examples] Refactor example 09 to more idiomatically use the builder pattern ([@​mkrasnitski]) [c:4f7dad7]
  • [misc] Increase MSRV to 1.51 ([@​acdenisSK]) [c:04fc541]
  • [model] Use the write_all variant in the Attachment::download example ([@​acdenisSK]) [c:a8b4e2f]
  • [misc] Use Formatter::write_str directly instead of writeln for string literals ([@​nickelc]) [c:6a0106c]
  • [model] Use the permission flags for the permissions::PRESET_* constants ([@​nickelc]) [c:fc7c76a]
  • [model] Use bitshift notation for the values of Discord's bit flags ([@​nickelc]) [c:57a2e4d]
  • [model] Make the u64 value of AttachmentIds public ([@​nickelc]) [c:5379d3e]
  • [model] Simplify the *Id::created_at method by using Utc.timestamp_millis ([@​nickelc]) [c:1977e9f]
  • [misc] Set rustfmt edition to match library edition ([@​mkrasnitski]) [c:4f2a73b]
  • [misc] Remove old version of time from dependency tree ([@​KaDiWa4]) [c:d9c8980]
  • [framework] Change Configuration::prefix to accept types that implement ToString ([@​mkrasnitski]) [c:738465f]
  • [gateway] Remove guilds from cache if they were removed between a disconnect and a ready ([@​squili]) [c:b21f053]
  • [internal] Put the internal tokio module behind tokio* features ([@​nickelc]) [c:921ff6f]
  • [examples] Use ClientBuilder::type_map_insert in examples where it makes sense ([@​nickelc]) [c:c3358cf]
  • [examples] Simplify tracing_subscriber initialization in the examples ([@​nickelc]) [c:46f7608]
  • [ci] Specify MSRV for clippy and use stable toolchain for the lint job ([@​nickelc]) [c:bade6e5]
  • [misc] Replace instances of tokio::spawn with spawn_named ([@​Milo123459] [@​acdenisSK]) [c:5f81d4a] [c:247c073] [c:b2197db]
  • [voice] Replace some instances of match with the matches! macro ([@​Milo123459]) [c:6987175]
  • [utils] Fall back to Member parsing if User is not in the cache in ArgumentConvert ([@​kangalioo]) [c:6085aad]
  • [model] Define Sticker::pack_id as optional ([@​Atakku]) [c:cf040cb]
  • [model] Guarantee the MessageComponentInteraction::message to not be partial ([@​HarmoGlace]) [c:f915fee]
Fixed
  • [examples] Fix a typo in example 12 ([@​Vaimer9]) [c:38b11da]
  • [model] Fix documentation typo in Message::crosspost ([@​OverHash]) [c:b180f21]
  • [model] Fix non-idiomatic comment ([@​nickelc]) [c:f70112d]
  • [model] Fix panic in ReactionType deserialization ([@​nickelc]) [c:fe946df]
  • [model] Fix faulty (de)serialization of InteractionApplicationCommandDataFlags ([@​nickelc]) [c:62b9c84]
  • [model] Fix the example for permissions::PRESET_GENERAL ([@​nickelc]) [c:707697e]
  • [command_attr] Fix #[help] to generate its variables without an extra underscore ([@​JohnTheCoolingFan]) [c:df47df1]
  • [model] Fix Permissions bitflags ([@​AldanTanneo]) [c:0acabdf]
  • [misc] Make the library compilable with minimal dependency versions ([@​lo48576]) [c:37e33bd]
  • [model] Perform owner check when calculating permissions for a member ([@​acdenisSK]) [c:ccf0d5b]
  • [misc] Clean up Clippy errors ([@​mdonoughe]) [c:2eeb336]
  • [framework] Handle Unicode double-quote characters when parsing arguments ([@​acdenisSK]) [c:9bfc1e7]
  • [builder] Fix permission overwrites by sending Discord the correct overwrite types ([@​woongzeyi]) [c:f36b4c1]
  • [misc] Fix compilation without default features ([@​nickelc]) [c:0611e2c]
  • [framework] Check for discrepancies in default commands of groups ([@​acdenisSK]) [c:cfbb7b3]
  • [misc] Apply fixes by clippy ([@​Milo123459]) [c:7e1a64e]
  • [command_attr] Fix support for raw identifiers in command_attr's macros ([@​Friz64]) [c:5b7a23c]
  • [utils] Use the correct method for formatting an emoji in MessageBuilder documentation ([@​mbenoukaiss]) [c:eb29760]
  • [model] Make CreateApplicationCommandPermissions public and fix documentation links ([@​squili]) [c:7392f3f]
Removed
  • [model] Remove unused #[serde(deserialize_with = "..")] attribute ([@​nickelc]) [c:e848af8]
  • [misc] Remove #[tokio::test] from synchronous tests ([@​nickelc]) [c:0d1c88e]
  • [utils] Remove unused function names from the colour! macro ([@​nickelc]) [c:096d1da]

v0.10.9

Compare Source

Thanks to the following for their contributions:

Added
  • [model] Add model methods for creating public and private threads ([@​acdenisSK]) [c:dbf4d68]
  • [client/cache] Add support for defining cache settings in the Client builder. ([@​Splingush]) [c:ea8ec29]
  • [builder] Add 'number' type to ApplicationCommandOption ([@​Splingush]) [c:312ae16]
  • [collector] Add a generic collector for events ([@​sbrocket]) [c:3117f1d]
  • [model] Mention the type of event that failed to deserialise ([@​acdenisSK]) [c:1d446fe]
  • [model] Add methods to Event to get related user, guild, channel, and message IDs ([@​sbrocket]) [c:0aa1a6c]
  • [model] Derive PartialEq, Eq, PartialOrd, Ord, and Hash for UserPublicFlags ([@​KangarooCoder]) [c:e7ba5bf]
  • [cache] Add method Cache::channel_messages_field ([@​kangalioo]) [c:ca02662]
  • [http/builder/model] Add support for generation of invite links with custom OAuth2 scopes ([@​vicky5124]) [c:50cd285]
  • [model] Switch to API v9 and add support for threads ([@​HarmoGlace]) [c:4c53b48]
  • [model] Add field Guild::stage_instances ([@​HarmoGlace]) [c:13cf056]
  • [model] Support stage instances ([@​HarmoGlace]) [c:3e6d131]
  • [model] Add support for guild search members endpoint ([@​drklee3]) [c:09b523d]
  • [model] Add avatar field to member update event ([@​drklee3]) [c:4f488f8]
  • [http] Add support for fetching the current user's connections ([@​Dinnerbone]) [c:6a400f9]
  • [http] Allow passing bearer tokens to Http::new_with_token ([@​squili]) [c:537753b]
  • [model] Add support for per guild avatars ([[@​drklee3](https://togithu

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/serenity-0.x branch from dff6344 to f1f7147 Compare May 14, 2021 15:49
@renovate renovate bot changed the title Update Rust crate serenity to 0.10.6 Update Rust crate serenity to 0.10.7 May 14, 2021
@renovate renovate bot force-pushed the renovate/serenity-0.x branch from f1f7147 to 0217fe2 Compare June 12, 2021 13:12
@renovate renovate bot changed the title Update Rust crate serenity to 0.10.7 Update Rust crate serenity to 0.10.8 Jun 12, 2021
@renovate renovate bot changed the title Update Rust crate serenity to 0.10.8 Update Rust crate serenity to 0.10.9 Oct 20, 2021
@renovate renovate bot force-pushed the renovate/serenity-0.x branch from 0217fe2 to 66b81c1 Compare October 20, 2021 06:33
@renovate renovate bot force-pushed the renovate/serenity-0.x branch from 66b81c1 to bf0e594 Compare March 7, 2022 10:29
@renovate renovate bot changed the title Update Rust crate serenity to 0.10.9 Update Rust crate serenity to 0.10.10 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/serenity-0.x branch from bf0e594 to a2ebaa1 Compare April 24, 2022 17:37
@renovate renovate bot changed the title Update Rust crate serenity to 0.10.10 Update Rust crate serenity to 0.11.1 Apr 24, 2022
@renovate renovate bot force-pushed the renovate/serenity-0.x branch from a2ebaa1 to 8537bd7 Compare May 15, 2022 20:53
@renovate renovate bot changed the title Update Rust crate serenity to 0.11.1 Update Rust crate serenity to 0.11.2 May 15, 2022
@renovate renovate bot force-pushed the renovate/serenity-0.x branch from 8537bd7 to b5fab90 Compare September 25, 2022 18:00
@renovate renovate bot changed the title Update Rust crate serenity to 0.11.2 Update Rust crate serenity to 0.11.5 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/serenity-0.x branch from b5fab90 to 76ac3a9 Compare November 20, 2022 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants