Skip to content

Commit

Permalink
Merge pull request #132 from Flamefire/changelog
Browse files Browse the repository at this point in the history
Update changelog and version for 11.1.2
  • Loading branch information
Flamefire authored Apr 6, 2021
2 parents fa10046 + 2190194 commit 2ecc31f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
BOOST_VERSION: 1.56.0
steps:
- uses: actions/checkout@v2
- name: Sanity check version
run: grep -E 'set\(_version [0-9]' CMakeLists.txt
- uses: actions/cache@v1
id: cache-boost
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ jobs:
- name: Extract tag name
id: get_tag
run: echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"
- name: Sanity check version
run: |
version=${{steps.get_tag.outputs.tag}}
if ! grep -q "set(_version ${version#v})" CMakeLists.txt; then
echo "Version mismatch."
echo "Expected '${version#v}', found '$(grep -E 'set\(_version [0-9]' CMakeLists.txt)'"
exit 1
fi
- name: Create documentation
run: |
sudo apt-get install doxygen
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

cmake_minimum_required(VERSION 3.9)
# Version number starts at 10 to avoid conflicts with Boost version
set(_version 11.1.0)
set(_version 11.1.2)
if(BOOST_SUPERPROJECT_SOURCE_DIR)
set(_version ${BOOST_SUPERPROJECT_VERSION})
endif()
Expand Down
7 changes: 6 additions & 1 deletion doc/changelog.dox
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@

\section changelog Changelog

\subsection changelog_11_1_1 Nowide 11.1.1 (Boost 1.76)
\subsection changelog_11_1_2 Nowide 11.1.2 (Boost 1.76)

- Don't define `__MSVCRT_VERSION__` version to fix compatibility with ucrt
- Known issues: Read performance for text files is degraded. Binary files and writing is unaffected.

\subsection changelog_11_1_1 Nowide 11.1.1

- Fix discarding of characters for text file streams when seek or sync functions are used and newlines were converted (e.g. on Windows)
- Fix potential use-after-free bug when reusing (via `open`) a file stream that has been closed
Expand Down

0 comments on commit 2ecc31f

Please sign in to comment.