Miniirc

Latest version: v1.10.0

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

Scan your dependencies

Page 1 of 7

1.10.0

Added

- `server_password` argument to send `PASS` when connecting

Changed

- Tags now get sent if you use an empty string as a value.
- Messages with multiple spaces separating arguments are now ignored instead
of being parsed incorrectly.

1.9.1

Changed

- Fixed handling of socket timeouts when trying to recover nickname
- The socket is now closed if there's a connection timeout while writing data
since the socket may have partially written data.
- Removed use of the deprecated `socket.error`

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.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.