Commit graph

4878 commits

Author SHA1 Message Date
Waffle Maybe
6a299f6012
Allow dead_code in a test
rustc seems to have some changes with the `dead_code` lints which affect this.
2024-07-30 09:18:19 +02:00
Waffle Maybe
6f1b48ca92
Merge pull request #1110 from teloxide/dependabot/cargo/openssl-0.10.66
Bump openssl from 0.10.64 to 0.10.66
2024-07-22 18:44:28 +00:00
dependabot[bot]
87d365773c
Bump openssl from 0.10.64 to 0.10.66
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.64 to 0.10.66.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.66)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 18:13:27 +00:00
Waffle Maybe
7df5610620
Merge pull request #1108 from syrtcevvi/master
Add tests to issue #1107
2024-07-22 08:42:03 +00:00
Сырцев Вадим Игоревич
d2fd9fb93a Add tests to issue #1107 2024-07-22 08:50:52 +03:00
Waffle Maybe
89ad80dcca
Merge pull request #1066 from strongtu/master
send_game needs chat_id by ChatId not u32
2024-07-21 14:36:30 +00:00
Waffle Maybe
810b5ffc5b
Merge pull request #1106 from teloxide/remove-ahash
Remove the `ahash` dependency
2024-07-21 14:36:15 +00:00
Tima Kinsart
f4c1d9ee5c
Update CHANGELOG.md 2024-07-21 19:11:41 +05:00
Hirrolot
2126ee8b2f
Remove the ahash dependency 2024-07-21 19:05:44 +05:00
Tima Kinsart
2c894b05e4
Merge pull request #1081 from arrtchiu/deadpool-redis
Use deadpool-redis for pooling (fixes #707)
2024-07-21 04:44:26 +00:00
Hirrolot
c82c57f0b1
Fix compilation 2024-07-21 09:25:27 +05:00
Fedir Panasenko
72f7944e38 Fix formatting 2024-07-20 23:42:44 -04:00
Fedir Panasenko
00c6974788 Fix Trace and Throttle adaptors to implement Requester 2024-07-20 23:37:22 -04:00
Fedir Panasenko
93782fba10 Add test for adaptors losing Requester trait bounds issue 2024-07-20 23:36:06 -04:00
Hirrolot
79b5781714
Downgrade deadpool to v0.10.0 2024-07-21 08:33:26 +05:00
Hirrolot
1d2c273d25
Downgrade deadpool-runtime to v0.1.3 2024-07-21 08:30:01 +05:00
Tima Kinsart
cc945e8e39
Merge branch 'master' into deadpool-redis 2024-07-21 08:10:11 +05:00
Hirrolot
71448b7a0c
Apply review suggestions 2024-07-21 08:08:36 +05:00
Tima Kinsart
f86aac0ffb
Merge pull request #1104 from pfa230/master
Unpin aHash dependency
2024-07-21 02:29:42 +00:00
Fedir Panasenko
9ccf233ec8 Unpin ahash dependency 2024-07-20 22:13:09 -04:00
Waffle Maybe
cb7284c2e3
Merge pull request #1102 from shdwchn10/feature/tba-version
Tidy up documentation regarding the latest supported version of TBA
2024-07-20 18:14:37 +00:00
Andrey Brusnik
e6796d48eb
Add current supported TBA version to the teloxide docs 2024-07-20 21:20:43 +04:00
Andrey Brusnik
ad28965d35
Bump supported TBA version in teloxide-core docs 2024-07-20 21:20:03 +04:00
Andrey Brusnik
eb73477455
Add "Bumping supported TBA version" checklist for contributors 2024-07-20 21:19:09 +04:00
Waffle Maybe
5091c2ca98
Merge pull request #1095 from shdwchn10/support-tba-6.9
Add TBA 6.9 support
2024-07-19 23:27:09 +00:00
Andrey Brusnik
116c635804
Bump TBA version in schema 2024-07-18 16:00:17 +04:00
Andrey Brusnik
8c26a30b9b
Update CHANGELOG.md & README.md 2024-07-18 16:00:17 +04:00
Andrey Brusnik
c971d83330
Add from_request and from_attachment_menu fields to WriteAccessAllowed 2024-07-18 16:00:17 +04:00
Andrey Brusnik
cef06d21de
Add can_post_stories, can_edit_stories and can_delete_stories parameters
to PromoteChatMember
2024-07-18 16:00:17 +04:00
Andrey Brusnik
02f023cfb6
Add can_post_stories, can_edit_stories and can_delete_stories privileges
to ChatMemberKind::Administrator and ChatAdministratorRights
2024-07-18 16:00:16 +04:00
Waffle Maybe
959ce390ea
Merge pull request #1100 from shdwchn10/feature/serde_with
Replace `serde_with_macros` with `serde_with`
2024-07-18 08:17:57 +00:00
Andrey Brusnik
46c5abc763
Replace serde_with_macros with serde_with 2024-07-17 17:49:44 +04:00
sogetsu
a80a1215b2
Merge branch 'teloxide:master' into master 2024-07-16 11:10:28 +08:00
Waffle Maybe
391fdc80dc
Merge pull request #1094 from teloxide/dependabot/cargo/lock-fa522427ee
Bump the lock group with 15 updates
2024-07-15 10:28:35 +00:00
dependabot[bot]
8021bea3d5
Bump the lock group with 15 updates
Bumps the lock group with 15 updates:

| Package | From | To |
| --- | --- | --- |
| [bytes](https://github.com/tokio-rs/bytes) | `1.6.0` | `1.6.1` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.61` | `1.0.62` |
| [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) | `0.4.0` | `0.5.0` |
| [uuid](https://github.com/uuid-rs/uuid) | `1.9.1` | `1.10.0` |
| [bitflags](https://github.com/bitflags/bitflags) | `1.3.2` | `2.4.2` |
| [aho-corasick](https://github.com/BurntSushi/aho-corasick) | `0.7.20` | `1.1.2` |
| [syn](https://github.com/dtolnay/syn) | `1.0.109` | `2.0.52` |
| [axum](https://github.com/tokio-rs/axum) | `0.6.20` | `0.7.5` |
| [axum-core](https://github.com/tokio-rs/axum) | `0.3.4` | `0.4.3` |
| [cc](https://github.com/rust-lang/cc-rs) | `1.0.105` | `1.1.5` |
| [hyper](https://github.com/hyperium/hyper) | `0.14.29` | `0.14.30` |
| [security-framework-sys](https://github.com/kornelski/rust-security-framework) | `2.11.0` | `2.11.1` |
| [thiserror-impl](https://github.com/dtolnay/thiserror) | `1.0.61` | `1.0.62` |
| [tinyvec](https://github.com/Lokathor/tinyvec) | `1.7.0` | `1.8.0` |
| [tower-http](https://github.com/tower-rs/tower-http) | `0.3.5` | `0.5.2` |


Updates `bytes` from 1.6.0 to 1.6.1
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.6.0...v1.6.1)

Updates `thiserror` from 1.0.61 to 1.0.62
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62)

Updates `pretty_env_logger` from 0.4.0 to 0.5.0
- [Commits](https://github.com/seanmonstar/pretty-env-logger/compare/v0.4.0...v0.5.0)

Updates `uuid` from 1.9.1 to 1.10.0
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.9.1...1.10.0)

Updates `bitflags` from 1.3.2 to 2.4.2
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/1.3.2...2.4.2)

Updates `aho-corasick` from 0.7.20 to 1.1.2
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.7.20...1.1.2)

Updates `syn` from 1.0.109 to 2.0.52
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.109...2.0.52)

Updates `axum` from 0.6.20 to 0.7.5
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.6.20...axum-v0.7.5)

Updates `axum-core` from 0.3.4 to 0.4.3
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/axum/compare/axum-core-v0.3.4...axum-core-v0.4.3)

Updates `cc` from 1.0.105 to 1.1.5
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Changelog](https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cc-rs/compare/cc-v1.0.105...cc-v1.1.5)

Updates `hyper` from 0.14.29 to 0.14.30
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.30/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.29...v0.14.30)

Updates `security-framework-sys` from 2.11.0 to 2.11.1
- [Release notes](https://github.com/kornelski/rust-security-framework/releases)
- [Commits](https://github.com/kornelski/rust-security-framework/compare/v2.11.0...v2.11.1)

Updates `thiserror-impl` from 1.0.61 to 1.0.62
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62)

Updates `tinyvec` from 1.7.0 to 1.8.0
- [Changelog](https://github.com/Lokathor/tinyvec/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Lokathor/tinyvec/compare/v1.7.0...v1.8.0)

Updates `tower-http` from 0.3.5 to 0.5.2
- [Release notes](https://github.com/tower-rs/tower-http/releases)
- [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.3.5...tower-http-0.5.2)

---
updated-dependencies:
- dependency-name: bytes
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: pretty_env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lock
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lock
- dependency-name: bitflags
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: lock
- dependency-name: aho-corasick
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: lock
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: lock
- dependency-name: axum
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lock
- dependency-name: axum-core
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: lock
- dependency-name: cc
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: lock
- dependency-name: hyper
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: security-framework-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: thiserror-impl
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: tinyvec
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: lock
- dependency-name: tower-http
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lock
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 08:41:24 +00:00
Waffle Maybe
a3c9667211
Merge pull request #1093 from IlyaBizyaev/dep/bump-axum
Bump deps of webhook-axum
2024-07-15 07:49:54 +00:00
Ilya Bizyaev
234bfb9720
Add a changelog entry 2024-07-14 20:58:24 +02:00
Ilya Bizyaev
7d5253a3f1
Improve error handling 2024-07-14 19:48:26 +02:00
Ilya Bizyaev
8ad1bd1928
Bump deps of webhook-axum
Otherwise some changes in axum's Router interface prevent teloxide's
webhook support from being used with up-to-date axum.
2024-07-14 18:56:01 +02:00
Waffle Maybe
9901a57472
Merge pull request #1087 from syrtcevvi/feature/support-tba-6.8
Add support TBA 6.8
2024-07-11 18:10:09 +00:00
Сырцев Вадим Игоревич
769128287e Fix serde support for some types from TBA 6.8 2024-07-11 17:34:45 +03:00
Waffle Maybe
08a3243685
Merge pull request #1089 from IlyaBizyaev/build/rustls-native-roots
Add a feature for rustls + native certs
2024-07-10 16:24:42 +00:00
Ilya Bizyaev
07f02e6d0c
Add a feature for rustls + native certs
This just propagates reqwest/rustls-tls-native-roots.
2024-07-10 17:55:56 +02:00
Waffle Maybe
07a5d33709
Merge pull request #1088 from IlyaBizyaev/fix/chrono-min-ver
Require chrono >= 0.4.32
2024-07-10 14:01:00 +00:00
Ilya Bizyaev
8364eeae4b
Require chrono >= 0.4.32
It's required for teloxide's usages of chrono::Duration::try_seconds:
https://github.com/chronotope/chrono/commit/a2820c4
2024-07-10 09:57:44 +02:00
strongtu
200d330b87 update change log: type of chat_id in send_game should be ChatId not u32 2024-07-10 14:57:08 +08:00
sogetsu
470e721b57
Merge branch 'teloxide:master' into master 2024-07-10 14:30:06 +08:00
Сырцев Вадим Игоревич
c38ff2404a Update CHANGELOG & README.md 2024-07-08 23:25:05 +03:00
Сырцев Вадим Игоревич
24cfdf3991 Add the ChatFullInfo chat as part of the Chat struct 2024-07-08 23:09:43 +03:00
Сырцев Вадим Игоревич
6b97f72d12 Add the TBA method unpinAllGeneralForumTopicMessages 2024-07-08 23:09:43 +03:00