diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml index faef8076..42b53dd2 100644 --- a/.github/workflows/arch.yml +++ b/.github/workflows/arch.yml @@ -64,7 +64,7 @@ jobs: uses: actions/checkout@v4 - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-arch-${{ matrix.distro }}-${{ matrix.arch }}-${{ github.sha }} @@ -138,7 +138,7 @@ jobs: choco install ccache - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-Windows-win2022-msvc${{ matrix.arch }}-std17-${{ github.sha }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index bb88f135..0ae0648e 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -67,7 +67,7 @@ jobs: uses: actions/checkout@v4 - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-coverage-${{ github.sha }} diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 475945ee..ac117f6f 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -232,7 +232,7 @@ jobs: uses: actions/checkout@v4 - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-${{ github.workflow }}-ubuntu${{ matrix.os }}-${{ matrix.cxx }}-std${{ matrix.std }}-${{ github.sha }} @@ -304,7 +304,7 @@ jobs: sudo locale -a - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-${{ github.workflow }}-ubuntu${{ matrix.os }}-${{ env.CXX }}-std${{ matrix.std }}-libcxx-${{ github.sha }} @@ -348,7 +348,7 @@ jobs: uses: actions/checkout@v4 - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-${{ github.workflow }}-alpine-${{ github.sha }} @@ -436,7 +436,7 @@ jobs: uses: actions/checkout@v4 - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-${{ github.workflow }}-ubuntu22.04-${{ env.CXX }}-std${{ matrix.std }}-sanitize-${{ github.sha }} @@ -499,7 +499,7 @@ jobs: ${APT_INSTALL} ccache - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-${{ github.workflow }}-ubuntu22.04-${{ env.CXX }}-std${{ env.CMAKE_CXX_STANDARD }}-install${{ matrix.external_deps }}-${{ github.sha }} @@ -607,7 +607,7 @@ jobs: echo "${{ matrix.flags }}" > $GITHUB_WORKSPACE/flags.txt - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-${{ github.workflow }}-ubuntu22.04-${{ env.CXX }}-std${{ env.CMAKE_CXX_STANDARD }}-flags${{ hashfiles('$GITHUB_WORKSPACE/flags.txt') }}-${{ github.sha }} @@ -705,7 +705,7 @@ jobs: uses: actions/checkout@v4 - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-${{ github.workflow }}-ubuntu22.04-${{ env.CXX }}-std${{ env.CMAKE_CXX_STANDARD }}-regex${{ matrix.engine }}-icu${{ matrix.icu }}-${{ github.sha }} diff --git a/.github/workflows/lite.yml b/.github/workflows/lite.yml index 2507add0..df958f16 100644 --- a/.github/workflows/lite.yml +++ b/.github/workflows/lite.yml @@ -105,7 +105,7 @@ jobs: uses: actions/checkout@v4 - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-Linux-ubuntu${{ matrix.os }}-${{ matrix.cxx }}-std${{ matrix.std }}-${{ github.sha }} @@ -163,7 +163,7 @@ jobs: choco install ccache - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-Windows-win${{ matrix.os }}-msvc${{ matrix.platform }}-std${{ matrix.std }}-${{ matrix.type }}-${{ github.sha }} @@ -220,7 +220,7 @@ jobs: brew install --overwrite ccache - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-macOS-macos12-${{ matrix.cxx }}-std${{ matrix.std }}-${{ github.sha }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 151d0814..97e254dd 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -82,7 +82,7 @@ jobs: echo "CXXFLAGS=-isystem ${llvm_root}/include/c++/v1" >> $GITHUB_ENV - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-${{ github.workflow }}-macos${{ matrix.os }}-${{ matrix.cxx }}-std${{ matrix.std }}-${{ github.sha }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index b8b2883e..8f69d9ef 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -63,7 +63,7 @@ jobs: choco install ccache - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-${{ github.workflow }}-win${{ matrix.os }}-msvc${{ matrix.platform }}-std${{ matrix.std }}-${{ matrix.type }}-${{ github.sha }} @@ -119,7 +119,7 @@ jobs: choco install ccache - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-${{ github.workflow }}-win${{ matrix.os }}-clangcl${{ matrix.platform }}-std${{ matrix.std }}-${{ matrix.type }}-${{ github.sha }} @@ -196,7 +196,7 @@ jobs: uses: actions/checkout@v4 - name: Load ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.CCACHE_DIR }} key: ccache-${{ github.workflow }}-win2022-msys-${{ matrix.sys }}-${{ github.sha }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 6be10c9c..91b0e0fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # 2.0.1 -_Released 2024-02-xx_ +_Released 2024-02-12_ ## Fixes diff --git a/CMakeLists.txt b/CMakeLists.txt index bd0d9060..24852641 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.16) project( scn - VERSION 2.0.0 + VERSION 2.0.1 DESCRIPTION "scanf for modern C++" HOMEPAGE_URL "https://scnlib.dev" LANGUAGES CXX diff --git a/docs/pages/mainpage.md b/docs/pages/mainpage.md index 74591283..31c3d60c 100644 --- a/docs/pages/mainpage.md +++ b/docs/pages/mainpage.md @@ -72,7 +72,7 @@ Another option would be usage through CMake's `FetchContent` module. FetchContent_Declare( scn GIT_REPOSITORY https://github.com/eliaskosunen/scnlib - GIT_TAG v2.0.0 + GIT_TAG v2.0.1 GIT_SHALLOW TRUE ) FetchContent_MakeAvailable(scn) diff --git a/include/scn/detail/config.h b/include/scn/detail/config.h index 7ac192c7..1bf03af1 100644 --- a/include/scn/detail/config.h +++ b/include/scn/detail/config.h @@ -19,7 +19,7 @@ #include -#define SCN_VERSION SCN_COMPILER(2, 0, 0) +#define SCN_VERSION SCN_COMPILER(2, 0, 1) // SCN_USE_EXCEPTIONS // If 0, removes all `noexcept` annotations,