# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 3.0.0 - 2026-03-06

- SERIAL: API=3.0.0, IMPL=3.0.0, MOCK=3.0.0

### Changed

- Implement Serial API 3.0.0.
- Update LLAPI to follow requirements of the new API.

## 2.1.0 - 2026-02-13

### Changed

- Improve formatting of mock properties.
- Improve documentation of the mock.
- Allow the serial-mock over socket to handle reconnection after a disconnection.

## 2.0.0 - 2025-08-28

### Changed

- This API has been disconnected from the ECOM API and can now be used with no additional dependencies.
- Change license to a BSD-style license.
- Mock now evaluates properties lazily (when application attempts a connection).

### Added

- Add SerialConnection public constructors to open a connection to a serial port.
- Add SerialConnection.configure() method to configure the serial port parameters (baudrate, data bits, parity mode & stop bits).
- SerialConnection now implements AutoCloseable and can be used in a try-with-resource pattern.
- Add configuration property for connection timeout in "socket" simulation mode: `s3.mock.uart.comXXX.socket.timeout`.

### Removed

- Remove classes: BitsInput, BitsOutput, CommPort, CommConnectionCreator.
- Remove integration with ECOM: Connection, ConnectionFactory, StreamConnection, InputConnection, OutputConnection.
- Remove VEE Port configuration files for ECOM-COMM (ecom-comm.xml & bsp.xml).
- Remove application to platform port ID mapping (for mock: properties should use port ID provided by application directly).

---
_Copyright 2022-2026 MicroEJ Corp. All rights reserved._  
_Use of this source code is governed by a BSD-style license that can be found with this software._  
