Releases: hardbyte/python-can
Releases · hardbyte/python-can
2.2.1
Bug fixes
- Fix errors and warnings when importing library on Windows
- Fix Vector backend raising ValueError when hardware is not connected
Installation
Get it from PyPi:
pip install -U python-can==2.2.1
2.2.0
Major Features
- Fallback message filtering implemented in Python for interfaces that don't offer better accelerated mechanism. #157, #277, #104
- SocketCAN interfaces have been merged (
socketcan_native
andsocketcan_ctypes
), this is now completely transparent for the library user. #326 - automatic detection of available configs/channels in supported interfaces (see #303)
- Added synchronized (thread-safe) Bus variant. #315
- context manager support for the Bus class. #283
- added CSVReader. Improved testing of CSVReader/CSVWriter #270
- Notifier supports multiple buses #332
Removals
- Dropped support for Python 3.3 (officially reached end-of-life in Sept. 2017)
- Deprecated the old
CAN
module, please use the newercan
entry point (will be removed in version 2.4). #267
Interface Specific Changes
There were many changes and a lot of cleanup effort in the individual interfaces. Some of the highlights:
SocketCAN
Use socketcan
in the future instead of socketcan_native
or socketcan_ctypes
VectorCAN
- CAN FD support #311
- Fix bug where messages were sent to only one virtual channel #302
- Various fixes in #258:
- Avoid polling by using Win32 events when possible
- Support for receive_own_messages argument
PCAN
Use configured bitrate. #254
USB2CAN
Show stopping bug #219 has been fixed.
Minor Changes
- Minor api change to the
can.Notifier
addingadd_listener
andremove_listener
methods #266 SqlReader
andSqlWriter
have been renamed toSqliteReader
andSqliteWriter
. #263- readers/writers now support error frames correctly. #217, #247, #256
- bug fixes
- a lot of (CI) testing effort. #342
- improved documentation
- code cleanup. #309
Installation
Get it from PyPi:
pip install -U python-can==2.2.0
2.1
- Support for out of tree can interfaces with pluggy.
- Initial support for CAN-FD for socketcan_native and kvaser interfaces.
- Neovi interface now uses Intrepid Control Systems's own interface library.
- Improvements and new documentation for SQL reader/writer.
- Fix bug in neovi serial number decoding.
- Add testing on OSX to TravisCI
- Fix non english decoding error on pcan
- Other misc improvements and bug fixes
Available in all good cheese shops:
pip install python-can==2.1.0
Documentation available on readthedocs.
2.0
After an extended baking period we have finally tagged version 2.0.0!
Quite a few major Changes from v1.x:
- New interfaces:
- Vector
- NI-CAN
- isCAN
- neoVI
- Simplified periodic send API with initial support for SocketCAN
- Protocols module including J1939 support removed
- Logger script moved to module
can.logger
- New
can.player
script to replay log files - BLF, ASC log file support added in new
can.io
module
You can install from PyPi with pip:
pip install python-can==2.0.0
The documentation for v2.0.0 is available at http://python-can.readthedocs.io/en/2.0.0/