- Allow
start
to be null whencount
is not null inreadFileBytes
.
- More graceful handling of cancellation.
- Add custom file stream support (
startReadCustomFileStream
,readCustomFileStreamChunk
,skipCustomFileStreamChunk
,endReadCustomFileStream
) to allow skipping bytes on native side.
- Fix uncaught exceptions on invalid URIs.
- Fix leaks in input streams.
- Update README.
- Deprecate
readFileSync
andwriteFileSync
. This is a non-breaking changes.readFileBytes
andwriteFileBytes
are added to replace them. The new methods are exactly the same as the old ones. It's just a name change. Because the old names are misleading, they are not synchronous. - Better docs.
- Migrate from
mg_shared_storage
tosaf_util
. - Update to Gradle 8
- Fix some threading issues.
- Add
start
andcount
params toreadFileSync
andreadFileStream
.
- Fix issues when overwriting file contents
- [Breaking] Rename
readFileToLocal
andwriteFileFromLocal
tocopyToLocalFile
/pasteLocalFile
. - Add
readFileSync
andwriteFileSync
for synchronous file operations.
- Return
SafNewFile
inwriteFileFromLocal
.
- Add
fileName
toSafWriteStreamInfo
. - Fix Kotlin build issues.
- Stop using
wt
mode for newly created files
- Always create new files in
writeFileFromLocal
- Added
readFileToLocal
andwriteFileFromLocal
- Initial public release