Skip to content

Releases: anggrayudi/SimpleStorage

2.0.0

07 Jul 17:40
3024a93
Compare
Choose a tag to compare

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 of listFiles() by not throwing the exception.

1.5.6

18 Jun 15:40
Compare
Choose a tag to compare

Fixes

  • Fixed issue #133, thanks to @rizkyAlfikri
  • Fixed issues when copy/move multiple files from List<DocumentFile>.move/copyTo() extension functions

Improvements

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

27 Jun 09:43
64ca9da
Compare
Choose a tag to compare

Fixes

  • Fixed issue #116
  • Fixed issue #119
  • Fixed issue #125, added onPermissionRequestInterrupted() to PermissionCallback

Improvements

  • Added Russian translation (#122), thanks to @gee12
  • Upgraded to AGP 8

1.5.4

09 Jan 09:03
Compare
Choose a tag to compare

Features

  • Added functions (issue #110):
    • DocumentFileCompat.getAccessibleAbsolutePaths()
    • DocumentFileCompat.getAccessibleUris()

Fixes

  • Fixed home storage ID for Documents folder

1.5.3

22 Dec 18:02
Compare
Choose a tag to compare

Features

  • Migrated to ViewBinding
  • Added SD card support for Android Kitkat
  • Added DocumentFile#changeName(), because DocumentFile#renameTo() is buggy prior to API 29

Fixes

  • findParent() cannot resolve the root path properly

1.5.2

07 Dec 08:28
Compare
Choose a tag to compare

Fixes

  • DocumentFileCompat.mkdirs() creates extra subfolder (issue #105)

1.5.1

01 Nov 09:08
Compare
Choose a tag to compare

Fixes

  • Fixed crash when requesting storage access for SD card on API 29 and lower.

1.5.0

14 Oct 15:37
Compare
Choose a tag to compare

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

1.4.1

23 Jul 10:36
Compare
Choose a tag to compare

Fixes

Note: This is the most stable version. Please consider using it if you're still using old AGP & Kotlin versions.

1.4.0

12 Jul 08:16
Compare
Choose a tag to compare

Features

  • Support Documents folder for API 24-29 (issue #90)
  • Increase target/compile SDK version to 33
  • Tell the user which root path should be selected