[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [onionoo/master] Raise protocol version to 2.1.
commit bc3372a672a3fbb1cca9a24dfb671f7e55c32a2f
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Sun Nov 16 10:08:15 2014 +0100
Raise protocol version to 2.1.
---
build.xml | 2 +-
src/main/java/org/torproject/onionoo/server/ResponseBuilder.java | 2 +-
web/protocol.html | 4 ++++
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/build.xml b/build.xml
index 0bea931..9aa5fd5 100644
--- a/build.xml
+++ b/build.xml
@@ -1,6 +1,6 @@
<project default="dist" name="onionoo" basedir=".">
- <property name="onionoo.protocol.version" value="2.0"/>
+ <property name="onionoo.protocol.version" value="2.1"/>
<property name="release.version"
value="${onionoo.protocol.version}.0"/>
<property name="javasources" value="src/main/java"/>
diff --git a/src/main/java/org/torproject/onionoo/server/ResponseBuilder.java b/src/main/java/org/torproject/onionoo/server/ResponseBuilder.java
index 0ffdf10..d2239aa 100644
--- a/src/main/java/org/torproject/onionoo/server/ResponseBuilder.java
+++ b/src/main/java/org/torproject/onionoo/server/ResponseBuilder.java
@@ -69,7 +69,7 @@ public class ResponseBuilder {
return this.charsWritten;
}
- private static final String PROTOCOL_VERSION = "2.0";
+ private static final String PROTOCOL_VERSION = "2.1";
private static final String NEXT_MAJOR_VERSION_SCHEDULED = null;
diff --git a/web/protocol.html b/web/protocol.html
index 6885c00..fed1c36 100644
--- a/web/protocol.html
+++ b/web/protocol.html
@@ -167,6 +167,10 @@ field on September 16, 2014.</li>
parameter on October 17, 2014.</li>
<li><strong>2.0</strong>: Extended search parameter to base64-encoded
fingerprints on November 15, 2014.</li>
+<li><strong>2.1</strong>: Removed optional "advertised_bandwidth_fraction"
+field from details documents and optional "advertised_bandwidth" and
+"advertised_bandwidth_fraction" fields from weights documents on November
+16, 2014.</li>
</ul>
</div> <!-- box -->
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits