5
5
NEXT (In development)
6
6
---------------------
14
* Clients of subunit did not expect memoryview objects in StreamResult events.
17
* Memoryview and struct were mutually incompatible in 2.7.3 and 3.2.
18
(Robert Collins, #1216163)
26
* Memoryview detection was broken and thus it's use was never really tested.
27
(Robert Collins, 1216101)
29
* TestProtocol2's tag tests were set sort order dependent.
30
(Robert Collins, #1025392)
32
* TestTestProtocols' test_tags_both was set sort order dependent.
33
(Robert Collins, #1025392)
35
* TestTestProtocols' test_*_details were dictionary sort order dependent.
36
(Robert Collins, #1025392)
38
* TestSubUnitTags's test_add_tag was also se sort order dependent.
39
(Robert Collins, #1025392)
47
* subunit should now build with automake 1.11 again. (Robert Collins)
49
* `subunit-stats` no longer outputs encapsulated stdout as subunit.
50
(Robert Collins, #1171987)
52
* The logic for `subunit.run` is now importable via python -
53
`subunit.run.main`. (Robert Collins, #606770)
58
* Removed GPL files that were (C) non Subunit Developers - they are
59
incompatible for binary distribution, which affects redistributors.
60
(Robert Collins, #1185591)
68
* Subunit v2 packets with both file content and route code were not being
69
parsed correctly - they would incorrectly emit a parser error, due to trying
70
to parse the route code length from the first byes of the file content.
71
(Robert Collins, 1172815)
76
v2 protocol draft included in this release. The v2 protocol trades off human
77
readability for a massive improvement in robustness, the ability to represent
78
concurrent tests in a single stream, cheaper parsing, and that provides
79
significantly better in-line debugging support and structured forwarding
80
of non-test data (such as stdout or stdin data).
82
This change includes two new filters (subunit-1to2 and subunit-2to1). Use
83
these filters to convert old streams to v2 and convert v2 streams to v1.
85
All the other filters now only parse and emit v2 streams. V2 is still in
86
draft format, so if you want to delay and wait for v2 to be finalised, you
87
should use subunit-2to1 before any serialisation steps take place.
88
With the ability to encapsulate multiple non-test streams, another significant
89
cange is that filters which emit subunit now encapsulate any non-subunit they
90
encounter, labelling it 'stdout'. This permits multiplexing such streams and
91
detangling the stdout streams from each input.
93
The subunit libraries (Python etc) have not changed their behaviour: they
94
still emit v1 from their existing API calls. New API's are being added
95
and applications should migrate once their language has those API's available.
100
* ``subunit.run`` now replaces sys.stdout to ensure that stdout is unbuffered
101
- without this pdb output is not reliably visible when stdout is a pipe
102
as it usually is. (Robert Collins)
104
* v2 protocol draft included in this release. (Python implementation only so
105
far). (Robert Collins)
107
* Two new Python classes -- ``StreamResultToBytes`` and
108
``ByteStreamToStreamResult`` handle v2 generation and parsing.