Repository navigation
Releases: chrj/ircbot
Release list
ircbot-v0.7.0
Added
-
add the ops plugin (#201)
-
[breaking] let a role match the hostmask, the services account, or either (#196)
with_roletakesimpl Into<Role>instead of a list of patterns, so a call with an iterator that is not an array or aVecmust useRole::hostmask, and the publicauthorizedfunction has a newaccountargument. -
add the notify plugin (#194)
-
add the ircbot-plugins crate with the seen plugin (#192)
-
[breaking] add a built-in !help command (#190)
CommandOwneris now#[non_exhaustive]and has a new variantHelp, so amatchon it needs a wildcard arm. -
[breaking] run plugins on #[bot], and connect in main_loop (#189)
The
newandnew_with_stateconstructors of a#[bot]no longer connect and are no longer async, so remove the.await?after them;main_loopnow connects and returns the connection error, and it refuses to start, with aStartError, when a command needs a role that nowith_roledefines. -
add typed key/value data to the store (#186)
-
add a SQLite store for bot data (#185)
-
add no_default flag for bot state without Default (#181)
-
add new_with_state constructor for bots with state (#179)
Fixed
- keep !seen of the sqlite_bot example inside the channel that asks (#193)
- let an Option argument come before other arguments (#191)
Other
ircbot-v0.6.0
Added
-
[breaking] [171] Remove hot-reload: high complexity, low value, no TLS support (#172)
The hot-reload feature is removed. It was a high-complexity feature that brought little value, and it never worked for a TLS connection, because a TLS session cannot survive an
exec. Thehot_reloadmodule,State::try_inherit_from_envandState::raw_fdgo with it, and a bot takes a restart to run a new binary now. -
[165] Retry the reconnect with a growing delay (#166)
ircbot-v0.5.0
Added
- [153] Ignore senders by hostmask before the dispatch (#163)
- [breaking] [156] Add a scope option for channel or private handlers (#162)
- [breaking] match triggers on the text without IRC formatting codes (#161)
- [155] Add a helper that removes the IRC formatting codes (#160)
- [breaking] [154] Do not give the messages of the bot to handlers (#159)
- [152] Add TestBot to send a raw IRC line through the dispatch (#157)
- [breaking] add action and ctcp triggers, keep CTCP out of text triggers (#150)
ircbot-v0.4.3
ircbot-v0.4.2
ircbot-v0.4.1
ircbot-v0.4.0
Added
- [breaking] TLS support via rustls (#112)
ircbot-v0.3.0
ircbot-v0.2.1
ircbot-v0.2.0
Added
- (types) derive standard traits on Error, User, Trigger, CtcpMessage (#88)
Other
- align doc comments with the Target enum and is_channel method (#93)
- (context) [breaking] replace target + is_channel with a Target enum (#92)
- (types) [breaking] introduce Nick and Channel newtypes (#90)
- (context) [breaking] make notice and whisper synchronous (#89)
- derive Error impl via thiserror (#87)
- (bot) use leaky-bucket crate for write-loop flood control (#85)