Increment version to 0.23.0

This commit is contained in:
Szymon Uglis 2018-07-30 12:09:40 +02:00
parent a0e510dd40
commit 7a40e6728d
5 changed files with 37 additions and 12 deletions

View file

@ -1,3 +1,27 @@
## [0.23.0](https://github.com/l7ssha/nyxx/compare/0.22.1...0.23.0)
_Mon 30.07.2018_
- **New features**
* Support for services - DEPENDENCY INJECTION
* Support for type parsing
* Logging support
* Listener for messages for channel
* Automatic registering Services and Commands
* `Remainder` annotation which captures all remaining text
* Permissions are now **READ/WRITE** - added PermissionsBuilder
* Checking for topics and if channel is nsfw for commands
- **Bug fixes**
* Fixed error throwing
* Text in quotes is one String
* Fixed StreamControllers to be broadcast
* Removed unnecessary fields from DMChannel and GroupDMChannel
* Big performance improvement of CommandFramework
* Fixed Permissions opcode
* `delay()` changed to `nextMessage()`
- **Deprecations**
* Deprecated browser target
* Removed MirrorsCommandFramework and InstanceCommandFramework
## [0.22.1](https://github.com/l7ssha/nyxx/compare/0.22.0...0.22.1)
_Wed 11.07.2018_

View file

@ -16,22 +16,21 @@ Fork of [Hackzzila's](https://github.com/Hackzzila) [nyx](https://github.com/Hac
### Features
- *Commands framework* <br>
- **Commands framework** <br>
Faster way of creating commands for bot. You just have to implement one class, and initialize framework. Everything is done automatically.
- *Cross Platform* <br>
Nyxx works on the command line, browser, mobile, and can be transpiled to JavaScript.
- *Fine Control* <br>
- **Cross Platform** <br>
Nyxx works on the command line, browser, mobile.
- **Fine Control** <br>
Nyxx allows you to control every outgoing HTTP request or websocket messages.
- *Internal Sharding* <br>
- **Internal Sharding** <br>
Nyxx automatically spawns shards for your bot, but you can override this and spawn a custom number of shards. Internal sharding means that all of your bots servers are managed in one script, no need for communication between shards.
- *Complete* <br>
- **Complete** <br>
Nyxx supports nearly all DiscordAPI endpoints.
### Sample
``` dart
void main() {
discord.configureDiscordForVM();
discord.Client bot =
new discord.Client(Platform.environment['DISCORD_TOKEN']);
@ -60,7 +59,7 @@ Wiki docs are designed to match latest release.
## Roadmap
- [ ] Better dartdocs documentation
- [ ] More examples at wiki/more tutorial/Video tutorial
- [x] More examples at wiki/more tutorial/Video tutorial
- [ ] Bigger bot written in nyxx for example
- [ ] Fix `lint` errors from `dartanalyzer`
- [x] Annotation driver flow for CommandsFramework?

View file

@ -1,5 +1,7 @@
analyzer:
strong-mode: true
exclude:
- lib/src/objects/message/EmojisUnicode.dart
linter:
rules:
- avoid_empty_else
@ -35,4 +37,4 @@ linter:
- sort_unnamed_constructors_first
- type_init_formals
- unnecessary_getters_setters
- package_names
- package_names

View file

@ -20,7 +20,7 @@ class _OPCodes {
class _Constants {
static const String host = "discordapp.com";
static const String baseUri = "/api/v6";
static const String version = "0.22.0";
static const String version = "0.23.0";
/// The gateway OP codes.
static const Map<String, int> opCodes = const <String, int>{

View file

@ -1,8 +1,8 @@
name: nyxx
version: 0.22.1
version: 0.23.0
description: A Discord library for Dart. For of hackzzila's nyx.
authors:
- Szymon 'l7ssha' Uglis <szymon.uglis@tuta.io>
- Szymon Uglis <szymon.uglis@tuta.io>
- Hackzzila <admin@hackzzila.com>
homepage: https://github.com/l7ssha/nyxx
documentation: https://github.com/l7ssha/nyxx