Skip to content

Spring workflow versioning#1646

Merged
salaboy merged 7 commits into
dapr:masterfrom
javier-aliaga:spring-workflow-versioning
Feb 13, 2026
Merged

Spring workflow versioning#1646
salaboy merged 7 commits into
dapr:masterfrom
javier-aliaga:spring-workflow-versioning

Conversation

@javier-aliaga

@javier-aliaga javier-aliaga commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

Description

  • New annotation added to configure Full Version
  • New annotation added to allow registering activity with a name

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #[issue number]

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@javier-aliaga
javier-aliaga force-pushed the spring-workflow-versioning branch 13 times, most recently from 6dec411 to b9f89dd Compare February 10, 2026 09:49
@javier-aliaga
javier-aliaga force-pushed the spring-workflow-versioning branch from b9f89dd to 706d90f Compare February 10, 2026 10:37
@javier-aliaga
javier-aliaga marked this pull request as ready for review February 10, 2026 10:37
@javier-aliaga
javier-aliaga requested review from a team as code owners February 10, 2026 10:37
@javier-aliaga
javier-aliaga marked this pull request as draft February 10, 2026 12:47
@javier-aliaga
javier-aliaga force-pushed the spring-workflow-versioning branch from fe41b83 to 1962e72 Compare February 10, 2026 14:50
@javier-aliaga
javier-aliaga force-pushed the spring-workflow-versioning branch from 1962e72 to dd1695f Compare February 10, 2026 15:25
@javier-aliaga
javier-aliaga marked this pull request as ready for review February 10, 2026 15:57
@salaboy
salaboy self-requested a review February 13, 2026 14:10

@salaboy salaboy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@javier-aliaga great stuff @WorkflowMetadata and @ActivityMetadata is the way to go 🥳

@salaboy
salaboy merged commit f0d276a into dapr:master Feb 13, 2026
15 of 16 checks passed
@codecov

codecov Bot commented Feb 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.24%. Comparing base (bb84ad1) to head (b80d3d3).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1646      +/-   ##
============================================
+ Coverage     79.21%   79.24%   +0.03%     
- Complexity     2141     2145       +4     
============================================
  Files           234      234              
  Lines          6456     6462       +6     
  Branches        700      700              
============================================
+ Hits           5114     5121       +7     
+ Misses          990      989       -1     
  Partials        352      352              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

javier-aliaga added a commit to javier-aliaga/java-sdk that referenced this pull request Feb 14, 2026
* feat: Spring workflow version support

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Add workflow and activity annoations

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Rename annotation

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix spring boot examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
javier-aliaga added a commit to javier-aliaga/java-sdk that referenced this pull request Feb 14, 2026
* feat: Spring workflow version support

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Add workflow and activity annoations

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Rename annotation

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix spring boot examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
salaboy added a commit that referenced this pull request Feb 16, 2026
* feat: Add workflow versioning (#1624)

Signed-off-by: Javier Aliaga <[email protected]>

* feat: Add new fields to conversation api (#1640)

* feat: Add new fields to conversation api

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Modify conversation examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>

* feat: Add failure policy to actor reminders (#1643)

* feat: Add failure policy to actor reminders

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Use jackson to serialize/deserialize FailurePolicies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>

* Add PATCH constant to HttpExtension for service invocation (#1644)

Signed-off-by: Javier Aliaga <[email protected]>

* feat: Use dapr 1.17.0-rc.6 (#1651)

* feat: Use dapr 1.17.0-rc.6

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update pubsubIt to use resiliency policies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix Durable tasks flaky tests (#1653)

* chore: Fix waitForLoopEvent test

Signed-off-by: Javier Aliaga <[email protected]>

* fix: Code style

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix singleTimer Test

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix LoopWithTimer

Signed-off-by: Javier Aliaga <[email protected]>

* fix: longTimer test

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update testcontainers (#1654)

Signed-off-by: Javier Aliaga <[email protected]>

* Spring workflow versioning (#1646)

* feat: Spring workflow version support

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Add workflow and activity annoations

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Rename annotation

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix spring boot examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>

* Adding spring boot 4.0.2 tests to the matrix (#1638)

* adding spring boot 4.0.2 tests to the matrix

Signed-off-by: salaboy <[email protected]>

* removing ignoring autoconfig for hibernate and datasource

Signed-off-by: salaboy <[email protected]>

* adding spring-data-6 and spring-boot-4-starters

Signed-off-by: salaboy <[email protected]>

* adding spring-boot-4-sdk-tests to split dependencies

Signed-off-by: salaboy <[email protected]>

* new profile for sb4

Signed-off-by: salaboy <[email protected]>

* Update master version to 1.18.0-SNAPSHOT

Signed-off-by: Dapr Bot <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add workflow versioning (#1624)

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add new fields to conversation api (#1640)

* feat: Add new fields to conversation api

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Modify conversation examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add failure policy to actor reminders (#1643)

* feat: Add failure policy to actor reminders

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Use jackson to serialize/deserialize FailurePolicies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Signed-off-by: salaboy <[email protected]>

* updating version

Signed-off-by: salaboy <[email protected]>

* modifying integration tests steps for github workflow

Signed-off-by: salaboy <[email protected]>

* fixing workflow

Signed-off-by: salaboy <[email protected]>

* modified version on matrix

Signed-off-by: salaboy <[email protected]>

* modified values for matrix

Signed-off-by: salaboy <[email protected]>

* fix pom reference

Signed-off-by: salaboy <[email protected]>

* moving spring boot examples to integration tests

Signed-off-by: salaboy <[email protected]>

* removing code dependency between examples

Signed-off-by: salaboy <[email protected]>

* updating sb4 examples and deps

Signed-off-by: salaboy <[email protected]>

* Add PATCH constant to HttpExtension for service invocation (#1644)

Signed-off-by: salaboy <[email protected]>

* exclude spring6-data from java docs as it is not compatible with Spring Boot 3.x

Signed-off-by: salaboy <[email protected]>

* feat: Use dapr 1.17.0-rc.6 (#1651)

* feat: Use dapr 1.17.0-rc.6

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update pubsubIt to use resiliency policies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>

* fixing classpath for javadocs aggregation

Signed-off-by: salaboy <[email protected]>

---------

Signed-off-by: salaboy <[email protected]>
Signed-off-by: Dapr Bot <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: Dapr Bot <[email protected]>
Co-authored-by: Javier Aliaga <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Co-authored-by: Paul Lindner <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update new pom.xml versions

Signed-off-by: Javier Aliaga <[email protected]>

* fix: pom version

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>
Signed-off-by: Dapr Bot <[email protected]>
Co-authored-by: salaboy <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Co-authored-by: Paul Lindner <[email protected]>
Co-authored-by: Dapr Bot <[email protected]>
javier-aliaga added a commit to javier-aliaga/java-sdk that referenced this pull request Feb 20, 2026
* feat: Add workflow versioning (dapr#1624)

Signed-off-by: Javier Aliaga <[email protected]>

* feat: Add new fields to conversation api (dapr#1640)

* feat: Add new fields to conversation api

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Modify conversation examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>

* feat: Add failure policy to actor reminders (dapr#1643)

* feat: Add failure policy to actor reminders

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Use jackson to serialize/deserialize FailurePolicies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>

* Add PATCH constant to HttpExtension for service invocation (dapr#1644)

Signed-off-by: Javier Aliaga <[email protected]>

* feat: Use dapr 1.17.0-rc.6 (dapr#1651)

* feat: Use dapr 1.17.0-rc.6

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update pubsubIt to use resiliency policies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix Durable tasks flaky tests (dapr#1653)

* chore: Fix waitForLoopEvent test

Signed-off-by: Javier Aliaga <[email protected]>

* fix: Code style

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix singleTimer Test

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix LoopWithTimer

Signed-off-by: Javier Aliaga <[email protected]>

* fix: longTimer test

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update testcontainers (dapr#1654)

Signed-off-by: Javier Aliaga <[email protected]>

* Spring workflow versioning (dapr#1646)

* feat: Spring workflow version support

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Add workflow and activity annoations

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Rename annotation

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix spring boot examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>

* Adding spring boot 4.0.2 tests to the matrix (dapr#1638)

* adding spring boot 4.0.2 tests to the matrix

Signed-off-by: salaboy <[email protected]>

* removing ignoring autoconfig for hibernate and datasource

Signed-off-by: salaboy <[email protected]>

* adding spring-data-6 and spring-boot-4-starters

Signed-off-by: salaboy <[email protected]>

* adding spring-boot-4-sdk-tests to split dependencies

Signed-off-by: salaboy <[email protected]>

* new profile for sb4

Signed-off-by: salaboy <[email protected]>

* Update master version to 1.18.0-SNAPSHOT

Signed-off-by: Dapr Bot <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add workflow versioning (dapr#1624)

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add new fields to conversation api (dapr#1640)

* feat: Add new fields to conversation api

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Modify conversation examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add failure policy to actor reminders (dapr#1643)

* feat: Add failure policy to actor reminders

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Use jackson to serialize/deserialize FailurePolicies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Signed-off-by: salaboy <[email protected]>

* updating version

Signed-off-by: salaboy <[email protected]>

* modifying integration tests steps for github workflow

Signed-off-by: salaboy <[email protected]>

* fixing workflow

Signed-off-by: salaboy <[email protected]>

* modified version on matrix

Signed-off-by: salaboy <[email protected]>

* modified values for matrix

Signed-off-by: salaboy <[email protected]>

* fix pom reference

Signed-off-by: salaboy <[email protected]>

* moving spring boot examples to integration tests

Signed-off-by: salaboy <[email protected]>

* removing code dependency between examples

Signed-off-by: salaboy <[email protected]>

* updating sb4 examples and deps

Signed-off-by: salaboy <[email protected]>

* Add PATCH constant to HttpExtension for service invocation (dapr#1644)

Signed-off-by: salaboy <[email protected]>

* exclude spring6-data from java docs as it is not compatible with Spring Boot 3.x

Signed-off-by: salaboy <[email protected]>

* feat: Use dapr 1.17.0-rc.6 (dapr#1651)

* feat: Use dapr 1.17.0-rc.6

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update pubsubIt to use resiliency policies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>

* fixing classpath for javadocs aggregation

Signed-off-by: salaboy <[email protected]>

---------

Signed-off-by: salaboy <[email protected]>
Signed-off-by: Dapr Bot <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: Dapr Bot <[email protected]>
Co-authored-by: Javier Aliaga <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Co-authored-by: Paul Lindner <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update new pom.xml versions

Signed-off-by: Javier Aliaga <[email protected]>

* fix: pom version

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>
Signed-off-by: Dapr Bot <[email protected]>
Co-authored-by: salaboy <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Co-authored-by: Paul Lindner <[email protected]>
Co-authored-by: Dapr Bot <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants