Skip to content

Commit

Permalink
Bump to v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyla Hellyer committed Jan 20, 2018
1 parent 7f4dbc2 commit 551f952
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
All notable changes to this project will be documented in this file.
This project mostly adheres to [Semantic Versioning][semver].

## [0.5.0] - 2018-01-19
## [0.5.0] - 2018-01-20

This release is a rewrite of the client and gateway internals with a minimal
amount of breaking changes for userland code. These changes are mainly to
Expand Down Expand Up @@ -36,7 +36,8 @@ Thanks to the following for their contributions:
### Upgrade Path

Per [c:91c8ec4], the `Guild::default_channel` and
`Guild::default_channel_guarenteed` methods now return `Option<Arc<Mutex<GuildChannel>>>` instead of `Option<GuildChannel>`. This
`Guild::default_channel_guarenteed` methods now return
`Option<Arc<Mutex<GuildChannel>>>` instead of `Option<GuildChannel>`. This
avoids a clone. To access the channel, you just have to retrieve a read or write
lock by doing `guild.default_channel()?.read()` or
`guild.default_channel()?.write()`.
Expand Down Expand Up @@ -277,6 +278,8 @@ building ([@zeyla]) [c:7566f32]
- [model] Add some role hierarchy position checks ([@zeyla]) [c:222382c]
- [framework] Add missing `correct roles` checks in help commands ([@Lakelezz])
[c:470f366]
- [framework] Fix multibyte character-based prefixes ([@UninterestinAcc])
[c:e611776]

### Changed

Expand Down Expand Up @@ -1876,7 +1879,8 @@ rest::get_guilds(GuildPagination::After(GuildId(777)), 50);

Initial commit.

[0.4.7]: https://github.com/zeyla/serenity/compare/v0.4.7...v0.5,0
[0.5.0]: https://github.com/zeyla/serenity/compare/v0.4.7...v0.5.0
[0.4.5]: https://github.com/zeyla/serenity/compare/v0.4.4...v0.4.5
[0.4.4]: https://github.com/zeyla/serenity/compare/v0.4.3...v0.4.4
[0.4.3]: https://github.com/zeyla/serenity/compare/v0.4.2...v0.4.3
[0.4.2]: https://github.com/zeyla/serenity/compare/v0.4.1...v0.4.2
Expand Down Expand Up @@ -2036,6 +2040,7 @@ Initial commit.
[c:e02a842]: https://github.com/zeyla/serenity/commit/e02a842fb76b1e591287395ac223cc1c04913820
[c:e0e7617]: https://github.com/zeyla/serenity/commit/e0e76173f63b6071b9df3ff8f53371b4b6c4ee1e
[c:e5a6f3a]: https://github.com/zeyla/serenity/commit/e5a6f3a8ed367bd3d780fd23a0a27f8a80567879
[c:e611776]: https://github.com/zeyla/serenity/commit/e6117760e3c020ed41d643a8b34d7bfeb62d3bfa
[c:e678883]: https://github.com/zeyla/serenity/commit/e6788838556d13d4a4f19253ce297ca2f72168ee
[c:e748d1f]: https://github.com/zeyla/serenity/commit/e748d1ff80dbbeb82b23f8ac9fec9cf8c7e4a69e
[c:eb9e8df]: https://github.com/zeyla/serenity/commit/eb9e8dfbc9d778de405d7369579d90c49a2bf90c
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl EventHandler for Handler {}
fn main() {
// Login with a bot token from the environment
let mut client = Client::new(&env::var("DISCORD_TOKEN").expect("token"), dler)
let mut client = Client::new(&env::var("DISCORD_TOKEN").expect("token"), Handler)
.expect("Error creating client");
client.with_framework(StandardFramework::new()
.configure(|c| c.prefix("~")) // set the bot's prefix to "~"
Expand Down Expand Up @@ -80,7 +80,7 @@ Add the following to your `Cargo.toml` file:

```toml
[dependencies]
serenity = "0.4"
serenity = "0.5"
```

and to the top of your `main.rs`:
Expand All @@ -98,9 +98,9 @@ Cargo.toml:

```toml
[dependencies.serenity]
git = "https://github.com/zeyla/serenity.git"
default-features = false
features = ["pick", "your", "feature", "names", "here"]
version = "0.5"
```

The following is a full list of features:
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
//!
//! ```toml
//! [dependencies]
//! serenity = "0.4"
//! serenity = "0.5"
//! ```
//!
//! and to the top of your `main.rs`:
Expand Down

0 comments on commit 551f952

Please sign in to comment.