Releases: temporalio/sdk-typescript
Releases · temporalio/sdk-typescript
Release list
v1.17.5
v1.16.3
v1.19.0
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-v2to support OpenTelemetry JS SDK 2. - Expose continue-as-new backoff start interval.
- add nondeterministic
unsafe.randomfor read-only contexts.
Breaking Changes
WorkflowHandle.runIdin@temporalio/nexusis 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 aNativeConnection.⚠️ If using a proxy that doesn't supportgzipcompression we suggest upgrading to1.20.0which 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.
protobufjsbumped 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
NativeConnectionon worker startup
Other
- docs(worker): fix broken link to production deploy guide by @ASHISHTOMER0817 in #2134
New Contributors
- @ASHISHTOMER0817 made their first contribution in #2134
- @Evanthx made their first contribution in #2114
Full Changelog: v1.18.1...1.19.0
v1.18.1
Bug Fixes
- [
workflow-streams] Fix continue-as-new handling inworkflow-streamssubscribe (#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
Notable Changes
- [
client,nexus] Standalone Nexus Operations support (#2027, #2085). Addsclient.nexus, typed Nexus service clients, operation handles for result/describe/cancel/terminate, list/count APIs, Nexus client interceptors, Nexus operation errors, andTemporalOperationHandlerfor Nexus operations backed by Temporal workflows. - [
client,activity] Standalone Activities are now in Public Preview. - [
common,client,workflow] NewSerializationContextAPI 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-streamspackage (#2039) for durable, offset-addressed workflow event streams, with sdk-python-compatible wire conventions. - [
openai-agents] New@temporalio/openai-agentspackage (#2024) for running OpenAI Agents SDK agents as durable workflows. First contribution from @xumaple! Thank you!
Features
- [
client] AddActivityOptions.startDelaysupport for standalone Activities (#2048). - [
worker] AllowWorkerPlugin.configureWorkerandconfigureReplayWorkerhooks 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
- @beninato8 made their first contribution in #2019
- @eamsden made their first contribution in #2078
- @wardpeet made their first contribution in #2030
- @cconstable made their first contribution in #2090
- @xumaple made their first contribution in #2024
Full Changelog: 1.17.2...v1.18.0
1.17.4
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.2package set as1.17.4, including the contrib packages present in1.17.2. - No source changes relative to
1.17.2beyond package version updates. - npm
latestremains1.18.0;release-1-17points to1.17.4.
Full Changelog: 1.17.2...1.17.4
v1.16.2
What's Changed
Full Changelog: v1.16.1...v1.16.2
1.17.2
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
- docs: deduplicate and update contributing guidelines by @dplyukhin in #2038
- chore: break up test package by @chris-olszewski in #1910
- Surface DNS load balancing config in connection options by @THardy98 in #2049
- Expose endpoint on Nexus OperationInfo by @Quinn-With-Two-Ns in #2041
- chore: add @temporalio/ai-sdk as co-codeowner of contrib/ai-sdk by @brianstrauch in #2052
- fix(worker): close replay iterator in runReplayHistory by @SeptenTrace in #2050
New Contributors
- @dplyukhin made their first contribution in #2038
- @brianstrauch made their first contribution in #2052
- @SeptenTrace made their first contribution in #2050
v1.17.1
Features
- Added new
USE_RAMPING_VERSIONversioning 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
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
New Contributors
Full Changelog: v1.16.0...v1.17.0