-
Notifications
You must be signed in to change notification settings - Fork 26
Release sdk java 7.0.0-alpha5.1 #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
cdavernas
merged 2 commits into
serverlessworkflow:main
from
fjtirado:Release_sdk_java_7.0.0_alpha5.1
Dec 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
content/en/blog/releases/release-sdk-java-7.0.0-alpha5.1.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
title: Serverless Workflow Java SDK 7.0.0-alpha1 | ||
author: Francisco Javier Tirado Sarti | ||
date: 2024-11-7 | ||
fjtirado marked this conversation as resolved.
Show resolved
Hide resolved
|
||
description: > | ||
Heads up, community! We have released a new Java SDK version compatible with Specification 1.0.0. | ||
--- | ||
|
||
## Announcing the Release of Serverless Workflow Java SDK 7.0.0-alpha1 | ||
fjtirado marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Hello, Serverless Workflow community! | ||
|
||
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: | ||
fjtirado marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
{{< card code=true header="**Java SDK Example**" lang="Java" >}} | ||
// Make sure simple.yaml is in your src/main/resources folder | ||
try (InputStream in = new FileInputStream("simple.yaml")) { | ||
Workflow workflow = WorkflowReader.readWorkflow (in, WorkflowFormat.YAML); | ||
// Once you have the Workflow instance, you can use its API to inspect it | ||
} | ||
{{< /card >}} | ||
|
||
To install the SDK, simply add it as a dependency to your Maven project: | ||
|
||
{{< card code=true header="**Maven Dependency**" lang="Java" >}} | ||
<dependency> | ||
<groupId>io.serverlessworkflow</groupId> | ||
<artifactId>serverlessworkflow-api</artifactId> | ||
<version>7.0.0-alpha5</version> | ||
fjtirado marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</dependency> | ||
{{< /card >}} | ||
|
||
With this release, | ||
|
||
- We update to the latest schema. | ||
- We improve POJO generation from specification schema by: | ||
- creating proper union classes when the one of the union members is a string | ||
- assigning meaningful names by using schema titles. | ||
- We start the development of a reference implementation, that will be properly documented when it reaches a more stable state. | ||
|
||
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). | ||
|
||
### Previous Versions and Support for the Specification 0.8 | ||
|
||
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. | ||
|
||
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. | ||
|
||
Happy coding! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.