Releases: luk3yx/miniirc
Releases · luk3yx/miniirc
v1.9.1
v1.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 numeric after connecting.
v1.8.4
v1.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
callirc.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.
v1.8.2
Added
- Support for SNI.
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 ofssl.wrap_socket()
.- The miniirc PyPI package now requires Python 3.4 or later.
v1.8.1
v1.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
orCmdHandler
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.
v1.7.0
Added
- The ability to make miniirc run handlers in thread pools using the "executor" keyword argument. I strongly recommend using this (
executor=concurrent.futures.ThreadPoolExecutor()
) if you plan to support Python 3.7 to 3.8 because of a memory leak (see BPO 37788 for more information).
Changed
- Fixed truncation of strings containing non-ASCII characters.
- A couple of catch-all
except
statements now only handle more specific exceptions.