Miniirc

Latest version: v1.9.1

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

Scan your dependencies

Page 1 of 7

1.9.0

Added

- miniirc will now attempt to regain the originally specified nickname if it
cannot used when connecting. For compatibility, `irc.nick` will return the
current nickname while connected, however changing it will change the
desired nickname. This may change in the future.

Changed

- The current nickname is now obtained from the 001 response after connecting.

1.8.4

Changed

- Fixed a socket-related oversight in v1.8.3.

1.8.3

Changed

- Receiving from the SSL socket is now done with a lock to prevent sending and
receiving at the same time (which can break with SSL). This should fix
random disconnects with Ubuntu 22.04 / OpenSSL 3.
- Because of the above change, `irc.sock` is now non-blocking and things that
call `irc.sock.settimeout()` may break the connection or cause deadlocks.
- `irc.sock` hasn't been in the API documentation and has been deprecated
for a while.

1.8.2

Added

- Support for [SNI](https://en.wikipedia.org/wiki/Server_Name_Indication).

Changed

- `socket.create_connection()` is now used internally. If a domain name has
multiple IP addresses and the connection fails, socket.create_connection()
will attempt to connect to the next IP address in the list. This is an
improvement over miniirc's previous behaviour of only trying the first IP
address.
- `ping_timeout` is now used as a connection timeout during socket setup.
- A warning is now emitted if `verify_ssl` is disabled.
- `SSLContext.wrap_socket()` is used instead of `ssl.wrap_socket()`.
- The miniirc PyPI package now requires Python 3.4 or later.

1.8.1

Changed

- Don't try and abort SASL authentication when receiving 904 numerics if it
has already been aborted. This prevents miniirc from constantly trying to
cancel authentication on InspIRCd 3 servers if the supplied credentials are
incorrect.

1.8.0

Added

- The `irc.wait_until_disconnected()` function has been added so that it's
possible to stop the main thread from exiting while miniirc is still
connected.

Changed

- Calling `Handler` or `CmdHandler` without colon=False will create a
deprecation warning (unless the handler only handles IRCv3 capabilities).
- The `irc.main()` function has a deprecation warning as well.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.