[tor-commits] [sbws/master] Release 0.5.0

pastly at torproject.org pastly at torproject.org
Tue Jun 26 15:36:50 UTC 2018


commit af8bb20e96b6a1bf7fab2cf3610efde335b44ce7
Author: Matt Traudt <sirmatt at ksu.edu>
Date:   Tue Jun 26 11:11:35 2018 -0400

    Release 0.5.0
    
    **Important changes**:
    
    - Result format changed, causing a version bump to 4. Updating sbws to 0.5.0
      will cause it to ignore results with version less than 4.
    
    Summary of changes:
    
    - Keep previously-generated v3bw files
    - Allow a relay to limit its weight based on
      RelayBandwidthRate/MaxAdvertisedBandwidth
    - 1 CPU usage optimization
    - 1 memory usage optimization
---
 CHANGELOG.md                                  | 20 +++++++++++++++++++-
 sbws/__init__.py                              |  2 +-
 tests/unit/lib/data/v3bw/20180425_131057.v3bw |  2 +-
 3 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4b1e1c3..a8bbd36 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
 
 ## [Unreleased]
 
+
+
+## [0.5.0] - 2018-06-26
+
+**Important changes**:
+
+- Result format changed, causing a version bump to 4. Updating sbws to 0.5.0
+  will cause it to ignore results with version less than 4.
+
+Summary of changes:
+
+- Keep previously-generated v3bw files
+- Allow a relay to limit its weight based on
+  RelayBandwidthRate/MaxAdvertisedBandwidth
+- 1 CPU usage optimization
+- 1 memory usage optimization
+
 ### Added
 
 - Use a relay's {,Relay}BandwidthRate/MaxAdvertisedBandwidth as an upper bound
@@ -67,5 +84,6 @@ So fix that.
 - `earliest_bandwidth` being the newest bw not the oldest (thanks juga0)
 - `node_id` was missing the character "$" at the beginning
 
-[Unreleased]: https://github.com/pastly/simple-bw-scanner/compare/v0.4.1...master
+[Unreleased]: https://github.com/pastly/simple-bw-scanner/compare/v0.5.0...master
+[0.5.0]: https://github.com/pastly/simple-bw-scanner/compare/v0.4.1...v0.5.0
 [0.4.1]: https://github.com/pastly/simple-bw-scanner/compare/v0.4.0...v0.4.1
diff --git a/sbws/__init__.py b/sbws/__init__.py
index 62f6024..2b8877c 100644
--- a/sbws/__init__.py
+++ b/sbws/__init__.py
@@ -1 +1 @@
-__version__ = '0.4.2-dev'
+__version__ = '0.5.0'
diff --git a/tests/unit/lib/data/v3bw/20180425_131057.v3bw b/tests/unit/lib/data/v3bw/20180425_131057.v3bw
index 9bb3ffd..df3dcd4 100644
--- a/tests/unit/lib/data/v3bw/20180425_131057.v3bw
+++ b/tests/unit/lib/data/v3bw/20180425_131057.v3bw
@@ -5,6 +5,6 @@ file_created=2018-04-25T13:10:57
 generator_started=2018-04-16T14:09:05
 latest_bandwidth=2018-04-17T14:09:07
 software=sbws
-software_version=0.4.2-dev
+software_version=0.5.0
 ====
 bw=54 error_circ=0 error_misc=0 error_stream=1 master_key_ed25519=g+Shk00y9Md0hg1S6ptnuc/wWKbADBgdjT0Kg+TSF3s nick=A node_id=$AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA rtt=456 success=1 time=2018-04-17T14:09:07





More information about the tor-commits mailing list