Skip to content

Commit c536fcb

Browse files
committed
v1.9: update version numbers
Update the library's (API) version number to v1.9.0. Also update the soname version number to 2.0, since we've had breaking ABI changes to the library.
1 parent e96e250 commit c536fcb

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
cmake_minimum_required(VERSION 3.5.1)
88

9-
project(libgit2 VERSION "1.8.2" LANGUAGES C)
9+
project(libgit2 VERSION "1.9.0" LANGUAGES C)
1010

1111
# Add find modules to the path
1212
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake")

include/git2/version.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ GIT_BEGIN_DECL
1919
* The version string for libgit2. This string follows semantic
2020
* versioning (v2) guidelines.
2121
*/
22-
#define LIBGIT2_VERSION "1.8.2"
22+
#define LIBGIT2_VERSION "1.9.0"
2323

2424
/** The major version number for this version of libgit2. */
2525
#define LIBGIT2_VERSION_MAJOR 1
2626

2727
/** The minor version number for this version of libgit2. */
28-
#define LIBGIT2_VERSION_MINOR 8
28+
#define LIBGIT2_VERSION_MINOR 9
2929

3030
/** The revision ("teeny") version number for this version of libgit2. */
31-
#define LIBGIT2_VERSION_REVISION 2
31+
#define LIBGIT2_VERSION_REVISION 0
3232

3333
/** The Windows DLL patch number for this version of libgit2. */
3434
#define LIBGIT2_VERSION_PATCH 0
@@ -44,9 +44,9 @@ GIT_BEGIN_DECL
4444
/**
4545
* The library ABI soversion for this version of libgit2. This should
4646
* only be changed when the library has a breaking ABI change, and so
47-
* may trail the library's version number.
47+
* may not reflect the library's API version number.
4848
*/
49-
#define LIBGIT2_SOVERSION "1.8"
49+
#define LIBGIT2_SOVERSION "2.0"
5050

5151
/**
5252
* An integer value representing the libgit2 version number. For example,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "libgit2",
3-
"version": "1.8.2",
3+
"version": "1.9.0",
44
"repo": "https://github.com/libgit2/libgit2",
55
"description": " A cross-platform, linkable library implementation of Git that you can use in your application.",
66
"install": "mkdir build && cd build && cmake .. && cmake --build ."

0 commit comments

Comments
 (0)