Skip to content

Commit

Permalink
Increase version number of upcoming branch
Browse files Browse the repository at this point in the history
  • Loading branch information
glassez committed Aug 18, 2022
1 parent 283cea5 commit 1cc1575
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Jamfile
Original file line number Diff line number Diff line change
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.7 ;
VERSION = 2.1.0 ;

BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
ECHO "OS =" [ os.name ] ;
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=2.0.7
VERSION=2.1.0

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

Expand Down
2 changes: 1 addition & 1 deletion bindings/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def find_all_files(path: str) -> Iterator[str]:

setuptools.setup(
name="libtorrent",
version="2.0.7",
version="2.1.0",
author="Arvid Norberg",
author_email="arvid@libtorrent.org",
description="Python bindings for libtorrent-rasterbar",
Expand Down
2 changes: 1 addition & 1 deletion docs/header.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
:Version: 2.0.7
:Version: 2.1.0
16 changes: 8 additions & 8 deletions include/libtorrent/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,28 @@ see LICENSE file.
#include <cstdint>

#define LIBTORRENT_VERSION_MAJOR 2
#define LIBTORRENT_VERSION_MINOR 0
#define LIBTORRENT_VERSION_TINY 7
#define LIBTORRENT_VERSION_MINOR 1
#define LIBTORRENT_VERSION_TINY 0

// 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.7.0"
#define LIBTORRENT_REVISION "9cbecaa64"
#define LIBTORRENT_VERSION "2.1.0.0"
#define LIBTORRENT_REVISION "283cea598"

namespace libtorrent {

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

// the libtorrent version in string form
constexpr char const* version_str = "2.0.7.0";
constexpr char const* version_str = "2.1.0.0";

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

// 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
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,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, "-LT2070-", nullptr),
SET(peer_fingerprint, "-LT2100-", nullptr),
SET(dht_bootstrap_nodes, "dht.libtorrent.org:25401", &session_impl::update_dht_bootstrap_nodes),
SET(webtorrent_stun_server, "stun.l.google.com:19302", nullptr)
}});
Expand Down

0 comments on commit 1cc1575

Please sign in to comment.