Skip to content

Release 1.18 - #1331

Merged
alicejgibbons merged 54 commits into
masterfrom
release-1.18
Jun 12, 2026
Merged

Release 1.18#1331
alicejgibbons merged 54 commits into
masterfrom
release-1.18

Conversation

@alicejgibbons

Copy link
Copy Markdown
Contributor

Description

  • Workflow history context propagation quickstarts
  • SDK version bumps for Java, Dotnet, Python, JavaScript and Go
  • Migrate python from pip to uv
  • Move Jobs API to stable
  • Various package dep changes and fixes

Issue reference

We strive to have all PRs 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:

  • The quickstart code compiles correctly
  • You've tested new builds of the quickstart if you changed quickstart code
  • You've updated the quickstart's README if necessary
  • If you have changed the steps for a quickstart be sure that you have updated the automated validation accordingly. All of our quickstarts have annotations that allow them to be executed automatically as code. For more information see mechanical-markdown. For user guide with examples see Examples.

nelson-parente and others added 30 commits May 19, 2026 21:47
Ports Cassie Coyle's Go-SDK reference example (dapr/go-sdk#823) to Python.
Demonstrates PropagationScope.LINEAGE and PropagationScope.OWN_HISTORY in a
fraud-detection payment scenario with a 3-level workflow hierarchy.

Requires Dapr 1.18+ (dapr/dapr#9810) and dapr-ext-workflow 1.18+ (dapr/python-sdk#1025).

Signed-off-by: Nelson Parente <nelson_parente@live.com.pt>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Aligns the Python workflow history propagation quickstart with the canonical
Go reference (dapr/go-sdk#823, #1315) so all SDK quickstarts
share the same patient intake / e-prescribing scenario.

- Swap credit-card/fraud scenario for patient-intake/e-prescribing
- Adopt PatientIntake -> PrescribeMedication -> ComplianceAudit hierarchy
- Add is_replaying guards around all print() calls inside workflows
- Use Cassie's PascalCase activity/workflow names for cross-SDK consistency

Signed-off-by: Nelson Parente <nelson_parente@live.com.pt>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Bumps io.dapr:dapr-sdk-bom and io.dapr.spring:dapr-spring-bom from
1.18.0-rc-1 to 1.18.0-rc-2 across all 21 Java quickstart samples.

Signed-off-by: Javier Aliaga <javier@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
chore(java): bump Dapr SDK BOM to 1.18.0-rc-2
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
… Boot layout

Signed-off-by: Javier Aliaga <javier@diagrid.io>
bump go-sdk version + jobs api stable
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
- Add propagateHistory flag to PatientRecord; PatientIntake conditionally
  forwards LINEAGE so reviewers can see ComplianceAudit refuse the
  prescription when upstream history is withheld.
- Trim README per Alice's review (drop requirements blockquote,
  propagation-modes section, replay-safety callout, Dapr<1.18 fallback,
  and References list; link to dapr/docs#5153).
- Update .http with both scenarios.

Signed-off-by: Javier Aliaga <javier@diagrid.io>
quickstart for workflows history propagation
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Aligns the Python workflow history propagation quickstart with Cassie's
canonical Go version that merged into release-1.18
(#1315, tutorials/workflow/go/history-propagation).

Changes to match the canonical structure:

- Move from workflows/python/sdk-context-propagation/order-processor/ to
  tutorials/workflow/python/history-propagation/, matching the Go sibling
  at tutorials/workflow/go/history-propagation/
- Split the monolithic app.py into app.py / workflow.py / models.py,
  mirroring main.go / workflow.go / models.go
- Add ForwardLineage flag to PatientRecord and run both scenarios
  back-to-back (happy path + negative), purging state after each so the
  app exits on its own
- Make DispenseMedication refuse to dispense when no propagated history
  is received, returning a refused DispenseResult with a Reason field
- Match the Go README: title, propagation-scope table, STEP markers,
  expected output for both scenarios
- dapr.yaml: appID=patient-app (was order-processor),
  resourcesPath=../../resources (was ../../components),
  appLogDestination/daprdLogDestination=console to match sister Python
  tutorials and Cassie's Go example
- Use correct Python SDK API names: get_last_workflow_by_name /
  get_last_activity_by_name (the earlier draft used get_workflow_by_name
  / get_activity_by_name, which were renamed in dapr/python-sdk#1025)

Signed-off-by: Nelson Parente <nelson_parente@live.com.pt>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
nelson-parente and others added 24 commits May 29, 2026 13:38
…code

- README: drop the Go-sibling reference paragraph
- README: simplify the requirements line to just "Requires Dapr 1.18+"
- README: drop the "exits on its own — no Ctrl+C needed" sentence
- README: drop the "## Files" tree at the bottom
- workflow.py: trim repetitive docstrings and inline Step comments;
  the step prints already carry the same information

Signed-off-by: Nelson Parente <nelson_parente@live.com.pt>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
- Merge 'Key demonstration' into 'Scenarios' so the LINEAGE/OWN_HISTORY
  behavior is explained once instead of three times.
- Cut the unsigned-history warning note from a paragraph to one line.
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
feat(java): workflow context propagation quickstart
Signed-off-by: Alexander Trauzzi <acj@trauzzi.me>
…python

feat(python): workflow context propagation quickstart
Signed-off-by: Alexander Trauzzi <acj@trauzzi.me>
Signed-off-by: Alexander Trauzzi <acj@trauzzi.me>
…block.

Signed-off-by: Alexander Trauzzi <acj@trauzzi.me>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
chore: bump everything for 1.18 release
Signed-off-by: Alice Gibbons <alice@diagrid.io>
@alicejgibbons
alicejgibbons requested review from a team as code owners June 12, 2026 14:29

@sicoyle sicoyle 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.

LGTM 🎉

@alicejgibbons
alicejgibbons merged commit e65ac85 into master Jun 12, 2026
17 of 19 checks passed
@alicejgibbons
alicejgibbons deleted the release-1.18 branch June 12, 2026 16:02
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.

6 participants