Skip to content

Commit

Permalink
bump version to 2.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Feb 19, 2024
1 parent dacf64c commit 74bc93a
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,4 +1,9 @@
2.0.10 released

* allow on_unknown_torrent method in the absence of active torrents (new plugin feature added)
* add feature to async_move_storage() to not move files
* fix reject resume data if it contains mismatching info hashes
* fix clear the candidate_cache when clear peer_list
* fix missing python converter for dht::announce_flags_t

2.0.9 released
Expand Down
2 changes: 1 addition & 1 deletion Jamfile
Expand Up @@ -12,7 +12,7 @@ import cast ;

# we need version numbers in the form X.Y.Z in order to trigger the built-in
# support for generating symlinks to the installed library
VERSION = 2.0.9 ;
VERSION = 2.0.10 ;

BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
CXXFLAGS = [ modules.peek : CXXFLAGS ] ;
Expand Down
2 changes: 1 addition & 1 deletion Makefile
@@ -1,4 +1,4 @@
VERSION=2.0.9
VERSION=2.0.10

BUILD_CONFIG=release link=shared crypto=openssl warnings=off address-model=64

Expand Down
2 changes: 1 addition & 1 deletion bindings/python/setup.cfg
@@ -1,5 +1,5 @@
[metadata]
version = 2.0.9
version = 2.0.10

[build_ext]
cxxstd = 14
2 changes: 1 addition & 1 deletion docs/header.rst
@@ -1 +1 @@
:Version: 2.0.9
:Version: 2.0.10
2 changes: 1 addition & 1 deletion docs/hunspell/libtorrent.dic
Expand Up @@ -551,7 +551,7 @@ cpp
tos
BP
qB
LT2090
LT20A0
iocontrol
getname
getpeername
Expand Down
12 changes: 6 additions & 6 deletions include/libtorrent/version.hpp
Expand Up @@ -39,27 +39,27 @@ POSSIBILITY OF SUCH DAMAGE.

#define LIBTORRENT_VERSION_MAJOR 2
#define LIBTORRENT_VERSION_MINOR 0
#define LIBTORRENT_VERSION_TINY 9
#define LIBTORRENT_VERSION_TINY 10

// the format of this version is: MMmmtt
// M = Major version, m = minor version, t = tiny version
#define LIBTORRENT_VERSION_NUM ((LIBTORRENT_VERSION_MAJOR * 10000) + (LIBTORRENT_VERSION_MINOR * 100) + LIBTORRENT_VERSION_TINY)

#define LIBTORRENT_VERSION "2.0.9.0"
#define LIBTORRENT_REVISION "559e52ca3"
#define LIBTORRENT_VERSION "2.0.10.0"
#define LIBTORRENT_REVISION "dacf64c50"

namespace libtorrent {

// the major, minor and tiny versions of libtorrent
constexpr int version_major = 2;
constexpr int version_minor = 0;
constexpr int version_tiny = 9;
constexpr int version_tiny = 10;

// the libtorrent version in string form
constexpr char const* version_str = "2.0.9.0";
constexpr char const* version_str = "2.0.10.0";

// the git commit of this libtorrent version
constexpr std::uint64_t version_revision = 0x559e52ca3;
constexpr std::uint64_t version_revision = 0xdacf64c50;

// returns the libtorrent version as string form in this format:
// "<major>.<minor>.<tiny>.<tag>"
Expand Down
2 changes: 1 addition & 1 deletion src/settings_pack.cpp
Expand Up @@ -148,7 +148,7 @@ constexpr int DISK_WRITE_MODE = settings_pack::enable_os_cache;
SET(proxy_username, "", &session_impl::update_proxy),
SET(proxy_password, "", &session_impl::update_proxy),
SET(i2p_hostname, "", &session_impl::update_i2p_bridge),
SET(peer_fingerprint, "-LT2090-", nullptr),
SET(peer_fingerprint, "-LT20A0-", nullptr),
SET(dht_bootstrap_nodes, "dht.libtorrent.org:25401", &session_impl::update_dht_bootstrap_nodes)
}});

Expand Down
2 changes: 1 addition & 1 deletion test/test_settings_pack.cpp
Expand Up @@ -194,7 +194,7 @@ TORRENT_TEST(clear_single_string)
sp.clear(settings_pack::user_agent);

// when cleared, we'll get the default value
TEST_EQUAL(sp.get_str(settings_pack::user_agent), "libtorrent/2.0.9.0");
TEST_EQUAL(sp.get_str(settings_pack::user_agent), "libtorrent/2.0.10.0");
}

TORRENT_TEST(duplicates)
Expand Down

0 comments on commit 74bc93a

Please sign in to comment.