mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 06:25:10 +01:00
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:
commit
5a33f61486
8 changed files with 15 additions and 11 deletions
|
@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## unreleased
|
||||
|
||||
## 0.13.0 - 2024-08-16
|
||||
|
||||
### Added
|
||||
|
||||
- Documentation regarding the way captions work for the official clients on `SendMediaGroup` ([PR 992](https://github.com/teloxide/teloxide/pull/992))
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
> [v0.11 -> v0.12 migration guide >>](MIGRATION_GUIDE.md#011---012)
|
||||
|
||||
<div align="center">
|
||||
<img src="./media/teloxide-logo.png" width="250"/>
|
||||
<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`:
|
||||
```toml
|
||||
[dependencies]
|
||||
teloxide = { version = "0.12", features = ["macros"] }
|
||||
teloxide = { version = "0.13", features = ["macros"] }
|
||||
log = "0.4"
|
||||
pretty_env_logger = "0.4"
|
||||
tokio = { version = "1.8", features = ["rt-multi-thread", "macros"] }
|
||||
|
@ -356,7 +354,7 @@ Feel free to propose your own bot to our collection!
|
|||
|
||||
</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
|
||||
|
||||
|
|
|
@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## unreleased
|
||||
|
||||
## 0.10.0 - 2024-08-16
|
||||
|
||||
### Added
|
||||
|
||||
- `ChatPermission::can_*` helper functions ([#851][pr851])
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "teloxide-core"
|
||||
version = "0.9.1"
|
||||
version = "0.10.0"
|
||||
description = "Core part of the `teloxide` library - telegram bot API client"
|
||||
|
||||
rust-version.workspace = true
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
</div>
|
||||
|
||||
```toml
|
||||
teloxide-core = "0.9"
|
||||
teloxide-core = "0.10"
|
||||
```
|
||||
_Compiler support: requires rustc 1.68+_.
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## unreleased
|
||||
|
||||
## 0.8.0 - 2024-08-16
|
||||
|
||||
### 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))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "teloxide-macros"
|
||||
version = "0.7.1"
|
||||
version = "0.8.0"
|
||||
description = "The teloxide's procedural macros"
|
||||
|
||||
rust-version.workspace = true
|
||||
|
@ -19,7 +19,7 @@ proc-macro = true
|
|||
[dependencies]
|
||||
quote = "1.0.7"
|
||||
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"
|
||||
|
||||
[package.metadata.release]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "teloxide"
|
||||
version = "0.12.2"
|
||||
version = "0.13.0"
|
||||
description = "An elegant Telegram bots framework for Rust"
|
||||
|
||||
rust-version.workspace = true
|
||||
|
@ -77,8 +77,8 @@ full = [
|
|||
|
||||
|
||||
[dependencies]
|
||||
teloxide-core = { version = "0.9.1", path = "../teloxide-core", default-features = false }
|
||||
teloxide-macros = { version = "0.7.1", path = "../teloxide-macros", optional = true }
|
||||
teloxide-core = { version = "0.10", default-features = false }
|
||||
teloxide-macros = { version = "0.8", optional = true }
|
||||
|
||||
serde_json = "1.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
|
|
Loading…
Reference in a new issue