Repository navigation
5.0.0
- bugfix: default GMCP modules are now in lowercase by @jquast in #146
- 5.0.0 Discworld-driven improvements by @jquast in #147
5.0.0
- changed: :meth:
~telnetlib3.stream_writer.TelnetWriter.handle_zmpnow receivescommand, *argsinstead of onepartslist;zmp_datamoved towriter.ctxand is now a dict
keyed by command (was a list of messages). New
:meth:~telnetlib3.stream_writer.TelnetWriter.send_zmp. - changed: MUD protocol subnegotiation data (
mssp_data,atcp_data,aardwolf_data,
mxp_data,comport_data) moved from :class:~telnetlib3.stream_writer.TelnetWriterto
:class:~telnetlib3._session_context.TelnetSessionContext(writer.ctx.mssp_data, etc.).
Deprecated writer properties delegate toctx;writer.zmp_datais removed without
deprecation. - changed: client-side MUD protocol declines (GMCP, MSDP, MSSP, MSP, MXP, ZMP, AARDWOLF, ATCP)
remain the default; the decline log messages now name the enable mechanism (always_will/
always_do/passive_do) used by downstream clients such as telix to accept them. Note
that MXP's negotiation direction is server-sends-DO(the LPMud family convention, e.g.
Discworld), so a client accepting MXP repliesWILLtoIAC DO MXP. - new: :meth:
~telnetlib3.stream_writer.TelnetWriter.add_will_callbackand
:meth:~telnetlib3.stream_writer.TelnetWriter.remove_will_callbackfor per-option callbacks
invoked after :meth:~telnetlib3.stream_writer.TelnetWriter.handle_willnegotiation. Replaces
the previous closure-wrapping pattern in :class:~telnetlib3.client.TelnetClientfor GMCP, ZMP,
and CHARSET will-detection. - enhancement:
telnetlib3-fingerprintnow accepts all MUD protocol offers (ATCP, AARDWOLF,
MSP, MXP, MSDP, MSSP) to collect subnegotiation data. - enhancement: sub-negotiation payloads are bounded to 1,000KB.
- enhancement:
--loglevel=tracereceive dumps show the decompressed telnet stream (MCCP2,
MCCP3) instead of raw compressed bytes. - bugfix:
IAC SB IAC SE(sub-negotiation with no option byte) should not raiseIndexError
Full Changelog: 4.0.5...5.0.0