Skip to content

v158.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 12:39
· 1 commit to main since this release
548adfd
Rolling to V8 15.8.62.23 (#2098)

rusty_v8 has been on V8 15.2, and the daily autoroll was failing since
tools/update_deps.py stopped initializing the build submodule. CI only
checks out v8, so git ran inside an empty build/ directory and acted on
rusty_v8 itself.

In this patch V8 moves to the new 15.8-lkgr-denoland branch, build moves
to denoland/chromium_build 20261107 (our patches rebased onto the
revision 15.8 pins, keeping the Windows SDK the GitHub runners have), and
the other dependencies follow 15.8's DEPS. update_deps.py only
initializes build when it is missing.

Build changes: V8's new metagen step needs third_party/llvm-libclang
and runs gn itself, so rust_toolchain.py also downloads llvm-libclang
(and clears the old version before unpacking), and build.rs puts its gn
first on PATH for ninja. rusty_v8 depends on //v8:v8_internal_headers
for the include paths it used to get through //v8:v8. bindgen skips
libc++'s new aligned_union header, which it can't lay out.

API changes:
- Accessor setters are passed as AccessorNameSetterCallbackV2; V8 calls
  them that way and treats an unset return value as success.
- The V2 prototype and holder methods were renamed back.
- Continuation data is Local<Data>.
- Microtask queues are always on the cppgc heap.
- CppHeap::Terminate is gone (the destructor does it), so
  cppgc::Heap::terminate is removed.
- DictionaryTemplate names must be ASCII; new() now panics otherwise.
- Synthetic module evaluation steps must return a promise.
- Untrusted inspector sessions report isolate id 0 in object ids.