pySerial v3.0.a0 Release Notes

Release Date: 2015-09-22 // about 6 years ago
    • ๐Ÿš€ Starting from this release, only Python 2.7 and 3.2 (or newer) are supported. The source code is compatible to the 2.x and 3.x series without any changes. The support for earlier Python versions than 2.7 is removed, please refer to the pyserial-legacy (V2.x) series if older Python versions are a requirement).
    • โšก๏ธ Development moved to github, update links in docs.
    • API changes: properties for rts, dtr, cts, dsr, cd, ri, in_waiting (instead of get/set functions)
    • remove file FileLike class, add read_until and iread_until to SerialBase
    • ๐Ÿšš RS485 support changed (rts_toggle removed, added serial.rs485 module and rs485_mode property)
    • socket:// and rfc2217:// handlers use the IPv6 compatible socket.create_connection
    • ๐Ÿ†• New URL handler: spy:://.
    • URL handlers now require the proper format (? and &) for arguments instead of / (e.g. rfc2217://localhost:7000?ign_set_control&timeout=5.5)
    • โœ‚ Remove obsolete examples.
    • โšก๏ธ Finish update to BSD license.
    • ๐Ÿ‘‰ Use setuptools if available, fall back to distutils if unavailable.
    • ๐Ÿ’ป miniterm: changed command line options
    • ๐Ÿ‘ miniterm: support encodings on serial port
    • 0๏ธโƒฃ miniterm: new transformations, by default escape/convert all control characters
    • ๐Ÿง list_ports: improved, added USB location (Linux, Win32)
    • โ™ป๏ธ refactored code
    • ๐Ÿ‘ [FTR pyserial:37] Support fileno() function in the socket protocol
    • ๐Ÿง Posix: [Patch pyserial:31] Mark/space parity on Linux
    • ๐Ÿง Linux: [Patch pyserial:32] Module list_ports for linux should include the product information as description.
    • Java: fix 2 bugs (stop bits if/else and non-integer timeouts) (Torsten Roemer)
    • โšก๏ธ Update wxSerialConfigDialog.py to use serial.tools.list_ports.
    • [Patch pyserial:34] Improvements to port_publisher.py example
    • ๐Ÿง [Feature pyserial:39] Support BlueTooth serial port discovery on Linux

    ๐Ÿ›  Bugfixes:

    • [Bug pyserial:157] Implement inWaiting in protocol_socket
    • [Bug pyserial:166] RFC2217 connections always fail
    • [Bug pyserial:172] applySettingsDict() throws an error if the settings dictionary is not complete
    • โฑ [Bug pyserial:185] SocketSerial.read() never returns data when timeout==0

    ๐Ÿ›  Bugfixes (posix):

    • [Bug pyserial:156] PosixSerial.open raises OSError rather than SerialException when port open fails
    • [Bug pyserial:163] serial.tools.list_ports.grep() fails if it encounters None type
    • ๐Ÿ›  fix setXON
    • [Patch pyserial:36 / 38] Make USB information work in python 3.4 and 2.7
    • ๐ŸŒ clear OCRNL/ONLCR flags (CR/LF translation settings)
    • ๐Ÿ‘ [Feature pyserial:38] RS485 Support
    • [Bug pyserial:170] list_ports_posix not working properly for Cygwin
    • [Bug pyserial:187] improve support for FreeBSD (list_ports_posix)

    ๐Ÿ›  Bugfixes (win32):

    • [Bug pyserial:169] missing "import time" in serialwin32.py

    ๐Ÿ›  Bugfixes (cli):

    • [Bug pyserial:159] write() in serialcli.py not working with IronPython 2.7.4