Stem Docs

Change Log

Change Log

The following is a log of all user-facing changes to Stem, both released and unreleased. For a monthly report on work being done see my development log.


Stem uses semantic versioning, which means that versions consist of three numbers (such as '1.2.4'). These are used to convey the kind of backward compatibility a release has...

  • The first value is the major version. This changes infrequently, and indicates that backward incompatible changes have been made (such as the removal of deprecated functions).
  • The second value is the minor version. This is the most common kind of release, and denotes that the improvements are backward compatible.
  • The third value is the patch version. When a Stem release has a major issue another release is made which fixes just that problem. These do not contain substantial improvements or new features. This value is sometimes left off to indicate all releases with a given major/minor version.


The following are only available within Stem's git repository.

  • Controller
  • launch_tor() raised a ValueError if invoked when outside the main thread
  • Failure to authenticate could raise an improper response or hang (ticket 22679)
  • Renamed ConnectionBandwidthEvent type attribute to conn_type to avoid conflict with parent class (ticket 21774)
  • Added 'force' argument to save_conf() (spec)
  • Added the QUERY_NO_HSDIR HSDescReason and recognizing unknown HSDir results (spec)
  • Added the GUARD_WAIT CircStatus (spec)
  • Unable to use cookie auth when path includes wide characters (chinese, japanese, etc)
  • Tor change caused list_ephemeral_hidden_services() to provide empty strings if unset (ticket 21329)
  • Better error message when set_conf() fails due to an option being immutable
  • Failed to parse torrcs without a port on ipv6 exit policy entries
  • Resilient to 'Tor' prefix in 'GETINFO version' result (spec)
  • Descriptors
  • Utilities
  • Interpreter
  • Website
  • Source code served by '[source]' links perpetually stale (ticket 19521)

Version 1.5 (November 20th, 2016)

Stem 1.5 is a long overdue accumulation of seventeen months of improvements including dramatically improved python 3.x performance, tor manual information, and much more.

  • Controller
  • Descriptors
  • Shorthand functions for stem.descriptor.remote
  • Added fallback directory information.
  • Support for ed25519 descriptor fields (spec)
  • Support downloading microdescriptor consensus with :func:~stem.descriptor.remote.DescriptorDownloader.get_consensus` (:spec`e788b8f`)
  • Added consensus and vote's new shared randomness attributes (spec)
  • Added server descriptor's new allow_tunneled_dir_requests attribute (spec)
  • Server descriptor validation fails with 'extra-info-digest line had an invalid value' from additions in proposal 228 (ticket 16227)
  • BridgeDescriptor now has 'ntor_onion_key' like its unsanitized counterparts
  • Replaced the Microdescriptor identifier and identifier_type attributes with an identifiers hash since it can now appear multiple times (spec)
  • Unable to read descriptors from data directories on Windows due to their CRLF newlines (ticket 17051)
  • TypeError under python3 when using 'use_mirrors = True' (ticket 17083)
  • Deprecated hidden service descriptor's introduction_points_auth field, which was never implemented in tor (ticket 15190, spec)
  • Deprecated get_microdescriptors() as it was never implemented in tor (ticket 9271)
  • get_hidden_service_descriptor() errored when provided a servers argument (ticket 18401)
  • Fixed parsing of server descriptor's allow-single-hop-exits and caches-extra-info lines
  • Bracketed IPv6 addresses were mistreated as being invalid content
  • Better validation for non-ascii descriptor content
  • Updated dannenberg's v3ident (ticket 17906)
  • Removed urras as a directory authority (ticket 19271)
  • Utilities
  • Interpreter
  • Added a '--tor [path]' argument to specify the tor binary to run.
  • Website
  • Version 1.5.3 (December 5th, 2016) - including tests and site in the release tarball
  • Version 1.5.4 (January 4th, 2017) - drop validation of the order of fields in the tor consensus (ticket 21059)

Version 1.4 (May 13th, 2015)

Stem's 1.4 release brings with it new hidden service capabilities. Most notably, ephemeral hidden services and the ability to read hidden service descriptors. This release also changes descriptor validation to now be opt-in rather than opt-out. When unvalidated content is lazy-loaded, greatly improving our performance.

And last, Stem also now runs directly under both python2 and python3 without a 2to3 conversion (ticket 14075)!

  • Controller
  • Descriptors
  • Lazy-loading descriptors, improving performance by 25-70% depending on what type it is (ticket 14011)
  • Added support for hidden service descriptors (ticket 15004)
  • When reading sanitised bridge descriptors (server or extrainfo), parse_file() treated the whole file as a single descriptor
  • The DirectoryAuthority 'fingerprint' attribute was actually its 'v3ident'
  • Added consensus' new package attribute (spec)
  • Added extra info' new hs_stats_end, hs_rend_cells, hs_rend_cells_attr, hs_dir_onions_seen, and hs_dir_onions_seen_attr attributes (spec)
  • Updating Faravahar's address (ticket 14487)
  • Utilities
  • Website
  • Version 1.4.1 (May 18th, 2015) - fixed issue where descriptors couldn't be unpickled (ticket 16054) and a parsing issue for router status entry bandwidth lines (ticket 16048)

Version 1.3 (December 22nd, 2014)

With Stem's 1.3 release it's now much easier to work with hidden services, 40% faster to read decriptors, and includes a myriad of other improvements. For a nice description of the changes this brings see Nathan Willis' LWN article.

  • Controller
  • Descriptors
  • Utilities
  • Interpreter
  • The /info command errored for relays without contact information
  • Website

Version 1.2 (June 1st, 2014)

Stem release 1.2 added our interactive Tor interpreter among numerous other improvements and fixes.

  • Controller
  • Descriptors
  • Utilities
  • Interpreter
  • Website
  • Added a section with example scripts.
  • Made FAQ and other sections quite a bit more succinct.
  • Version 1.2.2 (June 7th, 2014) - fixed an issue where the stem.util.conf module would fail under Python 2.6 with an AttributeError (ticket 12223)
  • Version 1.2.1 (June 3rd, 2014) - fixed an issue where descriptor parsersing would fail under Python 3.x with a TypeError (ticket 12185)

Version 1.1 (October 14th, 2013)

Stem release 1.1 introduced remote descriptor fetching, connection resolution and a myriad of smaller improvements and fixes.

  • Controller
  • Descriptors
  • Utilities
  • Website
  • Overhaul of Stem's download page. This included several improvements, most notably the addition of PyPI, Ubuntu, Fedora, Slackware, and FreeBSD.
  • Replaced default sphinx header with a navbar menu.
  • Added this change log.
  • Added the FAQ page.
  • Settled on a logo for Stem.
  • Expanded the client usage tutorial to cover SocksiPy and include an example for polling Twitter.
  • Subtler buttons for the frontpage (before and after).
  • Version 1.1.1 (November 9th, 2013) - fixed an issue where imports of stem.util.system would fail with an ImportError for pwd under Windows (ticket 10072)

Version 1.0 (March 26th, 2013)

This was the initial release of Stem.

  • Version 1.0.1 (March 27th, 2013) - fixed an issue where installing with Python 3.x (python3 install) resulted in a stacktrace