diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 411256b..34a3350 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.1.0" + ".": "4.2.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index b14cc24..fb1efa6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,42 @@ # Changelog +## [4.2.0](https://github.com/mpaland/printf/compare/v4.1.0...v4.2.0) (2026-11-02) + + +### Features + +* format attribute for GCC and Clang ([0d673d2](https://github.com/mpaland/printf/commit/0d673d29035bd46343848e073de9a760a4996eae)), closes [#79](https://github.com/mpaland/printf/issues/79) +* PRINTF_DISABLE_SUPPORT_PUTCHAR to build without _putchar() ([fcffaf9](https://github.com/mpaland/printf/commit/fcffaf9fcf42c346c65a2e3c744ed8e83563cd67)) + + +### Bug Fixes + +* %f above PRINTF_MAX_FLOAT without exponential support kept nothing ([5c46ea9](https://github.com/mpaland/printf/commit/5c46ea927b4922e0e4f087d1db68b976657dbadf)) +* %p with '0x' prefix, lowercase hex digits and "(nil)" for NULL ([121f287](https://github.com/mpaland/printf/commit/121f2871a5b30ec17b918dc3961892ec90cb34df)), closes [#57](https://github.com/mpaland/printf/issues/57) [#84](https://github.com/mpaland/printf/issues/84) +* %s with precision read one character beyond the precision ([4cf7dba](https://github.com/mpaland/printf/commit/4cf7dba36c0a84372182da3493e4f1375a1d32ac)) +* field width for %p ([7eb16e7](https://github.com/mpaland/printf/commit/7eb16e792aca0a442e3aab88699cf0f09bef2aaf)) +* incomplete format specifier at the end of the format string ([db914c5](https://github.com/mpaland/printf/commit/db914c5c3ece33bc164f3fb18c4934d72e9ea37d)) +* INF and NAN in uppercase for %F, %E and %G ([092e9f2](https://github.com/mpaland/printf/commit/092e9f2256b78b5bbcd579b7fd99d9dd0e2078fd)) +* width of INT_MIN from an argument ([bd0bc40](https://github.com/mpaland/printf/commit/bd0bc4097256146869fc8009c0bf48ea30cc1079)) +* zero padding and precision beyond the number buffer ([37f4913](https://github.com/mpaland/printf/commit/37f491365de2fa40f9affceea90eca87e9bea5d1)) + + +### Performance + +* no division by a variable base in _ntoa ([93be85a](https://github.com/mpaland/printf/commit/93be85af72dbac904eacce06bd3c6088fa939925)), closes [#117](https://github.com/mpaland/printf/issues/117) + + +### Build System + +* remove the pre-CMake Makefile ([aff0698](https://github.com/mpaland/printf/commit/aff069855008b88034259b121c13d8620f39ec81)) +* **test:** update Catch2 to v3.16.1 ([55ce53b](https://github.com/mpaland/printf/commit/55ce53b1db8941a94592bb2a21075aa66f01b5ab)) + + +### Documentation + +* **readme:** Include new test suite layout and Catch2 v3 ([61c6eb5](https://github.com/mpaland/printf/commit/61c6eb50eb3d48751cf999e1d463ebed9393491e)) +* **readme:** update the check count of the test suite ([9467319](https://github.com/mpaland/printf/commit/946731941a869d0d34547a7ddebb7e9af1417666)) + ## [4.1.0](https://github.com/mpaland/printf/compare/v4.0.0...v4.1.0) (2026-10-31) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ee9b77..a922ece 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.10) -project(printf VERSION 4.1.0 LANGUAGES C) # x-release-please-version +project(printf VERSION 4.2.0 LANGUAGES C) # x-release-please-version # build the tests by default only if this is the top level project if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)