Skip to content

Commit

Permalink
The most significant changes include the update of the project versio…
Browse files Browse the repository at this point in the history
…n from 0.12.0 to 0.13.0, the addition of new contributors, and the update of the `serenity-voice-model` version from 0.1.1 to 0.2.0. There have also been updates to the standard framework description, the addition of new pull requests, and changes to the `ThreadMember` and `GuildId::audit_logs` in the CHANGELOG.md file.

1. The project version has been updated from 0.12.0 to 0.13.0 in the CHANGELOG.md file. The release date has also been updated from 2023-11-19 to 2023-12-03.
2. The list of contributors and authors in the CHANGELOG.md file has been updated with new contributors.
3. The description of the standard framework in the CHANGELOG.md file has been updated to reflect changes in the `configure` method and the `Framework` trait.
4. New pull requests reflecting new features and changes in the project have been added to the CHANGELOG.md file.
5. The `ThreadMember` has been split into `PartialThreadMember` in the CHANGELOG.md file.
6. The `GuildId::audit_logs` now uses dedicated types and `Guild::members_with_status` now returns an iterator instead of a vector in the CHANGELOG.md file.
7. The version of `serenity-voice-model` has been updated from 0.1.1 to 0.2.0 in the Cargo.toml file and in its own Cargo.toml file.
8. The version of the serenity dependency in the README.md file has been updated from 0.11 to 0.13.
  • Loading branch information
nshout committed Dec 3, 2023
1 parent 5570ca9 commit f94bde7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
14 changes: 12 additions & 2 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.12.0] - 2023-11-19
## [0.13.0] - 2023-12-03

This release turned out to be one of serenity's largest ever, with well over 300 PRs in total! It contains quite a few major breaking changes to the API. Therefore, the changelog for this release also serves as a migration guide for users upgrading from the 0.11 series.

Expand All @@ -24,6 +24,7 @@ Thanks to the following for their contributions:
- [@kangalio]
- [@Kneemund]
- [@marcantoinem]
- [@LaytonGB]
- [@Miezhiko]
- [@Milo123459]
- [@mkrasnitski]
Expand Down Expand Up @@ -179,7 +180,7 @@ Method names on interaction types have been shortened in the following way:

### Framework

The standard framework is now configurable at runtime, as the `configure` method now takes `self` by reference. Also, the `Framework` trait has been reworked to accomodate more use cases than just text commands:
The standard framework is now configurable at runtime, as the `configure` method now takes `self` by reference. In line with the builder changes, the `Configuration` and `BucketBuilder` builders are no longer closure-based and must be passed in directly. Also, the `Framework` trait has been reworked to accomodate more use cases than just text commands:
* The `dispatch` method now takes a `FullEvent` as argument instead of just a `Message`. This enum contains all the data that is passed to the `EventHandler`.
* An optional `init` method has been added, that allows for more complex framework initialization, which can include executing HTTP requests, or accessing cache or shard data.

Expand Down Expand Up @@ -250,6 +251,9 @@ Serenity now uses Rust edition 2021, with an MSRV of Rust 1.74.
* [#2595](https://github.com/serenity-rs/serenity/pull/2595) - Add the `CREATE_EVENTS` and `CREATE_GUILD_EXPRESSIONS` permissions, and rename `MANAGE_EMOJIS_AND_STICKERS` to `MANAGE_GUILD_EXPRESSIONS` (the old name is still present but deprecated).
* [#2600](https://github.com/serenity-rs/serenity/pull/2600) - Add the `FormattedTimestamp` utility struct for representing a combination of a timestamp and a formatting style.
* [#2601](https://github.com/serenity-rs/serenity/pull/2601) - Add support for more Discord subdomains in `utils::argument_convert::parse_message_url`.
* [#2614](https://github.com/serenity-rs/serenity/pull/2614) - Add `Hash` to `Timestamp`'s derive list.
* [#2592](https://github.com/serenity-rs/serenity/pull/2592) - Add experimental `typesize` support.
* [#2618](https://github.com/serenity-rs/serenity/pull/2618) - Implement `From<Into<String>>` for `AutocompleteChoice`.

#### Changed

Expand Down Expand Up @@ -372,6 +376,10 @@ Serenity now uses Rust edition 2021, with an MSRV of Rust 1.74.
* [#2569](https://github.com/serenity-rs/serenity/pull/2569) - Replaced the `json::prelude` module with public wrapper functions that abstract over both `serde_json` and `simd-json`.
* [#2593](https://github.com/serenity-rs/serenity/pull/2593) - Rename `GatewayIntents::GUILD_BANS` to `GUILD_MODERATION` (the old name is still present but is deprecated).
* [#2598](https://github.com/serenity-rs/serenity/pull/2598) - Change `CreateInteractionResponseMessage::flags` to take `InteractionResponseFlags` instead of `MessageFlags`.
* [#2609](https://github.com/serenity-rs/serenity/pull/2609) - Split parts of `ThreadMember` into `PartialThreadMember`.
* [#2622](https://github.com/serenity-rs/serenity/pull/2622) - Implement role addition/removal using dedicated endpoints.
* [#2623](https://github.com/serenity-rs/serenity/pull/2623) - Use dedicated types for `GuildId::audit_logs`.
* [#2625](https://github.com/serenity-rs/serenity/pull/2625) - Change `Guild::members_with_status` to return `impl Iterator<Item = &Member>` instead of `Vec<Member>`.


#### Removed
Expand Down Expand Up @@ -5421,6 +5429,7 @@ Initial commit.

<!-- AUTHORS -->

[@nshout]: https://github.com/nshout
[@7596ff]: https://github.com/7596ff
[@AgathaSorceress]: https://github.com/AgathaSorceress
[@alakhpc]: https://github.com/alakhpc
Expand Down Expand Up @@ -5549,6 +5558,7 @@ Initial commit.
[@kotx]: https://github.com/kotx
[@ks129]: https://github.com/ks129
[@kyranet]: https://github.com/kyranet
[@LaytonGB]: https://github.com/LaytonGB
[@Lakelezz]: https://github.com/Lakelezz
[@LavaToaster]: https://github.com/LavaToaster
[@LeSeulArtichaut]: https://github.com/LeSeulArtichaut
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ typesize = { version = "0.1.2", optional = true, features = ["url", "time", "ser
# serde feature only allows for serialisation,
# Serenity workspace crates
command_attr = { version = "0.5.1", path = "./command_attr", optional = true }
serenity-voice-model = { version = "0.1.1", path = "./voice-model", optional = true }
serenity-voice-model = { version = "0.2.0", path = "./voice-model", optional = true }

[dev-dependencies.http_crate]
version = "0.2.11"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Cargo.toml:
[dependencies.serenity]
default-features = false
features = ["pick", "your", "feature", "names", "here"]
version = "0.11"
version = "0.13"
```

The default features are: `builder`, `cache`, `chrono`, `client`, `framework`, `gateway`,
Expand Down
2 changes: 1 addition & 1 deletion voice-model/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "ISC"
name = "serenity-voice-model"
# readme = "README.md"
repository = "https://github.com/serenity-rs/serenity.git"
version = "0.1.1"
version = "0.2.0"
edition = "2018"

[dependencies]
Expand Down

0 comments on commit f94bde7

Please sign in to comment.