Skip to content

Commit

Permalink
Release 6.0.0 (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
abitofevrything authored Oct 16, 2023
1 parent 32507f3 commit 0a70138
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 6.0.0
__16.10.2023__

- rewrite: The entire library has been rewritten from the ground up. No pre-`6.0.0` code is compatible.
To explore the rewrite, check out [the API documentation](https://pub.dev/documentation/nyxx) or the [documentation website](https://nyxx.l7ssha.xyz).
For help migrating, use the [migration tool](https://github.com/abitofevrything/nyxx-migration-script) or join [our Discord server](https://discord.gg/nyxx) for additional help.

#### Changes since 6.0.0-dev.3
- bug: Fix `ModalBuilder` having the incorrect data type.
- feat: Add the new `state` field to `ActivityBuilder`.
- bug: Fix `activities` not being sent in the presence update payload.
- bug: Fix casts when parsing `Snowflake`s triggering errors when using ETF.
- bug: Fix incorrect payload preventing the client from muting/deafening itself.
- bug: Correctly export `NyxxPluginState`.
- feat: Implement all new features since the start of the rewrite (including premium subscriptions).
- bug: Fix incorrect parsing of `MessageUpdateEvent`s.
- feat: Add `logger` to plugins and make `name` inferred from `runtimeType` by default.

## 6.0.0-dev.3
__16.09.2023__

Expand Down
2 changes: 1 addition & 1 deletion lib/src/api_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.0-dev.3';
static const nyxxVersion = '6.0.0';

/// The URL to the nyxx repository used in [defaultUserAgent].
static const nyxxRepositoryUrl = 'https://github.com/nyxx-discord/nyxx';
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: nyxx
version: 6.0.0-dev.3
version: 6.0.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
Expand Down

0 comments on commit 0a70138

Please sign in to comment.