js/sandbox/v0.1.8

opensandbox-group/OpenSandboxjs/sandbox/v0.1.8Jun 8, 2026by ninan-nn

AI Summary

Added skipAccumulation, secureAccess, and PVC fields to the JavaScript SDK. Fixed health check behavior and patched a high-severity fast-uri dependency vulnerability.

Key Highlights

  • Added skipAccumulation support for execution handlers
  • Added secureAccess support for sandbox creation
  • Fixed /ping health check to treat empty response body as healthy
  • Security patch for fast-uri dependency

New Features

  • skipAccumulation support to prevent unbounded memory growth
  • secureAccess support for sandbox creation
  • PVC auto-provisioning fields support

Full Release Notes

## What's New

### Features

- Added `skipAccumulation` support for execution handlers. When enabled, stdout/stderr events are still delivered to callbacks but are not appended to accumulated execution logs, preventing unbounded memory growth for long-running streamed commands. https://github.com/opensandbox-group/OpenSandbox/pull/990
- Added SDK model support for PVC auto-provisioning fields. https://github.com/opensandbox-group/OpenSandbox/pull/749
- Added `secureAccess` support for sandbox creation and endpoint access headers. This is opt-in and currently supported by Kubernetes ingress gateway mode. https://github.com/opensandbox-group/OpenSandbox/pull/745

### Bug Fixes

- The `/ping` health check now treats an empty HTTP 200 response body as healthy while preserving existing error mapping for non-2xx responses. https://github.com/opensandbox-group/OpenSandbox/pull/905

### Security

- Pinned the transitive `fast-uri` dependency to `3.1.2` to address high-severity advisories `GHSA-q3j6-qgpj-74h6` and `GHSA-v39h-62p7-jpjc`. https://github.com/opensandbox-group/OpenSandbox/pull/909

### Contributors

- @Gujiassh
- @Pangjiping
- @ninan-nn