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

commit
Private preview support, auto-wake & CodeSandbox SDK improvements

Private preview support, auto-wake & CodeSandbox SDK improvements

Here are the latest updates to CodeSandbox SDK, including some popular feature requests.

Hey hey 👋

We're back with another CodeSandbox update!

Here's what we've been cooking for the last few weeks.


What's new?

+-3

Private Preview Support 🔒

It's now possible to access preview URLs for private sandboxes! 🎉 If a sandbox is private, its previews won't be accessible unless a preview token is provided. Check out our Docs for details on creating preview tokens (code preview below).

Preview Token Example
+-3

Auto Wake Strategy 💤

When a sandbox is hibernated, we automatically wake it when it gets an HTTP request to any preview URL. In the past, this caused some confusion, because even WebSocket requests would wake the sandbox. In many cases, this meant that if a user had a preview open (with an HMR connection from the dev server) they would continuously wake the sandbox. Because of this, we have introduced an API to configure when a sandbox should be woken. Now, whenever you create, start or open a sandbox, you can configure this:

Sandbox Auto Wake Example

CodeSandbox SDK Improvements & Bug Fixes

+-3

Added support for -name, -vm-tier and -path to Snapshot Builder.

+-3

Added support for -since when listing sandboxes with the CLI.

+-3

Added the ability to define timeout when waiting for port!

+-3

Fixed running CSB SDK in modern Node versions in CJS env (thanks, Wylie!)

+-3

When hibernating and shutting down multiple sandboxes using the CLI, do it in parallel instead of sequentially.

+-3

When sandboxes run out of credits, we will hibernate them instead of shutting them down.



That's all - short & sweet!

We have some huge updates coming for CodeSandbox SDK, so stay tuned.

See you soon 👋

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