Releases: yogithesymbian/yonewsai-fdd-jetpack-compose
🚀 Compose Lifecycle Debug & Coroutine Safety
🔍 Overview
This release focuses on improving lifecycle awareness and coroutine safety in Jetpack Compose-based ViewModels. Inspired by legacy coroutine patterns from XML-based old Jetpack projects on 2019, this update brings modern debugging tools and race condition prevention strategies into the Compose world.
🛠️ What's New
Debug Logging with logChanges
A new StateFlow extension to log UI state transitions, making Compose lifecycle behavior easier to trace and understand.
Race Condition Prevention
Implemented job cancellation in NewsHomeViewModel and NewsDetailViewModel to avoid overlapping coroutine executions during events like swipe-to-refresh or configuration changes.
Lifecycle-Aware Debugging
Integrated logChanges into NewsHomeViewModel to monitor state updates in real-time, aiding in lifecycle analysis and debugging.
💡 Why It Matters
Understanding Compose lifecycle can be challenging—especially when dealing with asynchronous data flows. This release bridges the gap between traditional coroutine handling and modern Compose architecture, making debugging process smoother and app more resilient.
What's Changed
- feat(viewmodel): add debug logging and prevent race conditions by @yogithesymbian in #13
Full Changelog: V1.0.7...V1.0.8
🧙 Introducing a Brand New News Reading Experience!
✨ What's New* Beautiful Home Screen: Discover the latest news with our brand-new home screen, featuring a "Breaking News" carousel and a list of "Recommendations" curated just for you.
- Seamless Article Transitions: Experience our standout feature! When you tap on a news article, watch as the image and title smoothly animate into place on the detail screen. It’s magic for your eyes!
- Clean & Focused Reading: The new article detail screen provides a clean, distraction-free environment for you to enjoy your reading.
- Faster & More Reliable: We've implemented smart in-app caching. This means browsing articles is now faster, and your app experience is more reliable, even with API limitations.
🛠️ Behind the Scenes
This release includes significant architectural improvements to make the app more robust and ready for future features. We've laid a strong foundation using the latest Jetpack Compose technologies.
We hope you enjoy this new update. Happy reading!
What's Changed
- feat(ui): Build Home & Detail screens with Shared Element Transitions by @yogithesymbian in #10
Full Changelog: V1.0.6...V1.0.7
🦊 Spring Twen Bounce Interaksi Hidup
What's Changed
- feat(article): implement expandable content with animation by @yogithesymbian in #8
Full Changelog: V1.0.5...V1.0.6
✨ Apa yang Baru di Versi Ini?
- Tampilan Kartu Berita yang Lebih Cerdas: Kini Anda bisa langsung melihat deskripsi singkat sebuah berita tanpa harus meninggalkan halaman utama! Cukup ketuk "Baca selengkapnya..." pada kartu berita, dan deskripsi akan muncul dengan animasi yang elegan.
- Animasi yang Lebih Halus: Kami telah memoles tampilan aplikasi dengan animasi baru yang membuat setiap interaksi terasa lebih hidup dan responsif.
- Perbaikan Kecil dan Peningkatan Stabilitas: Seperti biasa, kami juga telah memperbaiki beberapa bug di belakang layar untuk memastikan aplikasi berjalan lebih cepat dan stabil untuk Anda.
Terima kasih telah menggunakan YoNewsAI! Kami terus bekerja keras untuk memberikan pengalaman berita terbaik untuk Anda. Punya saran atau masukan? Jangan ragu untuk menghubungi kami!
Selamat membaca!
✨ Shimmer Loading & UI Enhancements
✨ New Features
- Shimmer Loading for Images: I've introduced a sleek shimmer loading animation for all article images. This provides a better visual experience while you wait for content to load, eliminating empty white boxes.
♻️ Enhancements & Refactoring
- Improved Component Structure: The
ArticleImagecomponent has been completely refactored into a reusable, atomic component. This makes our UI more consistent and development more efficient. - Code Organization: Project files have been restructured to better align with atomic design principles, leading to a cleaner and more maintainable codebase.
Refactor & Upgrade: Code Inspection Cleanup, KSP Migration, Coil 3 Integration
This release focuses on improving code quality, modernizing the build system, and aligning with current best practices in Android development.
🔧 Changes Included:
- ✅ Resolved Android Studio inspection warnings across core modules
- 🔄 Migrated annotation processing from KAPT to KSP thats x2 faster Migrate from kapt to KSP
- ⬆️ Updated
build.gradledependencies and plugins to the latest stable versions - 🧹 Cleaned up core Android files for better readability and maintainability
- 🧑💻 Ensured consistent use of Kotlin extensions and idiomatic Kotlin practices
- 🖼️ Upgraded Coil to version 3 and added
ImageLoaderModuleto resolve integration issues and improve image loading performance
These changes enhance build performance, reduce technical debt, and prepare the project for future scalability and maintainability.
Refactor: Component Structure with Atomic Design Patterns
Restructured UI components following atomic design patterns for better maintainability and reusability.
Changes:
- Organized components into molecules and organisms
- Separated reusable UI elements (SourceBadge, Article, Button)
- Improved component composition and hierarchy
- Added some Material Design 3 principles (spacing, typography)
- Minor visual enhancements
Note: This is an initial refactor. Not all components follow strict atomic design yet. Full alignment with design guidelines and complete component library will come in future updates.
UI Enhancement Update – Jetpack Compose Gets a Fresh Look
This release focuses on improving the overall user experience and visual appeal of the app’s interface built with Jetpack Compose. Key highlights include:
- Modern Material Design 3: Complete visual overhaul of news list and detail screens with contemporary design patterns.
- Enhanced Article Cards: Redesigned cards featuring hero images, gradient overlays, source badges, and improved typography.
- Better User Feedback: Added polished loading, error, and empty states for clearer communication.
- Improved Reading Experience: Larger images, better spacing, and enhanced content hierarchy in detail view.
- New Capabilities: Share functionality, manual refresh option, and improved call-to-action sections.
- Performance Optimizations: Better list rendering with optimized key parameters and reduced recompositions.
Experience a more modern, engaging, and simple visually appealing news reading interface.
v1.0.0 – Initial Release
This is the first stable release of the application.
Key features include:
Core functionality implemented
Basic Jetpack Compose UI
What's Next?
The next release will focus on UI enhancements to improve the overall look and feel of the app using Jetpack Compose.