@@ -7,7 +7,7 @@ Major features
7
7
* Adds support for developing `asyncio` applications with `python-can` more easily. This can be useful
8
8
when implementing protocols that handles simultaneous connections to many nodes since you can write
9
9
synchronous looking code without handling multiple threads and locking mechanisms. #388
10
- * New can viewer terminal application. #390
10
+ * New can viewer terminal application. (`python -m can.viewer`) #390
11
11
* More formally adds task management responsibility to the `Bus`. By default tasks created with
12
12
`bus.send_periodic` will have a reference held by the bus - this means in many cases the user
13
13
doesn't need to keep the task in scope for their periodic messages to continue being sent. If
@@ -18,11 +18,10 @@ Major features
18
18
Breaking changes
19
19
----------------
20
20
21
- - Interfaces should no longer override `send_periodic` and instead implement
22
- `_send_periodic_internal` #426
23
- - writing to closed writers is not supported any more (it was supported only for some)
24
- - the method `Listener.on_message_received()` is now abstract (using `@abc.abstractmethod`)
25
- - the file in the reader/writer is now always stored in the attribute uniformly called `file`, and not in
21
+ * Interfaces should no longer override `send_periodic` and instead implement
22
+ `_send_periodic_internal` to allow the Bus base class to manage tasks. #426
23
+ * writing to closed writers is not supported any more (it was supported only for some)
24
+ * the file in the reader/writer is now always stored in the attribute uniformly called `file`, and not in
26
25
something like `fp`, `log_file` or `output_file`. Changed the name of the first parameter of the
27
26
read/writer constructors from `filename` to `file`.
28
27
@@ -31,8 +30,9 @@ Other notable changes
31
30
---------------------
32
31
33
32
* can.Message class updated #413
34
- - Addition of a Message.equals method.
33
+ - Addition of a ` Message.equals` method.
35
34
- Deprecate id_type in favor of is_extended_id
35
+ - Initializer parameter extended_id deprecated in favor of is_extended_id
36
36
- documentation, testing and example updates
37
37
- Addition of support for various builtins: __repr__, __slots__, __copy__
38
38
* IO module updates to bring consistency to the different CAN message writers and readers. #348
@@ -50,13 +50,14 @@ Other notable changes
50
50
and only buffers messages up to a certain limit before writing/committing to the database.
51
51
- the unused `header_line` attribute from `CSVReader` has been removed
52
52
- privatized some attributes that are only to be used internally in the classes
53
+ - the method `Listener.on_message_received()` is now abstract (using `@abc.abstractmethod`)
53
54
* Start testing against Python 3.7 #380
54
55
* All scripts have been moved into `can/scripts`. #370, #406
55
56
* Added support for additional sections to the config #338
56
57
* Code coverage reports added. #346, #374
57
58
* Bug fix to thread safe bus. #397
58
59
59
- General fixes, cleanup and docs changes: (#347, #348, #367, #368, #370, #371, #373, #420, #417, #419)
60
+ General fixes, cleanup and docs changes: (#347, #348, #367, #368, #370, #371, #373, #420, #417, #419, #432 )
60
61
61
62
Backend Specific Changes
62
63
------------------------
94
95
socketcan
95
96
~~~~~~~~~
96
97
97
- * socketcan tasks now reuse a bcm socket
98
+ * socketcan tasks now reuse a bcm socket #404, #425, #426,
98
99
* socketcan bugfix to receive error frames #384
99
100
100
101
vector
0 commit comments