diff --git a/CHANGES.md b/CHANGES.md index cbe7dfd22..4ff75cb57 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,15 +1,24 @@ # Changes -## Unreleased +## Version 1.2.0 ### Added +- Python: Add Python 3.12 wheels to the binary releases/PyPI. +- tx: expose `wally_tx_input_clone`/`wally_tx_input_clone` for input cloning. +- Build: Add new static analysis CI runs. + ### Changed - Javascript: The npm build now uses nodejs 20, as nodejs 16 is end-of-life. +- Android: Update android API level to 23 ### Fixed +- build: Don't use `which` on Debian as it is now deprecated. +- Various bug fixes from static analysis. +- Various build and documentation fixes. + ## Version 1.1.0 diff --git a/README.md b/README.md index b90455748..003f573a8 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==1.1.0 +pip install wallycore==1.2.0 ``` For development, you can build and install wally using: diff --git a/_CMakeLists.txt b/_CMakeLists.txt index 24a558e86..f0ccb8557 100644 --- a/_CMakeLists.txt +++ b/_CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.20) project( libwallycore - VERSION 1.1.0 + VERSION 1.2.0 DESCRIPTION "A collection of useful primitives for cryptocurrency wallets" LANGUAGES C ) diff --git a/configure.ac b/configure.ac index 5f7329916..bef74f204 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.60]) -AC_INIT([libwallycore],[1.1.0]) +AC_INIT([libwallycore],[1.2.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 4ce906f71..e54f4830e 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'1.1.0' +version = u'1.2.0' # The full version, including alpha/beta/rc tags. release = version diff --git a/include/wally_core.h b/include/wally_core.h index f7eda739d..90b67af6b 100644 --- a/include/wally_core.h +++ b/include/wally_core.h @@ -30,9 +30,9 @@ extern "C" { /** Library version */ #define WALLY_MAJOR_VER 1 -#define WALLY_MINOR_VER 1 +#define WALLY_MINOR_VER 2 #define WALLY_PATCH_VER 0 -#define WALLY_BUILD_VER 0x10100 +#define WALLY_BUILD_VER 0x10200 /** * Initialize wally. diff --git a/setup.py b/setup.py index 54ebeff81..36e4d9b1c 100644 --- a/setup.py +++ b/setup.py @@ -170,7 +170,7 @@ def _call(args, cwd=ABS_PATH): kwargs = { 'name': 'wallycore', - 'version': '1.1.0', + 'version': '1.2.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/Makefile.am b/src/Makefile.am index 35f0a5656..b29761b00 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -198,11 +198,11 @@ libwallycore_la_INCLUDES = \ if SHARED_BUILD_ENABLED # Increment at every ABI change (whether breaking or non-breaking) -LT_VER_CURRENT = 2 +LT_VER_CURRENT = 3 # Increment at every release, but reset to 0 at every ABI change LT_VER_REVISION = 0 # Increment at every ABI change, but reset to 0 if breaking -LT_VER_AGE = 1 +LT_VER_AGE = 2 # The library filename will be "libwallycore.so.$((current-age)).$((age)).$((revision))", # and the soname will be "libwallycore.so.$((current-age))". # Do NOT try to make the library version-info follow the project release version number! diff --git a/src/wasm_package/package-lock.json b/src/wasm_package/package-lock.json index 9525ac364..e062f841d 100644 --- a/src/wasm_package/package-lock.json +++ b/src/wasm_package/package-lock.json @@ -1,12 +1,12 @@ { "name": "wallycore", - "version": "1.1.0", + "version": "1.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "wallycore", - "version": "1.1.0", + "version": "1.2.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 d2c42b9ae..c745385fa 100644 --- a/src/wasm_package/package.json +++ b/src/wasm_package/package.json @@ -1,6 +1,6 @@ { "name": "wallycore", - "version": "1.1.0", + "version": "1.2.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 1a6680cf8..c99c3647c 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 = 0x10100; +export const WALLY_BUILD_VER = 0x10200; 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 */ @@ -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 = 1; +export const WALLY_MINOR_VER = 2; 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 ```` */