Skip to content

1.0.0-2.0

Compare
Choose a tag to compare
@tomdesair tomdesair released this 07 Feb 20:47

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 and TimeBasedUploadIdFactory
  • Method me.desair.tus.server.TusFileUploadService#withUploadIdFactory can be used to set another Upload ID factory implementation. The default implementation is UUIDUploadIdFactory.
  • The identifier of an upload has been abstracted into the UploadId class. Class UploadInfo has been adjusted to make use of this new identifier class.