File tree 4 files changed +22
-12
lines changed
4 files changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ Use smart commits here to manipulate issues (eg. Fixes #issue)
6
6
7
7
## Connected issues & potential other potential problems
8
8
9
- If changes are connected to other issues or are affecting code in other parts of framework
10
- (e.g. in main package or any subpackage) make sure to link and describe where and why problem could be present
9
+ If changes in PR are connected to other issues or are affecting code in other parts of framework
10
+ (e.g. in main package or any other subpackage) make sure to link issue/PR and describe said problem
11
11
12
12
## Type of change
13
13
Original file line number Diff line number Diff line change
1
+ ## 3.0.0-dev.0
2
+ __ 24.11.2021__
3
+
4
+ - Implemented new interface-based entity model.
5
+ > All concrete implementations of entities are now hidden behind interfaces which exports only behavior which is
6
+ > intended for end developer usage. For example: User is now not exported and its interface ` IUser ` is available for developers.
7
+ > This change shouldn't have impact of end developers.
8
+
9
+ Other changes are initial implementation of unit and integration tests to assure correct behavior of internal framework
10
+ processes. Also added ` Makefile ` with common commands that are run during development.
11
+
1
12
## 2.0.0
2
13
_ 03.10.2021_
3
14
Original file line number Diff line number Diff line change @@ -4,7 +4,12 @@ import "package:nyxx_lavalink/nyxx_lavalink.dart";
4
4
import "package:nyxx/nyxx.dart" ;
5
5
6
6
void main () async {
7
- final client = NyxxFactory .createNyxxWebsocket (Platform .environment["DISCORD_TOKEN" ]! , GatewayIntents .allUnprivileged);
7
+ final client = NyxxFactory .createNyxxWebsocket ("<TOKEN>" , GatewayIntents .allUnprivileged)
8
+ ..registerPlugin (Logging ()) // Default logging plugin
9
+ ..registerPlugin (CliIntegration ()) // Cli integration for nyxx allows stopping application via SIGTERM and SIGKILl
10
+ ..registerPlugin (IgnoreExceptions ()) // Plugin that handles uncaught exceptions that may occur
11
+ ..connect ();
12
+
8
13
final cluster = ICluster .createCluster (client, Snowflake ("YOUR_BOT_ID" ));
9
14
10
15
// This is a really simple example, so we'll define the guild and
Original file line number Diff line number Diff line change @@ -10,19 +10,13 @@ environment:
10
10
sdk : ' >=2.13.0 <3.0.0'
11
11
12
12
dependencies :
13
- http : " ^0.13.3"
14
- logging : " ^1.0.1"
15
- nyxx : " ^2 .0.0"
13
+ http : ^0.13.3
14
+ logging : ^1.0.1
15
+ nyxx : ^3 .0.0-dev.0
16
16
17
17
dev_dependencies :
18
18
build_runner : ^2.1.4
19
19
coverage : ^1.0.3
20
20
lints : ^1.0.1
21
21
mockito : ^5.0.16
22
22
test : ^1.19.0
23
-
24
- dependency_overrides :
25
- nyxx :
26
- git :
27
- url : ' https://github.com/nyxx-discord/nyxx.git'
28
- ref : next
You can’t perform that action at this time.
0 commit comments