diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index b0a1e48..d4e0177 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -37,6 +37,7 @@ body: label: Version description: What version of our software are you running? options: + - 0.7.2 - 0.7.1 - 0.7.0 - 0.6.0 diff --git a/.github/release.md b/.github/release.md new file mode 100644 index 0000000..8cf6995 --- /dev/null +++ b/.github/release.md @@ -0,0 +1,15 @@ +# Steps to perform a Release + +1. Update version number in + - CMakeLists.txt `write_basic_package_version_file()` + - nuget/jwt-cpp.nuspec `` and `` + - Doxygen `PROJECT_NUMBER` + - .github/ISSUE_TEMPLATE/bug-report.yml `id: version` +2. Draft new release on GitHub + - Releases > Draft a new Release + - Create a tag `vX.Y.Z` at `master` + - add suffix `-rc.X` for testing release process + - Review changes for any **Breaking Changes** + - Add section `## Breaking Changes :warning:` if needed + - separate corresponding Pull Requests + - Publish Release diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 11f05e4..a72688a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - uses: ssciwr/doxygen-install@v1 with: - version: "1.10.0" + version: "1.14.0" - run: sudo apt install graphviz - run: | cmake . -DJWT_BUILD_DOCS=ON diff --git a/CMakeLists.txt b/CMakeLists.txt index c223188..2760c58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,7 +143,7 @@ endif() configure_package_config_file( ${CMAKE_CURRENT_LIST_DIR}/cmake/jwt-cpp-config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/jwt-cpp-config.cmake INSTALL_DESTINATION ${JWT_CMAKE_FILES_INSTALL_DIR}) -write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/jwt-cpp-config-version.cmake VERSION 0.7.1 +write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/jwt-cpp-config-version.cmake VERSION 0.7.2 COMPATIBILITY ExactVersion) install(TARGETS jwt-cpp EXPORT jwt-cpp-targets PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 1c15915..f523352 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -1,9 +1,9 @@ -file(DOWNLOAD https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/v2.2.1/doxygen-awesome.css +file(DOWNLOAD https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/v2.4.1/doxygen-awesome.css ${CMAKE_CURRENT_LIST_DIR}/doxygen-awesome.css - EXPECTED_HASH SHA256=9b5549928906e9974cc12dcdde9265e016dc2388ec72d5aa3209f4870914a0c8) -file(DOWNLOAD https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/v2.2.1/doxygen-awesome-sidebar-only.css + EXPECTED_HASH SHA256=59d490373159e2cae97784c83463d8bc21fe5d65a4b0edd73048a3dab60f2ee5) +file(DOWNLOAD https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/v2.4.1/doxygen-awesome-sidebar-only.css ${CMAKE_CURRENT_LIST_DIR}/doxygen-awesome-sidebar-only.css - EXPECTED_HASH SHA256=998328b27193b7be007a431bc9be1a6f6855ff4d8fa722ecfdfed79a8931409f) + EXPECTED_HASH SHA256=dc7ddd235375b71ecb0af920faa6b925ee9445ac617f3bc962b0b0db97da7b4f) execute_process(COMMAND doxygen --version RESULT_VARIABLE DOXYGEN_VERSION_RESULT OUTPUT_VARIABLE DOXYGEN_VERSION_RAW_OUTPUT) diff --git a/docs/Doxyfile b/docs/Doxyfile index 20fd332..61d7859 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -48,7 +48,7 @@ PROJECT_NAME = JWT-CPP # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = v0.7.1 +PROJECT_NUMBER = v0.7.2 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/nuget/jwt-cpp.nuspec b/nuget/jwt-cpp.nuspec index 15df349..ec30309 100644 --- a/nuget/jwt-cpp.nuspec +++ b/nuget/jwt-cpp.nuspec @@ -2,13 +2,13 @@ jwt-cpp - 0.7.1 + 0.7.2 Thalhammer; prince-chrismc Thalhammer; prince-chrismc https://github.com/Thalhammer/jwt-cpp JWT++ is a header only library for creating and validating JSON Web Tokens in C++11. This library supports all the algorithms defined by the JWT specifications, and the modular design allows to easily add additional algorithms without any problems. In the name of flexibility and extensibility, jwt-cpp supports OpenSSL, LibreSSL, and wolfSSL. And there is no hard dependency on a JSON library. - Supporting OpenSSL 3.0.0, WolfSSL, Hunter CMake, Boost.JSON, JWKs, ES256K. + Jsoncons v1 support. Improvements to date format handling. MIT Copyright (c) 2018 Dominik Thalhammer JWT++: JSON Web Tokens in C++11 diff --git a/tests/cmake/CMakeLists.txt b/tests/cmake/CMakeLists.txt index 40d9791..1a0294e 100644 --- a/tests/cmake/CMakeLists.txt +++ b/tests/cmake/CMakeLists.txt @@ -3,7 +3,7 @@ project(jwt-cpp-installation-tests) set(TEST CACHE STRING "The test source file to be used") -find_package(jwt-cpp 0.7.1 EXACT REQUIRED CONFIG) +find_package(jwt-cpp 0.7.2 EXACT REQUIRED CONFIG) add_executable(test-project ${TEST}.cpp) target_link_libraries(test-project jwt-cpp::jwt-cpp)