Skip to content

v3.8.6

Choose a tag to compare

@github-actions github-actions released this 18 Jun 10:45
· 75 commits to main since this release
f967a8f

MetroVault v3.8.6 - Release Notes

This release contains no user-facing feature changes. It prepares MetroVault for publication on F-Droid, the free and open-source Android app repository. All work centers on free-software licensing, reproducible builds, and the metadata F-Droid requires to build and list the app from source.


GPL-3.0 Relicensing

MetroVault is now free software under a copyleft license:

  • Relicensed from MIT to GPL-3.0-or-later: The project is now licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later). Any distributed derivative must remain free software under the same license.
  • Full license text: Added LICENSE.txt with the complete GPL v3.0 text; removed the old docs/LICENSE.md.
  • Bundled QR libraries stay MIT: The QR libraries bbqr-kotlin and bcur-kotlin are separate works that remain under the MIT License.
  • README updated: Documents the new license terms and clarifies the MIT licensing for the bundled QR libraries.

Reproducible Builds

To meet F-Droid's verifiable-build requirements, the release pipeline now produces byte-identical APKs:

  • Build secp256k1 from source: New .github/reproducible-build.sh compiles the secp256k1-kmp native library from source using F-Droid's buildserver image — no unverifiable prebuilt .so binaries.
  • Build-ID parity: The script patches the secp256k1 JNI linker options to remove GNU build IDs, eliminating a common source of binary divergence.
  • Docker-based CI parity: .github/workflows/build.yml now runs the build inside the fdroidserver:buildserver-trixie container so CI output matches what F-Droid produces.
  • Consistent line endings: Added .gitattributes to enforce LF line endings for shell scripts, ensuring they run correctly in Linux CI environments.
  • Build hardening: Temporarily disables pipefail during sdkmanager to avoid SIGPIPE failures from the yes utility, and adds chmod +x ./gradlew so the wrapper is executable in CI.

F-Droid Build Documentation

New documentation walks maintainers through a verifiable build:

  • docs/FDROID_BUILD.md: Details how the secp256k1 native library is built from source and verified, with a manual reproduction guide.
  • Sample fdroiddata recipe: Provides a complete metadata/com.gorunjinian.metrovault.yml template including License, SourceCode, and IssueTracker fields, plus a prebuild flow that patches the Secp256k1Kmp srclib and publishes it to mavenLocal.
  • Refined recipe: Uses a full commit hash, installs both cmake (apt) and the specific SDK cmake;3.31.5 required by AGP, and sets the app category to Wallet with AutoName: Metro Vault.

Fastlane Metadata

Added the store-listing metadata F-Droid reads from the repository:

  • App listing: Title, short description, and a full description covering the security features and supported Bitcoin protocols (en-US locale).
  • Screenshots: Four phone screenshots under fastlane/metadata/android/en-US/images/phoneScreenshots/.
  • Changelog: Per-version changelog entry tracked alongside the version code.

Version & Build Configuration

  • Version bump: appVersionName is now 3.8.6 and appVersionCode is 5.
  • Simplified config: Inlined appVersionCode and appVersionName directly into the defaultConfig block of app/build.gradle.kts.
  • Removed JitPack: Dropped the JitPack repository from settings.gradle.kts to keep all dependencies resolvable from F-Droid-acceptable sources.

Technical Details

Key Files Modified

Licensing

  • LICENSE.txt - Added full GPL v3.0 text
  • docs/LICENSE.md - Removed (old MIT license)
  • README.md - Updated license section; clarified MIT for bundled QR libs
  • settings.gradle.kts - Removed JitPack repository

Reproducible Builds

  • .github/reproducible-build.sh - Build secp256k1-kmp from source; strip GNU build IDs; CI build hardening
  • .github/workflows/build.yml - Run build inside fdroidserver:buildserver-trixie Docker image
  • .gitattributes - Enforce LF line endings for shell scripts

F-Droid Documentation

  • docs/FDROID_BUILD.md - Native library build/verification guide and fdroiddata recipe template

Fastlane Metadata

  • fastlane/metadata/android/en-US/title.txt - App title
  • fastlane/metadata/android/en-US/short_description.txt - Short description
  • fastlane/metadata/android/en-US/full_description.txt - Full description
  • fastlane/metadata/android/en-US/images/phoneScreenshots/ - App screenshots
  • fastlane/metadata/android/en-US/changelogs/5.txt - Version changelog (renamed from 4.txt)

Version & Build Config

  • app/build.gradle.kts - Bumped to 3.8.6 (versionCode 5); inlined version fields into defaultConfig

Full Changelog: v3.8.5...v3.8.6