Skip to content

e2b@2.55.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 10:01
· 5 commits to main since this release

Minor Changes

  • b52cd30: Add mode: 'full' | 'filesystem' (exported as the SnapshotMode type) to createSnapshot / create_snapshot. With 'filesystem', only the filesystem is persisted: the snapshot is smaller and faster to take, and sandboxes created from it cold-boot (start fresh from disk) instead of restoring memory. The source sandbox keeps running either way. Omitted, the API default (a full memory snapshot) applies.

    pause() and the lifecycle.onTimeout / lifecycle["on_timeout"] pause object form accept the same mode. Their keepMemory / keep_memory option is deprecated in favor of it (keepMemory: false is mode: 'filesystem') and keeps working; passing both is an InvalidArgumentError / InvalidArgumentException.

Patch Changes

  • 0894595: Remove dead empty-chunk guards from command output handling; envd never sends empty output chunks, so behavior is unchanged.