4.1.0 #1446
hardbyte
announced in
Announcements
4.1.0
#1446
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm happy to announce version 4.1.0 of python-can has been released to PyPi.
Installation
Changelog
Breaking Changes
windows-curses
was moved to optional dependencies (Move windows-curses dependency to an optional extra #1395).Use
pip install python-can[viewer]
if you are using thecan.viewer
script on Windows.
can.interfaces.vector.VectorChannelConfig
were renamedfrom camelCase to snake_case (Add bus_params and use snake case for VectorChannelConfig #1422).
Features
IO
and uses common interface names (e.g. can0) instead of just
channel numbers ([IO][canutils]: use common CAN interface names in generated logfile #1271).
can.logger
script accepts the-a, --append
optionto add new data to an existing log file (Enhance the
can.logger
to check to see if the log file exists and append if there rather than overwrite #1326, Enhancecan.logger
to consider theappend
option #1327, Raise appropriate error message when append is not possible #1361).Currently only the blf-, canutils- and csv-formats are supported.
extra_args
are passed to the bus, loggerand player initialisation (Pass CLI extra_args to Logger initialisation #1366).
Type Annotations
py.typed
marker to support type checkingaccording to PEP 561 (Add py.typed file and distribute it upon installation #1344).
Interface Improvements
of USB bus/address. Loopback frames are now correctly marked
with the
is_rx
flag (Improve gs_usb usability and fix loopback frames #1270).of just the channel name (Add device_id parameter to PcanBus constructor #1346).
find_available_interfaces()
find slcanX interfaces (socketcan: Make find_available_interfaces() find slcanX interfaces #1369).xlFlushReceiveQueue to xldriver (Extend XL api wrapper #1387).
be applied according to the arguments of
VectorBus.__init__
(VectorBus: check whether CAN settings were correctly applied #1426).Bug Fixes
writer.stop()
call that throws error (Bug incan.logger
during rollover when file format.blf
is defined #1316, Remove redundant writer.stop call that throws error #1317).extra_args
(CAN player script fails when using extra_args #1280, Detect types in _parse_additonal_config #1328).Miscellaneous
file_size
help doc string #1401, Fix Sphinx warnings #1405, Improve vector documentation #1420, Update docs and examples #1421, Documentation update for 4.1.0 #1434)This discussion was created from the release 4.1.0.
Beta Was this translation helpful? Give feedback.
All reactions