From 44579eb69bc80ddb8b2b803841fa397485123acc Mon Sep 17 00:00:00 2001 From: Jon Griffiths Date: Wed, 30 Aug 2023 16:46:17 +1200 Subject: [PATCH] Bump version to 1.0.0 --- README.md | 2 +- _CMakeLists.txt | 2 +- configure.ac | 2 +- docs/source/conf.py | 2 +- include/wally_core.h | 8 ++++---- setup.py | 2 +- src/wasm_package/package-lock.json | 4 ++-- src/wasm_package/package.json | 2 +- src/wasm_package/src/const.js | 8 ++++---- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 1d3064b78..92541e842 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ installed. For non-development use, you can install wally from PyPI with `pip` as follows: ``` -pip install wallycore==0.9.2 +pip install wallycore==1.0.0 ``` For development, you can build and install wally using: diff --git a/_CMakeLists.txt b/_CMakeLists.txt index 23a4b7f63..e575b10c2 100644 --- a/_CMakeLists.txt +++ b/_CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.20) project( libwallycore - VERSION 0.9.2 + VERSION 1.0.0 DESCRIPTION "A collection of useful primitives for cryptocurrency wallets" LANGUAGES C ) diff --git a/configure.ac b/configure.ac index fe9979019..07d44e703 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.60]) -AC_INIT([libwallycore],[0.9.2]) +AC_INIT([libwallycore],[1.0.0]) AC_CONFIG_AUX_DIR([tools/build-aux]) AC_CONFIG_MACRO_DIR([tools/build-aux/m4]) AC_CONFIG_SRCDIR([src/mnemonic.h]) diff --git a/docs/source/conf.py b/docs/source/conf.py index 61da01509..e5ca68a98 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -167,7 +167,7 @@ def extract_docs(infile, outfile): # built documents. # # The short X.Y version. -version = u'0.9.2' +version = u'1.0.0' # The full version, including alpha/beta/rc tags. release = version diff --git a/include/wally_core.h b/include/wally_core.h index 1f31e3057..783de38ad 100644 --- a/include/wally_core.h +++ b/include/wally_core.h @@ -29,10 +29,10 @@ extern "C" { #define WALLY_ENOMEM -3 /** malloc() failed */ /** Library version */ -#define WALLY_MAJOR_VER 0 -#define WALLY_MINOR_VER 9 -#define WALLY_PATCH_VER 2 -#define WALLY_BUILD_VER 0x902 +#define WALLY_MAJOR_VER 1 +#define WALLY_MINOR_VER 0 +#define WALLY_PATCH_VER 0 +#define WALLY_BUILD_VER 0x10000 /** * Initialize wally. diff --git a/setup.py b/setup.py index 83eea73ce..96da7f6b6 100644 --- a/setup.py +++ b/setup.py @@ -91,7 +91,7 @@ def call(args, cwd=ABS_PATH): kwargs = { 'name': 'wallycore', - 'version': '0.9.2', + 'version': '1.0.0', 'description': 'libwally Bitcoin library', 'long_description': 'Python bindings for the libwally Bitcoin library', 'url': 'https://github.com/ElementsProject/libwally-core', diff --git a/src/wasm_package/package-lock.json b/src/wasm_package/package-lock.json index b2352c941..3e0bad7fd 100644 --- a/src/wasm_package/package-lock.json +++ b/src/wasm_package/package-lock.json @@ -1,12 +1,12 @@ { "name": "wallycore", - "version": "0.9.2", + "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "wallycore", - "version": "0.9.2", + "version": "1.0.0", "license": "(MIT or BSD)", "devDependencies": { "buffer": "^6.0.3", diff --git a/src/wasm_package/package.json b/src/wasm_package/package.json index afc68984a..604d4a23b 100644 --- a/src/wasm_package/package.json +++ b/src/wasm_package/package.json @@ -1,6 +1,6 @@ { "name": "wallycore", - "version": "0.9.2", + "version": "1.0.0", "description": "JavaScript bindings for libwally", "main": "src/index.js", "type": "module", diff --git a/src/wasm_package/src/const.js b/src/wasm_package/src/const.js index b28bd9e23..a38e82882 100755 --- a/src/wasm_package/src/const.js +++ b/src/wasm_package/src/const.js @@ -109,7 +109,7 @@ export const WALLY_ADDRESS_VERSION_WIF_TESTNET = 0xEF; /** Wallet Import Format export const WALLY_BIP32_CHAIN_CODE_LEN = 32; export const WALLY_BIP32_TWEAK_SUM_LEN = 32; export const WALLY_BTC_MAX = 21000000; -export const WALLY_BUILD_VER = 0x902; +export const WALLY_BUILD_VER = 0x10000; export const WALLY_CA_PREFIX_LIQUID = 0x0c; /** Liquid v1 confidential address prefix */ export const WALLY_CA_PREFIX_LIQUID_REGTEST = 0x04; /** Liquid v1 confidential address prefix for regtest */ export const WALLY_CA_PREFIX_LIQUID_TESTNET = 0x17; /** Liquid v1 confidential address prefix for testnet */ @@ -118,7 +118,7 @@ export const WALLY_EINVAL = -2; /** Invalid argument */ export const WALLY_ENOMEM = -3; /** malloc() failed */ export const WALLY_ERROR = -1; /** General error */ export const WALLY_HOST_COMMITMENT_LEN = 32; -export const WALLY_MAJOR_VER = 0; +export const WALLY_MAJOR_VER = 1; export const WALLY_MAX_OP_RETURN_LEN = 80; /* Maximum length of OP_RETURN data push */ export const WALLY_MINISCRIPT_DEPTH_MASK = 0xffff0000; /** Mask for limiting maximum depth */ export const WALLY_MINISCRIPT_DEPTH_SHIFT = 16; /** Shift to convert maximum depth to flags */ @@ -127,7 +127,7 @@ export const WALLY_MINISCRIPT_POLICY_TEMPLATE = 0x08; /** Only allow policy temp export const WALLY_MINISCRIPT_REQUIRE_CHECKSUM = 0x04; /** Require a checksum to be present */ export const WALLY_MINISCRIPT_TAPSCRIPT = 0x01; /** Tapscript, use x-only pubkeys */ export const WALLY_MINISCRIPT_UNIQUE_KEYPATHS = 0x10; /** For policy templates, ensure BIP32 derivation paths differ for identical keys */ -export const WALLY_MINOR_VER = 9; +export const WALLY_MINOR_VER = 0; export const WALLY_MS_CANONICAL_NO_CHECKSUM = 0x01; /** Do not include a checksum */ export const WALLY_MS_IS_DESCRIPTOR = 0x20; /** Contains only descriptor expressions (no miniscript) */ export const WALLY_MS_IS_MULTIPATH = 0x02; /** Allows multiple paths via ```` */ @@ -146,7 +146,7 @@ export const WALLY_NETWORK_LIQUID_TESTNET = 0x05; /** Liquid v1 testnet */ export const WALLY_NETWORK_NONE = 0x00; /** Used for miniscript parsing only */ export const WALLY_NO_CODESEPARATOR = 0xffffffff; /* No BIP342 code separator position */ export const WALLY_OK = 0; /** Success */ -export const WALLY_PATCH_VER = 2; +export const WALLY_PATCH_VER = 0; export const WALLY_PSBT_EXTRACT_NON_FINAL = 0x1; /* Extract without final scriptsig and witness */ export const WALLY_PSBT_FINALIZE_NO_CLEAR = 0x1; /* Finalize without clearing redeem/witness scripts etc */ export const WALLY_PSBT_FLAG_NON_FINAL = 0x1;