|
1 |
| -# 4.1.0 Release Notes |
| 1 | +# 4.3.0 Release Notes |
2 | 2 |
|
3 | 3 | ### API New Features & Breaking Changes
|
4 |
| -* Added multiplexing transport that gives the ability to share a single bluetooth RCOMM channel with many clients. |
5 |
| -* Added external security framework that allows OEM's to provide custom security libraries. |
6 |
| -* ProxyALM constructors have changed and old signatures been deprecated. |
7 |
| -* Changed TouchEvent method names to be more intuitive. |
| 4 | +* The library has now moved to Android Studio as its default IDE. All files and folders have been moved to align with proper Android Studio project structure. |
| 5 | +* The target API level is now `19` instead of `18`. Apps will also need to target this version or higher to continue using this library. |
| 6 | +* `Java 7` is now used to compile the library and its features can be used moving forward. |
8 | 7 |
|
9 | 8 | ### Enhancements
|
10 |
| -* Multiplexing will now be the default mode of transport |
| 9 | +* Multiplexing bluetooth, legacy bluetooth, and TCP transport has been improved in performance by switching to buffer reads vs single byte read from transport. |
| 10 | +* Trusted router service checking feature is now adjustable by developers. |
| 11 | +* More unit tests were created. |
| 12 | +* Router service will now check to make sure the app that propagated it has permissions to use bluetooth. |
| 13 | +* Packet streaming classes will now use the agreed upon MTU instead of the hardcoded 1024 when the stream is not encrypted. |
| 14 | +* App IDs sent between the client apps and the router service are now Strings instead of Longs to support longer IDs. |
11 | 15 |
|
12 | 16 | ### Bug Fixes
|
13 |
| -* Fixed issue with sending a stop session with an incorrect hash id |
14 |
| -* Fixed the library throwing away hybrid packets |
15 |
| -* Fixed http onSystemRequests to actually function correctly |
16 |
| -* Fixed a class cast exception in the BTTransport class |
| 17 | +* Fixed issue with AOA transport not clearing old accessory reference after disconnect |
| 18 | +* Fixed missing setting of error state in multiplexing bluetooth transport |
| 19 | +* Fixed potential OOMs when corrupted packets are recieved in: |
| 20 | + * `SdlPsm` |
| 21 | + * `WiProProtocol` |
| 22 | + * `BinaryFrameHeader` |
| 23 | +* Fixed possible NPEs in: |
| 24 | + * `SdlRouterService` when checking for correct process |
| 25 | + * `MultiplexingBluetoothTransport` during reads and writes |
| 26 | + * `SdlConnection` during session registration |
| 27 | + * `SdlProxyBase` when clearing RPC response and notification listeners during close |
| 28 | + * `TransportBroker` when sending a message to router service |
| 29 | + * `SdlBroadcastReceiver` during check for running router service |
| 30 | + * `HttpRequestTask` that happens when a server can't be reached |
| 31 | + * `SdlSecurityBase` when a security lib would become initialized after the base has been reset. |
| 32 | +* Added synchronization to a cancel call in the `MultiplexTransport` |
| 33 | +* Refactor code in `SdlBroadcastReceiver` to protect against a potential SecurityException |
| 34 | +* Added try/catch around bluetooth system calls that can fail in Android classes |
| 35 | +* Added try/catch when attempting to build `LocalRouterService` object from parcel when parcel could be corrupt |
| 36 | +* Fixed version checking flow in the router service to be cleaner and correctly synched |
| 37 | + |
0 commit comments