CHANGELOG.md 6.76 KB
Newer Older
Karsten Loesing's avatar
Karsten Loesing committed
1
# Changes in version 1.7.0 - ???
2

Karsten Loesing's avatar
Karsten Loesing committed
3
 * Medium changes
4
5
   - Fix a bug where unrecognized lines in extra-info descriptors
     below crypto blocks were silently skipped.
6
   - Add support for six new key-value pairs added by OnionPerf.
7

8
9
10
11
 * Minor changes
   - Accept extra arguments in statistics-related extra-info
     descriptor lines, as permitted by dir-spec.txt.

12

Karsten Loesing's avatar
Karsten Loesing committed
13
# Changes in version 1.6.0 - 2017-02-17
14

15
16
17
18
 * Major changes
   - Deprecate DescriptorDownloader in favor of the much more widely
     used DescriptorCollector.

19
20
21
22
 * Medium changes
   - Add two methods for loading and saving a parse history file in
     the descriptor reader to avoid situations where applications fail
     after all descriptors are read but before they are all processed.
iwakeh's avatar
iwakeh committed
23
24
25
   - Unify the build process by adding git-submodule metrics-base in
     src/build and removing all centralized parts of the build
     process.
26
27
   - Avoid deleting extraneous local descriptor files when collecting
     descriptors from CollecTor.
28
29
30
31
   - Turn the descriptor reader thread into a daemon thread, so that
     the application can decide at any time to stop consuming
     descriptors without having to worry about the reader thread not
     being done.
32
33
34
   - Parse "proto" lines in server descriptors, "pr" lines in status
     entries, and "(recommended|required)-(client|relay)-protocols"
     lines in consensuses and votes.
35
   - Parse "shared-rand-.*" lines in consensuses and votes.
36
37
   - Deprecate DescriptorCollectorImpl now that
     DescriptorIndexCollector is the default.
38
39


Karsten Loesing's avatar
Karsten Loesing committed
40
# Changes in version 1.5.0 - 2016-10-19
41

42
43
44
45
46
47
 * Major changes
   - Make the DescriptorCollector implementation that uses CollecTor's
     index.json file to determine which descriptor files to fetch the
     new default.  Applications must provide gson-2.2.4.jar or higher
     as dependency.

48
49
50
51
 * Minor changes
   - Avoid running into an IOException and logging a warning for it.


Karsten Loesing's avatar
Karsten Loesing committed
52
# Changes in version 1.4.0 - 2016-08-31
53

54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
 * Major changes
   - Add the Simple Logging Facade for Java (slf4j) for logging
     support rather than printing warnings to stderr.  Applications
     must provide slf4j-api-1.7.7.jar or higher as dependency and can
     optionally provide a compatible logging framework of their choice
     (java.util.logging, logback, log4j).

 * Medium changes
   - Add an alpha version of a DescriptorCollector implementation that
     is not enabled by default and that uses CollecTor's index.json
     file to determine which descriptor files to fetch.  Applications
     can enable this implementation by providing gson-2.2.4.jar or
     higher as dependency and setting property descriptor.collector to
     org.torproject.descriptor.index.DescriptorIndexCollector.

69
 * Minor changes
70
71
   - Include resource files in src/*/resources/ in the release
     tarball.
72
   - Move executable, source, and javadoc jar to generated/dist/.
73
74


75
76
77
78
79
80
81
# Changes in version 1.3.1 - 2016-08-01

 * Medium changes
   - Adapt to CollecTor's new date format to make DescriptorCollector
     work again.


Karsten Loesing's avatar
Karsten Loesing committed
82
# Changes in version 1.3.0 - 2016-07-06
83
84
85

 * Medium changes
   - Parse "package" lines in consensuses and votes.
86
87
88
89
90
91
92
93
   - Support more than one "directory-signature" line in a vote, which
     may become relevant when authorities start signing votes using
     more than one algorithm.
   - Provide directory signatures in consensuses and votes in a list
     rather than a map to support multiple signatures made using the
     same identity key digest but different algorithms.
   - Be more lenient about digest lengths in directory signatures
     which may be longer or shorter than 20 bytes.
94
   - Parse "tunnelled-dir-server" lines in server descriptors.
95

96
97
98
99
 * Minor changes
   - Stop reporting "-----END .*-----" lines in v2 network statuses as
     unrecognized.

100

Karsten Loesing's avatar
Karsten Loesing committed
101
# Changes in version 1.2.0 - 2016-05-31
102
103
104
105

 * Medium changes
   - Include the hostname in directory source entries of consensuses
     and votes.
106
   - Also accept \r\n as newline in Torperf results files.
107
108
   - Make unrecognized keys of Torperf results available together with
     the corresponding values, rather than just the whole line.
109
110
   - In Torperf results, recognize all percentiles of expected bytes
     read for 0 <= x <= 100 rather than just x = { 10, 20, ..., 90 }.
111
112
   - Rename properties for overriding default descriptor source
     implementation classes.
113
   - Actually return the signing key digest in network status votes.
114
   - Parse crypto parts in network status votes.
115
116
   - Document all public parts in org.torproject.descriptor and add
     an Ant target to generate Javadocs.
117

118
119
120
 * Minor changes
   - Include a Torperf results line with more than one unrecognized
     key only once in the unrecognized lines.
121
122
   - Make "consensus-methods" line optional in network statuses votes,
     which would mean that only method 1 is supported.
123
124
   - Stop reporting "-----END .*-----" lines in directory key
     certificates as unrecognized.
Karsten Loesing's avatar
Karsten Loesing committed
125
   - Add code used for benchmarking.
126

127

Karsten Loesing's avatar
Karsten Loesing committed
128
# Changes in version 1.1.0 - 2015-12-28
129
130

 * Medium changes
131
132
133
134
135
136
   - Parse flag thresholds in bridge network statuses, and parse the
     "ignoring-advertised-bws" flag threshold in relay network status
     votes.
   - Support parsing of .xz-compressed tarballs using Apache Commons
     Compress and XZ for Java.  Applications only need to add XZ for
     Java as dependency if they want to parse .xz-compressed tarballs.
iwakeh's avatar
iwakeh committed
137
138
139
140
141
   - Introduce a new ExitList.Entry type for exit list entries instead
     of the ExitListEntry type which is now deprecated.  The main
     difference between the two is that ExitList.Entry can hold more
     than one exit address and scan time which were previously parsed
     as multiple ExitListEntry instances.
142
143
144
145
146
147
   - Introduce four new types to distinguish between relay and bridge
     descriptors: RelayServerDescriptor, RelayExtraInfoDescriptor,
     BridgeServerDescriptor, and BridgeExtraInfoDescriptor.  The
     existing types, ServerDescriptor and ExtraInfoDescriptor, are
     still usable and will not be deprecated, because applications may
     not care whether a relay or a bridge published a descriptor.
148
149
150
151
152
   - Support Ed25519 certificates, Ed25519 master keys, SHA-256
     digests, and Ed25519 signatures thereof in server descriptors and
     extra-info descriptors, and support Ed25519 master keys in votes.
   - Include RSA-1024 signatures of SHA-1 digests of extra-info
     descriptors, which were parsed and discarded before.
153
   - Support hidden-service statistics in extra-info descriptors.
154
155
   - Support onion-key and ntor-onion-key cross certificates in server
     descriptors.
156

157
158
159
160
 * Minor changes
   - Start using Java 7 features like the diamond operator and switch
     on String, and use StringBuilder correctly in many places.

161

Karsten Loesing's avatar
Karsten Loesing committed
162
# Changes in version 1.0.0 - 2015-12-05
Karsten Loesing's avatar
Karsten Loesing committed
163
164

 * Major changes
165
166
   - This is the initial release after four years of development.
     Happy 4th birthday!
Karsten Loesing's avatar
Karsten Loesing committed
167