Skip to content

Commit 1471183

Browse files
committed
all: prepare for release 0.12.0
Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent 33613a1 commit 1471183

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
0.12.0
2+
---
3+
* **core**
4+
- UUID: implement encoding methods MarshalBinary, UnmarshalBinary, AppendBinary, MarshalText, UnmarshalText, and AppendText. Also enhance testing and improve performance. ParseUUID and UUID.String now use these methods. UnmarshalText supports 128, 32, and 16-bit UUIDs.
5+
- MAC: implement encoding interfaces (TextMarshaler, BinaryMarshaler, TextAppender, BinaryAppender) for efficient encoding and use with packages like encoding/json and encoding/xml. String method performance improved.
6+
- fix: correctly handle slice of connection handles for notification updates.
7+
* **hci**
8+
- fix: handle l2cap connection param req updates with invalid length data.
9+
* **linux**
10+
- Fix: `Adapter.connectHandler` is now called after `Advertisement.Start`. D-Bus signals added to handle connect/disconnect events when peripheral is advertising (#369).
11+
- Fix: ensure `connectHandler` is invoked on initial device connection.
12+
- Advertising: Add alias update on advertising.
13+
- Advertising: Extend property handling for D-Bus signals.
14+
- Adapter: check powered state before connecting.
15+
- Adapter: call `startDiscovery` asynchronously as it can block if adapter is powered off.
16+
- Adapter: close scan-in-progress channel if adapter is powered off during scan.
17+
- Adapter: handle adapter power state to return an error if the adapter is powered off while connecting.
18+
- Adapter: handle adapter power state to return an error if the adapter is powered off while scanning.
19+
* **windows**
20+
- Fix: Notify/Indicate characteristics detection.
21+
* **modules**
22+
- Update to latest `soypat/cyw43439` package.
23+
- Update to use `cyw43439` package with BLE read length fix.
24+
* **docs**
25+
- Update inline documentation for Linux `Adapter.SetConnectHandler`.
26+
- Update README usage example for Linux `connectHandler`.
27+
- Correct README example for Linux advertising.
28+
- Add info on flashing the Microbit v2.
29+
* **examples**
30+
- Add resource cleanup in Linux advertising example.
31+
- Add `connectHandler` to Linux advertisement example.
32+
33+
134
0.11.0
235
---
336
* **core**

version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ package bluetooth
22

33
// Version returns a user-readable string showing the version of the bluetooth package for support purposes.
44
// Update this value before release of new version of software.
5-
const Version = "0.11.0"
5+
const Version = "0.12.0"

0 commit comments

Comments
 (0)