Lingua Franca 0.2.0
v0.2.0 (2022-05-01)
Highlights:
This release brings the minimum version requirement of Java to 17, which is a long-term support version that is also broadly supported by newer platforms (e.g., Apple silicon). Other changes included in this release are: a refactoring of the user-facing API of reactor-c, various bugfixes and enhancements of Rust, TypeScript, and C target, and minor improvements of the diagram synthesis.
Implemented enhancements:
- The Rust target should support the 'workers' and 'threading' target properties #991 (@jhaye)
- Optionally suppress the red No Main Reactor icon #1089 (@edwardalee)
Fixed bugs:
- Segfault when calling
_lf_check_deadline
#1123 (@housengw) - In generated Rust code, logical actions in main reactors aren't mutable, making them not schedulable #1110 (@jhaye)
- Add categories explicitly to the diagram synthesis options #1119 (@soerendomroes)
Closed issues:
- User facing utility functions such as
info_print
should also havelf_
prefix #1124 (@housengw) - Tracking the renaming of APIs in C and Python target #1108 (@housengw)
- Remove logic for handling examples from testing framework #1079 (@lhstrh)
Merged pull requests:
- Prefix print functions with
lf_
#1127 (@housengw) - Fix set executing_reaction in self struct #1126 (@housengw)
- Remove references to deprecated APIs in the code generator #1122 (@housengw)
- Update Python target APIs to match the C target updates #1116 (@housengw)
- Update
SET
, schedule and tag APIs in the C target #1103 (@housengw) - Remove redundant struct and related code in python target #1102 (@housengw)
- Allow bank_index in initializers #1101 (@edwardalee)
- Added support for state variables in diagrams #1100 (@a-sr)
- Support inline code arguments on main reactor for Rust target #1099 (@jhaye)
- Add support for threading compiler flag to Rust target #1098 (@jhaye)
- Update
SET
,schedule
andtag
APIs in the C target #1097 (@housengw) - Java configuration bumped to version 17 #1094 (@lhstrh)
- Add validation tests for ports in main or federated reactor #1091 (@housengw)
- Update and add federated execution tests for TypeScript target #1062 (@hokeun)