github temporalio/sdk-go v1.40.0

12 days ago

Breaking Changes

Due to Standalone Activities, testActivityToken are used to keep track of activities, instead of just activityID, they now contain activityID and runID. Most users should not be affected, only if you're manually constructing task tokens in your tests.

Highlights

Versioning v1 and v2 worker options and versioning intent have been marked as deprecated.

Bug fixes

Various test fixes and improvements

Properly set RootWorkflowExecution in child workflow env when testing.

Enforcement of heartbeat and start-to-close timeouts in test environment, as well as properly cancel timer when AwaitWithTimeout condition resolves.

What's Changed

  • Additional fields in env config by @stephanos in #2145
  • Enforce heartbeat and start-to-close timeouts in test environment by @mfateev in #2144
  • Upgrade Datadog tracer to dd-trace-go v2 by @yarinzirlin in #2113
  • Add release notes for contrib/datadog v0.5.0 by @yuandrew in #2168
  • Cancel timer when AwaitWithTimeout condition resolves by @mfateev in #2153
  • fix: set RootWorkflowExecution in child workflow env when testing by @pbrowne011 in #2170
  • Fix TestMockCallWrapperNotBefore test flake by @yuandrew in #2173
  • Enhance SDK flags so flags are off by default when first introduced by @yuandrew in #2164
  • Deprecate v1 and v2 versioning worker options and versioning intent by @carlydf in #2174
  • 💥 Standalone activities support by @maciejdudko in #2158
  • Switch from docker-compose to samples-server repo by @yuandrew in #2183
  • Remove experimental warning for worker deployment versioning and envconfig by @THardy98 in #2176
  • bump API to v1.62.1 by @yuandrew in #2187

New Contributors

Full Changelog: v1.39.0...v1.40.0

Don't miss a new sdk-go release

NewReleases is sending notifications on new releases.