Skip to content

Releases: anggrayudi/SimpleStorage

2.2.0

26 Jul 16:55
3655ed2

Choose a tag to compare

Version Changes:

  • Upgraded AGP to v8.11
  • Upgraded Kotlin to v2.2.0
  • Upgraded target SDK to 36

Features:

Fixes:

2.1.0

11 Jun 15:10
8ae4648

Choose a tag to compare

Version Changes:

  • Upgraded target SDK to 35
  • Migrated to Kotlin DSL

Fixes:

2.0.0

07 Jul 17:40
3024a93

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

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

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

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

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

Choose a tag to compare

Fixes

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

1.5.1

01 Nov 09:08

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

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