|
| 1 | +# 0.12.0 (2026-03-08) |
| 2 | + |
| 3 | +## Features |
| 4 | + |
| 5 | +- Add `mtu()` method to `Peripheral` trait (returns negotiated MTU) |
| 6 | +- Add `connect_with_timeout()` and `discover_services_with_timeout()` convenience methods |
| 7 | +- Add `read_rssi()` to `Peripheral` trait (supported on all platforms) |
| 8 | +- Add `connection_parameters()` and `request_connection_parameters()` to `Peripheral` trait (Windows/Android) |
| 9 | +- Add `ConnectionParameters` and `ConnectionParameterPreset` types |
| 10 | +- Add `clear_peripherals()` to `Central` trait |
| 11 | + - Thanks danielstuart14! |
| 12 | +- Add `adapter_state()` to `Central` trait for querying Bluetooth on/off state |
| 13 | +- Add `add_peripheral()` to `Central` trait for adding a device by address without scanning (Android) |
| 14 | +- Add `advertisement_name` field to `PeripheralProperties` |
| 15 | + - Thanks szymonlesisz! |
| 16 | +- Add `service_uuid` field to `ValueNotification` |
| 17 | + - Thanks MnlPhlp! |
| 18 | +- Add `CentralEvent::RssiUpdate` for RSSI change events |
| 19 | +- Add `CentralEvent::DeviceServicesModified` (CoreBluetooth only) |
| 20 | + - Thanks kragacles! |
| 21 | +- Add `Error::NoAdapterAvailable` variant |
| 22 | +- Add `DEFAULT_MTU_SIZE` constant |
| 23 | +- Add `From<BDAddr> for [u8; 6]` conversion |
| 24 | + - Thanks gabevenberg! |
| 25 | +- Add `./scripts/build-java.sh` for building the Android Java components |
| 26 | +- Add integration test suite with Zephyr and Bumble test peripherals |
| 27 | +- Vendor jni-utils-rs Java classes directly into the btleplug source tree (no longer a separate Maven dependency) |
| 28 | + |
| 29 | +## Bugfixes |
| 30 | + |
| 31 | +- Fix CoreBluetooth peripheral name handling |
| 32 | + - Thanks szymonlesisz! |
| 33 | +- Fix BlueZ device disconnection (#446) |
| 34 | + - Thanks szymonlesisz! |
| 35 | +- Improve CoreBluetooth didModifyServices handling and comments |
| 36 | + - Thanks kragacles! |
| 37 | +- Add NSError to CoreBluetooth trace logging |
| 38 | + - Thanks tternes! |
| 39 | + |
| 40 | +## Breaking Changes |
| 41 | + |
| 42 | +- **`CentralEvent` enum**: New variants `DeviceServicesModified` and `RssiUpdate`. Exhaustive matches will need updating. |
| 43 | +- **`Error` enum**: New variant `NoAdapterAvailable`. Exhaustive matches will need updating. |
| 44 | + |
| 45 | +- Update dependencies |
| 46 | + |
1 | 47 | # 0.11.8 (2025-04-20) |
2 | 48 |
|
3 | 49 | ## Features |
|
0 commit comments