Releases: MohamedRejeb/Calf
v0.6.1
📦 Dependencies
- Update AGP to 8.5.2 by @MohamedRejeb in #199
🐛 Fixes
calf-ui
- Fix UIDatePicker is always in UTC time by @MohamedRejeb in #198
calf-permission
- Make permissions work with Android Studio Preview by @MohamedRejeb in #200
Full Changelog: v0.6.0...v0.6.1
v0.6.0
📦 Dependencies
- Update Compose to 1.7.0 by @MohamedRejeb in #192
- Update Kotlin to 2.0.21 by @MohamedRejeb in #192
- Update Coil to 3.0.1 by @MohamedRejeb in #196
🚀 Features
calf-ui
- iOS Dialog and Sheet Improvements by @aschulz90 in #170
calf-permission
- Add read contacts permission by @dalafiarisamuel in #181
🐛 Fixes
calf-ui
- Fix iOS time picker colors by @MohamedRejeb in #194
calf-permission
- Fix Notification Permission issue on Android 12 and below by @MohamedRejeb in #171
- Fix WriteStorage and ReadStorage always reporting Granted by @MohamedRejeb in #174
- Fix openAppSettings on iOS 18 by @cvb941 in #183
New Contributors
- @aschulz90 made their first contribution in #170
- @dalafiarisamuel made their first contribution in #181
- @cvb941 made their first contribution in #183
Full Changelog: v0.5.5...v0.6.0
v0.5.5
🚀 Features
calf-ui
- [iOS] Add elevation support to container color of Bottom Sheet and Date Picker by @MohamedRejeb in #165
🐛 Fixes
calf-ui
- Fix AdaptiveDatePicker cutoff when using padding on iOS by @MohamedRejeb in #164
Full Changelog: v0.5.4...v0.5.5
v0.5.4
🚀 Features
calf-ui
- Apply AdaptiveBottomSheet
containerColor
to UIKit Sheet by @MohamedRejeb in #155
calf-permissions
- Handle
PermissionStatus.Denied.shouldShowRationale
on iOS by @MohamedRejeb in #156 - Add
PermissionStatus.isNotGranted
andPermissionStatus.isDenied
helpers by @MohamedRejeb in #153
🐛 Fixes
calf-permissions
- Fix
Permission.Notification
crash in IOS by @MohamedRejeb in #152
calf-file-picker
- Remove iOS 15.0+ PHPickerConfiguration APIs by @MohamedRejeb in #159
Other
- Refactor convention plugins by @MohamedRejeb in #147
Full Changelog: v0.5.3...v0.5.4
v0.5.3
📦 Dependencies
- Update Kotlin to 2.0.10 by @MohamedRejeb in #142
If you are using
calf-file-picker
on iOS and you are using Kotlin 2.0.0, you may encounter an issue due to Compose compiler. Make sure to update your Kotlin version to 2.0.10
🚀 Features
calf-ui
- Support partially expanded sheet on iOS by @MohamedRejeb in #143
🐛 Fixes
calf-ui
- Use initialSelectedDateMillis as the initial date on iOS if it exists. by @MohamedRejeb in #126
- Plumb down modifier parameter in iOS AdaptiveBottomSheet by @ZacSweers in #132
- Fix iOS AdaptiveDatePicker TimeZone issues by @MohamedRejeb in #134
- [iOS] Picker not displayed when not on main view controller by @dan15d in #136
- Fix light/dark theme issue on bottom sheet by @MohamedRejeb in #144
calf-file-picker
- Update FilePickerLauncher.ios.kt by @dan15d in #121
- Refactor rememberImageVideoPickerLauncher by @MohamedRejeb in #130
New Contributors
- @dan15d made their first contribution in #121
- @ZacSweers made their first contribution in #132
Full Changelog: v0.5.2...v0.5.3
v0.5.2
🚀 Features
All
- Add publish snapshot to sonatype by @MohamedRejeb in #110
calf-permission
- Add local notification permission by @Joe3112 in #107
- Android notification permission opens notification settings by @Joe3112 in #111
calf-file-picker
- Add FileSaverLauncher to desktop by @MohamedRejeb in #109
- Document Coil package by @iruizmar in #112
🐛 Fixes
calf-ui
- Fix using native ios components inside AdaptiveBottomSheet by @MohamedRejeb in #117
- Fix rememberSheetState losing sheet state by @MohamedRejeb in #119
New Contributors
Full Changelog: v0.5.1...v0.5.2
v0.5.1
🐛 Fixes
calf-file-picker
- [Desktop] Fix issue in macOS picker with selecting
FilePickerFileType.All
by @MohamedRejeb in #104 - [Desktop] Fix issue in windows picker with selecting
FilePickerFileType.All
by @MohamedRejeb in #106
Full Changelog: v0.5.0...v0.5.1
v0.5.0
🚀 Features
All
- [Android] Decrease minSdk to 21 by @MohamedRejeb in #98
calf-ui
- Add AdaptiveClickable by @MohamedRejeb in #99
calf-file-picker
- Add file picker filter by extensions support by @MohamedRejeb in #94
- [iOS] Skip creating temp file for directories. by @MohamedRejeb in #95
🐛 Fixes
calf-file-picker
- [iOS] Use PHPicker for FilePickerFileType.Video and FilePickerFileType.ImageVideo by @MohamedRejeb in #96
- [Desktop] Fix filtering files issue on Windows by @MohamedRejeb in #94
- [Web] Skip launching file picker when using FilePickerFileType.Folder in Web by @MohamedRejeb in #97
📦 Dependencies
- Update Kotlin to 2.0.0 and Compose to 1.6.11 by @MohamedRejeb in #91
❌ Breaking changes
🆕 calf-webivew
- Separate Web-View from UI Package by @Shahriyar13 in #46
- Move webview to a separate artifact by @MohamedRejeb in #93
WebView
is separated fromcalf-ui
. If you areWebView
make sure to add the new dependencycalf-webivew
.
New Contributors
- @Shahriyar13 made their first contribution in #46
Full Changelog: v0.4.1...v0.5.0
v0.4.1
What's Changed
- Add meta viewport setting in sample for better user experience on mobile devices by @jershell in #73
- Add a Coil utils module and a KmpFileFetcher to load file picker images with coil easily by @iruizmar in #84
- Create iOS temp file in images file picker by @MohamedRejeb in #85
- Create iOS temp file in documents file picker by @MohamedRejeb in #86
The
NSURL
returned by iOSPHPicker
is a url for a file that's going to be deleted after the file picker callback so you won't be able to storeKmpFile
and use it later for upload or something else, that's why now we create a temp file in iOS to solve this issue.
New Contributors
Full Changelog: v0.4.0...v0.4.1
v0.4.0
🚀 Features
All
- Add WasmJs Support by @MohamedRejeb in #63
- New Web demo here by @MohamedRejeb in #71
calf-file-picker
- Add Web(Js & WASM) support to file picker by @MohamedRejeb in #60
calf-permissions
- Add Android phone call permission by @MohamedRejeb in #62
🐛 Fixes
calf-file-picker
- Trigger onResult when nothing is selected on Android by @bmc08gt in #58
- iOS Image picker callbacks on the main thread by @iruizmar in #55
📦 Dependencies
- Update Compose to 1.6.0 by @MohamedRejeb in #59
- Update Kotlin to 1.9.22 by @MohamedRejeb in #59
- Update AGP to 8.2.2 by @MohamedRejeb in #59
❌ Breaking changes
calf-file-picker
- In Android KmpFile is
wrapper
aroundUri
instead ofFile
. KmpFile
extension functions now require aPlatformContext
that you can get fromLocalPlatformContext.current
KmpFile.readByteArray
is changed to a suspend function.
val context = LocalPlatformContext.current
val singlePickerLauncher =
rememberFilePickerLauncher(
onResult = { files ->
scope.launch {
files.forEach {
try {
it.readByteArray(context).toImageBitmap()
} catch (e: Exception) {
e.printStackTrace()
}
}
}
},
)
New Contributors
Full Changelog: v0.3.1...v0.4.0