Releases: vinceglb/FileKit
0.10.0-beta01
🎉 FileKit v0.10 is now available in beta!
FileKit v0.10 is a full rewrite of the library. It focuses on improving the developer experience by facilitating tasks related to files operations in Kotlin Multiplatform projects.
- Improve PlatformFile abstraction to make development easier for common files-related tasks
- Support for kotlinx-io to easily read, write, stream files and more from the common code
- Access common paths like application filesDir and cacheDir from common code
- It's now easier than ever to store and read files in the app storage!
- Capture photos with the native camera app and return the associated file on Android and iOS
- Save images to the native gallery on Android and iOS
- Add helpers to display images from PlatformFile on Compose Multiplatform using Coil3
- A brand new website for the documentation
- And more!
🚀 Get started
- Installation documentation guide: https://filekit.mintlify.app/installation
- Migrate from FileKit 0.8 to 0.10: https://filekit.mintlify.app/migrate-to-v0.10
📣 Feedback
I'm really interested in having your feedback about this update.
- What do you think about the new API? Do you find it easier to use?
- What do you think about the new capabilities (like the possibility of reading and writing, streaming, kotlinx-io integration, etc)?
- What do you think about the new documentation?
- If you have any suggestions or comments, please share them!
You can share your thoughts in this discussion: #206.
Thanks a lot ❤️
🙏 New Contributors
As usual, a big thank you to all the contributors!
- @zhufucdev made their first contribution in #171
Full Changelog: 0.8.8...0.10.0-beta01
0.8.8
✅ Improvements
- Bump Kotlin to 2.0.21
- Bump Compose to 1.7.1
🐛 Bug fixes
🙏 New Contributors
A big thank you to all the contributors ❤️
📣 Announcement
The next version of FileKit 0.10 will bring a lot more features and improve the global developer experience:
- Improve PlatformFile abstraction to make development easier for common files-related tasks
- Support for kotlinx-io to easily read, write, stream files and more from the common code
- Access common paths like application
filesDir
andcacheDir
from common code - It's now easier than ever to store and read files in the app storage!
- Capture photos with the native camera app and return the associated file on Android and iOS
- Save images to the native gallery on Android and iOS
- Add helpers to display images from PlatformFile on Compose Multiplatform using Coil3
- A brand new website for the documentation
- And more!
I'm excited to share with you and have your feedback on this new version in the following weeks, so stay tuned!
Full Changelog: 0.8.7...0.8.8
0.8.7
0.8.4
✅ Improvements
- On iOS, run FileKit from any thread, it will safely run on the main thread by @santiwanti in #124
🐛 Bug fixes
- On iOS, fix swiping down the image picker sheet does not cause any events by @vinceglb in #131
- On Linux, fix UTF8 characters in the path when selecting a file crashes by @vinceglb in #130
Full Changelog: 0.8.3...0.8.4
0.8.3
✨ What's new
- Add a
getStream
method to PlatformFile which allows reading files a few chunks at a time instead of putting the whole file in memory at once by @santiwanti in #59
🐛 Bug fixes
- Remove extra bytes when overriding a file with a smaller file in android by @santiwanti in #119
- Fix the path retrieval on Android by @santiwanti in #120
✅ Improvements
- Upgrade JNA to 5.15.0 in #112
Full Changelog: 0.8.2...0.8.3
0.8.2
0.8.1
0.8.0
✨ What's new
- Update Kotlin to 2.0.10 in #83
- Uses Swing JFileChooser as fallback for Linux by @p0058781 in #81
- Uses latest Windows dialogs UI / UX by @vinceglb in #88
- Add WindowsFileChooser multiple support by @kingsword09 in #80
🐛 Bug fixes
- Fix impossible to select files when no mine is found on Android by @vinceglb in #86
- Fix: remove unnecessary JVM dependency by @zt64 in #87
- Fix README.md typo by @zhelenskiy in #72
- Fix Problems when creating Release Distributable for Desktop with Proguard by @vinceglb in #88
🙏 New Contributors
A big thank you to all the contributors ❤️
- @zhelenskiy made their first contribution in #72
- @kingsword09 made their first contribution in #80
- @p0058781 made their first contribution in #81
- @zt64 made their first contribution in #87
Full Changelog: 0.7.0...0.8.0
0.7.0
✨ New features
- Improve Linux support by adding Xdg Desktop FileChooser Portal by @Snd-R in #65
- Limit number of files that can be selected by @santiwanti in #60
- Add JS target to FileKit-Compose by @hondogo in #61
💥 Breaking changes
PickerMode.Multiple
was an object and now it is a class: PickerMode.Multiple()
. Do not forget to add the brackets.
🐛 Fixes
- Fix ios pick video use UTTypeMovie for pick video or media in ios by @the-best-is-best in #67
- Fix crashes on Android inside Compose dialogs by @Snd-R in #68
- Bump io.coil-kt.coil3:coil-compose from 3.0.0-alpha07 to 3.0.0-alpha08 by @dependabot in #63
New Contributors
A big thank you to all the contributors ❤️
- @hondogo made their first contribution in #61
- @Snd-R made their first contribution in #65
- @the-best-is-best made their first contribution in #67
Full Changelog: 0.6.3...0.7.0