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