Skip to content

3.0.0

Choose a tag to compare

@jquast jquast released this 28 Feb 07:18
· 39 commits to master since this release
1bfd2b0

3.0.0

  • change: connect_minwait default now 0 (was 1.0 seconds in library API).
  • change: force_binary auto-enabled when CHARSET is negotiated (RFC 2066) or LANG/CHARSET received via NEW_ENVIRON (RFC 1572). SyncTERM font detection also enables it unconditionally.
  • change: --connect-timeout default changed from no limit to 10 seconds.
  • change: --reverse-video CLI option from 2.4.0 was removed.
  • change: CGA, EGA, and Amiga palettes removed from --colormatch; only vga is available at this time. ice_colors are now True by default.
  • bugfix: read_some() in synchronous API (TelnetConnection and ServerConnection) blocked until EOF instead of returning available data. Now returns as soon as any data is available.
  • new: TelnetSessionContext base class and writer.ctx attribute for per-connection session state. Subclass to add application-specific attributes (e.g. MUD client state).
  • new: --ice-colors (default on) treats SGR 5 (blink) as bright background for proper 16-color BBS/ANSI art display.
  • new: --typescript FILE records session output to a file, similar to the Unix script(1) command.
  • new: shared TelnetProtocolBase mixin extracted from duplicated server and client protocol code.
  • new: _atomic_json_write() and _BytesSafeEncoder helpers in _paths module for fingerprinting subsystem.
  • enhancement: Microsoft Telnet (telnet.exe) compatibility refined — server now sends DO NEW_ENVIRON but excludes USER variable instead of skipping the option entirely, #24.
  • enhancement: comprehensive pylint and mypy cleanup across the codebase.