Releases: jacobwilliams/json-fortran
Releases · jacobwilliams/json-fortran
9.0.2
9.0.1
9.0.0
See also
- The full Changelog.
Summary
- By default, the JSON pointer in
json_file
is now destroyed before loading. This is to prevent a memory leak if the type is used later to load another file. Also added a new optiondestroy_pointer
to thejson_file
load routines, which can be set to False to get the old behavior (not to destroy it). - Added add a new
nullify_pointer
option to thejson_file
constructor (default is True) - Updates for the CI and unit tests. Now testing with FPM, and running all tests with valgrind to check for memory leaks.
- Added an optional
allow_trailing_comma
argument to the initialize routines (default is True). If set to False, this disallows extra trailing commas in arrays and objects.
8.5.2
8.5.1
8.5.0
See also
- The full Changelog.
Summary
- Fixed a bug when IEEE floating-point rounding mode was set to
IEEE_DOWN
🐞 - Various CMake updates:
- Only installing if json-fortran is the top level project. Added a library alias so that json fortran can be included with
find_package
,fetch_content
, andadd_subdirectory
easily. - Fixed compilation with Ninja and Intel OneAPI ifx compiler, and added some CMake options
- Note that the CMake minimum version is now
3.18
. - Also note that running the tests requires the CMake variable
ENABLE_TESTS
to be set to true.
- Only installing if json-fortran is the top level project. Added a library alias so that json fortran can be included with
- Added a new unit test.
- Various CI and Readme updates.
8.4.0
8.3.0
See also
- The full Changelog.
Summary
- Added procedure to query version of json-fortran.
- Updates to the CI.
- Add information on conda-forge distribution to the Readme.
- Updated CMake to export include directories with target.
- Fixed a minor standards violation 🐞
- Minor changes to work around issues with nvfortran compiler 🐞
8.2.5
See also
- The full Changelog.
Summary
- Enabled some extra warnings in the Visual Studio Debug project
- Removed obsolete
forall
construct from unit test 12 - Fixed a potential uninitialized variable issue in
get_current_line_from_file_stream
🐞 - Fixed a memory leak when parsing an invalid JSON 🐞
- Fixed various memory issues in the unit tests 🐞
8.2.4
See also
- The full Changelog.
Summary
- Added
MultiProcessorCompilation="true"
to the Visual Studio project file. - Fixed a memory leak when deserializing an empty list. 🐞
- Fixed a memory leak when cloning a JSON pointer. 🐞
- Fixed a bug where some error messages would attempt to print unallocated
name
values. 🐞 - Documentation updates.