New

CodeSandbox is now part of Together AI! We have joined forces to launch CodeSandbox SDK and bring code interpretation to generative AI.

Learn more

Changelog

Feb 6, 2025
commit
CodeSandbox SDK sessions API, list running sandboxes & many improvements

CodeSandbox SDK sessions API, list running sandboxes & many improvements

Time for another big update to CodeSandbox SDK, including a new API and some top feature requests.

Hey hey 👋

We're back with another CodeSandbox update!

Now that we're back on a regular changelog schedule, let's look at the top features & improvements we shipped in the last 2 weeks.


What's new?

Ives - FounderAJ - EngineeringSanne - Engineering

CodeSandbox SDK: sessions API 👯

We introduced a new API to CodeSandbox SDK, which allows you to create multiple users in a single sandbox, allowing for collaborative editing and sharing sandboxes publicly. This has been a top feature request and it unlocks some cool use cases like allowing multiple users to connect to the same sandbox/branch and collaboratively edit files. It also enables creating anonymous previews. More details in our Docs.

Sessions API
Ives - Founder

Coming soon - CodeSandbox SDK support for Sandpack 👀

We have the first working prototype of Sandpack running CodeSandbox SDK! This will allow you to run server-side sandboxes directly in Sandpack, which in turn will allow for easier integration of CodeSandbox SDK for use cases that require an in-browser playground/editor. More updates soon!

Ives - Founder

Instant node_modules âš¡

With this experimental feature, we mount a FUSE filesystem for node_modules. This FS lazily serves contents from a global pnpm store (shared by all VMs) based on pnpm-lock.yaml. This reduces npm installation time (from scratch, basic Next.js project) from 8s to 25ms and the node_modules folder is deduplicated across all VMs, saving a lot of disk space. This will make creating new VMs from scratch much faster, in case you don't have a snapshot yet available. The functionality is currently behind a feature flag; in the next update, we'll open it up to play with.

Ives - Founder

CodeSandbox SDK: list running sandboxes 📃

You can now list running sandboxes programmatically or via the CLI, making it easier to monitor and manage active environments. Filter by status or tag, retrieve sandbox details in bulk, and even automate mass hibernation or shutdown. These updates improve sandbox management at scale, with more runtime insights coming soon.

List sandboxes in CodeSandbox SDK

CodeSandbox SDK Improvements & Bug Fixes

Ives - Founder

Added sandbox.keepActiveWhileConnected(enabled: boolean) to keep a sandbox from hibernating while the SDK is connected (for more granular hibernation control).

Ives - Founder

Added support for env and cwd in the sandbox.shells.run API.

Ives - Founder

ESM builds should now (finally) work properly in serverless environments!

Ives - Founder

.csbignore, .gitignore, and .dockerignore files will not be part of Snapshot Builder's output anymore.

Ives - Founder

Removed the unexpected behavior that kept a sandbox alive for 2x hibernation timeout if a client was connected.

Ives - Founder

More improvements to memory snapshot loading, which now allows CodeSandbox SDK to resume & clone VMs ~100-200ms faster.

Ives - Founder

Fixed a bug in CodeSandbox SDK where child processes of a process would not always get terminated when terminating a shell.

Sanne - Engineering

Increased the limit for sandbox tags to 64 characters to support users wanting to use UUIDs as tags.

Ives - Founder

WebSocket requests will not wake a VM anymore from hibernation; HTTP requests will still wake a VM.

AJ - Engineering

Several improvements to the CodeSandbox SDK implementation in Together Code Interpreter.

General Improvements & Bug Fixes

Ives - Founder

Fixed an issue that caused the terminal to run start tasks in an infinite loop in Python Devboxes.

Ives - Founder

Fixed an issue in our style loader that resulted in an error when using CSS @import statements from node_modules dependencies.

Alex - Engineering

Improved the 502 error message when a Devbox preview breaks, namely when the VM runs out of memory.

Sanne - Engineering

Fixed an issue with the IDs of archived sandboxes.

Sanne - Engineering

Fixed an issue with the subscription management buttons not displaying correctly in the workspace settings for some annual Pro workspaces.

Ives - Founder

Fixed an issue with mangled CDN URLs when a string was used in the alias.

Ives - FounderChristian - EngineeringAJ - EngineeringJoji - Engineering
+3
Sanne - EngineeringAlex - EngineeringBogdan - Engineering

Several other general improvements and bug fixes, mostly focused on improving UX and stability.



And that's all we have for you today.

We're thrilled to see so many people building exciting projects on top of CodeSandbox SDK!

We have lots of exciting features ahead, so stay tuned.

See you soon 👋

Jan 13, 2025
commit
Joining Together AI, launching CodeSandbox SDK & tons of improvements
Sep 30, 2024
commit
New Status Page, Sandpack Accessibility Improvements and Tons of Fixes
Aug 31, 2024
commit
New Template Picker, Sandpack Static File Support and Several Improvements
Jul 31, 2024
commit
New Editor Powered by Web VS Code, Test Runner, and Several Improvements
Jun 30, 2024
commit
Web VS Code Beta and Several Improvements
May 31, 2024
commit
Storybook Add-on, SOC 2, Unlimited Public Sandboxes and more
Apr 30, 2024
commit
VS Code Web, Extension Marketplace and Dashboard Updates
Mar 31, 2024
commit
New Repo Import Flow, Annual Plans, Better AI and UX Improvements
Feb 29, 2024
commit
VM Resizing and Dashboard & Editor Improvements
Jan 31, 2024
commit
CodeSandbox CDE, Usage-based Billing, and Live Sessions
Dec 5, 2023
commit
Unified Platform, Codeium and VS Code editor
Nov 2, 2023
commit
Enterprise, Dev Containers, GPT-4 and VS Code extension update
Oct 2, 2023
commit
AI Commit Messages 2.0, new command palette and more
Sep 4, 2023
commit
SSO, VIM mode, dependency picker and Chrome DevTools
Jul 31, 2023
commit
Code reviews, editor updates and custom themes
Jun 29, 2023
commit
Boxy AI assistant, Go support, VS Code overhaul, and editor updates
May 17, 2023
commit
PHP support, faster microVMs and better stability
Mar 10, 2023
commit
Seamless branching, workspace scopes, Python support and many more
Jan 24, 2023
commit
Docker support, Rust, seamless branching and much more
Nov 11, 2022
commit
Cloud Sandboxes for iOS & VS Code, new onboarding and more
Oct 14, 2022
commit
New dashboard, repositories and cloud sandboxes
Sep 27, 2022
commit
The realtime multiclient collaboration update
Sep 15, 2022
commit
GitHub App updates, better Astro support and a new login method
Aug 22, 2022
commit
VS Code Insider support, faster project imports and much more
Aug 19, 2022
commit
Sandpack meets Dracula, support for custom NPM registries and bug fixes
Aug 1, 2022
commit
Better list-view and rename branches from the command palette
Jul 25, 2022
commit
Public beta, new documentation and GiHub App
Jul 15, 2022
commit
Always on previews, VScode improvements and better UI consistencies.
Jul 1, 2022
commit
Sandpack June Update
Jun 27, 2022
commit
Binary files on mobile, more syntax highlights and repository renames.
Jun 20, 2022
commit
Drag and drop file upload, better framework support and more.
Jun 6, 2022
commit
Firecracker by default, more storage and more FPS.
Jun 3, 2022
commit
Sandpack April & May Update
May 30, 2022
commit
Protected branches, bulk discard and relative file path.
May 24, 2022
commit
CodeSandbox May Update
Apr 8, 2022
commit
Sandpack March Update
Mar 17, 2022
commit
Announcing CodeSandbox Projects
Mar 7, 2022
commit
Sandpack February Update
Feb 17, 2022
commit
Meet the new CodeSandbox
Jan 31, 2022
commit
Sandpack January Update
Jan 23, 2022
commit
Sandpack Devtools have landed
Jan 19, 2022
commit
Welcome to our release notes