Releases: anggrayudi/SimpleStorage
Releases · anggrayudi/SimpleStorage
2.0.0
Version Changes:
- Upgraded to Kotlin 2.0 and AGP 8.4.1
- Upgraded min SDK version to 21
- Upgraded target & compile SDK versions to 34
- Other dependencies upgrade
- Removed Material Dialogs dependency
Breaking Changes:
- Migrated file manipulations like copy, move, search, compress, unzip, etc. to Kotlin Flow. If you still want to use these features in your Java project, please use v1.5.6 which is the latest version that supports Java.
Features:
- Added extension function:
DocumentFile.children
, which is a safer way oflistFiles()
by not throwing the exception.
1.5.6
Fixes
- Fixed issue #133, thanks to @rizkyAlfikri
- Fixed issues when copy/move multiple files from
List<DocumentFile>.move/copyTo()
extension functions
Improvements
- Added Japanese translation (#127), thanks to @kuragehimekurara1
Breaking Changes
This will be the latest version that supports Java for file manipulation like copy, move, search, compress, and unzip. All long-running functions will be written in Kotlin Coroutines & Flow in the future.
1.5.5
1.5.4
1.5.3
Features
- Migrated to ViewBinding
- Added SD card support for Android Kitkat
- Added
DocumentFile#changeName()
, becauseDocumentFile#renameTo()
is buggy prior to API 29
Fixes
findParent()
cannot resolve the root path properly
1.5.2
1.5.1
Fixes
- Fixed crash when requesting storage access for SD card on API 29 and lower.
1.5.0
Features
- Added
FileFullPath(Context, StorageType, String)
to support dynamic SD card ID (requires API 30+) - Added
onConflict()
callback for ZIP decompression (issue #95) - Added
onConflict()
callback to:DocumentFile#makeFile()
DocumentFile#makeFolder()
File#makeFile()
File#makeFolder()
- Added initial path parameter (issue #98) to:
SimpleStorage#requestStorageAccess()
SimpleStorage#createFile()
SimpleStorage#openFilePicker()
SimpleStorage#openFolderPicker()
Breaking Changes
- Upgraded to AGP 7
- Upgraded to Kotlin 1.7