diff --git a/DisCatSharp.Docs/changelogs/toc.yml b/DisCatSharp.Docs/changelogs/toc.yml index b07eb050b..b65c68b69 100644 --- a/DisCatSharp.Docs/changelogs/toc.yml +++ b/DisCatSharp.Docs/changelogs/toc.yml @@ -3,6 +3,8 @@ - name: Version 10.X expanded: true items: + - name: Version 10.4.2 + href: v10/10_4_2.md - name: Version 10.4.0 href: v10/10_4_0.md - name: Version 10.3.0 diff --git a/DisCatSharp.Docs/changelogs/v10/10_4_2.md b/DisCatSharp.Docs/changelogs/v10/10_4_2.md new file mode 100644 index 000000000..e835d7068 --- /dev/null +++ b/DisCatSharp.Docs/changelogs/v10/10_4_2.md @@ -0,0 +1,117 @@ +--- +uid: changelogs_v10_10_4_2 +title: Version 10.4.2 +author: DisCatSharp Team +--- + +# Upgrade from **10.4.0** to **10.4.2** +
+ +---- +## What Is New In DisCatSharp? +
+ +πŸ†• Support for default select menu values + +πŸ†• Support for onboarding + +πŸ†• Support for custom status + +πŸ†•Brand new [DiscordOAuth2Client](xref:modules_oauth2_oauth2_client) + +---- +## What Changed? +
+ +### DisCatSharp + +βž• Added DiscordGuild.BanMemberAsync(DiscordUser, int, string) +βž• Added DiscordIntegration.EnableEmoticons +βž• Added DiscordRole.Members +βž• Added DiscordRole.Guild +βž• Added IsCommunicationDisabled to DiscordMember +βž• New Constructor DiscordOverwriteBuilder(DiscordOverwrite) +βž• Added DiscordOverwriteBuilder.Unset +βž• Added DiscordOverwriteBuilder.Remove(Permissions) +βž• Changed Target of DiscordOverwriteBuilder to ulong +βž• Added SetTarget to DiscordOverwriteBuilder (alias for For) +βž• New Extensions for IEnumerable & IEnumerable: Merge(..) +βž• Implicit conversion from DiscordOverwrite to DiscordOverwriteBuilder +βž• Added SubCommandName & FullCommandName to BaseContext +βž• Added channel type 16 +βž• Added guild incident message types +βž• Added Lavalink V4 under the Lavalink namespace & package +βž• Added experimental support for GCP +βž• Enabled the usage of subcommands and subgroups alongside within groups +βž• Added channel topic update event +βž• Added OAuth2Client +βž• Allow bots to set custom status +βž• Addition of DiscordEmoji.UnicodeEmoji +βž• New permission UseClydeAi +βž• Added voice channel status +βž• Added iframe modals +βž• Added application command contexts +βž• Added full premium apps support +βž• Added IncidentsData (Security Actions) +βž• Added incident actions (security actions) methods +βž• Added application command integration types +βž• Supported pre-selected values for user, role, and channel selects +βž• Added PaginationButtons constants for custom ids: + - SKIP_LEFT_CUSTOM_ID + - LEFT_CUSTOM_ID + - STOP_CUSTOM_ID + - RIGHT_CUSTOM_ID + - SKIP_RIGHT_CUSTOM_ID +βž• Added new DisCatSharp.ApplicationCommands Attributes + - ApplicationCommandRequireTeamMember + - ApplicationCommandRequireTeamReadOnly + - ApplicationCommandRequireTeamDeveloper + - ApplicationCommandRequireTeamAdmin + - ApplicationCommandRequireTeamOwner + - ApplicationCommandRequireGuildOwner + +⚠️ Removed DiscordEmbedBuilder.AddField(string, string, bool) +⚠️ Removed FromAsync from DiscordOverwriteBuilder +⚠️ Empty DiscordButtonComponent removed +⚠️ Deprecated DisCatSharp.ApplicationCommands Attributes + - Deprecated ApplicationCommandRequireOwner + - Deprecated ApplicationCommandRequireOwnerOrId + +❕ Implemented UpdateCurrentApplication fully, breaking changes +❕ Reworked attributes for app cmd + +πŸ› οΈ Fixed DefaultAvatarUrl for Migrated users +πŸ› οΈ Fixed missing optional for channel edits, causing user limit to be removed +πŸ› οΈ Explicit cache members on DiscordGuild.GetAllMembersAsync +πŸ› οΈ Added discord timezone, for localizized responses +πŸ› οΈ Added optional opt-in sentry reporting +πŸ› οΈ Added automatically api field tracking +πŸ› οΈ Reworked logging +πŸ› οΈ Fixed that component-only builder messages were incorrectly checked +πŸ› οΈ Fixed that the webhook client could not run without a discordclient attached due to accessing configuration in methods +πŸ› οΈ Fixed emoji NRE +πŸ› οΈ Fixed ignore missing audit log stuff for now +πŸ› οΈ Fixed a race-condition bug causing changes in application commands to not be detected, resulting in out-of-sync commands +πŸ› οΈ Fixed an issue where paginated embeds would throw an NRE if called for a slash command interaction +πŸ› οΈ Fixed one-page paginated embeds: All buttons get disabled now if only one page exists (Needs another fix to respect config) + +πŸ› οΈ Permissions enhancements: +- Fixed Permissions.All +- Added voice channel status permission +- Added parameters for ToPermissionString: + - useNewline, default: false, uses \n as separator instead of , + - sortAscending, default: true, sorts permissions by a-z + - includeValue, default: false, returns Permission Name (value) if true + - shortIfAll, default: false, returns All Permissions if true and Permissions.All + +πŸ› οΈ Fixed application command registration checks (Note: Issues with translations are known but not yet resolved) + +### DisCatSharp.Extensions 2.0.0: +βž• Added TwoFactorCommands Extension +βž• Added OAuth2Web Extension + +---- + +[Full Changes](https://github.com/Aiko-IT-Systems/DisCatSharp/compare/v10.4.0...v10.4.2) + +----