Skip to content

Commit b1afa4e

Browse files
committed
Prepare 0.43.0 release
1 parent eb4cc56 commit b1afa4e

File tree

3 files changed

+43
-5
lines changed

3 files changed

+43
-5
lines changed

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# Changelog
22

3+
## 0.43.0 (02.03.2026)
4+
5+
### Types
6+
7+
- Removed `#[allow(clippy::large_enum_variant)]` attributes, large variants are boxed.
8+
9+
### Bot API
10+
11+
#### 9.5
12+
13+
- Added types: `SetChatMemberTag`.
14+
- Added enum variants:
15+
- `TextEntity`: `DateTime`.
16+
- Added fields:
17+
- `ChatAdministratorRights`: `can_manage_tags`.
18+
- `ChatMemberAdministrator`: `can_manage_tags`.
19+
- `ChatMemberRestricted`: `can_edit_tag`, `tag`.
20+
- `ChatPermissions`: `can_edit_tag`.
21+
- `Message`: `sender_tag`.
22+
- Added methods:
23+
- `ChatAdministratorRights`: `with_can_manage_tags`.
24+
- `ChatMemberAdministrator`: `with_can_manage_tags`.
25+
- `ChatMemberRestricted`: `with_can_edit_tag`, `with_tag`.
26+
- `ChatPermissions`: `with_can_edit_tag`.
27+
- `Message`: `with_sender_tag`.
28+
- `PromoteChatMember`: `with_can_manage_tags`.
29+
- Changed enum variants:
30+
- `ChatMember::Member`: added `tag` field.
31+
- Changed fields:
32+
- `ChatMemberRestricted`:
33+
- `can_pin_messages`: `Option<bool>` -> `bool`.
34+
- `can_send_audios`: `Option<bool>` -> `bool`.
35+
- `can_send_documents`: `Option<bool>` -> `bool`.
36+
- `can_send_photos`: `Option<bool>` -> `bool`.
37+
- `can_send_video_notes`: `Option<bool>` -> `bool`.
38+
- `can_send_videos`: `Option<bool>` -> `bool`.
39+
- `can_send_voice_notes`: `Option<bool>` -> `bool`.
40+
341
## 0.42.0 (09.02.2026)
442

543
### Handlers

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tgbot"
3-
version = "0.42.0"
3+
version = "0.43.0"
44
edition = "2024"
55
description = "A Telegram Bot library"
66
documentation = "https://docs.rs/tgbot"

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ A full-featured Telegram Bot API client.
1010

1111
```toml
1212
[dependencies]
13-
tgbot = "0.42.0"
13+
tgbot = "0.43.0"
1414
```
1515

1616
## Examples
1717

18-
See examples in the [examples](https://github.com/tg-rs/tgbot/tree/0.42.0/examples) directory.
18+
See examples in the [examples](https://github.com/tg-rs/tgbot/tree/0.43.0/examples) directory.
1919

2020
To run an example you need to create a `.env` file:
2121

@@ -34,8 +34,8 @@ This project adheres to [ZeroVer](https://0ver.org/).
3434
- [Latest documentation](https://docs.rs/tgbot)
3535
- [Master documentation](https://tg-rs.github.io/tgbot/tgbot/)
3636
- [Telegram Chat](https://t.me/tgrsusers)
37-
- [Changelog](https://github.com/tg-rs/tgbot/tree/0.42.0/CHANGELOG.md)
38-
- [Code of Conduct](https://github.com/tg-rs/tgbot/tree/0.42.0/CODE_OF_CONDUCT.md)
37+
- [Changelog](https://github.com/tg-rs/tgbot/tree/0.43.0/CHANGELOG.md)
38+
- [Code of Conduct](https://github.com/tg-rs/tgbot/tree/0.43.0/CODE_OF_CONDUCT.md)
3939

4040
## LICENSE
4141

0 commit comments

Comments
 (0)