Skip to content

Releases: openjobspec/ojs-java-sdk

ojs-java-sdk v0.3.0

09 Mar 20:15

Choose a tag to compare

v0.3.0

See the full release notes for details across all Open Job Spec projects.

Installation

<version>0.3.0</version>

ojs-java-sdk v0.2.0

28 Feb 15:29

Choose a tag to compare

  • chore: bump version to 0.2.0
  • fix: handle network timeout in HTTP client
  • feat: add batch enqueue support
  • test: add workflow chain completion callback tests
  • fix: resolve record deserialization for nested job args
  • feat: add virtual thread support for worker pool
  • perf: optimize job deserialization path
  • fix: handle empty response body gracefully
  • refactor: extract HTTP client into reusable module
  • test: add unit tests for worker middleware chain
  • docs: add inline documentation for public API
  • fix: handle connection timeout in HTTP client
  • chore: update dependency versions
  • refactor: use sealed interfaces for job state
  • fix: resolve race condition in job completion

What's Changed

See the full release notes: https://github.com/openjobspec/openjobspec/blob/main/RELEASE_NOTES_v0.2.0.md

v0.1.0 — Initial Java SDK Release

23 Feb 09:49

Choose a tag to compare

ojs-sdk (Java) v0.1.0

The official Java SDK for Open Job Spec.

Features

  • Java 21+ — Records, sealed interfaces, virtual threads (Project Loom)
  • Zero dependencies — Uses only java.net.http.HttpClient from the standard library
  • Optional Jackson support — Jackson annotations for enhanced JSON serialization
  • Builder pattern — Fluent builders for all configuration
  • Virtual threads — Concurrent worker execution with Project Loom
  • Full OJS support — Enqueue, workers, middleware, workflows (chain/group/batch)

Installation

Maven:

<dependency>
    <groupId>org.openjobspec</groupId>
    <artifactId>ojs-sdk</artifactId>
    <version>0.1.0</version>
</dependency>

Gradle:

implementation("org.openjobspec:ojs-sdk:0.1.0")

Requirements

  • Java 21+