esp_provisioning_ble 1.2.1 and the first 2.0.0 pre-release are out #75
Pinned
ivanhercaz
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
Today we published three releases, and they mark a turning point for the package. 1.2.0 and 1.2.1 fix what had piled up since 1.1.0: Android builds broken by recent Flutter versions, WPA3 networks reported as open, missing documentation and a couple of calls that could hang. They also bring Security 0 support, contributed by the community. And 2.0.0-dev.1 opens the road to the next major version, starting with protobuf 6, which several of you asked for (#53).
From now on there are two lines. 1.x stays the stable one: it keeps protobuf 3 and receives fixes. 2.0 is developed separately and comes out as pre-releases that you only get if you ask for them, so you can try it and tell us what works and what doesn't before 2.0.0 is final.
Here is what each one brings.
1.2.1: the recommended version
1.2.1 is the version to use, and the one pub installs by default:
Together with 1.2.0, released earlier today, it brings:
WIFI_PROV_SECURITY_0) are supported through the newSecurity0class, next toSecurity1. The example app lets you pick either one.private: false). They are now reported as secured; only Open and OWE networks count as open.UnexpectedMessageTypeException), without changing how existing code catches it.sendReceiveCustomDatawith apackageSizeof 0, and encrypting before the session on iOS.There are no breaking changes in the Dart API. The Android native code moved to a new namespace, which only matters if your app names the plugin class directly.
Before publishing, we validated it on real hardware with our test firmware: an ESP32-C6 with ESP-IDF v5.5.4 and an Android 15 phone, provisioning with Security 0 and Security 1.
2.0.0-dev.1: protobuf 6, as a pre-release
2.0.0-dev.1 is the first step toward 2.0.0. It moves the package to protobuf 6, so it can be installed alongside packages that need a recent protobuf (#53). It needs Dart 3.7 and Flutter 3.29 or later, and pub only installs it if you ask for it:
If your code only calls the plugin's own methods, it should work unchanged; the changelog lists what changes for code that uses the generated protobuf messages directly. More pre-releases will follow with the rest of the 2.0.0 work (typed results and errors, a public API without generated protobuf types), and you can follow it in the 2.0.0 milestone. Meanwhile 1.x keeps receiving fixes.
Thanks to everyone whose reports and contributions are part of these releases, among them @milan-trkulja-metaswiss, @xiayesuifeng, @devYoungyang and @daveols.
If anything doesn't work as expected, please open an issue.
All reactions