v1.0.0
Release v1.0.0
Welcome to the official 1.0.0 release of WebSandbox! This release lays the foundational infrastructure for our enterprise-grade, multi-tenant SaaS workspace platform, serving as a powerful alternative to local development environments, complete with hardened transaction safety and strict state-based billing.
New Features
- Isolated Cloud Runtimes: Developer code now runs in fully isolated Docker containers and Kubernetes pods to ensure absolute segregation and security.
- In-Browser IDE: A fully integrated web-based IDE featuring Split-pane interfaces, CodeMirror 6, and Xterm.js for a seamless, native-like developer experience.
- Intelligent TypeScript LSP: Full TypeScript Language Server Protocol support running inside a dedicated Web Worker. Features include real-time type checking, hover docs, inlay hints, and robust go-to-definition spanning across module boundaries.
- Robust Provisioning Service: A new dedicated microservice responsible for orchestrating Docker containers and Kubernetes pods on demand.
- Secure Authentication: Complete authentication flow via Passport.js, supporting local credentials and OAuth providers (Google, GitHub) with secure session management.
- Stripe Billing Integration: Transactionally safe credit management service utilizing Postgres advisory locks and strict state validations. This accurately attributes container uptime, prevents race conditions during high-concurrency operations, and correctly ignores provisioning time for billing.
- File System & Source Control: Implemented in-browser Git operations using Isomorphic Git backed by a lightning-fast virtual file system.
- Workspace Dashboard: Built with Next.js 16 and React 19, empowering developers to seamlessly manage active projects, folders, and settings.
- Dark Mode Support: A fully featured, rich dark mode design system implemented using Tailwind CSS across all frontend interfaces.
Improvements
- Observability Stack: Deep infrastructure instrumentation added via Sentry, OpenTelemetry, Prometheus, Loki, and Grafana for comprehensive real-time telemetry and debugging.
- Nx Monorepo Orchestration: Centralized build, linting, and testing pipelines orchestrating the frontend, backend, and provisioning services.
- Background Jobs: Automated cron tasks deployed for the periodic cleanup of ephemeral containers, expired sessions, and telemetry log rotations.
Bug Fixes
- Billing Logic: Fixed an issue where project provisioning time could incorrectly skew credit calculations. The system now strictly deducts credits only when the project transitions to the
READYstate. - Transaction Safety: Hardened the
ResourceGuardcron job andCreditManagerServicewith robustFOR UPDATEtransaction locks to eliminate race conditions during high-concurrency ledger operations and periodic status polling. - State Transitions: Resolved a loophole in status checking where the project start time was incorrectly reset during periodic health checks, which previously allowed unlimited free compute. Start times are now immutably bound to the initial transition to
READY. - Dependencies: Updated workspace dependencies.
- @websandbox/types@1.0.0
- @websandbox/icons@1.0.0