Skip to content

Releases: jacobwilliams/json-fortran

9.0.2

25 Aug 14:45
Compare
Choose a tag to compare

See also

Summary

  • Added workarounds for potential stack overflows on Windows using ifort compiler. 🐞
  • Fixed CI documentation deployment.

9.0.1

12 Jun 04:21
Compare
Choose a tag to compare

See also

Summary

  • No code changes. Just an update to the CI to fix documentation deployment.

9.0.0

12 Jun 02:54
Compare
Choose a tag to compare

See also

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 option destroy_pointer to the json_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 the json_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

27 May 13:17
Compare
Choose a tag to compare

See also

Summary

  • Fixed a CMake bug where the package version was not set correctly, which caused the CMake configuration files to be saved to a folder with a blank version name.🐞

8.5.1

26 May 13:53
46dcb62
Compare
Choose a tag to compare

See also

Summary

  • Fixed a bug when setting JSONFORTRAN_STATIC_LIBRARY_ONLY to False. 🐞
  • Also restored some of the original CMake settings from 8.4.0. Specifically, the tests are enabled by default, and both the shared and static libraries are built by default.

8.5.0

26 May 05:16
Compare
Choose a tag to compare

See also

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, and add_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.
  • Added a new unit test.
  • Various CI and Readme updates.

8.4.0

06 Mar 16:49
c80ef5e
Compare
Choose a tag to compare

See also

Summary

  • Fixed a bug where the library would not compile if using REAL128 kind 🐞
  • Fixes to GitHub Actions CI
  • Minor updates for readme and documentation
  • Updates for unit tests

8.3.0

07 May 19:33
Compare
Choose a tag to compare

See also

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

17 Aug 22:19
Compare
Choose a tag to compare

See also

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

16 Aug 04:14
Compare
Choose a tag to compare

See also

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.