Skip to content

Releases: temporalio/sdk-typescript

v1.17.5

Choose a tag to compare

@THardy98 THardy98 released this 07 Jul 23:38

Backport #2169 to address #2170

v1.16.3

Choose a tag to compare

@THardy98 THardy98 released this 07 Jul 23:39

Backport #2169 to address #2170

v1.19.0

Choose a tag to compare

@chris-olszewski chris-olszewski released this 01 Jul 14:55
d8094c3

What's Changed

Added

  • Nexus operation link propagation for signals. When a Nexus operation handler signals a workflow
    (including signal-with-start), the inbound Nexus request links are now forwarded onto the signaled
    workflow so its history events link back to the caller, and the link the server returns for the
    signaled event is attached to the caller workflow's Nexus operation history event. This makes the
    caller and callee mutually navigable in the UI for signal-based Nexus operations.
  • Added @temporalio/interceptors-opentelemetry-v2 to support OpenTelemetry JS SDK 2.
  • Expose continue-as-new backoff start interval.
  • add nondeterministic unsafe.random for read-only contexts.

Breaking Changes

  • WorkflowHandle.runId in @temporalio/nexus is now an optional property to support creating a handle using only a workflow ID.
  • Enable gRPC gzip compression by default. Can be disabled by passing grpcCompression: { codec: none } when constructing a NativeConnection. ⚠️ If using a proxy that doesn't support gzip compression we suggest upgrading to 1.20.0 which will downgrade the connection.
  • bump required Node version to 20.3.0.

Changed

  • Standalone Nexus operation links are now formatted to align with server side support.
  • Standalone Nexus operation links are now forwarded on start workflow and signal requests.
  • protobufjs bumped to 7.6.2
  • Rename @temporalio/openai-agents tracing sink to the reserved _temporal prefix

Fixed

  • fix(openai-agents): correct misleading legacy-query comment in resolveQueryKey
  • avoid logging NativeConnection on worker startup

Other

New Contributors

Full Changelog: v1.18.1...1.19.0

v1.18.1

Choose a tag to compare

@THardy98 THardy98 released this 11 Jun 22:47
69d25a3

Bug Fixes

  • [workflow-streams] Fix continue-as-new handling in workflow-streams subscribe (#2102)
  • [activity] Correctly populate activity info task queue and namespace (#2107)
  • [worker] Remove OTel tags from metrics (#2113).

Full Changelog: v1.18.0...v1.18.1

v1.18.0

Choose a tag to compare

@THardy98 THardy98 released this 08 Jun 20:03
873bfcf

Notable Changes

  • [client, nexus] Standalone Nexus Operations support (#2027, #2085). Adds client.nexus, typed Nexus service clients, operation handles for result/describe/cancel/terminate, list/count APIs, Nexus client interceptors, Nexus operation errors, and TemporalOperationHandler for Nexus operations backed by Temporal workflows.
  • [client, activity] Standalone Activities are now in Public Preview.
  • [common, client, workflow] New SerializationContext API across payload/failure conversion paths (#1996, #2054, #2058, #2060). Coverage now includes workflow/activity boundaries, workflow and schedule clients, async activity completion, and codecs.
  • [workflow] Named random streams (#1992) let plugins and libraries use deterministic randomness without consuming the workflow default PRNG stream.
  • [workflow] Workflow executions can now fail on selected error types, including non-determinism, instead of only failing workflow tasks (#2020).
  • [contrib] New @temporalio/workflow-streams package (#2039) for durable, offset-addressed workflow event streams, with sdk-python-compatible wire conventions.
  • [openai-agents] New @temporalio/openai-agents package (#2024) for running OpenAI Agents SDK agents as durable workflows. First contribution from @xumaple! Thank you!

Features

  • [client] Add ActivityOptions.startDelay support for standalone Activities (#2048).
  • [worker] Allow WorkerPlugin.configureWorker and configureReplayWorker hooks to return promises (#2030). First contribution from @wardpeet! Thank you!

Chores / Cleanup

  • [docs] Fix dead links (#2019). First contribution from @beninato8! Thank you!
  • [platform] Drop macOS Intel (macos-x64) from the CI tests matrix (#2078)

Dependencies

  • [deps] Bump dependencies on webpack, source-map-loader and others (#2077).

New Contributors

Full Changelog: 1.17.2...v1.18.0

1.17.4

Choose a tag to compare

@THardy98 THardy98 released this 09 Jun 01:35

Corrective Release

This release republishes the 1.17.2 source tree as 1.17.4.

1.17.3 was published accidentally and has been deprecated on npm. Use 1.17.4 for the 1.17.x line, or 1.18.0 for the current latest release.

Package Notes

  • Published the 1.17.2 package set as 1.17.4, including the contrib packages present in 1.17.2.
  • No source changes relative to 1.17.2 beyond package version updates.
  • npm latest remains 1.18.0; release-1-17 points to 1.17.4.

Full Changelog: 1.17.2...1.17.4

v1.16.2

Choose a tag to compare

@chris-olszewski chris-olszewski released this 18 May 17:56
dc196d0

What's Changed

  • [backport 1.16.2] Update core to pickup shutdown fix by @yuandrew in #2057

Full Changelog: v1.16.1...v1.16.2

1.17.2

Choose a tag to compare

@THardy98 THardy98 released this 15 May 00:22
9ebca9b

DNS Resolver Load Balancing Configuration

A new load balancing feature was added in temporalio/sdk-rust#1212 which has caused networking issues in certain networking setups. This is now disabled by default via the change listed below (#2049).

What's Changed

New Contributors

v1.17.1

Choose a tag to compare

@THardy98 THardy98 released this 08 May 18:22
c109143

Features

  • Added new USE_RAMPING_VERSION versioning behavior to Continue-As-New (#2034)

Bug Fixes

  • [envconfig] fix(envconfig) - emit default configuration when no default file path found (#2035)

Dependencies

  • [core-bridge]: build(deps): bump rustls-webpki from 0.103.10 to 0.103.13 in /packages/core-bridge (#2025)
  • [core-bridge]: build(deps): bump rand from 0.8.5 to 0.8.6 in /packages/core-bridge (#2022)

Full Changelog: v1.17.0...v1.17.1

v1.17.0

Choose a tag to compare

@THardy98 THardy98 released this 30 Apr 22:20
b2ad2d3

Notable Changes

  • [lamba-worker, pre-release] New @temporalio/lambda-worker package (#1995) that wraps the full per-invocation lifecycle for running
    Temporal workers inside AWS Lambda (connect, create worker, poll, graceful shutdown). Now in pre-release!
  • [client, pre-release] 💥 Standalone Activities support (#2029). Activities can now be started directly from a Temporal Client, independent of any workflow. See https://docs.temporal.io/standalone-activity for documentation. Standalone Activity as a server feature is in Public Preview, but TS implementation is still pre-release.

Features

  • [worker] feat(metrics): add UpDownCounter to Buffered Metrics and RuntimeMetricMeter (#2007). First contribution from @gibbonjj! Thank you!

Bug Fixes

  • [workflow] fix(workflow): do not import @temporalio/proto from workflow code (#2010)
  • [worker] fix(worker): 'occured' -> 'occurred' in error log message (#2013). First contribution from @SAY-5! Thank you!

Chores / Cleanup

  • chore: prune pnpm deps overrides (#2012)
  • chore: enforce type only imports (#2015)
  • [ci]: Update and pin all GHA actions (#2016)
  • [core]: update submodule to sdk-rust (#2026)

Dependencies

  • [core, deps] bump sdk-core and protobufjs (#2011)
  • [core] core commit to latest (#2028)

New Contributors

Full Changelog: v1.16.0...v1.17.0