Skip to content

e2b@2.38.1

Choose a tag to compare

@github-actions github-actions released this 07 Aug 14:15
· 13 commits to main since this release

Patch Changes

  • 88f41f3: Align ANSI stripping of template build log messages across both SDKs. The Python SDK's strip_ansi_escape_codes now ports the JS SDK's stripAnsi regex: OSC sequences (hyperlinks, window titles) are matched non-greedily up to the first string terminator — including sequences spanning newlines — and CSI sequences are stripped without requiring a terminator. Both implementations additionally strip the remaining ECMA-48 string controls (DCS/Sixel, SOS, PM, APC) through their string terminator so control payloads no longer leak into cleaned logs.
  • 86f7b8e: Export GitResetMode, GitResetOpts, GitRestoreOpts and GitStatusLabel from the JS SDK entry point, so the argument and status types of the public git.reset(), git.restore() and git.status() methods can be named by callers