Releases: open-source-parsers/jsoncpp
1.9.7: Bugfixes, build system cleanups
What's Changed
- Fixes PreventInSourceBuilds.cmake to work with add_subdirectory by @morbo84 in #1383
- json_value.cpp bug in the edges of uint/int by @YaalLek in #1519
- Release 1.9.6 and move versions to 1.9.7 by @baylesj in #1566
- Fixed work secure_allocator on old compiers by @TsynkPavel in #1478
- Fix flag -DJSONCPP_USE_SECURE_MEMORY:BOOL=TRUE by @tfc in #1567
- fix(build): remove
check_required_componentsfor meson build by @chenrui333 in #1570 - the cgi module was removed from Python3.13 by @a-detiste in #1578
- Fix name of static library when targeting MinGW. by @mmuetzel in #1579
- Fix comparison warnings caused by 54fc4e2 by @JensMertelmeyer in #1575
- Drop pre-C++11 alternatives by @BillyDonahue in #1593
- feat: support std::string_view in Value API by @evalon32 in #1584
- Added Value::findType with String key by @SwintonStreet in #1574
- Set up for Bazel module builds. by @bcsgh in #1597
- Add a BUILD.bazel file for //example. by @bcsgh in #1602
- Fix "include what you use" issue by @victorvianna in #1625
- Make the build configuration under Bazel more correct. by @bcsgh in #1600
- Add Bazel tests by @bcsgh in #1601
- Return false in Reader::readValue when stack limit is exceeded by @xuhdev in #1619
- Remove deprecated/removed clang-tidy key AnalyzeTemporaryDtors (#1614) by @bmagistro in #1615
- [docs] Consuming JSONCpp via Conan package manager by @uilianries in #1622
- Cleanup README.md, fix broken link. by @baylesj in #1633
- Add gcovr.cfg to fix CI coverage merge errors by @baylesj in #1635
- Remove build directory exclusion from gcovr config by @baylesj in #1640
- Add test for allowDroppedNullPlaceholders by @baylesj in #1648
- Prevent test colision when running in parallel via RESOURCE_LOCK by @marty1885 in #1637
- fixup project version updater by @baylesj in #1649
- Update README with project status and focus by @baylesj in #1639
- Adding a cmake option to exclude the jsoncpp files from install. by @nv-jdeligiannis in #1596
- Change stack depth limit to 256 by @baylesj in #1657
- Fix uninitialized CMake variable in version.in by @baylesj in #1658
- Fix CMake deprecation warning for compatibility with CMake < 3.10 by @baylesj in #1659
- Scope JSON_DLL_BUILD to shared lib target only by @baylesj in #1660
- Fix number parsing failing under non-C locales by @baylesj in #1662
- Reject unescaped control characters in JSON strings by @baylesj in #1663
- Fix MSAN issue in #1626 by @baylesj in #1654
- Fix string_view ABI mismatch between library and consumers by @baylesj in #1661
- Revert "Fix number parsing failing under non-C locales" by @baylesj in #1664
- Fix use-after-free in Reader::parse(std::istream&) by @baylesj in #1665
- Update bazel config for 9.x by @keith in #1655
New Contributors
- @morbo84 made their first contribution in #1383
- @YaalLek made their first contribution in #1519
- @tfc made their first contribution in #1567
- @chenrui333 made their first contribution in #1570
- @a-detiste made their first contribution in #1578
- @mmuetzel made their first contribution in #1579
- @JensMertelmeyer made their first contribution in #1575
- @evalon32 made their first contribution in #1584
- @SwintonStreet made their first contribution in #1574
- @victorvianna made their first contribution in #1625
- @xuhdev made their first contribution in #1619
- @bmagistro made their first contribution in #1615
- @uilianries made their first contribution in #1622
- @marty1885 made their first contribution in #1637
- @nv-jdeligiannis made their first contribution in #1596
- @keith made their first contribution in #1655
Full Changelog: 1.9.6...1.9.7
1.9.6: Bugfixes
1.9.6: Bug fixes, optimizations, infrastructure changes
This release includes several important bug fixes and security fixes, as well as various infrastructure changes and cleanup.
What's Changed
- Parse large floats as infinity (#1349) by @terokinnunen in #1353
- Fix various typos by @luzpaz in #1350
- Use default rather than hard-coded 8 for maximum aggregate member alignment by @jrtc27 in #1378
- Fix wrong usage of doxygen groups by @mwestphal in #1417
- feat: adds front and back methods to Value type by @jwidauer in #1458
- Avoid using cmake glob vars if we are a subproject v2 by @nkh-lab in #1459
- Create meson_build_and_run by @baylesj in #1553
- Fix clang format issues by @baylesj in #1555
- Delete .travis.yml by @baylesj in #1557
- Delete .travis_scripts directory by @baylesj in #1556
- add comment space directive by @baylesj in #1558
- Clang format updates by @baylesj in #1560
- Update meson.yml by @baylesj in #1554
- Fix a parser bug where tokens are misidentified as commas. by @vslashg in #1502
- Fix out-of-bounds read. by @vslashg in #1503
- Fix asserts in Value::setComment by @vslashg in #1445
- add a valueToQuotedString overload by @phlptp in #1397
- Add code coverage by @baylesj in #1561
- Update meson.yml by @baylesj in #1562
- build(meson): use find_program('python3') by @Tachi107 in #1386
- Bump CMake policy version to avoid deprecation warning by @roehling in #1499
- Update link in amalgamate.py to GitHub by @NotWearingPants in #1335
- CharReader: Add StructuredError by @martinduffy1 in #1409
- Fix configure Clang on Windows by @TsynkPavel in #1480
- Fixed setting JSONCPP_USE_SECURE_MEMORY definition by @TsynkPavel in #1479
- Update readFromString.cpp print error by @gnudles in #1477
- Add security policy by @pnacht in #1484
- CMake: remove ccache micro management by @SpaceIm in #1448
- Create cmake.yml by @baylesj in #1563
- Update meson.yml by @baylesj in #1564
- Move removeIndex's result instead of copying by @jedav in #1516
- Use current source / binary dir when assuring out of source builds by @appgurueu in #1527
- Opportunistically take advantage of C++20 move-in/out-of stringstream by @beevvy in #1457
- Protect target JsonCpp::JsonCpp against multi-include by @rjoomen in #1435
- Don't use build dir build interfaces - Fix use with CMake FetchContent by @matthieugleg in #1528
- Create a jsoncppConfig.cmake file, even if building under meson by @wdouglass in #1486
- include/json/value.h is changed by @KeremTAN in #1462
- meson.build: fix the version number by @heitbaum in #1432
- Introduce CharReaderBuilder::ecma404Mode by @axic in #1333
- cmake export configuration: allow repeating find_package(jsoncpp) calls by @zeroxia in #1491
- Added Value::find with String key by @petukhovtd in #1467
- Don't use build dir build interfaces by @Scotty1701 in #1419
New Contributors
- @terokinnunen made their first contribution in #1353
- @jrtc27 made their first contribution in #1378
- @mwestphal made their first contribution in #1417
- @jwidauer made their first contribution in #1458
- @nkh-lab made their first contribution in #1459
- @vslashg made their first contribution in #1502
- @phlptp made their first contribution in #1397
- @Tachi107 made their first contribution in #1386
- @roehling made their first contribution in #1499
- @NotWearingPants made their first contribution in #1335
- @martinduffy1 made their first contribution in #1409
- @TsynkPavel made their first contribution in #1480
- @gnudles made their first contribution in #1477
- @pnacht made their first contribution in #1484
- @jedav made their first contribution in #1516
- @appgurueu made their first contribution in #1527
- @beevvy made their first contribution in #1457
- @rjoomen made their first contribution in #1435
- @matthieugleg made their first contribution in #1528
- @wdouglass made their first contribution in #1486
- @KeremTAN made their first contribution in #1462
- @heitbaum made their first contribution in #1432
- @zeroxia made their first contribution in #1491
- @petukhovtd made their first contribution in #1467
- @Scotty1701 made their first contribution in #1419
Full Changelog: 1.9.5...1.9.6
Bug-fixes
Security and build system fixes
This patch contains several fixes found through the OSS-Fuzz project fuzzing, increasing the security of the library, as well as some fixes for different build systems.
1.9.3: Bug fixes, optimizations, cleanup
Fix #1181 : Update the version tag - 1.9.3.
This release includes several important bug fixes for unblocking some consumer's use cases.
- Fixes to JSON_USE_EXCEPTION--some bugs creeped in breaking this flag in pre-release.
- Fixes to build system--improvements have been make for code correctness.
- Compile errors for various platforms have been resolved.
- Fuzzing has been fixed.
- Various bugs in the Reader and Writer code have been corrected.
- CPPTL support has been dropped.
- Various code improvements and optimizations.
00.11.0
This release is based on branch 00.11.z, which is different from branch 0.y.z and 1.y.z.
The main purpose of this release is to give users a third choice, that is, users can only have a copy of the code, but can build in different environments, so it can be used with old or newer compilers.
The benefit is that users can use some new features in this new branch that introduced in 1.y.z,
but can hardly applied into 0.y.z.
All changes in the source code are for compatibility with pre-C++11 and C++11 standards. At the same time , we add more CIs to ensure all changes in all environments can work well.
Medium size pre-release containing lots of build fixes
We are still working towards a release that we consider completely "stable." However, since multiple build fixes have been consumed since 1.9.1, here is a prerelease 1.9.2 build that contains those fixes.
Minor patches
This release contains some minor build fixes.
Medium-Large release containing 200 commits, bugfixes, enhancements
It's been ~2 years since the last release, so this has quite a few changes. Some highlights:
- Build optimizations and updates. Now needs at least Meson 0.50.0, bot support for VS 2013 dropped in favor of VS 2017 (#952, #955, #934, #933, #932, #911, #883, many others...).
- Lots of bug fixes (incl. #902, #872, #869,
- Lots of enhancements (#873, #
- Lots of cleanup (#870, #867, #865, #864, #847, #849, ...)
Mostly minor bug fixes and improvements, not too many big changes--not ready for version 2.0.0 release yet.
Need a new 0.y.z release
Needed for #828 (comment)
If this is really a minor update, sorry. And sorry for not updating the version string in the source-code. No time. A PR would be accepted.