Tus Java Server Versions Save

Library to receive tus v1.0.0 file uploads in a Java server environment

1.0.0-3.0

9 months ago

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-3.0</version>
</dependency>

This release of a new major version 1.0.0-3.x has a few breaking changes. So please read the set of below features and changes carefully.

Features and breaking changes:

  • The 1.0.0-3.0 version is the first version to support the jakarta.servlet.* APIs (#50)
    • This also means that this library needs to be used with for example Tomcat 10.
  • This version is only officially tested with Java 17.
    • But it will probably still work with Java 11 however it is not the goal to officially support Java 11 anymore.
  • The code style for this project was changed to the Google Java Style (#51) to have easier automated code style checks and formatting. Therefor the following method and class names changed to:
    • UploadIdFactory.setUploadUri
    • UploadIdFactory.getUploadUri
    • TusFileUploadService.withUploadUri
    • class UuidUploadIdFactory
  • The CI/CD setup was migrated from Travis CI to GitHub Actions.

1.0.0-2.1

9 months ago

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.1</version>
</dependency>

The 1.0.0-2.x versions are the last versions to support the javax.servlet.* APIs and Java 8 and 11 versions.

Features:

  • Support for non-ascii file names: #38
  • Set compiler target to Java 8

Dependency changes:

  • Updated commons-io to 2.7
  • Updated commons-codec to 1.13

1.0.0-2.0

5 years ago

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.

1.0.0-1.3

5 years ago

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-1.3</version>
</dependency>

Fixes:

  • Change Base64 encoding and decoding logic to be compatible with JDK 11: issue #14
  • Updated test dependencies in order to be able to run tests on JDK 11: PR #16
  • Configured Travis to run builds on JDK 8, JDK 9 and JDK 11 (all with Java target version 7)

1.0.0-1.2

5 years ago

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-1.2</version>
</dependency>

Fixes:

  • Allow regex expressions in upload URI in order to support URL parameters: issue #11
  • Return relative URL in Location header on upload creation in order to prevent (browser mixed content blocking) problems with HTTPS proxies sitting before the web application

1.0.0-1.1

5 years ago

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-1.1</version>
</dependency>

Fixes:

1.0.0-1.0

5 years ago

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-1.0</version>
</dependency>