Changelog

tc39/ecma262 · Jun 22–28, 2026 · 2 commits

Explicit resource management becomes part of the spec

This week added `using`/`await using`, disposable stacks, and `SuppressedError`, plus a cleanup refactor in async/generator control flow.

Explicit resource management lands in the language

The spec now includes using and await using declarations, DisposableStack and AsyncDisposableStack, SuppressedError, and the new disposal symbols %Symbol.dispose% and %Symbol.asyncDispose%. This is the week’s major language addition, enabling deterministic cleanup and clearer disposal-time error handling.

Async/generator control-flow logic was deduplicated

The spec factored out repeated caller-context resumption steps into a new RunCallerContext abstract operation. This editorial refactor simplifies generator and async algorithm text without changing behavior.

Other misc changes

  • Formatter, lint, and esmeta cleanup
  • ecmarkup signature fixes
  • Internal text reordering and minor wording/algorithm-structure edits