Merge pull request #1132 from teloxide/release

Release `teloxide-macros` v0.8.0, `teloxide-core` v0.10.0, `teloxide` v0.13.0
This commit is contained in:
Tima Kinsart 2024-08-15 20:06:21 +00:00 committed by GitHub
commit 5a33f61486
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 15 additions and 11 deletions

View file

@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## unreleased ## unreleased
## 0.13.0 - 2024-08-16
### Added ### Added
- Documentation regarding the way captions work for the official clients on `SendMediaGroup` ([PR 992](https://github.com/teloxide/teloxide/pull/992)) - Documentation regarding the way captions work for the official clients on `SendMediaGroup` ([PR 992](https://github.com/teloxide/teloxide/pull/992))

View file

@ -1,5 +1,3 @@
> [v0.11 -> v0.12 migration guide >>](MIGRATION_GUIDE.md#011---012)
<div align="center"> <div align="center">
<img src="./media/teloxide-logo.png" width="250"/> <img src="./media/teloxide-logo.png" width="250"/>
<h1><code>teloxide</code></h1> <h1><code>teloxide</code></h1>
@ -72,7 +70,7 @@ $ rustup override set nightly
5. Run `cargo new my_bot`, enter the directory and put these lines into your `Cargo.toml`: 5. Run `cargo new my_bot`, enter the directory and put these lines into your `Cargo.toml`:
```toml ```toml
[dependencies] [dependencies]
teloxide = { version = "0.12", features = ["macros"] } teloxide = { version = "0.13", features = ["macros"] }
log = "0.4" log = "0.4"
pretty_env_logger = "0.4" pretty_env_logger = "0.4"
tokio = { version = "1.8", features = ["rt-multi-thread", "macros"] } tokio = { version = "1.8", features = ["rt-multi-thread", "macros"] }
@ -356,7 +354,7 @@ Feel free to propose your own bot to our collection!
</details> </details>
See [1600+ other public repositories using `teloxide` >>](https://github.com/teloxide/teloxide/network/dependents) See [1900+ other public repositories using `teloxide` >>](https://github.com/teloxide/teloxide/network/dependents)
## Contributing ## Contributing

View file

@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## unreleased ## unreleased
## 0.10.0 - 2024-08-16
### Added ### Added
- `ChatPermission::can_*` helper functions ([#851][pr851]) - `ChatPermission::can_*` helper functions ([#851][pr851])

View file

@ -1,6 +1,6 @@
[package] [package]
name = "teloxide-core" name = "teloxide-core"
version = "0.9.1" version = "0.10.0"
description = "Core part of the `teloxide` library - telegram bot API client" description = "Core part of the `teloxide` library - telegram bot API client"
rust-version.workspace = true rust-version.workspace = true

View file

@ -25,7 +25,7 @@
</div> </div>
```toml ```toml
teloxide-core = "0.9" teloxide-core = "0.10"
``` ```
_Compiler support: requires rustc 1.68+_. _Compiler support: requires rustc 1.68+_.

View file

@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## unreleased ## unreleased
## 0.8.0 - 2024-08-16
### Added ### Added
- Now you can use `#[command(command_separator="sep")]` (default is a whitespace character) to set the separator between command and its arguments ([issue #897](https://github.com/teloxide/teloxide/issues/897)) - Now you can use `#[command(command_separator="sep")]` (default is a whitespace character) to set the separator between command and its arguments ([issue #897](https://github.com/teloxide/teloxide/issues/897))

View file

@ -1,6 +1,6 @@
[package] [package]
name = "teloxide-macros" name = "teloxide-macros"
version = "0.7.1" version = "0.8.0"
description = "The teloxide's procedural macros" description = "The teloxide's procedural macros"
rust-version.workspace = true rust-version.workspace = true
@ -19,7 +19,7 @@ proc-macro = true
[dependencies] [dependencies]
quote = "1.0.7" quote = "1.0.7"
proc-macro2 = "1.0.67" proc-macro2 = "1.0.67"
syn = { version = "1.0.13", features = ["full"] } syn = { version = "1.0.13", features = ["full", "extra-traits"] }
heck = "0.4.0" heck = "0.4.0"
[package.metadata.release] [package.metadata.release]

View file

@ -1,6 +1,6 @@
[package] [package]
name = "teloxide" name = "teloxide"
version = "0.12.2" version = "0.13.0"
description = "An elegant Telegram bots framework for Rust" description = "An elegant Telegram bots framework for Rust"
rust-version.workspace = true rust-version.workspace = true
@ -77,8 +77,8 @@ full = [
[dependencies] [dependencies]
teloxide-core = { version = "0.9.1", path = "../teloxide-core", default-features = false } teloxide-core = { version = "0.10", default-features = false }
teloxide-macros = { version = "0.7.1", path = "../teloxide-macros", optional = true } teloxide-macros = { version = "0.8", optional = true }
serde_json = "1.0" serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }