Ver código fonte

Update version number

bel 8 anos atrás
pai
commit
269e3f5625
5 arquivos alterados com 21 adições e 6 exclusões
  1. 1 1
      CMakeLists.txt
  2. 10 0
      RELEASE_NOTES.md
  3. 1 1
      contrib/buildroot/civetweb.mk
  4. 6 1
      docs/APIReference.md
  5. 3 3
      include/civetweb.h

+ 1 - 1
CMakeLists.txt

@@ -26,7 +26,7 @@ include(CMakeDependentOption)
 
 # Set up the project
 project (civetweb)
-set(CIVETWEB_VERSION "1.9.1" CACHE STRING "The version of the civetweb library")
+set(CIVETWEB_VERSION "1.10.0" CACHE STRING "The version of the civetweb library")
 string(REGEX MATCH "([0-9]+)\\.([0-9]+)\\.([0-9]+)" CIVETWEB_VERSION_MATCH "${CIVETWEB_VERSION}")
 if ("${CIVETWEB_VERSION_MATCH}" STREQUAL "")
   message(FATAL_ERROR "Must specify a semantic version: major.minor.patch")

+ 10 - 0
RELEASE_NOTES.md

@@ -1,3 +1,13 @@
+Release Notes v1.10 (work in progress)
+===
+### Objectives:
+
+Changes
+-------
+
+- Update version number
+
+
 Release Notes v1.9.1
 ===
 ### Objectives: *Bug fix*

+ 1 - 1
contrib/buildroot/civetweb.mk

@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-CIVETWEB_VERSION = 1.9
+CIVETWEB_VERSION = 1.10
 CIVETWEB_SITE = http://github.com/civetweb/civetweb/tarball/v$(CIVETWEB_VERSION)
 CIVETWEB_LICENSE = MIT
 CIVETWEB_LICENSE_FILES = LICENSE.md

+ 6 - 1
docs/APIReference.md

@@ -11,7 +11,11 @@ the API can be found in [Embedding.md](Embedding.md).
 
 | Macro | Description |
 | :--- | :--- |
-| **`CIVETWEB_VERSION`** | The current version of the website as a string with the major and minor version number seperated with a dot. For version 1.9, this string will for example have the value "1.9" |
+| **`CIVETWEB_VERSION`** | The current version of the software as a string with the major and minor version number seperated with a dot. For version 1.9, this string will have the value "1.9", for thw first patch of this version "1.9.1". |
+| **`CIVETWEB_VERSION_MAJOR`** | The current major version as number, e.g., (1) for version 1.9. |
+| **`CIVETWEB_VERSION_MINOR`** | The current minor version as number, e.g., (9) for version 1.9. |
+| **`CIVETWEB_VERSION_PATCH`** | The current patch version as number, e.g., (0) for version 1.9 or (1) for version 1.9.1. |
+
 
 ## Structures
 
@@ -24,6 +28,7 @@ the API can be found in [Embedding.md](Embedding.md).
 * [`struct mg_request_info;`](api/mg_request_info.md)
 * [`struct mg_server_ports;`](api/mg_server_ports.md)
 
+
 ## Functions
 
 * [`mg_check_feature( feature );`](api/mg_check_feature.md)

+ 3 - 3
include/civetweb.h

@@ -23,10 +23,10 @@
 #ifndef CIVETWEB_HEADER_INCLUDED
 #define CIVETWEB_HEADER_INCLUDED
 
-#define CIVETWEB_VERSION "1.9.1"
+#define CIVETWEB_VERSION "1.10"
 #define CIVETWEB_VERSION_MAJOR (1)
-#define CIVETWEB_VERSION_MINOR (9)
-#define CIVETWEB_VERSION_PATCH (1)
+#define CIVETWEB_VERSION_MINOR (10)
+#define CIVETWEB_VERSION_PATCH (0)
 
 #ifndef CIVETWEB_API
 #if defined(_WIN32)