Repository navigation
Conversation
- Upgrade guide: new "Upgrading to v1.2" section covering the 1.1 waypoint, migrations 113-114, payloads moving to workflow_input / workflow_output, the debouncer's DELAYED-workflow design and 1.1 takeover, child workflows inheriting the parent's deadline, export compatibility, new record components, the database clock, and a deprecations table. - QueueOptions: every example uses new QueueOptions() and the plain-value with... builders; the reference documents withRateLimitMax/Period, the (Integer) null clearing idiom, and the deprecated set/and/Field forms. - Timeouts: children inherit the parent's deadline, the precedence rules, and withDeadline marked deprecated on StartWorkflowOptions, EnqueueOptions and WorkflowOptions. - Debouncer: Debouncer.withTimeout, setter-time validation, internal queue default, withDeduplicationId ignored, how a debounce is stored. - ListWorkflowsInput.withIsFork; WorkflowStatus.isDebounced and debounceDeadline. - Version pins 1.1.0 -> 1.2.0; deprecations now say "a future release" instead of 2.0.
- Debouncer: the key is released when the workflow leaves DELAYED, not when it starts; later calls reset the start to one period after the call; a debouncer can't use a partitioned queue. - Deadline migration: Duration.between throws for a deadline that has passed; drop the DBOSContext.getTimeout() mention. - dbos.enqueueWorkflow: an enclosing WorkflowOptions bound applies before the caller's deadline.
kraftp
approved these changes
Oct 1, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Documentation for DBOS Transact Java 1.2, which is already published to Maven Central. The dependency snippets pin
1.2.0.Upgrade guide
New Upgrading to v1.2 section in
java/upgrading.md:workflow_input/workflow_output, and theworkflow_statuspayload columns areNULLon new rows.DELAYEDworkflow, and a leftover 1.1 debouncer workflow is taken over.DBOSWorkflowFunctionNotFoundException.QueueOptionsbuilders, andwithDeadlineonStartWorkflowOptions,EnqueueOptionsandWorkflowOptions.new QueueOptions()doesn't exist in 1.1.Reference and tutorials
new QueueOptions().withX(...).QueueOptionsreference lists the new builders.withRateLimitMax/withRateLimitPeriodfor changing half of a stored limit, and the(Integer) nullidiom for clearing a limit.prompting.mdtells agents not to generate the deprecated forms.WorkflowOptionsblock, then the parent's deadline.Timeout.none()andTimeout.inherit()are described as they now behave.withDeadlineis marked deprecated, and the queue tutorial's deadlines section carries a deprecation note.Debouncer.withTimeout, and validation when a setter is called.withDeduplicationIdis ignored.ListWorkflowsInput.withIsFork, andWorkflowStatus.isDebounced/debounceDeadline.1.1.0→1.2.0. The deprecation notes on theevent_dispatch_kvplugin API no longer mention 2.0.Verification
1.2.0tag, and a review pass fixed the debouncer and timeout wording (second commit).🤖 Generated with Claude Code