Bump version

This commit is contained in:
Szymon Uglis 2021-04-25 14:54:42 +02:00
parent 60b86190c5
commit 9555a73447
No known key found for this signature in database
GPG key ID: AA55C76D0E11A7E3
9 changed files with 20 additions and 20 deletions

View file

@ -1,5 +1,5 @@
## 2.0.0-rc.2
_07.04.2020_
## 2.0.0-rc.3
_25.04.2021_
> **Release Candidate 2 for stable version. Requires dart sdk 2.12**
@ -21,6 +21,7 @@ _07.04.2020_
- Fixed setPresence method (fbb9c39) @One-Nub
- Added missing delete() method to IChannel (131ecc0)
- Added support for stage channels
- Added cache options for user
## 1.0.2
_08.09.2020_
@ -238,4 +239,3 @@ _Fri 06.07.2018_
* Added missing gateway events
* Replaced String ids with `Snowflake` type
- **Bug fixes**

View file

@ -40,7 +40,7 @@ class Shard implements Disposable {
Duration _gatewayLatency = const Duration(); // latency of discord
late DateTime _lastHeartbeatSent; // Datetime when last heartbeat was sent
bool _heartbeatAckReceived = false; // True if last heartbeat was acked
Shard._new(this.id, this.manager, String gatewayUrl) {
this._receivePort = ReceivePort();
this._receiveStream = _receivePort.asBroadcastStream();
@ -197,10 +197,10 @@ class Shard implements Disposable {
if (discordPayload["s"] != null) {
this._sequence = discordPayload["s"] as int;
}
await _dispatch(discordPayload);
}
Future<void> _dispatch(Map<String, dynamic> rawPayload) async {
switch (rawPayload["op"] as int) {
case OPCodes.heartbeatAck:
@ -405,7 +405,7 @@ class Shard implements Disposable {
}
break;
}
}
}
@override
Future<void> dispose() async {

View file

@ -1,5 +1,5 @@
name: nyxx
version: 2.0.0-rc.2
version: 2.0.0-rc.3
description: A Discord library for Dart.
homepage: https://github.com/l7ssha/nyxx
repository: https://github.com/l7ssha/nyxx

View file

@ -1,5 +1,5 @@
## 2.0.0-rc.2
_07.04.2020_
## 2.0.0-rc.3
_25.04.2021_
> **Release Candidate 2 for stable version. Requires dart sdk 2.12**

View file

@ -1,5 +1,5 @@
name: nyxx_commander
version: 2.0.0-rc.2
version: 2.0.0-rc.3
description: A Discord library for Dart.
homepage: https://github.com/l7ssha/nyxx
repository: https://github.com/l7ssha/nyxx
@ -12,4 +12,4 @@ environment:
dependencies:
http: "^0.13.1"
logging: "^1.0.1"
nyxx: "2.0.0-rc.1"
nyxx: "2.0.0-rc.3"

View file

@ -1,5 +1,5 @@
## 2.0.0-rc.2
_07.04.2020_
## 2.0.0-rc.3
_25.04.2021_
> **Release Candidate 2 for stable version. Requires dart sdk 2.12**

View file

@ -1,5 +1,5 @@
name: nyxx_extensions
version: 2.0.0-rc.2
version: 2.0.0-rc.3
description: Extensions for Nyxx library
homepage: https://github.com/l7ssha/nyxx
repository: https://github.com/l7ssha/nyxx
@ -11,4 +11,4 @@ environment:
dependencies:
http: "^0.13.1"
nyxx: "2.0.0-rc.2"
nyxx: "2.0.0-rc.3"

View file

@ -1,5 +1,5 @@
## 2.0.0-rc.2
_07.04.2020_
## 2.0.0-rc.4
_21.04.2021_
> **Release Candidate 2 for stable version. Requires dart sdk 2.12**

View file

@ -1,5 +1,5 @@
name: nyxx_interactions
version: 2.0.0-rc.3
version: 2.0.0-rc.4
description: Interactions for Nyxx library
homepage: https://github.com/l7ssha/nyxx
repository: https://github.com/l7ssha/nyxx
@ -11,4 +11,4 @@ environment:
dependencies:
logging: "^1.0.1"
nyxx: "2.0.0-rc.2"
nyxx: "2.0.0-rc.3"