Releases: GMLC-TDC/HELICS
v2.8.1
Final release in the 2.X series of HELICS. This release updates dependencies and a few minor fixes, no further bug fixes are expected.
Changed
- Upgraded Units library to 0.6.0
- update fmtlib, spdlog, asio to latest releases
- update CLI11 to latest release
- update boost support to 1.79
- update CMake supported versions to 3.23
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
v3.1.2
This patch release is primarily to address some build issues on MSYS2, MINGW, and CYGWIN platforms. It also includes some preliminary features for the 3.2 release that were already merged including time monitors, remote logging, and a log buffer.
Fixed
- Fixed issue building on CYGWIN with the latest FMT library.
- Build issues related to MSYS2 and Mingw in the networking submodule (submodule updated).
- Fixed argument processing issue in the comboFed Example.
Changed
- Updates to FMT and SPDLOG
- Several documentation updates and cleanup
- Copyright date changed to 2022
- Targeted endpoints now allow all method calls, with the restriction being that the destination must be in the target list otherwise an error is generated. An empty destination in methods that allow destinations will operate identically to calls which do not specify a destination.
- Code cleanup for defining the default port numbers for network core types.
Added
- A process comms method for federates to instruct HELICS to process messages for a specific amount of wall clock time without granting time or changing state.
- Added a threaded signal handler to deal with some particular issues with killing processes in python and potentially other language interfaces.
- Added a log buffer to brokers/cores/federates to store the latest N messages and retrieve it via a query. See log buffer for more details.
- Added a time monitor object to brokers to use a particular federate as the query time standard for brokers, this does not affect the cosimulation only the logging and queries. See time monitor for more details.
- Added a callback to be executed when the time is updated and before the value or message interface callbacks are executed.
- Added remote logging command to mirror logs from one HELICS object to another. See remote logging for more details.
v3.1.1
Primarily a bug fix release to fix a build issue resulting in internal logging messages being disabled for some of the release packages. Also includes a maxcosimduration
argument for brokers to kill the co-sim after a certain amount of wall clock time.
Fixed
- CMake issue resulting in internal logging messages being disabled for some builds including some package releases.
- Fixed a few deadlock pathways if the core was killed internally.
- Fixed some timeout issues in the CI builds.
- Fixed a potential race condition when setting the log file after execution has started on helics cores.
Changed
- CMake version 3.22 tested and used if available.
- The TCP networking components that were not core to HELICS have been moved to a separate repo and linked as a submodule. See networking.
- Several documentation fixes and updates.
- Moved to using the upstream toml11 repo instead of a custom modified version. Customized modifications have now been merged upstream.
Added
- '--maxcosimduration' flag added in the broker to specify a max co-sim duration after which the cosimulation will be terminated.
helicsGetSystemInfo()
function was added to the API to retrieve HELICS version and system info for debugging and diagnostic purposes.- Added a threaded signal handler to execute close out operations in a new thread and return control back to the main thread to wait for error signals.
- Added
helicsFederateInfoLoadFromString
to better match C++ API available functions. This loads the federateInfo structure from command line arguments contained in a string.
v3.1.0
This release includes some bug fixes and enhancements to HELICS 3 which is now the default. Major new features include the ability to add observer federates to an executing co-simulation, and the ability to specify a grant timeout which can give additional debugging information if the co-simulation is hanging for some reason. More capabilities related to this will be added in a future release. The migrating 2 to 3 page includes some specific details on migrating from HELICS 2 to 3.
Fixed
- Fixed an issue with null strings lacking a null termination when retrieved from the C API. This primarily affected the Python and other language API's.
- CMake fix for some older linkers.
- A fix for ASIO aligned_alloc when used with MinGW.
- Fix to IPC core to support Boost 1.77.
- A few issues around the JsonSerialization options for backwards compatibility with HELICS 2, and add some interoperability tests that can be used to check future versions.
- Fix an issue with the timeCoordinator where a large time value was requested and with certain other configuration parameters the time could overflow and cause a deadlock.
Changed
- precommit-ci now used in the CI chain, pre-commit checks were updated, and a check for python formatting inside the docs was added.
- Update ThirdParty library versions including ASIO, CLI11, toml11, FMT, spdlog, jsoncpp, filesystem.
- Mac binaries are now universal binaries to support ARM based CPU types.
- Update some of the TCP helper classes to better support future encrypted communication efforts.
Added
- Add the ability to add observer federates which can join a federation after it has started and subscribe to values, or make queries of the federation while in progress.
- Add a configurable grant timeout which will trigger diagnostic action if a federate has been waiting sufficiently long for a time grant.
- A document on the Type conversion that HELICS can perform and a series of tests to verify the correct operation of the type conversions.
- Additional missing functions related to linking targeted endpoints from a core, so it can work similar to dataLink methods. These methods were added to Core and Broker applications.
- New benchmark based on the Barabasi-Albert network.
v2.8.0
Final Minor release in the 2.X series of HELICS. This includes profiling capabilities and a compatibility layer for future compatibility through the --json
flag. There may be more bug fix releases but no major new features will be added to HELICS 2.
Changed
- Upgraded Units library to 0.5.0
- CMAKE 3.20 was tested and verified and used as the baseline version when available.
- Updated to a newer custom version of JSONCPP to support the json compatibility layer
Fixed
- The uninterruptible flag now works with iterations
- A compile issue with C++20 requiring
#include <thread>
in a number of files
Added
- Added json data type and flag to support interoperability between HELICS 2 and 3
- Added
helicsEndpointPendingMessageCount
,helicsFederatePendingMessageCount
, andhelicsFederateDisconnect[Async|Complete]
- Added a profiling capability
Deprecated
helicsEndpointPendingMessages
andhelicsFederatePendingMessages
are replaced byhelicsEndpointPendingMessageCount
andhelicsFederatePendingMessageCount
to match HELICS 3 functions
v3.0.1
This release includes some bug fixes and refinements to the build process for HELICS3, as well as general bug fixes and the addition of a compatibility layer making it possible for HELICS 2 federates to interact with a HELICS 3 broker if absolutely required. The migrating 2 to 3 page includes some specific details on migrating from HELICS 2 to 3.
Fixed
- Timing issues using UNINTERUPTIBLE_FLAG and iterations together resulted in incorrect timing
- Some issues with the automated generation of interface files for inclusion in the repository (Java, and Matlab)
- Fixed several broken links in the documentation pages
Added
- JSON serialization method for HELICS supported data types
- JSON serialization method for HELICS actionMessage to allow some level of backwards compatibility support. The intention is that using the
--json
flag on a federate will allow full forward compatibility in the future. It is slower but as it is a text stream and it includes a version code, future versions can adapt. - Profiling capability, see Profiling
v3.0.0
HELICS 3.0 is a major update to HELICS. The major features that have been added are the command interface and targeted Endpoints. Internally major changes include updating the minimum compiler to C++17, and updates to internal libraries. The binary serialization protocol was shifted from Cereal to a custom format that embeds the data type so is more suitable to HELICS data types. The initial release is an alpha release for some initial testing. The migrating 2 to 3 page includes some specific details on migrating from HELICS 2 to 3.
NOTE: The installers do not include the pre-built Java 1.8 interface; if you need the Java interface, please use swig to build it.
Changed
- Data serialization moved to a custom protocol specific to HELICS.
- Minimum build requirements to C++17.
- Minimum boost library for use is 1.67.
- Many of the API functions now use
string_view
instead ofconst std::string &
- The C shared library now comes with only a single header
helics.h
this should be included for all uses of the C shared library - The name of the C based shared library changed to
libhelics.dll/so
- The name of the C++ shared library changed to
libhelicscpp.dll/so
- The name of the apps library changed to
libhelicscpp-apps.dll/so
- The style of enumerations and structures was changed to match an updated style guide
- All HELICS specific CMake variables start with
HELICS_
- The format for log messages now includes a simulation time stamp
[t=xxxx]
- Log level numerical values have been expanded (multiplied by 3) to allow more gradations in log levels than was previously allowed
- The allowed set of string names has been reduced to avoid confusion and remove duplicate entries
- All queries (except
global_value
) return a valid json string. Errors from queries return a structure with an HTTP error code and message
Fixed
- All bug fixes included in HELICS 2.X are included in HELICS 3
Added
- Command interface
- Targeted Endpoints
- Interface Tags
- Federate and Core Tags
Removed
- Message structure from C API
- Deprecated functions from HELICS 2
- The separate headers for the C shared library are no longer installed. Instead only a single header (
helics.h
) is needed and includes all functions and operations. - The cereal library is no longer installed or used with HELICS
- The C++ API no longer has generic type support through Cereal.
v3.0.0-beta.2
HELICS 3.0 is a major update to HELICS. The major features that have been added are the command interface and targeted Endpoints. Internally major changes include updating the minimum compiler to C++17, and updates to internal libraries. The binary serialization protocol was shifted from Cereal to a custom format that embeds the data type so is more suitable to HELICS data types. The initial release is an alpha release for some initial testing. The full change log will be filled out as the release progresses from alpha to beta to final release. The migrating 2 to 3 page includes some specific details on migrating from HELICS 2 to 3.
NOTE For this beta, all public API's are now considered stable, baring a bug report on the API. A final release is expected in 2 weeks, Final steps include code cleanup, and testing of the different language API's. Please make any comments in the discussion page related to this release.
changes from beta.1
- addition of federate tags
- bug fixes from HELICS 2
- cleanup of doxygen comments
- update of the language API builder files
- doc fixes and updates
- update submodules
Changed
- Data serialization moved to a custom protocol specific to HELICS.
- Minimum build requirements to C++17.
- Minimum boost library for use is 1.67.
- Many of the API functions now use
string_view
instead ofconst std::string &
- The C shared library now comes with only a single header
helics.h
this should be included for all uses of the C shared library - The name of the C based shared library changed to
libhelics.dll/so
- The name of the C++ shared library changed to
libhelicscpp.dll/so
- The name of the apps library changed to
libhelicscpp-apps.dll/so
- The style of enumerations and structures was changed to match an updated style guide
- All HELICS specific CMake variables start with
HELICS_
- The format for log messages now includes a simulation time stamp
[t=xxxx]
- Log level numerical values have been expanded (multiplied by 3) to allow more gradations in log levels than was previously allowed
- The allowed set of string names has been reduced to avoid confusion and remove duplicate entries
Fixed
Added
- Command interface
- Targeted Endpoints
- Interface Tags
- Federate and core Tags
Removed
- Message structure from C API
- Deprecated functions from HELICS 2
- The separate headers for the C shared library are no longer installed only a single header is needed and includes all functions and operations.
- The cereal library is no longer installed or used with HELICS
v3.0.0-beta
HELICS 3.0 is a major update to HELICS. The major features that have been added are the command interface and targeted Endpoints. Internally major changes include updating the minimum compiler to C++17, and updates to internal libraries. The binary serialization protocol was shifted from Cereal to a custom format that embeds the data type so is more suitable to HELICS data types. The initial release is an alpha release for some initial testing. The full change log will be filled out as the release progresses from lpha to beta to final release. The migrating 2 to 3 page includes some specific details on migrating from HELICS 2 to 3.
NOTE For this beta, all public API's are now considered stable, baring a bug report on the API. A beta.2 is expected in 2 weeks, with a release 2 weeks later. Final steps include any submodule updates, code cleanup, and testing of the different language API's. Please make any comments in the discussion page related to this release.
Changed
- Data serialization moved to a custom protocol specific to HELICS.
- Minimum build requirements to C++17.
- Minimum boost library for use is 1.67.
- Many of the API functions now use
string_view
instead ofconst std::string &
- The C shared library now comes with only a single header
helics.h
this should be included for all uses of the C shared library - The name of the C based shared library changed to
libhelics.dll/so
- The name of the C++ shared library changed to
libhelicscpp.dll/so
- The name of the apps library changed to
libhelicscpp-apps.dll/so
- The style of enumerations and structures was changed to match an updated style guide
- All HELICS specific CMake variables start with
HELICS_
- The format for log messages now includes a simulation time stamp
[t=xxxx]
- Log level numerical values have been expanded (multiplied by 3) to allow more gradations in log levels than was previously allowed
- The allowed set of string names has been reduced to avoid confusion and remove duplicate entries
Fixed
Added
- Command interface
- Targeted Endpoints
- Interface Tags
Removed
- Message structure from C API
- Deprecated functions from HELICS 2
- The separate headers for the C shared library are no longer installed only a single header is needed and includes all functionsa and operations.
- The cereal library is no longer installed or used with HELICS