Miniirc

Latest version: v1.10.0

Safety actively analyzes 688803 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

1.6.0

Added

- A `ping_timeout` option (defaults to `ping_interval` for compatibility).

Changed

- Removed more potential race conditions.

Deprecated

- Relying on `args[-1]` being the channel for `JOIN` events.
- Modifying the dict passed to handlers in the `tags` keyword argument.

1.5.1

Changed

- `miniirc.pyi` now treats `colon` as a required parameter to `Handler`
and `CmdHandler`, type checkers should throw an error if this parameter
is unspecified.
- No longer throws an error caused by a race condition with the `sts`
capability.
- Treats empty message tag values (`tag=`) the same way as tags without values
(`tag`).

Deprecated

- Relying on `irc.quote` or `irc.send` throwing errors when the `force`
keyword argument is used.

1.5.0

Added

- Allow a comma-delimited string in the `channels` argument.
- `irc.send()`: `irc.send('PRIVMSG', 'channel with spaces', 'Test message')`
→ `irc.quote('PRIVMSG', 'channel\xa0with\xa0spaces', ':Test message')`

1.4.3

Added

- `irc.current_nick` to be used instead of `irc.nick` when wanting the current
nickname instead of the one used to connect. Note that this is currently an
alias for `irc.nick`.

Changed

- Prevent `irc.quote()` from throwing errors if the socket somehow breaks. (I
will probably rewrite `irc.quote`'s internals in miniirc v2.0.0).
- Request the `away-notify` IRCv3 capability by default.
- Use `threading.Lock`s inside `connect()`.

1.4.2

Changed

- Code style changes.
- Rewrite the internal socket receiving loop.
- Use `threading.Lock`s internally when sending messages. If you were using
outgoing message locks for stability, you no longer need them.

Deprecated

- Python 3.4
- In miniirc v2.0.0, `irc.ns_identity` may be stored as a tuple instead of a
string, for example `('username', 'password with spaces')` instead of
`'username password with spaces'`. Both formats are currently accepted and
will be accepted in the `ns_identity` keyword argument.

1.4.1

Changed

- Bugfixes and code style changes.

Deprecated

- Internal-only attributes `irc.handlers`, `irc.sock`, and `irc.sendq`
(please do not use these) will be renamed.
- In miniirc v2.0.0, unspecified hostmasks will be an empty string instead of
the command. Don't rely on this "feature" if possible, simply ignore the
hostmask if you do not need it.

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.