diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a3a23fd3..ad5c93cbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,40 @@ +## 6.2.0 +__20.03.2024__ + +- feat: Add support for Group DM endpoints when using an OAuth client. +- feat: Add support for `username` and `avatarUrl` parameters for webhooks. +- feat: Add `Spanish, LATAM` locale. +- bug: Fix events being dropped when plugins had async initialization. +- bug: Return an empty list instead of throwing when fetching the permission overrides of a command that has none. +- feat: Add ratelimits when sending Gateway events. +- bug: Allow any `Flags` in `RoleUpdateBuilder.permissions`. +- bug: Export types that were previously kept private. +- feat: Allow plugins to intercept HTTP requests and Gateway events. +- bug: Fix `MessageManager.bulkDelete` not serializing the request correctly. +- bug: Fix `GuildDeleteEvent`s not being parsed when `unavailable` was not explicitly set. +- bug: Correct serialization of guild builders. +- bug: Correct value of `TriggerType.spam`. +- docs: Hide constructors from documentation. +- bug: Fix parsing role flags in guild templates. +- bug: Fix `isHoisted` attribute in role builders. +- bug: Fix all audit log parameters in `StickerManager`, `EmojiManager` and `WebhookManager.update` +- bug: Fix `interactionsEndpointUrl` being ignored in `ApplicationUpdateBuilder` +- feat: Add more shortcut methods on models. +- feat: Add `enforceNonce` to `MessageBuilder`. +- feat: Add missing role tags fields. +- bug: Correct the default `User-Agent` header. +- bug: Don't require OAuth2 identify scope when using `NyxxOauth2`. +- feat: Add field to delete events containing the cached entity before it was deleted. +- feat: Add builders for auto moderation actions. +- bug: Initialize login sooner to avoid dropping logs. +- feat: Add `banner` to `UserUpdateBuilder`. +- feat: Add `SkuFlags.available`. +- feat: Add bungie, domain and roblox connection types. +- feat: Add support for user applications. +- feat: Add `bulkBan` to `GuildManager`. + ## 6.1.0 -__09.21.2023__ +__09.12.2023__ - feat: Add payload to `EntitlementDeleteEvent`. - feat: Add `flags` field to `Sku`. diff --git a/lib/src/api_options.dart b/lib/src/api_options.dart index 7d54e6d22..1cfc8c522 100644 --- a/lib/src/api_options.dart +++ b/lib/src/api_options.dart @@ -6,7 +6,7 @@ import 'package:oauth2/oauth2.dart'; /// Options for connecting to the Discord API. abstract class ApiOptions { /// The version of nyxx used in [defaultUserAgent]. - static const nyxxVersion = '6.1.0'; + static const nyxxVersion = '6.2.0'; /// The URL to the nyxx repository used in [defaultUserAgent]. static const nyxxRepositoryUrl = 'https://github.com/nyxx-discord/nyxx'; diff --git a/pubspec.yaml b/pubspec.yaml index bc6e62949..99e93c4ee 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: nyxx -version: 6.1.0 +version: 6.2.0 description: A complete, robust and efficient wrapper around Discord's API for bots & applications. homepage: https://github.com/nyxx-discord/nyxx repository: https://github.com/nyxx-discord/nyxx