Skip to content

Commit 0b39177

Browse files
committed
Release sdk java 7.0.0-alpha5.1
Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
1 parent faef663 commit 0b39177

File tree

2 files changed

+58
-9
lines changed

2 files changed

+58
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: Serverless Workflow Java SDK 7.0.0-alpha1
3+
author: Francisco Javier Tirado Sarti
4+
date: 2024-11-7
5+
description: >
6+
Heads up, community! We have released a new Java SDK version compatible with Specification 1.0.0.
7+
---
8+
9+
## Announcing the Release of Serverless Workflow Java SDK 7.0.0-alpha1
10+
11+
Hello, Serverless Workflow community!
12+
13+
We're excited to announce the release of the latest Java SDK, version 7.0.0-alpha5, now compatible with the upcoming Serverless Workflow Specification 1.0.0. You can dive right in by using [one of the examples](https://github.com/serverlessworkflow/specification/tree/main/examples) available in the specification repository. Here's a quick example to get you started:
14+
15+
{{< card code=true header="**Java SDK Example**" lang="Java" >}}
16+
// Make sure simple.yaml is in your src/main/resources folder
17+
try (InputStream in = new FileInputStream("simple.yaml")) {
18+
Workflow workflow = WorkflowReader.readWorkflow (in, WorkflowFormat.YAML);
19+
// Once you have the Workflow instance, you can use its API to inspect it
20+
}
21+
{{< /card >}}
22+
23+
To install the SDK, simply add it as a dependency to your Maven project:
24+
25+
{{< card code=true header="**Maven Dependency**" lang="Java" >}}
26+
<dependency>
27+
<groupId>io.serverlessworkflow</groupId>
28+
<artifactId>serverlessworkflow-api</artifactId>
29+
<version>7.0.0-alpha5</version>
30+
</dependency>
31+
{{< /card >}}
32+
33+
With this release,
34+
35+
- We update to the latest schema.
36+
- We improve POJO generation from specification schema by:
37+
- creating proper union classes when the one of the union members is a string
38+
- assigning meaningful names by using schema titles.
39+
- We start the development of a reference implementation, that will be properly documented when it reaches a more stable state.
40+
41+
We're also thrilled to share that new features are in the pipeline, and we'll be releasing another alpha version soon. You can track our progress towards the 7.0.0.Final version [here](https://github.com/serverlessworkflow/sdk-java/milestone/1).
42+
43+
### Previous Versions and Support for the Specification 0.8
44+
45+
As we move forward, if you encounter any issues with the 5.x series, which supports Specification 0.8, please [open an issue in our repository](https://github.com/serverlessworkflow/sdk-java/issues) so we can track it. While we may release patch versions to address critical issues, please note that no new features will be added, and our resources for maintaining this branch are limited.
46+
47+
For those interested in contributing to the 6.x series, which supports the legacy 0.9 version of the specification, we welcome your efforts. However, we want to emphasize that our primary focus and resources are dedicated to the new 1.0.0 specification, which aligns with the 7.x stream of the Java SDK.
48+
49+
Happy coding!

content/en/blog/releases/release-sdk-java-7.0.0-alpha5.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: Serverless Workflow Java SDK 7.0.0-alpha1
2+
title: Serverless Workflow Java SDK 7.0.0-alpha5-1
33
author: Francisco Javier Tirado Sarti
4-
date: 2024-11-7
4+
date: 2024-12-4
55
description: >
66
Heads up, community! We have released a new Java SDK version compatible with Specification 1.0.0.
77
---
88

9-
## Announcing the Release of Serverless Workflow Java SDK 7.0.0-alpha1
9+
## Announcing the Release of Serverless Workflow Java SDK 7.0.0-alpha5.1
1010

1111
Hello, Serverless Workflow community!
1212

13-
We're excited to announce the release of the latest Java SDK, version 7.0.0-alpha5, now compatible with the upcoming Serverless Workflow Specification 1.0.0. You can dive right in by using [one of the examples](https://github.com/serverlessworkflow/specification/tree/main/examples) available in the specification repository. Here's a quick example to get you started:
13+
We're excited to announce the release of the latest Java SDK, version 7.0.0-alpha5.1, now compatible with the upcoming Serverless Workflow Specification 1.0.0. You can dive right in by using [one of the examples](https://github.com/serverlessworkflow/specification/tree/main/examples) available in the specification repository. Here's a quick example to get you started:
1414

1515
{{< card code=true header="**Java SDK Example**" lang="Java" >}}
1616
// Make sure simple.yaml is in your src/main/resources folder
@@ -26,17 +26,17 @@ To install the SDK, simply add it as a dependency to your Maven project:
2626
<dependency>
2727
<groupId>io.serverlessworkflow</groupId>
2828
<artifactId>serverlessworkflow-api</artifactId>
29-
<version>7.0.0-alpha5</version>
29+
<version>7.0.0-alpha5.1</version>
3030
</dependency>
3131
{{< /card >}}
3232

3333
With this release,
3434

35-
- We update to the latest schema.
35+
- We update to the latest schema revision.
36+
- Add ErrorFilter schema
3637
- We improve POJO generation from specification schema by:
37-
- creating proper union classes when the one of the union members is a string
38-
- assigning meaningful names by using schema titles.
39-
- We start the development of a reference implementation, that will be properly documented when it reaches a more stable state.
38+
- Fix problem generating union classes related with Input/Output schema
39+
- We substantially advance in the development of a [reference implementation](https://github.com/serverlessworkflow/sdk-java/issues/459), that will be properly documented when it reaches a more stable state.
4040

4141
We're also thrilled to share that new features are in the pipeline, and we'll be releasing another alpha version soon. You can track our progress towards the 7.0.0.Final version [here](https://github.com/serverlessworkflow/sdk-java/milestone/1).
4242

0 commit comments

Comments
 (0)