Ncplib

Latest version: v6.1.0

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

Scan your dependencies

Page 3 of 6

2.2.1

------------------

- Fixed bug with Node authentication due to premature sending of LINK packets.
- Fixed edge-case bug in connection closing.

2.2.0

------------------

- Added Python 3.4 support.
- Added :meth:`Connection.is_closing`.
- Added :attr:`Connection.remote_hostname`.
- Added ``auto_link`` parameter to :func:`connect`, :func:`start_server` and ``run_app``.
- Added ``remote_hostname`` parameter to :func:`connect`.
- Connection open and close log messages demoted from ``INFO`` to ``DEBUG`` level.

2.1.0

------------------

- Client hostname used in :func:`connect` defaults to system hostname, instead of ``"python3-ncplib"``.
- Added ``hostname`` parameter to :func:`connect`, to override default client hostname.
- Removed multiplexing support for multiple :class:`Response` over a single connection. This must now be implemented in
application code.
- :class:`Connection` logger no longer formats the host and port in log messages. This must now be done using the
standard Python :class:`logging.Formatter`.

2.0.14

-------------------

- Added support for parsing known embedded footer bug from Axis nodes.
- Fixed pending deprecation warning for legacy ``__aiter__`` protocol.

2.0.13

-------------------

- Using ``transport.is_closing()`` to detect lost connection, making ncplib compatible with ``uvloop``.

2.0.12

-------------------

- :meth:`Connection.recv_field` and :meth:`Response.recv_field` now raise an exception on network error to match the behavior of :meth:`Connection.recv` and :meth:`Response.recv`. Previously they returned ``None`` on network error, an undocumented and undesired behavior.

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.