Repository navigation
Releases
CubePod v0.7.1
CubePod 0.7.1
Features and improvements
- Complete GHCR image & manifest release + CI image build coverage. Added
.github/workflows/ci.yml(sandbox-images-ci) to build-verifyimages/sandbox-base/Dockerfileandimages/desktop/Dockerfileon pull requests and pushes tomain, and publishes the full 6-image GHCR release set (cubepod-podd,cubepod-controller,cubepod-gateway,cubepod-egress,cubepod-sandbox-base,cubepod-desktop) along withrelease-manifest-v0.7.1.yaml.
Fixes
- Fix
cubepod-desktopimage build (images/desktop/Dockerfile). Addedlibatomic1(required by Playwright's bundled Node.js driver) and passed--ignore-installedtopip install --no-cache-dir --break-system-packagesso installingplaywrightand Python data-science packages succeeds alongside Ubuntu 24.04 Debian-apt-managed packages.
Known issues
- Kata + Firecracker block device hotplug race (
#120). On Kata Containers with Firecracker (kata-fc), sandbox Pod creation can intermittently fail before any CubePod container starts withEIO: I/O error(EXT4-fs (vdb): unable to read superblock) due to avirtio-mmiodrive hotplug race. See issue #120. - Firecracker + E2B volume mount persistence (
#122). Kata Firecracker lacksvirtio-fsfilesystem sharing, so official E2BvolumeMounts(currently staged as filesystem directories viaShareFilehost-to-guest copy) do not write guest changes back to the volume across sandbox recreation onkata-fc. See issue #122. - Recommended default hypervisor: Cloud Hypervisor (
kata-clh). For Kubernetes Kata MicroVM deployments, Cloud Hypervisor (kata-clh) is recommended as the default hypervisor until#120and#122are resolved. In CI, thekata-clhlane passes the full official Python and TypeScript E2B SDK suites with zero skipped tests.
Before upgrading
If upgrading from 0.6.0 or earlier, apply the updated SandboxWebhook CRD (status.deadLetters) before running helm upgrade:
kubectl apply -f deploy/helm/cubepod/crds/If upgrading from 0.6.0 or earlier, also review the 0.7.x changes in 0.7.0 and Kubernetes & Helm Deployment (gateway.panelSecret / CUBEPOD_PANEL_SECRET required at startup, featureGates.e2bTemplateAPI defaulting to true, and runtime.runtimeClassName: "kata-clh" recommended for Kata).
Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, cubepod-podd, cubepod-sandbox-base, and cubepod-desktop images together with the 0.7.1 Helm Chart, and update client SDKs (pip install -U cubepod==0.7.1 / npm install cubepod@0.7.1).
GitHub Release · Full changes since 0.7.0
Pull requests and contributors
What's Changed
Other Changes
Full Changelog: v0.7.0...v0.7.1
CubePod v0.7.0
CubePod 0.7.0
Features and improvements
- E2B Template API GA, S3 Context Store & BuildKit mTLS/HA (
#114). PromotedE2BTemplateAPI(featureGates.e2bTemplateAPI) to defaulttrue, added an S3 template build context store (templateBuild.contextStore.backend: "s3") socubepod-controllercan run multi-replica HA withtemplateBuild.enabled: true, and added BuildKitStatefulSetHA + mTLS support (templateBuild.buildkit.tls). See Kubernetes & Helm Deployment and Templates Guide. - HTTP/2 (
h2) ALPN Negotiation in Zero-Trust Egress (CEP-0020,#107). Addedh2+http/1.1ALPN negotiation oncubepod-egress's selective HTTPS MITM listener, preserving:authority/SNI validation (421), header transforms,cpodref_exchange (403on unauthorized targets), streaming flushes, andcubepod_egress_mitm_alpn_totalmetrics. - Kubernetes-Native Sandbox Events & Webhooks HA (
#115). Wiredevents.backend: "k8s"across Helm, Gateway, and Controller usingSandboxWebhookCRs withstatus.deadLetters(up to 50 entries), companionSecretstorage for HMAC signing keys,PodBoxcore/v1Events, anddeploy/monitoring/webhook-alerts.yaml. - Desktop Neko WebRTC Packaging,
browser_tab_follow& Unified GHCR Images (#116,#138). Packaged Neko WebRTC and GStreamer runtime plugins directly inimages/desktop, implementedbrowser_tab_follow(/opt/cubepod/desktop/browser_tab_follow.pyand Python SDK helpers), unifiedimages/sandbox-base, de-brandedimages/desktopUID/GID1000user handling, and addedcubepod-sandbox-baseandcubepod-desktopto the GHCR release matrix. - Volume KMS Envelope Encryption, Key Rotation & RWX Alerts (
#112). Added KMS envelope encryption and API-key rotation support for E2B volumes along withdeploy/monitoring/e2b-volumes-alerts.yaml. - Expanded Observability & Periodic Metrics Sampler (
#108,#109). Added a background sandbox metrics sampler (gateway.metricsSampleInterval: "10s"), dedicated filesystem watch/stream and secret-store latency Prometheus histograms, Grafana dashboard (deploy/monitoring/sandbox-metrics-dashboard.json), andPrometheusRulealerts (deploy/monitoring/sandbox-metrics-rules.yaml,watcher-secret-alerts.yaml). - Longhorn V2 Security Review, Kata Block Verification & Soak Suite (
#113). Documented the Longhorn V2 privileged DaemonSet security review in Kata & Block Storage, addeddeploy/k8s/longhorn-v2/volumesnapshotclass.yaml, non-disruptive in-guest Katavirtio-blkverification (TestK8sKataVirtioBlkGuestVerification), and multi-hour concurrent soak tests (make test-soak). - Reproducible
kind,Compose&KataDual-SDK E2E Pipelines (#111,#117,#118,#140,#141). Added isolatedkind, Docker Compose, and KVM Kata (kata-clhandkata-fc) E2E suites running the official Python and TypeScript E2B SDKs, plus bilingualREADMEupdates. See Reproducible kind E2E and Docker Compose.
Fixes
- Controller & Gateway Lifecycle State-Machine Hardening (
#124,#129,#133,#134,#135,#137,#139). PreventedTerminatedPodBoxinstances from being resurrected, syncedFailedphases to the reconciler and cleared stale leases, rejected lease/timeout/refresh operations on terminated sandboxes, enforcedPodIPreadiness before claimingPodWarmPoolstandbys or retiring templates, reconciled provisioningPodBoxes when Pods become ready, deep-copied templates returned byGetPodTemplate, and standardized E2B JSON error payloads on sandbox API failures. - Panel HMAC Secret & Target URL Security (
#126,#128). Required a validCUBEPOD_PANEL_SECRETatcubepod-gatewaystartup (auto-generated and reused viapanel-secret.yamlin Helm or persisted bygateway-entrypoint.shin Compose) and ignored client-suppliedtargetUrlvalues when minting panel tokens. - Metrics, E2B Volume Mount & Docker Runtime Fixes (
#109,#111). Stopped the metrics sampler from resurrecting deleted series, gated gauges to running sandboxes, mounted E2B volumes without containerCAP_SYS_ADMINin no-pivot mode, and wired isolated Docker filesystem sandboxes.
Known issues
- Kata + Firecracker block device hotplug race (
#120). On Kata Containers with Firecracker (kata-fc), sandbox Pod creation can intermittently fail before any CubePod container starts withEIO: I/O error(EXT4-fs (vdb): unable to read superblock) due to avirtio-mmiodrive hotplug race. See issue #120. - Firecracker + E2B volume mount persistence (
#122). Kata Firecracker lacksvirtio-fsfilesystem sharing, so official E2BvolumeMounts(currently staged as filesystem directories viaShareFilehost-to-guest copy) do not write guest changes back to the volume across sandbox recreation onkata-fc. See issue #122. - Recommended default hypervisor: Cloud Hypervisor (
kata-clh). For Kubernetes Kata MicroVM deployments, Cloud Hypervisor (kata-clh) is recommended as the default hypervisor until#120and#122are resolved. In CI, thekata-clhlane passes the full official Python and TypeScript E2B SDK suites with zero skipped tests.
Before upgrading
0.7.0 updates the SandboxWebhook CRD schema (status.deadLetters). Apply the latest CRDs before running helm upgrade:
kubectl apply -f deploy/helm/cubepod/crds/Review the following 0.7.0 behavioral changes in Kubernetes & Helm Deployment:
- Panel HMAC secret required (
gateway.panelSecret/CUBEPOD_PANEL_SECRET):cubepod-gatewaynow refuses to start with an empty or placeholder secret. Online Helm installs/upgrades generate and reuse<fullname>-panel-secretautomatically whengateway.panelSecretis empty; GitOps /helm templatedeployments should setgateway.existingPanelSecret. featureGates.e2bTemplateAPIdefaults totrue:GET /templatesnow returns the E2BE2BTemplate[]array by default. SetfeatureGates.e2bTemplateAPI: falseto roll back to the legacy{"templates":[...]}wrapper.- Recommended Kata
RuntimeClass: If choosing between Firecracker and Cloud Hypervisor for Kata workloads, configureruntime.runtimeClassName: "kata-clh".
Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd images (and cubepod-sandbox-base / cubepod-desktop if used) together with the 0.7.0 Helm Chart, and update client SDKs (pip install -U cubepod==0.7.0 / npm install cubepod@0.7.0).
GitHub Release · Full changes since 0.6.0
Pull requests and contributors
What's Changed
Other Changes
- docs(cep): sync CEP status, stage, and implementation history (#105) by @xfgong in #110
- feat(egress): support HTTP/2 (h2) ALPN negotiation in selective HTTPS MITM proxy (#101) by @xfgong in #107
- docs(website): clarify E2B RootFS persistence mechanism by @xfgong in #119
- feat(metrics): export dedicated watcher/stream metrics and secret store latency histograms (#103) by @xfgong in #108
- feat(metrics): periodic sandbox metrics sampler, K8s E2E assertions, Prometheus rules (#98) by @xfgong in #109
- feat(volume): add KMS envelope encryption, API-key rotation, and RWX capacity alerts (#102) by @xfgong in #112
- feat(k8s-e2e,docs): record Longhorn V2 security review, verify Kata virtio-blk, and add rolling-update/soak suites (#104) by @xfgong in #113
- feat(templates): add S3 context store for HA controller, BuildKit mTLS/HA, and enable E2BTemplateAPI by default (#100) by @xfgong in #114
- feat(events): wire SandboxWebhook CRD, K8s Secret backend, PodBox Events, and dead-letter queue by @xfgong in #115
- feat(desktop): package Neko WebRTC in images/desktop and implement browser_tab_follow (#99) by @xfgong in #116
- fix(controller): deep-copy templates returned from GetPodTemplate by @komirka in #124
- ci: add real kind E2E pipeline with official E2B SDKs by @gammakfinn in #111
- fix(gateway): ignore client targetUrl when minting panel tokens by @komirka in #126
- fix(controller): reconcile provisioning PodBoxes when Pod becomes ready by @xfgong in #129
- ci(e2e): add isolated Compose pipeline with official dual SDKs by @gammakfinn in #117
- fix(controller,gateway): prevent Terminated PodBox from being resurrected by @xfgong in #133
- fix(gateway): reject lease/timeout/refresh on Terminated sandboxes and propagate lease by @xfgong in #137
- fix(controller): prevent claiming PodWarmPool entries without PodIP by @xfgong in https://github.c...
CubePod v0.6.0
CubePod 0.6.0
Features and improvements
- E2B Sandbox Metrics & Prometheus Observability (CEP-0029,
#92). Added E2B-compatibleGET /sandboxes/{id}/metricsandGET /sandboxes/metricsendpoints backed by in-guestpoddsampling (GET /metricsandGET /v1/prometheus, includingpodd-initboot timings from/run/cubepod/init-state.json). Expanded Gateway (:8080/metrics), Controller (:8081/metrics), and Egress (:19090/metrics) with Prometheus metrics covering E2B request latency, CoW forks, WarmPool readiness, E2B volume mounts, secrets, panel sessions, desktop activations, events, webhooks, and egress decisions. See API Overview. - Transparent Egress wiring & CSI
VolumeSnapshotCoW fork mode (#89). WiredTransparentEgress(CUBEPOD_TRANSPARENT=1+NET_ADMIN) and WarmPool egress secret handling intocubepod-controller, added--fork-mode=snapshotwith--volume-snapshot-class(snapshot.storage.k8s.io/v1VolumeSnapshotcloning alongsidepvc-clone), and added controller fork and WarmPool Prometheus metrics. - Multi-replica Secrets HA & strict per-pod mTLS exchange (
#90). AddedKubeSecretBackend(secrets.backend: "k8s") persisting AES-256-GCM encrypted E2B secrets in Kubernetes Secrets for stateless multi-replica Gateway HA, added HA Vault re-hydration (Sync), and enforced strict per-pod mTLS on/internal/v1/egress/exchange(--egress-mtls-addr). - Gateway concurrency, feature gates & async reaper events (
#91). Added per-sandbox operation locking (lockSandboxOp), TOCTOU-safeSyncPodBoxesOncereconciliation, asynchronous idle reaper lifecycle events and webhook delivery, unified--feature-gateflags across Gateway and Controller, and E2B volume mount counters. - Optional Desktop WebRTC transport with noVNC fallback (
#95). Addedtransport: "webrtc" | "novnc"to/sandboxes/{id}/desktop/start(images/desktop/cubepod-desktop-ctlandpkg/gateway/desktop.go), returningwebrtcUrl,transportUsed, andfallbackReasonwith automatic graceful fallback to noVNC. See Interactive Desktop & Panel Proxy. - Native Python & TypeScript SDK feature parity (
#95). Added sandbox metrics, write-only Secrets (Secret.fill/fill_secret), durable Volumes & content I/O, lifecycle Events & signed Webhooks, and Desktoptransportoptions across both Python SDK and TypeScript SDK. - Complete v0.6.0 Helm Chart wiring & Gateway PDB (
#95). Addedpdb.yaml(PodDisruptionBudgetautomatically enabled whengateway.replicaCount > 1),secrets-key-secret.yamlandsecrets.*configuration,egress.transparent, unifiedfeatureGates.*--feature-gateflags, and automatic RWXe2bVolumes+K8sE2BVolumeMountsactivation whene2bVolumes.rwxStorageClassNameis set. See Kubernetes & Helm Deployment. - TypeScript E2B compatibility suite, live K8s E2E tests & documentation (
#93,#94,#88). Addedtest/e2b-compat-ts(make test-e2b-compat-ts), extended Python E2B compatibility coverage, added live Kubernetes E2E lifecycle and WarmPool tests (test/k8s-e2e/k8s_e2e_test.go), updated bilingual website guides and CEP metadata, refreshedog-banner.png, and translateddocs/architecture.mdto English (preservingdocs/architecture_zh.md).
Fixes
- Controller, Vault & Gateway edge-case hardening (
#89,#90,#91,#92). Hardened WarmPool egress secret lifecycle,VolumeSnapshotnaming and build secret cleanup (#89); fixed Vault exchange/rotation races, composite fork keys, andStore.Synclocking (#90); preventedSyncPodBoxesOnceTOCTOU eviction (#91); and enforced metrics tenant isolation, bounded Prometheus label cardinality, ring buffer eviction, and CPU/loadavg guards (#92).
Before upgrading
No Kubernetes CRD schema fields changed between 0.5.4 and 0.6.0. If upgrading from v0.5.0 or earlier, apply the latest CRDs before running helm upgrade:
kubectl apply -f deploy/helm/cubepod/crds/Review the new 0.6.0 Helm Chart defaults in Kubernetes & Helm Deployment:
secrets.backenddefaults to"k8s"(requires an encryption key viasecrets.existingSecret,secrets.encryptionKey, orgateway.secretsKeySecretwhen running multi-replica HA).egress.transparentandfeatureGates.transparentEgressare bothtrueby default; both must be enabled for transparentnftables/DNS interception.- Setting
e2bVolumes.rwxStorageClassNamenow automatically enablese2bVolumesandK8sE2BVolumeMounts.
Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd images together with the 0.6.0 Helm Chart, and update client SDKs (pip install -U cubepod==0.6.0 / npm install cubepod@0.6.0).
GitHub Release · Full changes since 0.5.4
Pull requests and contributors
What's Changed
Other Changes
- docs: refresh social share banner as PNG by @gammakfinn in #88
- feat(helm,desktop,sdks): complete v0.6.0 Helm wiring, Desktop WebRTC transport, and Native SDKs by @xfgong in #95
- feat(controller): wire transparent egress, VolumeSnapshot fork mode, and fork/warmpool metrics by @xfgong in #89
- feat(secrets): add KubeSecretBackend, HA Vault re-hydration, and strict mTLS exchange by @xfgong in #90
- feat(gateway): add per-sandbox locking, async reaper events, feature gates, and volume mount counters by @xfgong in #91
- feat(metrics,podd): implement E2B sandbox metrics, missing Prometheus metrics, and cross-track wiring by @xfgong in #92
- test(compat,k8s-e2e): add TS E2B compat suite, extend Python compat, and add live K8s E2E tests by @xfgong in #93
- docs(website,cep): document v0.6.0 features and sync CEP metadata by @xfgong in #94
- chore(release): prepare v0.6.0 by @xfgong in #96
Full Changelog: v0.5.4...v0.6.0
CubePod v0.5.4
CubePod 0.5.4
Fixes
- Non-blocking Gateway health probes during slow sandbox reconciliation (
#86). Introduced per-sandbox operation serialization (lockSandboxOp) inpkg/gatewayand refactoredhandlePauseSandbox,handleConnectSandbox,handleResetRootfs, andensureRunningto releaseServer.muacross blocking KubernetesReconcile,waitForPoddReady, and runtime lifecycle calls. Prevents kubeletGET /healthliveness probes from timing out while waiting onServer.mu.RLock()during long-running Longhorn/Kata PodBox startup or RootFS reset operations.
Before upgrading
No CRD schema changes are introduced in 0.5.4 compared to 0.5.3 (if upgrading from v0.5.0 or earlier, apply kubectl apply -f deploy/helm/cubepod/crds/ first).
Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd images together with the 0.5.4 Helm Chart via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod==0.5.4 / npm install cubepod@0.5.4).
GitHub Release · Full changes since 0.5.3
Pull requests and contributors
What's Changed
Other Changes
- fix(gateway): release server mutex during blocking sandbox reconcile I/O by @xfgong in #86
- chore(release): prepare v0.5.4 by @xfgong in #87
Full Changelog: v0.5.3...v0.5.4
CubePod v0.5.3
CubePod 0.5.3
Fixes
- WarmPool readiness probe & sub-second claim fast path (
#84). Attached apodd/health(:49983)readinessProbeto sandbox Pods inBuildKataPod, updatedRESTKubeClientto wait forReady=Trueand surfacePodIP/NotReadyinListPods, and updatedReconcilesoWarmPoolClaimedreuses the standbyPodIPdirectly instead of issuing a redundantEnsurePod(409 Conflict) round-trip. - Python SDK case-insensitive terminal states (
#83). Treated sandbox terminal states case-insensitively in the Python SDK so lowercase E2B wire states (running,paused,terminated,failed) match cleanly.
Before upgrading
No CRD schema changes are introduced in 0.5.3 compared to 0.5.2 (if upgrading from v0.5.0 or earlier, apply kubectl apply -f deploy/helm/cubepod/crds/ first).
Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd images together with the 0.5.3 Helm Chart via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod==0.5.3 / npm install cubepod@0.5.3).
GitHub Release · Full changes since 0.5.2
Pull requests and contributors
What's Changed
Other Changes
- fix(python-sdk): treat sandbox terminal states as case-insensitive by @gammakfinn in #83
- fix(controller): wait for podd readiness on warm pods and skip redundant EnsurePod on claim by @xfgong in #84
- chore(release): prepare v0.5.3 by @xfgong in #85
New Contributors
- @gammakfinn made their first contribution in #83
Full Changelog: v0.5.2...v0.5.3
CubePod v0.5.2
CubePod 0.5.2
Features and improvements
- Complete Helm Chart configuration wiring (
#80). Wiredruntime.*,storage.*,egress.*,global.imagePullSecrets,runtime.templatePullSecret,gateway.livePodRouting, andgateway.persistence/stateDirinto the Helm Chart, addedgateway-state-pvc.yaml, and addedegress.caSecretName/egress.upstreamCAEnabledsecret mounting across both controller and gateway Deployments. - Default egress sidecar image flag & Gateway pull secrets (
#80). Added--egress-image(CUBEPOD_EGRESS_IMAGE) andcontroller.WithDefaultEgressImagetocubepod-controllerandcubepod-gateway, and wired--image-pull-secrets(CUBEPOD_IMAGE_PULL_SECRETS) oncubepod-gateway. - Local Kubernetes maintenance template & CRD reference sync (
#80). Addeddeploy/k8s/local.example/as a reproducible Helm-based cluster maintenance template alongside a gitignoreddeploy/k8s/local/workspace, and includedSandboxWebhook(cubepod.io_sandboxwebhooks.yaml) in generated CRD documentation.
Fixes
- Helm
SandboxWebhookRBAC & GatewayCUBEPOD_STATEevents directory (#80). Addedsandboxwebhooksandsandboxwebhooks/statuspermissions todeploy/helm/cubepod/templates/rbac.yaml, and fixedcubepod-gatewayto deriveeventsDirfromeffectiveStateDir(CUBEPOD_STATEor--state-dir).
Before upgrading
If upgrading from v0.5.0 or earlier, apply the latest CRDs before running helm upgrade:
kubectl apply -f deploy/helm/cubepod/crds/Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd images together with the 0.5.2 Helm Chart via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod==0.5.2 / npm install cubepod@0.5.2).
GitHub Release · Full changes since 0.5.1
Pull requests and contributors
What's Changed
Other Changes
- fix(helm,controller,gateway): wire runtime, storage, egress, and persistence options by @xfgong in #80
- chore(release): prepare v0.5.2 by @xfgong in #81
Full Changelog: v0.5.1...v0.5.2
CubePod v0.5.1
CubePod 0.5.1
Features and improvements
- E2B PTY,
WatchDir, and RWX Volume mounts (CEP-0026). Added official E2B PTY create, I/O, resize, reconnect, and kill (#65),files.watch_dir/WatchDirstreaming (#66), and the Volume API with content operations and Kubernetes Kata RWX volume mounts (#67,#70). - E2B Secrets API & zero-trust vault integration (CEP-0027). Implemented
/secretsCRUD endpoints and zero-trust vault integration (#73) so official E2B clients can manage secrets without exposing plaintext credentials inside sandboxes. - Sandbox lifecycle events & signed webhooks (CEP-0028). Added sandbox lifecycle event streaming and HMAC-signed webhook delivery (
#78), introducing theSandboxWebhookCRD (cubepod.io_sandboxwebhooks.yaml) and webhook event fields onPodBox. - E2B Compatibility Guide &
cubepod.devdocs site. Published the E2B Compatibility Guide, aligned OpenAPI tags and summaries for secrets, webhooks, and events with E2B, migrated docs tohttps://cubepod.dev/, and wiredmake test-e2b-compatinto CI.
Fixes
- Official E2B 2.64.0 SDK wire-format & template tag alignment. Aligned
/v2/sandboxesand/secretswire formats with the official E2B 2.64.0 SDK (#75), returned UUIDbuildIDvalues for official E2B template tag APIs (#76), and fixedfiles.writeuploads and TypeScriptcommands.runexitCodehandling (#64). - Ephemeral PVC reclamation &
poddConnectRPCList/Stat/Remove. Reclaimed ephemeral PVCs onkill()and implemented ConnectRPCList,Stat, andRemovehandlers incrates/podd(#68). - Controller pod naming & image
ENV HOMEpreservation. Dropped the-kata-podsuffix in controller pod naming and preserved the container image'sENV HOMEincrates/podd(#72).
Before upgrading
0.5.1 adds the SandboxWebhook CRD (deploy/helm/cubepod/crds/cubepod.io_sandboxwebhooks.yaml) and updates PodBox (deploy/helm/cubepod/crds/cubepod.io_podboxes.yaml). Apply the updated CRDs before running helm upgrade:
kubectl apply -f deploy/helm/cubepod/crds/Upgrade gateway, controller, egress, and podd injector images together to v0.5.1 via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod==0.5.1 / npm install cubepod@0.5.1).
GitHub Release · Full changes since 0.5.0
Pull requests and contributors
What's Changed
Other Changes
- Push v-prefixed GHCR image tags during release by @xfgong in #62
- fix(e2b): official files.write upload and TS commands.run exitCode by @xfgong in #64
- feat(e2b): official PTY create, I/O, resize, reconnect, and kill by @xfgong in #65
- feat(e2b): official files.watch_dir and WatchDir streaming by @xfgong in #66
- feat(e2b): official Volume API, content, and sandbox mounts by @xfgong in #67
- fix(e2b): reclaim ephemeral PVCs on kill() and add podd ConnectRPC List/Stat/Remove by @xfgong in #68
- docs(cep): add CEP-0026 for K8s Kata E2B volume mounts by @xfgong in #69
- feat(e2b): implement K8s Kata RWX volume mounts (CEP-0026) by @xfgong in #70
- Drop -kata-pod Pod suffix and preserve image ENV HOME by @xfgong in #72
- docs(cep): add CEP-0027 for E2B Secrets API and zero-trust vault integration by @xfgong in #71
- feat(secrets): implement E2B Secrets API and zero-trust vault integration (CEP-0027) by @xfgong in #73
- docs(cep): mark CEP-0027 as implemented by @xfgong in #74
- docs: document E2B compatibility and SDK differences by @xfgong in #63
- fix(e2b): align /v2/sandboxes and /secrets wire format with official E2B 2.64.0 SDK by @xfgong in #75
- fix(templates): return UUID buildID for official E2B tag APIs and add SDK tests by @xfgong in #76
- docs(cep): add CEP-0028 for sandbox lifecycle events and signed webhooks by @xfgong in #77
- feat(events): implement sandbox lifecycle events and signed webhooks (CEP-0028) by @xfgong in #78
- chore(release): prepare v0.5.1 by @xfgong in #79
Full Changelog: v0.5.0...v0.5.1
CubePod v0.5.0
CubePod 0.5.0
Features and improvements
- CubePlex
cbxref_zero-trust egress MITM & isolated guest CA injection. Wiredcbxref_credential placeholder exchange andExchangeURL-triggered TLS MITM intocubepod-egress, split the guest-facing<box>-egress-caSecret (mitm-ca.crtonly, composed into/run/cubepod/ca-certificates.crtbypodd-initin Block mode) from<box>-egress-mtls, and added-egress-upstream-ca-fileacrosscubepod-controller,cubepod-gateway, andcubepod-egressfor private upstream CAs. See Zero-Trust Egress. - Longhorn V2 SPDK tuning for Kata Cloud Hypervisor (
kata-clh) on EEVDF kernels. Pinnedspdk_tgtreactor threads to CPU 1 (v2DataEngineCPUMask: "0x2") indeploy/k8s/longhorn-v2/values.yamland added acubepod-spdk-sched-idlesystemd timer +95%per-reactorcpu.maxcap indeploy/k8s/longhorn-v2/prep-node.shso Linux 6.6+/7.0 EEVDF per-CPUkworker/1:*workqueue flushes never stall volume detachments. See Kata & Block Storage. poddHTTP Range streaming & gateway empty-phase handling. Added206 Partial ContentRangesupport for file downloads incrates/poddand preserved empty initialPodBoxphases asprovisioningin GatewayresolveSandbox.
Fixes
- Egress proxy
Host/URL mismatch SSRF hardening (pkg/egress/proxy.go). Enforced matchingHostheaders, request URL hosts, URL schemes, and TLS SNI across explicitServeHTTP(GET&CONNECT),TransparentHTTPHandler, andserveMITMTLSbefore any upstream request or secret exchange occurs. - Controller status persistence, Fork/Reset rollback, and WarmPool cleanup (
pkg/controller/reconciler.go,kubeclient_crd.go). Persisted initialPodBoxCRD status viaUpsertPodBoxon creation, preservedResetRootFSgeneration/PVC progress acrossensureEgressSecretsLockedandEnsurePodfailures, rolled back failed cold creates andForkFromclaims while preserving deterministic persistentVolumeKeyworkspace PVCs, deleted failed warm pods before PVCs to preventkubernetes.io/pvc-protectionhangs, stopped retries on deletedPodWarmPoolCRs, and sanitizedSyncFromKubeWarmPool label selectors withSanitizeLabelValue. - Kata MicroVM
RLIMIT_NOFILEclamping (crates/podd). Clamped inherited1073741824RLIMIT_NOFILElimits underkata-clhdown to65536soft /1048576hard atpoddstartup and child command launch to prevent FD-closing CPU spin in guest daemons such asstart-stop-daemon.
Before upgrading
No Kubernetes CRD schema fields changed in 0.5.0 (if upgrading from 0.4.0 or earlier, apply CRDs first: kubectl apply -f deploy/helm/cubepod/crds/).
Upgrade gateway, controller, egress, and podd injector images together to v0.5.0 via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod==0.5.0 / npm install cubepod@0.5.0). Clusters running Longhorn V2 on Linux 6.6+/7.0 should also re-run deploy/k8s/longhorn-v2/prep-node.sh and apply the updated v2DataEngineCPUMask: "0x2" setting per Kata & Block Storage.
GitHub Release · Full changes since 0.4.2
Pull requests and contributors
What's Changed
Other Changes
- Sync PodBox status, clean failed PVCs, and wire CubePlex cbxref egress MITM/CA by @xfgong in #60
- chore(release): prepare CubePod v0.5.0 by @xfgong in #61
Full Changelog: v0.4.2...v0.5.0
CubePod v0.4.2
CubePod 0.4.2
Features and improvements
- E2B-style OpenAPI taxonomy & concise sidebar labels. Reorganized
cubepod-v1.yamlinto 7 resource groups (Sandboxes,Commands,Files,Desktop & Panels,Templates,WarmPools, andSystem) and shortened all 52 operationsummarytitles to crisp action labels while preserving detailed explanations indescription. - Interactive API Reference theme & dark/light sync. Updated the Interactive API Reference (
ScalarApiPage) to synchronize with Starlight'sOxide Copperdark andLight Athemes, adding an inline Dark/Light toggle and unified monochrome brand SVG logos. - CubePlex Agent Stack & Brain-Hands Decoupling landing refresh. Added the three-layer
CubePlex→CubeLoop→CubePodstack diagram and Brain-Hands Decoupling narrative to the landing page, Introduction, and README, alongside a one-clickhelm installGHCR OCI quick-install command in the Hero and Kubernetes & Helm guide. - Automated release consistency & changelog validation. Added
scripts/check-version-consistency.shandscripts/release-notes.pyto enforce single-semver synchronization across Cargo, Go, OpenAPI, Helm charts, Python/TypeScript SDKs, and bilingual release notes in CI.
Fixes
- Documentation typography & UI polish. Fixed active sidebar item text contrast in light and dark themes, increased Markdown table cell horizontal padding, aligned Hero dual-pane headers, fixed simulator log styling, and added an HTTP clipboard fallback for copy buttons.
Before upgrading
No Kubernetes CRD schema fields changed in 0.4.2. If upgrading from 0.4.0 or earlier, still apply the CRDs first (kubectl apply -f deploy/helm/cubepod/crds/).
Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd together to v0.4.2 via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod / npm install cubepod@0.4.2).
GitHub Release · Full changes since 0.4.1
Pull requests and contributors
What's Changed
Other Changes
Full Changelog: v0.4.1...v0.4.2
CubePod v0.4.1
CubePod 0.4.1
Features and improvements
- Deterministic
volumeKeyworkspace persistence. PassvolumeKeywhen creating a sandbox to bind a deterministic/workspacePVC (PodBox.spec.volumeKey) that persists across sandbox delete and recreate cycles. Supported across the Gateway API, Kubernetes Controller, Python SDK, and TypeScript SDK. - Ordered egress policy rules. Configure ordered
allow/denyhost and wildcard rules vianetworkPolicy.egressonPodBoxandPOST /sandboxes, enforced consistently across the Gateway, Controller, and Zero-Trust Egress proxy. - Empty-body
archive-sync.POST /files/archive-syncinpodd, Gateway, and the Python SDK now accepts empty request bodies so callers can applyremove_pathscleanup without uploading a tar archive. - Bilingual documentation portal & Scalar API explorer. Added the English and Simplified Chinese Astro + Starlight documentation site at
cubepod.cubeplex.aiwith an interactive OpenAPI Explorer, auto-synced CRD and Helm Values references, andllms.txt/llms-full.txtbundles.
Fixes
- CRD & policy action normalization. Added
volumeKeyandnetworkPolicy.egressfields to thePodBoxCRD schema and normalized egress rule actions in the Gateway and egress policy evaluator.
Before upgrading
Apply the updated Kubernetes CRDs before running helm upgrade, because Helm does not update files under crds/ on upgrade and PodBox adds spec.volumeKey and spec.networkPolicy.egress:
kubectl apply -f deploy/helm/cubepod/crds/Upgrade cubepod-controller, cubepod-gateway, cubepod-egress, and cubepod-podd together to v0.4.1 via the Kubernetes & Helm deployment guide, and update client SDKs (pip install -U cubepod / npm install cubepod@0.4.1).
GitHub Release · Full changes since 0.4.0
Pull requests and contributors
What's Changed
- feat(website): add bilingual Astro + Starlight docs site and Scalar API explorer by @xfgong in #56
- Support volumeKey persistence, ordered egress rules, and empty-body archive-sync by @xfgong in #57
- Prepare CubePod v0.4.1 release by @xfgong in #58
Full Changelog: v0.4.0...v0.4.1