Releases: tg-rs/carapax
Releases · tg-rs/carapax
0.6.0
- Added tgbot 0.8 support.
0.5.1
- Fixed docs.rs build.
0.5.0
- All
carapax-*
crates was merged into onecarapax
crate.
Now you need to enable a corresponding feature in order
to get access to features provided by those crates. - Added
Dispatcher::set_error_handler
method.
IntroducedLoggingErrorHandler
as default error handler.
NowErrorPolicy
is available in public API.
So that you can easily override error handler and/or change update propagation behavior. seance
dependency was upgraded to 0.3 version.- Added dialogues support.
HandlerError
now is a type alias forBox<dyn Error>
.CommandDispatcher
was removed, use#[handler(command = "/name")]
instead.#[handler]
proc macro emits a clear error message when function is not async.- Value of
command
argument in#[handler]
proc macro now always requires a leading slash. - Use
TryFrom/TryInto
when converting anUpdate
toSessionId
.
We must be sure thatSessionId
always containschat_id
anduser_id
in order to prevent bugs. Command
type was moved totypes
module.- Added tgbot 0.7.0 support.