Hirrolot
52ba62d3fc
Release v0.8.0
2022-04-18 16:32:46 +06:00
Maybe Waffle
63b3be8db7
Update dptree, now to a crates.io version!
2022-04-18 14:13:39 +04:00
Maybe Waffle
63a7b02c68
Update dptree (again)
2022-04-15 14:19:46 +04:00
Maybe Waffle
dbe45fb49f
Update dptree
...
Use the new naming of things for handler descriptions :)
2022-04-15 13:04:14 +04:00
Maybe Waffle
4db52436f3
[WIP] implement allowed updates in dispatcher
2022-04-15 12:58:52 +04:00
Maybe Waffle
c9a6b77434
Make worker queue size in dp configurable
2022-04-13 16:17:06 +04:00
Maybe Waffle
2aa59d760a
Update teloxide-core
0.4.5
-> 0.5.0
2022-04-13 15:58:29 +04:00
Waffle Maybe
7abbd2dc09
Merge pull request #554 from teloxide/webhooks
...
Built-in webhook support
2022-04-07 16:31:26 +04:00
Maybe Waffle
bb7a4729c0
Remove the need for CacheMe
in dispatcher
2022-04-05 17:19:10 +04:00
Maybe Waffle
f83ff59709
Fix issues caused by the rebase
2022-04-05 16:42:52 +04:00
Maybe Waffle
e951af7abe
Fix ngrok_ping_pong example required-features
...
...and info! message
2022-04-05 16:36:31 +04:00
Maybe Waffle
b86b2f67f3
Add built-in support for webhooks
...
This commit adds built-in support for webhooks based on the `axum`
framework under a new "webhooks-axum" feature.
API: `update_listeners::webhooks` module with `Options` (a common struct
that stores all webhook related settings) and `axum` (function that
implements webhook).
2022-04-05 16:32:06 +04:00
Hirrolot
9bb2a85aba
Merge branch 'dev' into teloxide-handler
2022-04-02 21:32:59 +06:00
Hirrolot
ae227be4f0
Use std::error::Error
instead of anyhow
in the examples
2022-03-29 01:55:09 +06:00
Hirrolot
fa5d1f738b
Remove support for the old dispatching
2022-03-29 01:55:09 +06:00
Maybe Waffle
b3b8073a12
Rename BotCommand
-> BotCommands
(the trait)
...
This removes the ambiguity with `types::BotCommand` and also the new
name just makes more sense, since this trait is usually implemented for
enums that can be many different commands and not a single one.
Note: this requires changes in the `teloxide-macro` crate.
2022-03-27 22:10:50 +04:00
Hirrolot
3075dfd8ac
Use std::error::Error
instead of anyhow
in the examples
2022-03-24 17:30:36 +06:00
Hirrolot
f5653c747d
Remove support for the old dispatching
2022-03-24 17:25:42 +06:00
Hirrolot
c35f4f42ce
Merge pull request #563 from teloxide/v0.7.2
...
Release v0.7.2
2022-03-23 05:32:31 -07:00
Hirrolot
85a04553a5
Document new command renaming rules
2022-03-23 08:03:15 +06:00
Hirrolot
7aa0439afd
Release v0.7.2
2022-03-22 11:40:53 +06:00
Hirrolot
7a932c8fd9
Merge examples/sqlite_remember.rs
with redis_remember.rs
2022-03-12 14:33:38 +06:00
Hirrolot
3ad74b6a9b
Release v0.7.1
2022-03-09 20:42:12 +06:00
Maybe Waffle
31ff3a468d
Fix compilation with non-default features
2022-03-08 12:20:01 +04:00
Hirrolot
30d37741e4
Release v0.7.0
2022-02-09 08:38:57 +06:00
Maybe Waffle
675600bf74
Fix docs.rs build
2022-02-06 17:23:21 +03:00
Hirrolot
9eac077ecd
Release v0.6.0
2022-02-06 17:47:56 +06:00
Hirrolot
3568ae5bd7
Update teloxide-macros to v0.5
2022-02-05 21:40:10 +06:00
Hirrolot
ec70e3b7d8
Update dptree to v0.1.0
2022-02-05 20:40:42 +06:00
Hirrolot
07b844db99
Add BotCommand::bot_commands
2022-02-05 02:18:47 +06:00
Hirrolot
67901fa53b
Update dptree
2022-02-05 00:02:22 +06:00
Hirrolot
24917a60d4
Use #[derive(BotCommand)]
in examples/sqlite_remember.rs
and examples/redis_remember.rs
2022-02-04 20:59:46 +06:00
Hirrolot
09c3424097
Replace lazy_static
with once_cell
2022-02-04 20:14:57 +06:00
Hirrolot
4259dcce7b
Set teloxide-core to v0.4
2022-02-04 09:59:14 +06:00
Hirrolot
242bfef885
Fix merge conflicts
2022-02-03 20:39:32 +06:00
Hirrolot
45293e3168
Fix dialogue examples
2022-02-03 02:36:36 +06:00
Hirrolot
3b3f5f855f
Make all examples just *.rs
files
2022-02-02 03:54:00 +06:00
Hirrolot
2058395d54
Add Me
into the dependencies
2022-01-28 20:52:01 +06:00
Maybe Waffle
755ec44aea
Cleanup update_listeners
docs
2022-01-25 20:25:19 +03:00
Maybe Waffle
85ef14867f
Fix examples
2022-01-12 14:03:52 +03:00
Maybe Waffle
d5392fddab
Update teloxide-core
yet again
2022-01-12 12:50:35 +03:00
p0lunin
d7386a7dc1
remove old_dispatching
feature, add prelude2
and repls2
modules
2022-01-06 14:50:59 +02:00
p0lunin
a8098350fc
Merge branch 'dev' into dispatching2
...
# Conflicts:
# Cargo.toml
# examples/dialogue_bot/Cargo.toml
# examples/inline_bot/src/main.rs
# src/dispatching/mod.rs
# src/lib.rs
2022-01-06 14:25:01 +02:00
p0lunin
ca1c1f3e33
update teloxide_macros dependency + update examples and tests using BotDialogue
derive macro
2022-01-06 14:11:53 +02:00
p0lunin
72dfef4963
added DialogueState macro
2021-12-29 13:33:51 +02:00
Maybe Waffle
edecf5975f
Update teloxide-core
to the latest git version
2021-12-28 17:31:33 +03:00
p0lunin
a644d0b6d2
added handler_ext.rs, updated dptree version
2021-12-26 16:55:24 +02:00
Hirrolot
e12b644e31
Remove the authors
field from Cargo.toml
2021-12-24 21:25:51 +06:00
Andrew
2dba0aa2f0
crates.io no longer shows badges
2021-12-21 15:35:48 +05:00
p0lunin
635c18142a
1. Bump futures to 0.3.15 version (Abortable::is_aborted()).
...
2. Fix simple_commands_bot example.
2021-12-11 13:11:25 +02:00
p0lunin
4752b22c43
1. Change feature dispatching2 -> old_dispatching.
...
2. Added command repls.
3. Added function BotCommand::ty() due to new restrictions in the command repls.
2021-12-11 12:46:44 +02:00
p0lunin
e53f9eb2b3
use new system in the dice example
2021-12-03 16:02:57 +02:00
p0lunin
93ed028e44
added dispatching2
feature, implemented standard repls
2021-11-25 13:44:55 +02:00
p0lunin
14083c8300
Many improvements of Dispatcher
, also made many dispatcher::*
methods and types pub(crate) for using in dispatching2 module
2021-11-25 12:59:54 +02:00
p0lunin
887b24d27f
Initial commit.
...
1. Added `dptree` dependency.
2. Added `dispatching2` module.
2. Added `Dispatcher` and `Handlers` types, which is similar to `dispatching::Dispatcher` type.
2021-11-13 12:35:56 +02:00
Waffle Maybe
fb238ff656
Merge branch 'dev' into master-to-dev-1
2021-10-25 17:17:42 +03:00
Maybe Waffle
f31adc1bb2
Dump version (0.5.2 -> 0.5.3)
2021-10-25 15:52:57 +03:00
Maybe Waffle
56e7b6feb2
Add auto-send
to the list of default features
2021-10-10 14:47:21 +03:00
Hirrolot
2a6067fe94
Prepare for v0.5.2
2021-08-25 23:51:19 +06:00
Waffle
5e260d0afc
Depend on a right futures
version
2021-08-25 18:12:14 +03:00
Hirrolot
d339d82fbc
Propagate the trace_adaptor
& erased
features from teloxide-core
2021-08-05 22:17:47 +06:00
Hirrolot
5c69117a38
Update teloxide-core to v0.3.3
2021-08-05 17:44:47 +06:00
Hirrolot
a35667ac2b
Prepare for v0.5.1
2021-08-01 20:45:59 +06:00
Hirrolot
72e9821b15
Add the asynchronous
category to Cargo.toml
2021-07-08 15:31:35 +06:00
Hirrolot
674b1f974a
Prepare for v0.5.0
2021-07-08 15:22:13 +06:00
Waffle
81775a7217
Show "This is supported on feature="..." only." in socs of reexported teloxide-core items
2021-07-07 20:27:38 +03:00
Waffle
369e43aa7e
Update dependencies
2021-07-05 21:29:36 +03:00
Waffle
1795cb22c2
setup ^C handler in repls
2021-06-26 17:19:56 +03:00
Waffle
f0de55ad55
Add Dispatcher::setup_ctrlc_handler
function.
...
This function sets up `^C` handler which shuts down dispatching.
2021-06-25 16:57:24 +03:00
Hirrolot
f4260ed078
Replace lockfree
with flurry
2021-06-18 20:53:03 +06:00
Waffle
0eef5b8487
Enable TLS by default
...
We use HTTPS which doesn't work without TLS implementation.
2021-05-18 18:52:29 +03:00
Waffle
02a4df4b5c
Switch to developement teloxide-core version
2021-05-15 23:37:14 +03:00
Waffle
9b34586a04
Normalize docs
2021-05-15 23:37:14 +03:00
Diego Roig
6724f265e3
remove reqwest dependency
2021-03-26 17:34:39 -05:00
Waffle Lapkin
101528e453
Resolve fixme ( #350 )
...
* Update redis
* Resolve fixme(waffle) related to building docs
* Fix broken links
* Reexport teloxide_core::prelude as `no_inline`
2021-03-22 00:43:19 +06:00
Hirrolot
8522759e68
Get ready for v0.4.0 ( #347 )
...
* Get ready for v0.4.0
* Export teloxide_macros as macros in lib.rs
* Use tokio v1.3 in README.md
* Return the feature 'macros' back
* Export teloxide_macros::teloxide in the prelude
* Document the 'macros' feature in README.md
* Update src/lib.rs
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
* Update src/prelude.rs
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
* Propagate features from teloxide-core
* teloxide-core = 0.2.1
* Fix CI
* Require teloxide-core/auto_send instead of teloxide/auto-send
* default-features = false (teloxide-core)
* Specify each teloxide-core feature separately
* Fix Cargo.toml
* JSON -> Json, CBOR -> Cbor
* Update Cargo.toml
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-03-21 18:34:23 +06:00
Temirkhan Myrzamadi
be7bec6fa9
Support UpdateKind::{MyChatMember, ChatMember}
2021-03-17 23:36:51 +06:00
Temirkhan Myrzamadi
5f96da0a5f
Fix the tests
2021-03-13 23:05:50 +06:00
Temirkhan Myrzamadi
1af0bfdcbc
Fix the examples
2021-03-13 22:13:24 +06:00
Temirkhan Myrzamadi
6102a02ed4
Integrate teloxide-core
2021-03-06 03:18:03 +06:00
Temirkhan Myrzamadi
f33428be03
Update the dependencies
2021-02-22 08:14:33 +06:00
Waffle Lapkin
dbc03c0769
Merge branch 'dev' into fix-serde-export-master
2021-01-13 16:20:25 +03:00
Temirkhan Myrzamadi
433b4df614
v0.3.4
2021-01-13 11:32:39 +06:00
Temirkhan Myrzamadi
57b2af965a
Remove the 'runtime-tokio' feature of sqlx (Cargo.toml)
2020-11-24 21:26:16 +06:00
Temirkhan Myrzamadi
71df5bad3e
Specify 'runtime-tokio-native-tls' for sqlx (Cargo.toml)
2020-11-24 21:17:49 +06:00
Waffle Lapkin
89ae390dfe
Merge pull request #294 from teloxide/sqlite_storage
...
Sqlite storage v2
2020-11-04 12:01:21 +03:00
Temirkhan Myrzamadi
5abb6c6dbd
0.3.2 -> 0.3.3 (Cargo.toml)
2020-10-30 13:45:22 +06:00
Lachezar Lechev
656db8273b
Update Cargo.toml docs.rs metadata
...
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2020-10-26 07:27:13 +02:00
Lachezar Lechev
43cdedb06a
Readme "nightly" feature comment update
2020-10-25 18:19:44 +02:00
Lachezar Lechev
9ae81ac978
add doc(cfg) attributes
2020-10-25 17:55:04 +02:00
Sergey Levitin
5e1fe064cd
Add tests for sqlite storage
2020-10-24 19:51:55 +03:00
Temirkhan Myrzamadi
7b1fbabdcb
Merge pull request #301 from teloxide/master
...
v0.3.2
2020-10-23 11:58:02 +06:00
Temirkhan Myrzamadi
3c04d573f9
Prepare for v0.3.2
2020-10-23 08:23:09 +06:00
Sergey Levitin
e751624d6f
Implement sqlite storage methods #144
2020-10-19 02:18:21 +03:00
Sergey Levitin
900ae4f630
Merge branch 'dev' of github.com:teloxide/teloxide into sqlite
2020-10-19 00:15:21 +03:00
Jaslo Ziska
eed1bbb0fc
Conditionally add teloxide-macros crate and reexport macros
...
This commit adds the feature "macros" which conditionally adds the
teloxide-macros crate and reexports its macros.
All (doc) tests using these macros are also conditionally enabled now.
Also change examples accordingly.
This commit solves https://github.com/teloxide/teloxide/issues/283
2020-10-02 20:43:26 +02:00
Waffle Lapkin
814adabdb6
Merge branch 'dev' into v0.3.1_release
2020-09-26 19:01:16 +03:00
Waffle
04f8ed5df7
v0.3.1 release
2020-08-25 17:45:16 +03:00
Waffle
981ba237c9
redis test fix & beta/nightly ci
...
This commit fixes redis storage test, those were not ran before.
Also, introduces beta&nightly tests to CI
2020-08-12 23:53:58 +03:00
Waffle
3157305105
add automatic test of code blocks from readme
2020-08-12 23:21:13 +03:00