Releases: ssenegas/trafficlight
Traffic Light App v2.0.0
Traffic Light App v1.1.1
Configure logging to output to both console and file
- Added
logging.properties
to resource to includeConsoleHandler
for console output andFileHandler
to log messages at INFO level and above to logs/trafficlight.log. - Ensured the logs directory is created if it does not exist to prevent NoSuchFileException.
- This setup provides persistent logging in trafficlight.log alongside console output for better visibility and tracking.
- Added startup welcome title message in ascii art
Improved serial port handling
By separated the connection management (connecting, reconnecting, and listening for disconnections) from command handling (sending data over the port)
ConnectionManager: Handles connection and reconnection logic. This class listens for disconnection events and tries to reconnect based on exponential backoff. Event Notifications: It notifies listeners of disconnects and reconnects.
Defined a ConnectionListener interface that notify on events such as disconnect and reconnect.
CommandSender: Depends on ConnectionManager for the current connection state. It only sends commands if the port is connected. It listens for onReconnect events to resend the last command automatically after a reconnect.
Traffic Light App v1.0.2
Updated readme.md
Cleanup polling task
Adapted app.properties property keys
Traffic Light App v1.0.1
Added https://github.com/JFormDesigner/FlatLaf look and feel.
Traffic Light App v1.0.0
upgraded to JSerialComm 2.10.4.