Skip to content

@e2b/python-sdk@2.59.0

Latest

Choose a tag to compare

Minor Changes

  • e5a9fa6: Add dnsServers to the network options (dns_servers in Python): the DNS servers a sandbox can reach when allowOut contains a domain. Leave it out to allow the default, 8.8.8.8, pass a list of IPs to allow those instead, or pass [] to allow none. It only opens the firewall and doesn't change the sandbox's /etc/resolv.conf. updateNetwork/update_network reset it to the default when it is left out, like the other fields, and getInfo/get_info report it when set.

Patch Changes

  • 5a714f0: Deprecate the apiUrl / api_url and sandboxUrl / sandbox_url connection options and their E2B_API_URL and E2B_SANDBOX_URL environment variables. They keep working for now and will be removed in the next major version.
  • 61b6b55: Use the unified https://sandbox.<domain> endpoint for sandbox traffic on e2b-tango.dev, e2b-juliett.dev and foxtrot-2.e2b.dev.
  • 2cd2305: fix(python-sdk): don't crash the build error path on a non-numeric reason.step