Remove deprecated Sandbox.betaPause / beta_pause#1410
Conversation
Remove the deprecated `betaPause` (JS) and `beta_pause` (Python sync + async) aliases of `pause`, update the CLI pause command, tests and docs to call `pause`, and add a changeset. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
PR SummaryMedium Risk Overview Reviewed by Cursor Bugbot for commit 4369906. Bugbot is set up for automated code reviews on this repo. Configure here. |
🦋 Changeset detectedLatest commit: 4369906 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Package ArtifactsBuilt from 70c1b04. Download artifacts from this workflow run. JS SDK ( npm install ./e2b-2.28.2-mishushakov-delete-betapause-resume.0.tgzCLI ( npm install ./e2b-cli-2.11.1-mishushakov-delete-betapause-resume.0.tgzPython SDK ( pip install ./e2b-2.27.0+mishushakov.delete.betapause.resume-py3-none-any.whl |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 43699069f7
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| 'e2b': minor | ||
| '@e2b/python-sdk': minor |
There was a problem hiding this comment.
Publish removed SDK methods as a major release
This changeset publishes the SDK removals as minor, but the diff deletes public methods Sandbox.betaPause and Sandbox.beta_pause; consumers using normal ^2.x ranges would receive this update and hit runtime/type errors when existing code still calls the deprecated aliases. Since the change deliberately removes public API, it needs a major bump (or the aliases need to remain until a major release) to avoid breaking minor-version installs.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
they were deprecated for some time now
There was a problem hiding this comment.
still a breaking change; should be major release (shouldn't be breaking changes from a minor release)
Removes the deprecated
Sandbox.betaPause(JS) andSandbox.beta_pause(Python sync + async) methods, which were just aliases ofpause. The CLIpausecommand, SDK tests, and doc examples now callpausedirectly, and aminorchangeset is included fore2band@e2b/python-sdk. There was nobetaResumemethod — resume is handled viaSandbox.connect, which is unchanged.Migration
🤖 Generated with Claude Code