Repository navigation
v1.14.4
v1.14.4 (2026-09-25)
This release is published under the Apache-2.0 License.
Bug Fixes
- cleanup: Activate signal/atexit handlers on the calling thread for adopted and remote ops (
06cc519)
Move cleanup-handler activation into a dedicated Session._activate_cleanup_handlers() helper. Call it from Session.from_id(adopt=True), Session.list(adopt=True), and RemoteFunction.remote() before dispatching async work.
This installs process-wide SIGINT/SIGTERM and atexit hooks on the thread that requests ownership, rather than only when a sandbox is constructed.
Add unit tests for from_id(adopt=True) and RemoteFunction.remote().
- cleanup: Install atexit and signal handlers lazily on first owned sandbox (
e515aff)
import cwsandbox no longer registers process-wide SIGINT/SIGTERM handlers. Cleanup hooks now activate the first time a standalone Sandbox is constructed or a Session owns or adopts a sandbox. Worker-thread imports no longer raise ValueError.
Fixes #136
Chores
- proto: Regenerate stubs and map dns_name to https_hostname (
7b2da11)
Vendors the latest v1 consumer stubs and remaps public EgressRule.dns_name onto the renamed wire field so create/echo keep working.
Co-authored-by: Cursor cursoragent@cursor.com
Testing
- cleanup: Add bounded fresh-process SIGTERM helper and deduplicate tests (
3d8d065)
Detailed Changes: v1.14.3...v1.14.4