Skip to content

2.0.0-alpha01

Latest

Choose a tag to compare

@abdulrahman-b0 abdulrahman-b0 released this 25 Apr 19:40

Kotlin Multiplatform Support 🌍

This is a major milestone for Hijri Date Picker, bringing full Kotlin Multiplatform (KMP) support! You can now use this library across Android, iOS, macOS, and JVM (Desktop) applications with a single shared codebase.

🚀 Key Features

  • Compose Multiplatform Support: Built from the ground up to support Android, iOS, macOS, and Desktop.
  • Modern Material 3 Design: Consistent look and feel across all platforms using the latest Material3 components.
  • Improved Date Handling: Integrated with kotlinx-datetime for robust timezone and date-time operations.

📱 Supported Platforms

  • Android (Min SDK 26)
  • iOS (Arm64 & Simulator Arm64)
  • macOS (Arm64)
  • JVM (Desktop) (JDK 11+)

⚠️ Breaking Changes

This version contains several breaking changes due to the KMP migration:

  • API Changes:
    • The library uses HijrahDate class (from hijrahdatetime library) to allow for Kotlin Multiplatform support. On Android/JVM and for convenience, you have an extension function to convert date into java.time.chrono.HijrahDate.
  • Dependency Changes:
    • Now depends on kotlinx-datetime instead of java.time.
    • Now depends on com.abdulrahman-b:hijrahdatetime:2.0.0-alpha04 to provide Hijri date across platforms.