This repository was archived by the owner on Oct 30, 2018. It is now read-only.
Releases: storj-archived/java-libstorj
Releases · storj-archived/java-libstorj
0.6
- Javadoc added for all public API
- New API methods for getting bucket/file id by name
- Error codes are exposed in the API
Storj.verifyKeys()
can check with the Bridge if a mnemonic is valid, i.e. can decrypt bucket metadata.
0.5.1
Fixed crash due to multithreading access to JNIEnv
.
0.5
API changes:
- New
Storj.getFile()
method for getting the file metadata from file ID UploadFileCallback
now provides aFile
object for the uploaded filegetBucketId()
method added to theFile
classStorj.downloadFile()
now accept alocalPath
argument for customizing the download location for the file- API method variants with String IDs as parameters instead of
Bucket
andFile
objects - Bridge URL can be specified for connecting to bridges other than
api.storj.io
- The
Storj
class is not singleton anymore - Any usage of the
java.nio.file
package is avoided so the library can be used on versions of the Android platform lower then API 26 (Oreo)
Other:
- User agent is set in the format
java-libstorj-<version>
- Build migrated from Maven to Gradle
0.4
API changes:
File.isDirectory()
tests if a File is directoryStorj.uploadFile()
now accept a param for the file name of the uploaded file
0.3.1
Fixed EXCEPTION_ACCESS_VIOLATION crash due to double call to json_object_put
.
0.3
- Java IO API usage is replaced with Java NIO2 API
- Loading the native JNI library is moved to a separate method that can be mocked by test frameworks like JMockit
0.2.1
Fix for Windows for correctly determining the file name of the uploaded file.
0.2
fileId
of uploaded file is now provided in UploadFileCallback
.
0.1
- First release extracted from android-libstorj
- Added methods for setting config and download directories