Commit graph

2922 commits

Author SHA1 Message Date
Hirrolot
b58f731ef3 Simplify the brief description of crate::stop
Usually, we have very brief descriptions of modules. I see no reason to make it elaborate -- it does even contain only a few items.

Former-commit-id: a7981cc99b
2022-10-07 22:50:08 +06:00
Hirrolot
141b72db9b Merge pull request #736 from teloxide/v0.11.0
Release v0.11.0

Former-commit-id: e5ee52d4db
2022-10-07 17:27:43 +06:00
Hirrolot
cedc7df410 Merge branch 'dev' into v0.11.0
Former-commit-id: cfc0776621
2022-10-07 17:23:52 +06:00
Hirrolot
637b185fae Update MSRV in README.md
Former-commit-id: 5bed819c9f
2022-10-07 17:22:46 +06:00
Waffle Maybe
1ad8e3db47 Merge pull request #737 from teloxide/master
merge merges

Former-commit-id: 6cacaf9e58
2022-10-07 15:18:06 +04:00
Hirrolot
d680bef0ba Release v0.11.0
Former-commit-id: 4e56dd29b1
2022-10-07 16:55:57 +06:00
Hirrolot
7807206cc5 Merge pull request #726 from teloxide/migration_guide_start
Start writing migration guide

Former-commit-id: 8fb31ff882
2022-10-07 16:48:55 +06:00
Hirrolot
03d25b7f02 Apply a review suggestion
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
Former-commit-id: d690709dfb
2022-10-07 16:45:16 +06:00
Hirrolot
36290a22c3 Merge pull request #735 from teloxide/consistent-naming
Use consistent naming of our crates

Former-commit-id: 97e2cb0aa1
2022-10-07 16:44:27 +06:00
Hirrolot
85fda7a3b5 Use <code>teloxide</code> in README.md
Former-commit-id: 60f0cd128d
2022-10-07 16:39:49 +06:00
Hirrolot
01f0818e94 Use consistent naming of our crates
Former-commit-id: 1ab5bdfc77
2022-10-07 16:34:42 +06:00
Hirrolot
b7732c58db Merge pull request #733 from teloxide/update-readme-features
Update the 'Highlights' section

Former-commit-id: 5a50e55bb2
2022-10-07 16:32:53 +06:00
Hirrolot
22f37a9cc7 Apply a tiny review suggestion
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
Former-commit-id: 3d65f81eae
2022-10-07 16:30:33 +06:00
Hirrolot
9cdfe7108a Merge pull request #732 from teloxide/refactor-dptree-usage
Refactor `dptree` usage

Former-commit-id: 4b9aba8e13
2022-10-07 16:26:05 +06:00
Waffle Maybe
cbd8978e65 Merge pull request #712 from teloxide/repl_docs_upd
Update docs of REPLs

Former-commit-id: f52d11d246
2022-10-07 14:25:16 +04:00
Waffle Maybe
7ca26fbde1 Update src/dispatching/repls/preamble.md
Co-authored-by: Hirrolot <hirrolot@gmail.com>
Former-commit-id: 1343015e6c
2022-10-07 14:22:02 +04:00
Maybe Waffle
af5f27feee link "advanced features" in repls to dispatching
Former-commit-id: 583e5ea4ab
2022-10-07 14:11:56 +04:00
Maybe Waffle
0daff74d14 fixups
Former-commit-id: dc9ba4dd11
2022-10-07 14:06:42 +04:00
Maybe Waffle
8bfa8b542d I hate rustfmt
Former-commit-id: c6dd6bed44
2022-10-07 13:59:20 +04:00
Maybe Waffle
fde91dacf4 Apply suggestions from the review
Former-commit-id: db22e20221
2022-10-07 13:09:57 +04:00
Maybe Waffle
bb686ebd8e fix docs
Former-commit-id: d9b18abd55
2022-10-07 12:27:13 +04:00
Maybe Waffle
a3632d65da Apply suggestions from code review
Former-commit-id: 83d3a11be9
2022-10-07 12:03:34 +04:00
Hirrolot
c017a1794f Simplify the highlights more
Former-commit-id: 6966ab9ce1
2022-10-07 10:45:35 +06:00
Hirrolot
a2df72e903 Update the 'Highlights' section
I've simplified the point about dialogues and added the point "Feature-rich", which mentions some functionality typically asked by users in our support chat.

Former-commit-id: 6043f5566e
2022-10-07 10:38:52 +06:00
Hirrolot
744679419a Refactor dptree usage
Former-commit-id: fe3aa2e798
2022-10-07 10:14:36 +06:00
Hirrolot
b52502c2df Update the migration guide with BotCommands changes
Former-commit-id: 59b5047fa3
2022-10-07 09:55:58 +06:00
Hirrolot
5dd8d195bc Merge branch 'dev' into repl_docs_upd
Former-commit-id: 291b69b477
2022-10-07 08:59:47 +06:00
Waffle Maybe
760f843010 Merge pull request #730 from teloxide/updtlxdcr08
Update `teloxide-core` to `0.8.0`

Former-commit-id: abebad9439
2022-10-06 22:12:01 +04:00
Maybe Waffle
c6c2cd3f6f Update teloxide-core to 0.8.0
Former-commit-id: d45a962a63
2022-10-06 22:02:28 +04:00
Hirrolot
8384255a37 Merge pull request #729 from teloxide/update-macros
Update `teloxide-macros` to v0.7.0

Former-commit-id: cb7123b222
2022-10-06 23:58:09 +06:00
Hirrolot
a584215376 Update teloxide-macros to v0.7.0
Former-commit-id: 19830daf8d
2022-10-06 23:52:49 +06:00
Hirrolot
ee07a6f0b2 Update to the latest teloxide-macros
Former-commit-id: 64359db3da
2022-10-06 22:35:32 +06:00
Hirrolot
b530f63608 Merge pull request #728 from teloxide/bot_commands_parse_and_str
Make `BotCommands::parse` accept bot username as `&str`

Former-commit-id: 51e3cafe56
2022-10-06 15:44:52 +06:00
Maybe Waffle
529a316b0f fixup tests and examples that use derive(BotCommands)
Former-commit-id: dc652da1ac
2022-10-05 10:11:50 +04:00
Maybe Waffle
71ad64594d Update changelog
Former-commit-id: 107d2c8b99
2022-10-05 10:11:47 +04:00
Maybe Waffle
c01bc8ab6d Update teloxide-macros
Former-commit-id: 6ded398d5d
2022-10-05 10:09:55 +04:00
Maybe Waffle
466900ee46 Make BotCommands::parse accept bot username as &str
Former-commit-id: 8dfb5268be
2022-10-05 10:09:55 +04:00
Hirrolot
b061a21881 Merge pull request #727 from teloxide/update-bot-commands-docs
Update the docs of `BotCommands`

Former-commit-id: f7684fef29
2022-10-05 09:58:57 +06:00
Hirrolot
f5d5a38f8a Update the docs of BotCommands
Former-commit-id: bc609ba9b3
2022-10-04 11:13:03 +06:00
Hirrolot
c5585eed14 Enhance the v0.11 migration guide
Former-commit-id: c4dbff1afe
2022-10-04 09:56:51 +06:00
Waffle Maybe
c7aa76ad39 Merge pull request #718 from teloxide/code_style
Update code style

Former-commit-id: 13a10110d4
2022-10-04 05:30:42 +04:00
Maybe Waffle
3efa74c8f2 Start writing migration guide
Former-commit-id: 80a5865752
2022-10-03 21:10:32 +04:00
Waffle Maybe
95bf58bff0 Apply suggestions from code review
Co-authored-by: Hirrolot <hirrolot@gmail.com>
Former-commit-id: 243bfa8460
2022-10-03 20:49:25 +04:00
Hirrolot
3cad0fbff4 Merge pull request #725 from teloxide/refactor-examples-style
Refactor examples style

Former-commit-id: a461061c26
2022-10-03 18:29:31 +06:00
Hirrolot
563c56ef3a Fix a code typo in README.md
Former-commit-id: a3116bb0d6
2022-10-03 18:01:24 +06:00
Hirrolot
53be9d0e92 Reorder parameters in the examples
In reordering the parameters, I stick the following principle: place parameters from least changing to most changing. Thus, we have config and bot right from the beginning, next a dialogue with a possible payload, and next updates such as messages, inline queries, etc. This principle is used in languages with a native support for currying, although in Rust people appear to order parameters arbitrarily, so this commit is mostly for the sake of consistency.


Former-commit-id: 5922984f6c
2022-10-03 17:54:06 +06:00
Hirrolot
d3d7cc2fa9 Use same identifiers across the examples
Former-commit-id: a137b41ab2
2022-10-03 17:07:38 +06:00
Waffle Maybe
72a1be63f6 Apply suggestions from code review
Co-authored-by: Hirrolot <hirrolot@gmail.com>
Former-commit-id: 1b983e043f
2022-10-03 13:48:14 +04:00
Hirrolot
2bdea18ec3 Merge pull request #724 from teloxide/concrete-error-type-repls
Use `RequestError` in REPLs

Former-commit-id: 4246455ccd
2022-10-03 15:33:09 +06:00
Hirrolot
b058de6de9 Merge branch 'dev' into concrete-error-type-repls
Former-commit-id: 333c88fcb7
2022-10-02 21:47:46 +06:00