Repository navigation
About
This version contains Windows and Android bugfixes, but its headline feature is a migration to an improved distribution strategy for the Android component of the crate, which must be included by Gradle for Android application/library builds. If you don't build for Android, no need to worry these changes don't affect you. But if you do, please continue reading to understand the required migration steps and benefits. 0.7.1 requires the Android migration to be performed once manually.
Android Revocation
The biggest improvement to functionality in this release is proper support for revocation on Android. As OCSP moves to deprecation, more CAs are exclusively using CRLs to distribute revocation data. Previously this failed to work on Android without workarounds since by default the network fetches for this were blocked. As of 0.2.0 of rustls-platform-verifier-android, this works again as expected. We now bundle an Android App manifest with the library, which Android Studio merges into the main manifest of the app being built.
Android Distribution
As of this release, we have stopped bundling pre-compiled .aar artifacts and a local Maven repository inside each release of rustls-platform-verifier-android. Instead, all future (and past!) Maven artifacts are now hosted on GitHub under the maven-archive branch. The branch's structure creates a remote Maven repository that Gradle can download and synchronize with just like any other. Importantly, this now means that the Android library can be downloaded and resolved independently of cargo's own downloads.
0.2.0 of the Android component is exclusively distributed through this new mechanism, but the 0.1.0 and 0.1.1 releases were also backported to the new repository. This means that no matter what version of rustls-platform-verifier you are using, its possible to migrate your Gradle build configuration to the more modern approach. Once again we have included out-of-the-box Gradle and Kotlin script snippets to configure the repository. See our README guide for more info.
What's Changed
- Update outdated documentation about crate initialization by @kaezrr in #236
- Fix Windows compatibility with hostnames containing a trailing label by @complexspaces in #241
- Remove unnecessary clone by @FranciscoTGouveia in #242
- Permit the fetching of CRL data on Android by @djc in #248
- Fix infinite loop on Android when a system trust anchor has been disabled by the user by @ChoiSeungMyung in #246
- Migrate from Cargo-bundled Maven repository to GitHub-hosted Maven artifact repository by @complexspaces in #251
New Contributors
- @iadev09 made their first contribution in #234
- @kaezrr made their first contribution in #236
- @FranciscoTGouveia made their first contribution in #242
- @ChoiSeungMyung made their first contribution in #246
Full Changelog: v/0.7.0...v/0.7.1