libtorrent v2.0.1 Release Notes

Release Date: 2020-11-15 // almost 4 years ago
  • ๐Ÿ›  Fixes since libtorrent 2.0:

    • ๐Ÿ›  fix attribute in single-file v2 torrent creation
    • ๐Ÿ›  fix padding for empty files in v2 torrent creation
    • โž• add function to ask a file_storage whether it's v2 or not
    • ๐Ÿ›  fix mtime field when creating single-file v2 torrents
    • ๐Ÿ›  fix performance regression in checking files
    • ๐Ÿ disable use of SetFileValidData() by default (windows). A new setting
      ๐Ÿ‘ allows enabling it

Previous changes from v2.0

  • ๐Ÿ”„ Changes since

    • โฌ‡๏ธ dropped depenency on iconv
    • deprecate set_file_hash() in torrent creator, as it's superceded by v2 torrents
    • deprecate mutable access to info_section in torrent_info
    • removed deprecated lazy_entry/lazy_bdecode
    • ๐Ÿ—„ stats_alert deprecated
    • โœ‚ remove bittyrant choking algorithm
    • update userdata in add_torrent_params to be type-safe and add to torrent_handle
    • add ip_filter to session_params
    • โž• added support for wolfSSL for SHA-1 hash and HTTPS (no Torrents over SSL)
    • ๐Ÿ‘ requires OpenSSL minimum version 1.0.0 with SNI support
    • deprecated save_state() and load_state() on session in favour of new
      write_session_params() and read_session_params()
    • added support for BitTorrent v2 (see docs/upgrade_to_2.0.html)
    • create_torrent() pad_file_limit parameter removed
    • โšก๏ธ create_torrent() merkle- and optimize-alignment flags removed
    • ๐Ÿšš merkle_tree removed from add_torrent_params
    • announce_entry expose information per v1 and v2 info-hash announces
    • deprecated sha1_hash info_hash members on torrent_removed_alert,
      โœ‚ torrent_deleted_alert, torrent_delete_failed_alert and add_torrent_params
    • undeprecate error_file_metadata for torrent errors related to its metadata
    • โœ‚ remove support for adding a torrent under a UUID (used for previous RSS support)
    • โœ‚ remove deprecated feature to add torrents by file:// URL
    • โœ‚ remove deprecated feature to download .torrent file from URL
    • ๐Ÿ— requires boost >= 1.66 to build
    • โšก๏ธ update networking API to networking TS compatible boost.asio
    • overhauled disk I/O subsystem to use memory mapped files (where available)
    • ๐Ÿ— libtorrent now requires C++14 to build
    • โž• added support for GnuTLS for HTTPS and torrents over SSL