Skip to content

Commit e025ccd

Browse files
committed
release: prepare for initial release 0.2.0
There are plenty of unreleased variants of libsecp256k1 version 0.1.0 (libsecp256k1.so.0.0.0) in the wild. We choose a new version number to allow a clear distinction. There are variants of 0.1.0 that are incompatible with the initial release, hence we increase the minor version to arrive at version number 0.2.0. For the same reason, we increase the LIB_VERSION_CURRENT and keep AGE at 0. The changelog for 0.2.0 consists of the relevant changes since 2021-12-25, which is the date when the initial release process PR was merged (and the library version was set to a pre-release, see 423b6d1). This is somewhat arbitrary but at least points readers to relevant changes.
1 parent 6d1784a commit e025ccd

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

CHANGELOG.md

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
11
# Changelog
22

3-
This file is currently only a template for future use.
4-
5-
Each change falls into one of the following categories: Added, Changed, Deprecated, Removed, Fixed or Security.
3+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
64

75
## [Unreleased]
86

7+
## [0.2.0] - 2022-12-12
8+
99
### Added
1010
- Added `secp256k1_selftest`, to be used in conjunction with `secp256k1_context_static`.
1111

1212
### Changed
13-
- Enable modules schnorrsig, extrakeys and ECDH by default in ./configure
13+
- Enabled modules schnorrsig, extrakeys and ECDH by default in `./configure`.
1414

1515
### Deprecated
1616
- Deprecated context flags `SECP256K1_CONTEXT_VERIFY` and `SECP256K1_CONTEXT_SIGN`. Use `SECP256K1_CONTEXT_NONE` instead.
1717
- Renamed `secp256k1_context_no_precomp` to `secp256k1_context_static`.
1818

19-
## [MAJOR.MINOR.PATCH] - YYYY-MM-DD
19+
### ABI Compatibility
20+
21+
Since this is the first release, we do not compare application binary interfaces.
22+
However, there are unreleased versions of libsecp256k1 that are *not* ABI compatible with this version.
23+
24+
## [0.1.0] - 2013-03-05 to 2021-12-25
2025

21-
### Added/Changed/Deprecated/Removed/Fixed/Security
22-
- [Title with link to Pull Request](https://link-to-pr)
26+
This version was in fact never released.
27+
The number was given by the build system since the introduction of autotools in Jan 2014 (ea0fe5a5bf0c04f9cc955b2966b614f5f378c6f6).
28+
Therefore, this version number does not uniquely identify a set of source files.

configure.ac

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ 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, 1)
7+
define(_PKG_VERSION_MINOR, 2)
88
define(_PKG_VERSION_PATCH, 0)
9-
define(_PKG_VERSION_IS_RELEASE, false)
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, 0)
16+
define(_LIB_VERSION_CURRENT, 1)
1717
define(_LIB_VERSION_REVISION, 0)
1818
define(_LIB_VERSION_AGE, 0)
1919

0 commit comments

Comments
 (0)