Skip to content

chore(deps-dev): bump @aws/durable-execution-sdk-js from 1.1.7 to 2.0.0#5365

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/main/aws/durable-execution-sdk-js-2.0.0
Open

chore(deps-dev): bump @aws/durable-execution-sdk-js from 1.1.7 to 2.0.0#5365
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/main/aws/durable-execution-sdk-js-2.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor

Bumps @aws/durable-execution-sdk-js from 1.1.7 to 2.0.0.

Release notes

Sourced from @​aws/durable-execution-sdk-js's releases.

Release sdk-2.0.0

First major release for V2. Upgrade target for users on the 1.x line (last release: 1.1.7). 2.0.0 ships six categories of change:

  1. withRetry — a new helper for retrying a chunk of durable logic (multi-operation blocks containing waitForCallback, invoke, etc.) with a configurable backoff strategy.
  2. Linear retry strategycreateLinearRetryStrategy and the new retryPresets.linear preset for fixed-increment backoff alongside the existing exponential strategies.
  3. Serdes upgradescontext.configureSerdes() for setting default serdes once, createFileSystemSerdes for offloading large payloads to a durable mount (Amazon S3 Files, EFS), and inline previews to keep PII out of GetDurableExecutionHistory and the AWS console.
  4. Cost / scale knob for batch operationsNestingType.FLAT on map and parallel skips the per-iteration CONTEXT operation for up to 2x cost reduction and up to 2x more iterations per execution, trading per-branch observability for throughput.
  5. More precise error types — promise combinators and callbacks throw specific error subclasses (PromiseCombinatorError, CallbackExternalError, CallbackTimeoutError, CallbackSubmitterError). This is the main source of breaking changes for code that branches on error type.
  6. Observability plugins (experimental) — a DurableInstrumentationPlugin interface for emitting custom instrumentation. This API is experimental and may change in a backward-incompatible way in any release.

A number of operational fixes and security updates are also included.

⚠ Upgrade guide (breaking changes)

1. Promise combinator failures now throw PromiseCombinatorError

context.Promise.all, Promise.allSettled, Promise.any, and Promise.race previously rejected with StepError. They now reject with PromiseCombinatorError, which extends DurableOperationError directly — not StepError or ChildContextError.

// v1.x — no longer matches in v2
try {
  await context.Promise.all([...]);
} catch (err) {
  if (err instanceof StepError) { /* ... */ }
}
// v2.0
import { PromiseCombinatorError } from "@​aws/durable-execution-sdk-js";
try {
await context.Promise.all([...]);
</tr></table>

... (truncated)

Changelog

Sourced from @​aws/durable-execution-sdk-js's changelog.

[2.0.0]

First major release. Upgrade target for users on the 1.x line (last release: 1.1.7). 2.0.0 ships six categories of change:

  1. withRetry — a new helper for retrying a chunk of durable logic (multi-operation blocks containing waitForCallback, invoke, etc.) with a configurable backoff strategy.
  2. Linear retry strategycreateLinearRetryStrategy and the new retryPresets.linear preset for fixed-increment backoff alongside the existing exponential strategies.
  3. Serdes upgradescontext.configureSerdes() for setting default serdes once, createFileSystemSerdes for offloading large payloads to a durable mount (Amazon S3 Files, EFS), and inline previews to keep PII out of GetDurableExecutionHistory and the AWS console.
  4. Cost / scale knob for batch operationsNestingType.FLAT on map and parallel skips the per-iteration CONTEXT operation for up to 2x cost reduction and up to 2x more iterations per execution, trading per-branch observability for throughput.
  5. More precise error types — promise combinators and callbacks throw specific error subclasses (PromiseCombinatorError, CallbackExternalError, CallbackTimeoutError, CallbackSubmitterError). This is the main source of breaking changes for code that branches on error type.
  6. Observability plugins (experimental) — a DurableInstrumentationPlugin interface for emitting custom instrumentation. This API is experimental and may change in a backward-incompatible way in any release.

A number of operational fixes and security updates are also included.

⚠ Upgrade guide (breaking changes)

1. Promise combinator failures now throw PromiseCombinatorError

context.Promise.all, Promise.allSettled, Promise.any, and Promise.race previously rejected with StepError. They now reject with PromiseCombinatorError, which extends DurableOperationError directly — not StepError or ChildContextError.

// v1.x — no longer matches in v2
try {
  await context.Promise.all([...]);
} catch (err) {
  if (err instanceof StepError) { /* ... */ }
}
// v2.0
import { PromiseCombinatorError } from "@​aws/durable-execution-sdk-js";
try {
</tr></table>

... (truncated)

Commits
  • 56b6988 chore(sdk): release 2.0.0 and harden npm publish dist-tag verification (#656)
  • c19dc85 test(sdk): repair test:all by removing dead src/scripts jest project (#654)
  • 294a757 feat(sdk): add executionInput to InvocationInfo (plugin interface) (#653)
  • 37db09d feat(sdk): align linear retry strategy with exponential helper (#652)
  • f9061a3 feat(sdk): sanitize filesystem serdes paths and add pathEncoding option (#651)
  • ee69eb6 feat(sdk): group callback errors under CallbackError and add CallbackExternal...
  • 1092dbf fix(sdk): apply serdes round-trip across all runInChildContext modes (#648)
  • 8abeada fix(sdk): preserve errorData across nested runInChildContext boundaries (#646)
  • 54703a0 fix(sdk): add plugin interface hook tests for isReplay (#645)
  • f5d6ebb fix(sdk): account for double-encoding inflation in OVERFLOW threshold check (...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Changes that touch dependencies, e.g. Dependabot, etc. javascript Pull requests that update Javascript code labels Jun 22, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/main/aws/durable-execution-sdk-js-2.0.0 branch 8 times, most recently from 45d7561 to 30d7a6e Compare June 23, 2026 18:05
Bumps [@aws/durable-execution-sdk-js](https://github.com/aws/aws-durable-execution-sdk-js/tree/HEAD/packages/aws-durable-execution-sdk-js) from 1.1.7 to 2.0.0.
- [Release notes](https://github.com/aws/aws-durable-execution-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-durable-execution-sdk-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-durable-execution-sdk-js/commits/sdk-2.0.0/packages/aws-durable-execution-sdk-js)

---
updated-dependencies:
- dependency-name: "@aws/durable-execution-sdk-js"
  dependency-version: 2.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/main/aws/durable-execution-sdk-js-2.0.0 branch from 30d7a6e to 7bb887c Compare June 24, 2026 13:44
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Changes that touch dependencies, e.g. Dependabot, etc. javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants