Skip to content

Commit e3cc527

Browse files
authored
Prepare v0.12 for publishing (#2629)
This simply makes the v0.12 release ready for publishing onto crates.io, no longer being a Release Candidate.
1 parent 2259658 commit e3cc527

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

CHANGELOG.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
All notable changes to this project will be documented in this file.
44
This project mostly adheres to [Semantic Versioning][semver].
55

6-
## [0.12.0] - 2023-11-19
6+
## [0.12.0] - 2023-11-27
77

88
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.
99

@@ -23,6 +23,7 @@ Thanks to the following for their contributions:
2323
- [@Joshument]
2424
- [@kangalio]
2525
- [@Kneemund]
26+
- [@LaytonGB]
2627
- [@marcantoinem]
2728
- [@Miezhiko]
2829
- [@Milo123459]
@@ -179,7 +180,7 @@ Method names on interaction types have been shortened in the following way:
179180

180181
### Framework
181182

182-
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:
183+
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:
183184
* 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`.
184185
* 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.
185186

@@ -250,6 +251,9 @@ Serenity now uses Rust edition 2021, with an MSRV of Rust 1.74.
250251
* [#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).
251252
* [#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.
252253
* [#2601](https://github.com/serenity-rs/serenity/pull/2601) - Add support for more Discord subdomains in `utils::argument_convert::parse_message_url`.
254+
* [#2614](https://github.com/serenity-rs/serenity/pull/2614) - Add `Hash` to `Timestamp`'s derive list.
255+
* [#2592](https://github.com/serenity-rs/serenity/pull/2592) - Add experimental `typesize` support.
256+
* [#2618](https://github.com/serenity-rs/serenity/pull/2618) - Implement `From<Into<String>>` for `AutocompleteChoice`.
253257

254258
#### Changed
255259

@@ -372,8 +376,10 @@ Serenity now uses Rust edition 2021, with an MSRV of Rust 1.74.
372376
* [#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`.
373377
* [#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).
374378
* [#2598](https://github.com/serenity-rs/serenity/pull/2598) - Change `CreateInteractionResponseMessage::flags` to take `InteractionResponseFlags` instead of `MessageFlags`.
375-
376-
379+
* [#2609](https://github.com/serenity-rs/serenity/pull/2609) - Split parts of `ThreadMember` into `PartialThreadMember`.
380+
* [#2622](https://github.com/serenity-rs/serenity/pull/2622) - Implement role addition/removal using dedicated endpoints.
381+
* [#2623](https://github.com/serenity-rs/serenity/pull/2623) - Use dedicated types for `GuildId::audit_logs`.
382+
* [#2625](https://github.com/serenity-rs/serenity/pull/2625) - Change `Guild::members_with_status` to return `impl Iterator<Item = &Member>` instead of `Vec<Member>`.
377383
#### Removed
378384

379385
* [#1864](https://github.com/serenity-rs/serenity/pull/1864), [#1902](https://github.com/serenity-rs/serenity/pull/1902) - Remove all deprecated types, fields, and methods.
@@ -5325,7 +5331,7 @@ Initial commit.
53255331

53265332
<!-- COMPARISONS -->
53275333

5328-
[0.12.0]: https://github.com/serenity-rs/serenity/compare/v0.11.7...v0.12.0-rc
5334+
[0.12.0]: https://github.com/serenity-rs/serenity/compare/v0.11.7...v0.12.0
53295335
[0.11.7]: https://github.com/serenity-rs/serenity/compare/v0.11.6...v0.11.7
53305336
[0.11.6]: https://github.com/serenity-rs/serenity/compare/v0.11.5...v0.11.6
53315337
[0.11.5]: https://github.com/serenity-rs/serenity/compare/v0.11.4...v0.11.5
@@ -5550,6 +5556,7 @@ Initial commit.
55505556
[@kyranet]: https://github.com/kyranet
55515557
[@Lakelezz]: https://github.com/Lakelezz
55525558
[@LavaToaster]: https://github.com/LavaToaster
5559+
[@LaytonGB]: https://github.com/LaytonGB
55535560
[@LeSeulArtichaut]: https://github.com/LeSeulArtichaut
55545561
[@Licenser]: https://github.com/Licenser
55555562
[@LikeLakers2]: https://github.com/LikeLakers2

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "ISC"
88
name = "serenity"
99
readme = "README.md"
1010
repository = "https://github.com/serenity-rs/serenity.git"
11-
version = "0.12.0-rc2"
11+
version = "0.12.0"
1212
edition = "2021"
1313
rust-version = "1.74"
1414
include = ["src/**/*", "LICENSE.md", "README.md", "CHANGELOG.md", "build.rs"]
@@ -52,7 +52,7 @@ typesize = { version = "0.1.2", optional = true, features = ["url", "time", "ser
5252
# serde feature only allows for serialisation,
5353
# Serenity workspace crates
5454
command_attr = { version = "0.5.1", path = "./command_attr", optional = true }
55-
serenity-voice-model = { version = "0.1.1", path = "./voice-model", optional = true }
55+
serenity-voice-model = { version = "0.2.0", path = "./voice-model", optional = true }
5656

5757
[dev-dependencies.http_crate]
5858
version = "0.2.11"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Add the following to your `Cargo.toml` file:
9898

9999
```toml
100100
[dependencies]
101-
serenity = "0.11"
101+
serenity = "0.12"
102102
tokio = { version = "1.21.2", features = ["macros", "rt-multi-thread"] }
103103
```
104104

@@ -127,7 +127,7 @@ Cargo.toml:
127127
[dependencies.serenity]
128128
default-features = false
129129
features = ["pick", "your", "feature", "names", "here"]
130-
version = "0.11"
130+
version = "0.12"
131131
```
132132

133133
The default features are: `builder`, `cache`, `chrono`, `client`, `framework`, `gateway`,
@@ -200,7 +200,7 @@ features = [
200200
"utils",
201201
"rustls_backend",
202202
]
203-
version = "0.11"
203+
version = "0.12"
204204
```
205205

206206
# Dependencies

voice-model/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "ISC"
99
name = "serenity-voice-model"
1010
# readme = "README.md"
1111
repository = "https://github.com/serenity-rs/serenity.git"
12-
version = "0.1.1"
12+
version = "0.2.0"
1313
edition = "2018"
1414

1515
[dependencies]

0 commit comments

Comments
 (0)