Skip to content

Commit d10ad57

Browse files
committed
docs: update for v1.0.0. Change from ABI updates only to a full changelog.
1 parent bba9ebc commit d10ad57

File tree

2 files changed

+58
-1
lines changed

2 files changed

+58
-1
lines changed

CHANGES.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
11
# Changes
22

3+
## Version 1.0.0
4+
5+
This release contains ABI changes; it is not ABI compatibile with prior versions.
6+
7+
### Added
8+
9+
- The library version number is now available as compile time constants
10+
(`WALLY_MAJOR_VER`, `WALLY_MINOR_VER`, `WALLY_PATCH_VER`, `WALLY_BUILD_VER`),
11+
and at runtime via `wally_get_build_version`.
12+
- Added support for wallet policies (https://github.com/bitcoin/bips/pull/1389).
13+
- Added support for iterating and querying keys in descriptor/policy
14+
expressions, including support for key origin information such as
15+
fingerprint and path.
16+
- The library allocation functions (which may be overridden by the caller
17+
at runtime) are now exposed as wally_[malloc|calloc|free|strdup|strdump_n].
18+
Libraries using wally that wish to respect the callers allocation strategy
19+
can use these to avoid having to expose their own customizable allocator.
20+
- Added support for encrypted request/response protocols using ephemeral keys
21+
via aes_cbc_with_ecdh_key().
22+
- The PyPI wheel uploads now include an sdist source distribution, allowing
23+
install on otherwise-unsupported architectures.
24+
25+
### Changed
26+
27+
- The library now follows semantic versioning as per https://semver.org/.
28+
- Elements support is now enabled by default, reflecting the common library
29+
usage. Please see the `configure --help` entries for `--disable-elements`
30+
and `--disable-elements-abi` for details.
31+
- The ABI of the library is now consistent by default regardless of whether
32+
it is built with or without Elements support.
33+
- The constant EC_SIGNATURE_DER_MAX_LOW_R_LEN has been changed from 71 to 70,
34+
to reflect that wally always produced low-R, low-S signatures when grinding.
35+
- When configured to build as a static library, linking to libwallycore.a
36+
requires additionally linking to libsecp256k1.a.
37+
- Wally can now be configured to build against a system-wide libsecp256k1 by
38+
passing `--with-system-secp256k1` to configure.
39+
- The Python wheel can now be built with standard Python tooling such as `build`,
40+
and can be built from an uploaded source distribution.
41+
- The Python wheel can now be built with dynamic linking to libwallycore and
42+
libsecp256k1-zkp/libsecp256k1.
43+
- libsecp256k1-zkp has been updated to the lastest master version as at
44+
the time of release.
45+
- Some functions in the c++ header wally.hpp have changed interface slightly.
46+
Note that this header is deprecated and will be replaced in an upcoming
47+
release with higher level wrappers in the same manner as Python and JS.
48+
- The docker-based builds have been streamlined and simplified. NPM builds in
49+
particular are now much faster.
50+
51+
### Fixed
52+
53+
- Fixed a bug affecting signing PSBT taproot inputs.
54+
- Fixed extern libsecp256k1-zkp linkage for windows static builds.
55+
- Several build fixes/improvements and CI updates have been made.
56+
57+
358
## Version 0.9.1
459
- PSET: When adding an Elements transaction output to a PSET, the nonce
560
commitment was incorrectly mapped to the PSET output blinding key field.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ for cryptocurrency wallets.
55

66
Read the API documentation at https://wally.readthedocs.io.
77

8-
Note that library interfaces may change slightly while the library design matures. Please see the [CHANGES](./CHANGES.md) file to determine if the API has changed when upgrading.
8+
Please see the [CHANGES](./CHANGES.md) for change details (including ABI changes) when upgrading.
99

1010
Please report bugs and submit patches to [Our github repository](https://github.com/ElementsProject/libwally-core). If you wish to report a security issue, please read [Our security reporting guidelines](./SECURITY.md).
1111

@@ -88,6 +88,8 @@ $ brew install swig
8888
header files. This option *must not be given if wally is being installed as a system/shared library*. (default: no).
8989
- `--enabled-standard-secp`. Excludes support for features that are unavailable in
9090
the standard [libsecp256k1 library](https://github.com/bitcoin-core/secp256k1).
91+
- `--with-system-secp256k1=<package_name>`. Compile and link against a system-wide
92+
install of libsecp256k1 instead of the in-tree submodule. (default: not enabled).
9193
- `--enable-mbed-tls`. Use mbed-tls hashing functions if available. This typically
9294
results in faster hashing via hardware on embedded platforms such as ESP32.
9395
Note that the caller must ensure that ``sdkconfig.h`` and ``soc/soc_caps.h``

0 commit comments

Comments
 (0)