1.0.0-2.0
This release is available in the Maven Central repository as:
<dependency>
<groupId>me.desair.tus</groupId>
<artifactId>tus-java-server</artifactId>
<version>1.0.0-2.0</version>
</dependency>
Fixes:
- Add support for custom Upload ID factories so you can specify your own ID format and generation: PR #17 and #18
Major changes:
- Class
UploadIdFactory
has been refactored to an abstract class with two example implementations:UUIDUploadIdFactory
andTimeBasedUploadIdFactory
- Method
me.desair.tus.server.TusFileUploadService#withUploadIdFactory
can be used to set another Upload ID factory implementation. The default implementation isUUIDUploadIdFactory
. - The identifier of an upload has been abstracted into the
UploadId
class. ClassUploadInfo
has been adjusted to make use of this new identifier class.