Skip to content

Commit a660a49

Browse files
Merge #1707: release: Prepare for 0.7.0
a3e742d release: Prepare for 0.7.0 (Tim Ruffing) f67b0ac ci: Don't hardcode ABI version (Tim Ruffing) Pull request description: ACKs for top commit: sipa: utACK a3e742d jonasnick: utACK a3e742d Tree-SHA512: e0aecf910d2a00d70989285f3b7cf31f0caf336df43a94f8c0083e92cb9194b61e8cf093facacf941991aba9d7d11617cf7569406a4eaeeabaa6763bc80684b6
2 parents 020ee60 + a3e742d commit a660a49

File tree

5 files changed

+15
-14
lines changed

5 files changed

+15
-14
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,10 +652,11 @@ jobs:
652652
653653
- name: Symbol check
654654
if: ${{ matrix.configuration.symbol_check }}
655+
shell: bash
655656
run: |
656657
py -3 --version
657658
py -3 -m pip install lief
658-
py -3 .\tools\symbol-check.py build\bin\RelWithDebInfo\libsecp256k1-5.dll
659+
py -3 ./tools/symbol-check.py build/bin/RelWithDebInfo/libsecp256k1-*.dll
659660
660661
- name: Check
661662
run: |

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [0.7.0] - 2025-07-21
99

1010
#### Added
1111
- CMake: Added `secp256k1_objs` interface library to allow parent projects to embed libsecp256k1 object files into their own static libraries.
1212
- build: Added `SECP256K1_NO_API_VISIBILITY_ATTRIBUTES` preprocessor flag (CMake option: `SECP256K1_ENABLE_API_VISIBILITY_ATTRIBUTES`) that disables explicit "visibility" attributes for API symbols. Defining this macro enables the user to control the visibility of the API symbols via `-fvisibility=<value>` when building libsecp256k1. (All non-API declarations will always have hidden visibility, even with `SECP256K1_ENABLE_API_VISIBILITY_ATTRIBUTES` defined.) For instance, `-fvisibility=hidden` can be useful even for the API symbols, e.g., when building a static libsecp256k1 which is linked into a shared library, and the latter should not re-export the libsecp256k1 API.
1313

1414
#### Changed
15-
- The pointers `secp256k1_context_static` and `secp256k1_context_no_precomp` to the constant context object are now const.
15+
- The pointers `secp256k1_context_static` and `secp256k1_context_no_precomp` to the constant context objects are now `const`.
1616
- Removed `SECP256K1_WARN_UNUSED_RESULT` attribute (defined as `__attribute__ ((__warn_unused_result__))`) from several API functions that always return 1. Compilers will no longer warn if the return value is unused.
1717
- CMake: Building with CMake is no longer considered experimental.
1818
- CMake: The minimum required CMake version was increased to 3.22.
@@ -25,7 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2525

2626
#### ABI Compatibility
2727
The symbols `secp256k1_ec_privkey_negate`, `secp256k1_ec_privkey_tweak_add`, and `secp256k1_ec_privkey_tweak_mul` were removed.
28-
The pointers `secp256k1_context_static` and `secp256k1_context_no_precomp` have been made const.
28+
The pointers `secp256k1_context_static` and `secp256k1_context_no_precomp` have been made `const`.
2929
Otherwise, the library maintains backward compatibility with version 0.6.0.
3030

3131
## [0.6.0] - 2024-11-04
@@ -185,7 +185,7 @@ This version was in fact never released.
185185
The number was given by the build system since the introduction of autotools in Jan 2014 (ea0fe5a5bf0c04f9cc955b2966b614f5f378c6f6).
186186
Therefore, this version number does not uniquely identify a set of source files.
187187

188-
[unreleased]: https://github.com/bitcoin-core/secp256k1/compare/v0.6.0...HEAD
188+
[0.7.0]: https://github.com/bitcoin-core/secp256k1/compare/v0.6.0...v0.7.0
189189
[0.6.0]: https://github.com/bitcoin-core/secp256k1/compare/v0.5.1...v0.6.0
190190
[0.5.1]: https://github.com/bitcoin-core/secp256k1/compare/v0.5.0...v0.5.1
191191
[0.5.0]: https://github.com/bitcoin-core/secp256k1/compare/v0.4.1...v0.5.0

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ project(libsecp256k1
77
# The package (a.k.a. release) version is based on semantic versioning 2.0.0 of
88
# the API. All changes in experimental modules are treated as
99
# backwards-compatible and therefore at most increase the minor version.
10-
VERSION 0.6.1
10+
VERSION 0.7.0
1111
DESCRIPTION "Optimized C library for ECDSA signatures and secret/public key operations on curve secp256k1."
1212
HOMEPAGE_URL "https://github.com/bitcoin-core/secp256k1"
1313
LANGUAGES C
@@ -21,8 +21,8 @@ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
2121
# https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
2222
# All changes in experimental modules are treated as if they don't affect the
2323
# interface and therefore only increase the revision.
24-
set(${PROJECT_NAME}_LIB_VERSION_CURRENT 5)
25-
set(${PROJECT_NAME}_LIB_VERSION_REVISION 1)
24+
set(${PROJECT_NAME}_LIB_VERSION_CURRENT 6)
25+
set(${PROJECT_NAME}_LIB_VERSION_REVISION 0)
2626
set(${PROJECT_NAME}_LIB_VERSION_AGE 0)
2727

2828
#=============================

ci/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ then
113113
case "$HOST" in
114114
*mingw*)
115115
ls -l .libs
116-
python3 ./tools/symbol-check.py .libs/libsecp256k1-5.dll
116+
python3 ./tools/symbol-check.py .libs/libsecp256k1-*.dll
117117
;;
118118
*)
119119
python3 ./tools/symbol-check.py .libs/libsecp256k1.so

configure.ac

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ AC_PREREQ([2.60])
44
# the API. All changes in experimental modules are treated as
55
# backwards-compatible and therefore at most increase the minor version.
66
define(_PKG_VERSION_MAJOR, 0)
7-
define(_PKG_VERSION_MINOR, 6)
8-
define(_PKG_VERSION_PATCH, 1)
9-
define(_PKG_VERSION_IS_RELEASE, false)
7+
define(_PKG_VERSION_MINOR, 7)
8+
define(_PKG_VERSION_PATCH, 0)
9+
define(_PKG_VERSION_IS_RELEASE, true)
1010

1111
# The library version is based on libtool versioning of the ABI. The set of
1212
# rules for updating the version can be found here:
1313
# https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
1414
# All changes in experimental modules are treated as if they don't affect the
1515
# interface and therefore only increase the revision.
16-
define(_LIB_VERSION_CURRENT, 5)
17-
define(_LIB_VERSION_REVISION, 1)
16+
define(_LIB_VERSION_CURRENT, 6)
17+
define(_LIB_VERSION_REVISION, 0)
1818
define(_LIB_VERSION_AGE, 0)
1919

2020
AC_INIT([libsecp256k1],m4_join([.], _PKG_VERSION_MAJOR, _PKG_VERSION_MINOR, _PKG_VERSION_PATCH)m4_if(_PKG_VERSION_IS_RELEASE, [true], [], [-dev]),[https://github.com/bitcoin-core/secp256k1/issues],[libsecp256k1],[https://github.com/bitcoin-core/secp256k1])

0 commit comments

Comments
 (0)