Skip to content

Latest commit

 

History

History
235 lines (162 loc) · 8.97 KB

RELEASE-NOTES.md

File metadata and controls

235 lines (162 loc) · 8.97 KB

Bt Release Notes

For the latest information visit project web site: http://atomashpolskiy.github.io/bt/

1.10

Date:

Bug Fixes/Improvements:

  • Allow announce key to be missing in the torrent dictionary #42

1.9

Date: 12/14/2019

Bug Fixes/Improvements:

  • onTorrentStarted called twice #117
  • Add new onMetadataAvailable event (fired after torrent's metadata has been fetched)
  • Allow cookie to be missing in the LSD announce message
  • Make sure outgoing messages are never dropped
  • Continuous piece assignments (better request pipelining)
  • Direct I/O
  • Add configuration option for the number of outstanding requests
  • Add configuration option for send/receive buffer size
  • Add CLI parameter for DHT port
  • Allow bogon addresses, when using private DHT
  • Reliably eliminate duplicate peer connections and self connections

1.8

Date: 06/14/2019

New Features:

  • UPnP port mapping #80
  • Generate OSGi manifests
  • Add bt.data.DataDescriptor.getReader() method for convenient stream-like access to torrent's data

Bug Fixes/Improvements:

  • Outbound data silently discarded at high outgoing rates #94
  • Not possible to register consumers for a particular message type from more than one module #100
  • Support Base32-encoded info hashes in magnet links

1.7

Date: 02/26/2018

Changes/New Features:

  • Support for file selection (aka partial downloads)

Bug Fixes/Improvements:

  • Avoid creation of unnessary empty dirs when reading from a FileSystemStorageUnit that maps to an absent file
  • BEncoder: sort dictionary keys as raw byte sequences, not alphanumerical strings #50
  • Randomized rarest-first selector behaves like a sequential selector when peers are seeds #53
  • Empty files should not prevent successful verification of torrent's data
  • NPE in DefaultChannelPipeline when there are unprocessed leftovers from MSE handshake #57
  • Incorrect behavior when the same peer participates in more than one torrent #67

1.6

Date: 01/27/2018

Official BEPs:

Bug Fixes/Improvements:

  • PeerTracker example does not work on Windows
  • Allow to selectively enable only a subset of standard extensions, like PEX and LSD
  • Re-use native memory messaging buffers between different peer connections
  • Check the allowed crypto key size and disable MSE if insufficient #24

1.5

Date: 09/26/2017

Changes/New Features:

  • Introduce a unified, centralized mechanism for publishing/receiving events
  • Introduce a processing stage listener mechanism

Bug Fixes/Improvements:

  • Disallow to set client's runtime other than via Bt factory method
  • Introduce module extenders for contributing custom extensions
  • Disable BEP-9 metadata exchange for private torrents
  • DefaultClient state fix when client is stopped PR#37
  • Announce stats to tracker on start, stop, complete
  • Use I/O selector for receiving incoming messages
  • Allow to override the number of peers to request from a tracker
  • Provide information on creation date and creator of the torrent
  • Support empty files

1.4.1

Date: 08/20/2017

Bug Fixes:

  • java.lang.IllegalAccessError when instantiating StandaloneClientBuilder from Scala PR#36

1.4

Date: 08/14/2017

Changes/New Features:

  • Choose a specific network interface #20
Bug Fixes/Improvements:
  • Use generic java.nio.files interfaces in FileSystemStorage #21 by Jeremy L. Morris (MorrisLaw)
  • Switch integration tests to using in-memory storage #27
  • UDP tracker request contains 0 as the listening port
  • Download not starting when using standalone client with private runtime #34

1.3.1

Date: 08/11/2017

Bug Fixes:

  • java.lang.IllegalAccessError when running inside JBoss modules #32

1.3

Date: 07/29/2017

Official BEPs:

Changes/New Features:

  • Added ByteRange for working with binary ranges based on byte arrays and byte buffers
  • Support creating torrents from binary representation of info dictionary

Bug Fixes/Improvements:

  • Introduced notion of torrent processing chain
  • Fixed bug in extended protocol (invalid message type id mapping for peers) that sometimes prevented peers from receiving extended messages from Bt
  • Reduced dependency on the presence of a torrent; using torrent ID where possible
  • Perform peers lookup for active torrents only
  • Support HTTPS trackers
  • Configurable list of bootstrap DHT nodes
  • Configurable MSE private key size
  • Headless mode in CLI client (Windows compatibility)
  • Fix for occasional UI crashes in CLI client
  • Allow to specify the desired log level in CLI client (normal, verbose, trace)

1.2

Date: 05/24/2017

Changes/New Features:

Bug Fixes/Improvements:

  • Last block in a chunk is incorrectly marked as complete even when partially written
  • Provide info on encryption support, local TCP port and version in extended handshake
  • Eliminate self-connections in tests
  • Don't specify the recipient of a PEX message in the list of added peers

1.1

Date: 04/10/2017

Changes/New Features:

  • Support for auto-loading modules from the classpath
  • Enhanced API for building standalone and shared-runtime clients
  • Streaming (continuous) piece selectors
  • Improvements in piece selection and peer assignments algorithm
  • Support for multi-threaded hashing (verification) of torrent data on startup
  • Lifecycle binding API improvements; support for asynchronous bindings
  • Tools for creating custom protocol tests

Bug Fixes/Improvements:

  • Torrent processing should not terminate when interaction with the tracker failed
  • Announce key can be missing in trackerless torrents
  • Failures on receiving unexpected blocks should be optional
  • Peer connection occasionally stopped receiving/sending data due to a buffer compaction bug
  • Verification tasks should be submitted only for complete pieces
  • Chunk descriptor overlapping two files contained no blocks when the latter file was smaller than the leftovers from the former file
  • Calculate total size for multi-file torrents
  • NPE on UDP message worker shutdown
  • Multi-tracker does not announce to next trackers in tier if an exception was thrown
  • Querying trackers and other peer sources should be async
  • Adaptive message processing interval in message dispatcher to reduce the CPU load
  • Speed-up the initial startup by skipping verification if a storage unit is empty and by feeding larger blocks to the digester

1.0

Date: 01/16/17

Features:

  • Bencoding parser/encoder
  • Validation of arbitrary bencoded documents according to user-provided object models and YAML schemas
  • Filesystem-based data back-end, support for providing custom data back-ends
  • URL metainfo fetcher, support for providing custom metainfo fetchers
  • HTTP and UDP tracker integration
  • Multi-tracker support
  • Private tracker support
  • Standard bittorrent protocol and messaging
  • Full support for protocol extensions, including customization of handshake procedure
  • Support for providing custom peer sources
  • Peer exchange (protocol for p2p exchange of known peers in the swarm)
  • Support for custom messaging agents (consumers and producers), both for standard and extended protocols
  • Sequential, rarest-first and randomized rarest-first piece selection strategies
  • Shared runtime with multiple simultaneous torrent sessions
  • Test infrastructure with support for launching peer swarm on localhost to test new features in a real environment

Official BEPs: