|
| 1 | +# 2.0.1 (2024-11-11 07:03) |
| 2 | +1. The C++ code generator now supports trigger guards, both for capsule and class state machines. For a capsule example, see [this sample]({$vars.github.repo$}/tree/main/art-comp-test/tests/capsule_trigger_guard). For a class example, see [this sample]({$vars.github.repo$}/tree/main/art-comp-test/tests/class_trigger_guard). |
| 3 | +2. Now you can use the `rule_config` property on capsule parts, which means it's now possible to disable validation rules for individual parts. This is for example useful for disabling [ART_0039_portPartMultiplicityMismatch]({$vars.doc.server$}/validation/#art_0039_portpartmultiplicitymismatch) for ports that are intentionally left unconnected (for example because you plan to send events on them using the Art Debugger). In addition the `rule_config` property is now also supported on entry and exit points. |
| 4 | +3. There is a new Quick Fix for disabling the validation rule that has reported a problem on an element. It appears at the end of the list of available Quick Fixes and will "fix" a problem by disabling the validation rule on that specific element by inserting the `rule_config` property. The new Quick Fix is available for all validation rules and elements for which this property is supported. |
| 5 | +4. The code generator now allows unconnected service ports. Normally such ports should be connected (provided they are not unwired of course), but in some cases it can be useful to let them be unconnected and instead inject events on them using the Art Debugger or to do it programmatically. |
| 6 | +5. The translation of outgoing transitions for choices has been improved in the C++ code generator and is now consistent with how other non-triggered transitions are handled. |
| 7 | +6. A new sample [TrafficLightWeb]({$vars.github.repo$}/tree/main/art-samples/TrafficLightWeb) is provided. It uses the [TCPServer library]({$vars.github.repo$}/tree/main/art-samples/TcpServer) for implementing a Node.js web application as the user interface of a realtime application. The communication is bidirectional, and the web page is updated using web sockets. |
| 8 | +7. A new sample [MoreOrLess]({$vars.github.repo$}/tree/main/art-samples/MoreOrLess) is provided. It shows how plugin parts can be used as a way for capsules to share a common resource by importing and deporting a capsule instance that represents the shared resource. |
| 9 | +8. The Art Debugger now supports injecting both incoming and outgoing events on a port. An icon has been added in front of the displayed events that shows if the event will be sent in to, or out from, the port. This feature avoids the need to move the selection from a port to its connected conjugated port when you want to send an event in the other direction. |
| 10 | +9. It's now possible to send events with the Art Debugger, where the event contains a parameter typed by a primitive type whose name contains a space (such as `unsigned long`). Read more about this change and the potential side-effects it may have to your application [here]({$vars.doc.server$}/target-rts/versions/#handle-type-names-containing-spaces-in-encodingdecoding). |
| 11 | +10. A new validation rule [ART_0040_boundUnboundTriggerForNonNotifyingPort]({$vars.doc.server$}/validation/#art_0040_boundunboundtriggerfornonnotifyingport) checks so that triggers that reference the `rtBound` and `rtUnbound` events also reference a notifying port. |
| 12 | +11. The C++ code generator now supports internal transitions for class state machines. For an example, see [this sample]({$vars.github.repo$}/tree/main/art-comp-test/tests/trigger_operation_with_parameters). |
| 13 | +12. The risk for inconsistent C++ code standards being used by the code generator, the compiler and the language server has been mitigated by a new validation rule [TC_0018_withoutCodeStandard]({$vars.doc.server$}/validation/#tc_0018_withoutCodeStandard). It will now report a warning if the [cppCodeStandard]({$vars.doc.server$}/building/transformation-configurations/#cppcodestandard) property has not been set in the TC. In that case a default code standard will be used by the compiler and language server, while generated code will (still) comply with C++ 17. |
| 14 | + |
1 | 15 | # 2.0.0 (2024-09-17 11:33) |
2 | 16 | 1. A first version of an Art Debugger is now available. It lets you debug your realtime application at the Art abstraction level and is a good complement to using a C++ debugger. The Art Debugger can both launch the application to debug, or attach to an already running application (including remote debugging). In addition to assisting with troubleshooting, the Art Debugger allows you to interact with the application by sending events on ports. For more information, see [the documentation]({$vars.doc.server$}/running-and-debugging/debugging/). |
3 | 17 | 2. The C++ code generator now supports trigger operations with parameters. For an example, see [this sample]({$vars.github.repo$}/tree/main/art-comp-test/tests/trigger_operation_with_parameters). |
|
0 commit comments