Dependency changes
Changed minumum Python version from 3.4 to 3.6.
Fixes and Improvements
Constants
- Fix: Using enum values in inside records generates invalid XML
- Improvement: label parameter in RecordValueAR4 is now optional
Workspace
- Fix: autosar.workspace() factory method is broken
RTE Generator
- Fix: Updated RTE generator to use cfile 0.2.0 API
Parameter handling
- Fix: Removed duplicate class ParameterDataPrototype
- Fix: Writing XML for ParameterInterface is not working
- Improvement: Add alias
createImplementationTypeReferencefor backwards compatibility
New feature
There is now basic support for manually setting PortAPIOptions during port creation.
Changed functions:
- createRequirePort
- createProvidePort
Both port creation functions now accepts the optional argument options which accepts a dict value.
Supported key-value pairs:
- takeAddress: bool
- indirectAPI: bool
- transformerErrorHandling: bool
During the creation of the SWC behavior object, instead of creating default PortAPIOptions it will use the
options set earlier during port creation.