sdks/sandbox/go/v1.0.2
opensandbox-group/OpenSandboxsdks/sandbox/go/v1.0.2Jun 8, 2026by ninan-nn
AI Summary
Added SDK support for skipAccumulation, PlatformSpec (OS/arch), and SecureAccess. Lowered the Go module target to Go 1.20.
Key Highlights
- Added skipAccumulation support for execution handlers
- Added PlatformSpec support for requesting specific OS/architecture targets
- Added SDK model support for PVC auto-provisioning fields
- Added SecureAccess support for sandbox creation
New Features
- skipAccumulation support to prevent unbounded memory growth
- PlatformSpec support for Windows and other OS sandboxes
- PVC auto-provisioning fields support
- SecureAccess support for sandbox creation
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 `PlatformSpec` support to sandbox creation APIs, including `CreateSandboxRequest.Platform`, `SandboxInfo.Platform`, and `SandboxCreateOptions.Platform`. This lets Go callers request specific OS/architecture targets such as Windows sandboxes. https://github.com/opensandbox-group/OpenSandbox/pull/921 - Added SDK model support for PVC auto-provisioning fields. https://github.com/opensandbox-group/OpenSandbox/pull/749 - Added `SecureAccess` support for sandbox creation. This is opt-in and currently supported by Kubernetes ingress gateway mode. https://github.com/opensandbox-group/OpenSandbox/pull/745 ### Misc - Lowered the Go module target to Go 1.20 and slimmed test dependencies. https://github.com/opensandbox-group/OpenSandbox/pull/707 ### Contributors - @Pangjiping - @zpzjzj - @ninan-nn