Skip to content

v0.4.3

Choose a tag to compare

@GabryDX GabryDX released this 29 Sep 15:36
· 88 commits to main since this release
36f615a

πŸš€ MetaJammer v0.4.3 β€” Release Notes

Summary

MetaJammer v0.4.3 is a stability and compatibility hardening release focused on backward compatibility for Android 8.0–9.0 devices, resolving library deprecations, and eliminating build pipeline workarounds for official F-Droid inclusion.


πŸ”„ What's Changed in v0.4.3 (from v0.4.2)

1. Android 8.0–9.0 (API 26–28) Backward Compatibility

  • Safe Media Metadata Lifecycle (MediaUtils.useCompat): Replaced standard Kotlin .use { ... } with useCompat across MetadataRepository and MediaMetadataProcessor. This prevents runtime NoSuchMethodError / IncompatibleClassChangeError crashes on API 26–28 where MediaMetadataRetriever did not implement AutoCloseable.
  • OGG Audio Remux Guard: Added an explicit API level check (Build.VERSION_CODES.Q) before attempting native OGG remuxing in MediaMetadataProcessor, gracefully failing closed with an explicit error on legacy Android versions.
  • Notification Permission Guard: Guarded POST_NOTIFICATIONS runtime permission request launcher in MainActivity with Build.VERSION_CODES.TIRAMISU.

2. Library Deprecations & Lifecycle Cleanup

  • Room Database Migration: Upgraded fallbackToDestructiveMigration() to fallbackToDestructiveMigration(dropAllTables = true) in AppDatabase.
  • WorkManager Data Handling: Replaced deprecated inputData.getStringArray() with null-safe inputData.getNullableStringArray() in MetadataProcessingWorker.
  • ViewModel Lifecycle: Removed redundant super.onCleared() call in MainViewModel.

3. Jetpack Compose UI Guidelines Alignment

  • Modifier Parameter Ordering: Positioned modifier: Modifier = Modifier as the first optional parameter across ProcessingScreen, QuickScrubScreen, and SettingsScreen in accordance with Android Compose API conventions.

4. F-Droid Pipeline & Metadata Hardening

  • Zero-Sed Build Recipe: Switched from signingConfigs.getByName("release") to null-safe signingConfigs.findByName("release")?.let { ... } in app/build.gradle.kts. This allows F-Droid's build server to cleanly strip signing blocks without crashing Gradle or requiring prebuild: sed scripts.
  • Zero-Scanignore Configuration: Removed external Gradle foojay-resolver plugin from settings.gradle.kts to eliminate scanner flags (suss.json).
  • Fastlane & Metadata Polish: Shortened Fastlane short_description.txt to 69 characters (complying with F-Droid's 80-char limit) and formatted YAML prebuild as an inline scalar string for fdroid rewritemeta.
  • Fastlane Changelog: Added fastlane/metadata/android/en-US/changelogs/4.txt.

5. Version Bump

  • Bumped versionName to 0.4.3 and versionCode to 4.