HELICS v3.2.1 Release Notes
Release Date: 2022-06-11 // over 2 years ago-
๐ The Matlab interface to HELICS has been moved to matHELICS, the C++ interface now uses
std::string_view
in nearly all places, and the translator C API, and the dataBuffer API to the C interface were fleshed out a bit more and will be finalized in the 3.3 release. Subsequent releases will change the minimum compiler requirements to build HELICS to Visual Studio 2019, GCC 8.0, Clang 7, Xcode 11.0, and CMake 3.11.๐ Fixed
- A bug related to iterations and the
wait_for_current_time
flag in which a deadlock may occur if the flag were set and another federate was requesting iterations at time zero. - A bug which could cause a deadlock if a very large number of iterations occurred
- A naming bug in the creation of globalInput objects through the C API.
- ๐ Fixed some potential race conditions in the Webserver
- ๐ Fixed some race conditions and potential segmentation faults when running the C shared library tests
- ๐ Fix some tests that were failing when executed without ZMQ support.
- ๐ Fix the symbol visibility on Linux systems to reduce the number of visible symbols in the C shared library
- ๐ Fix an issue with very long file names when used for configuration
- ๐ Fix a race condition and deadlock potential in the log buffer tests.
- ๐ Fix a Typo in
HELICS_DEPRECATED
use.
๐ Changed
- โก๏ธ Docker images were updated to be based on Ubuntu 22.04.
- โก๏ธ All string interfaces in the C++ interface were altered to use
std::string_view
instead ofconst std::string &
this corresponds with updates in some third party libraries to better take advantage of the capabilities of std::string_view. The exception to this is strings which reference file names or file contents. These have been left as std::string to match up with iostreams and other file interfaces. - โก๏ธ Updated the Google test version in use.
- ๐ Change the symbol visibility for mac systems to be explicitly limited to the HELICS related operations.
- ๐ Changed the signal abort code to match standard SIGINT codes
- ๐ Some enumerations used inside the CoreLibrary were updated to better match the Style Guide
- โก๏ธ Updated the Circle-CI build tests to use more recent compilers and tweak the tests to be more appropriate to test being executed.
- ๐ Update the Units, frozen, asio, filesystem, and spdlog libraries to recent releases.
- โก๏ธ Updated support CMake 3.23, Boost 1.79, and Visual Studio 2022.
โ Added
- ๐ Numerous functions in the C data API to support all HELICS supported types
helicsFederateProtect
method to all federates to be recovered by name if all references to the C HelicsFederate object was freed.- โ Added a callback method for translators in the C API.
- โ Added a "--force" option for ZMQ brokers to allow a broker to override an existing broker for the network connection and terminate the existing broker to be replaced by a new one.
- โ Added additional documentation and examples for using iterations
โ Removed
- ๐ The
HELICS_BUILD_MATLAB_INTERFACE
has been removed and all HELICS support for Matlab in the future will be through the matHELICS repository.
- A bug related to iterations and the
Previous changes from v3.2.0
-
๐ Major new features include beta release for Translators, global time coordinator and Data API and the addition of Support for encrypted communication through the TCP and TCP SS core types. ๐ Numerous bug fixes were included related to timing in unusual edge cases.
๐ Fixed
- ๐ Fix some undefined behavior warnings with duplicate named federates.
- ๐ Fix a discrepancy in the way subscriptions were processed for config files to better match how they are handled for inputs.
- ๐ Fix some accidentally disabled test cases testing different network configurations.
- ๐ Fix missing dependency generation when subscribing to publications from Endpoints.
- ๐ Fixed a few sporadic failures in the test cases.
- ๐ Fixed some issues with iterations particularly in initialization mode.
- ๐ Fixed a series of edge cases in timing in unusual communication patterns and configurations mostly related to filters, and more complex iteration schemes.
- ๐ Fixed an issue related to missing source code on the release source archive.
๐ Changed
- โก๏ธ Docker images were updated to be based on Ubuntu 21.10.
- ๐ Update asio, json_cpp, and units to recent releases.
- ๐ฒ Errors in the networking layer are now propagated through the logging system in HELICS for better diagnostics of networking issues.
- โ Benchmark tests are now built with Visual studio 2022.
- โ Code coverage tests are now run nightly instead of on develop PR's.
- ๐จ Refactored how Apps were handling arguments to the federate to resolve some oddities in argument processing.
- ๐ Update CLI11 to use release 2.2.
- The callback for a filter to can return a message Object.
โ Added
- โ Added support for openSSL based encryption on the tcp tcpss cores and some tests using that capability.
- โ Added a callback option which triggers when a federate changes mode.
- โ Added Translators as a beta API, this is not version locked and likely has a few bugs. The API is subject to minor revisions based on user feedback.
- โ Added Data API to the C interface as a beta. API is subject to further revisions based on user feedback in upcoming releases until 3.3.
- โ Added support for command operations through the REST API on the webserver.
- โ Added swagger documentation for the REST API and queries.
- โ Added a global time coordinator(in Beta) for handling some unusual cases.
- โ Added additional callbacks in the application API for entry and exit from a timeRequest call.
- โ Added support for using external FMT and SPDLOG libraries when linking HELICS.
- โ Added additional documentation for complex networking environments
๐ Deprecated
- ๐ CI tests for visual studio 2017 were deprecated. HELICS still compiles fine on Visual studio 2017. But this is the last release that is specified for. Future releases will not be tested on Visual Studio 2017. HELICS 3.3 will actively change the minimum required to Visual Studio 2019 along with other related minimum compiler updates and requirements