Skip to content

Commit

Permalink
bump 2.0 version to 2.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed May 22, 2023
1 parent 559e52c commit 4d0b6c7
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 13 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
@@ -1,3 +1,5 @@
2.0.9 released

* fix issue with web seed connections when they close and re-open
* fallocate() not supported is not a fatal error
* fix proxying of IPv6 connections via IPv4 proxy
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.8 ;
VERSION = 2.0.9 ;

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.8
VERSION=2.0.9

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.8
version = 2.0.9

[build_ext]
cxxstd = 14
2 changes: 1 addition & 1 deletion docs/header.rst
@@ -1 +1 @@
:Version: 2.0.8
:Version: 2.0.9
2 changes: 1 addition & 1 deletion docs/hunspell/libtorrent.dic
Expand Up @@ -551,7 +551,7 @@ cpp
tos
BP
qB
LT2080
LT2090
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 8
#define LIBTORRENT_VERSION_TINY 9

// 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.8.0"
#define LIBTORRENT_REVISION "63e1ec8c8"
#define LIBTORRENT_VERSION "2.0.9.0"
#define LIBTORRENT_REVISION "559e52ca3"

namespace libtorrent {

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

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

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

// 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, "-LT2080-", nullptr),
SET(peer_fingerprint, "-LT2090-", 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.8.0");
TEST_EQUAL(sp.get_str(settings_pack::user_agent), "libtorrent/2.0.9.0");
}

TORRENT_TEST(duplicates)
Expand Down

0 comments on commit 4d0b6c7

Please sign in to comment.