Commit Graph

299 Commits

Author SHA1 Message Date
Penny Templeton a1e2274eca Fix minor issue in python filesystem SDK (#678)
One should now be able to use sb.filesystem.write(WriteEntry[]) in a
typesafe way.

---------

Co-authored-by: Mish <10400064+mishushakov@users.noreply.github.com>
2025-04-11 18:04:38 +02:00
github-actions[bot] 2822c7bec0 [skip ci] Release new versions 2025-04-10 16:09:43 +00:00
Mish Ushakov f4e0026583 Updates SandboxApiOpts type with added headers field (#677)
- Minor type fix
2025-04-10 18:04:25 +02:00
github-actions[bot] b02f93e7f4 [skip ci] Release new versions 2025-04-05 20:21:53 +00:00
Mish Ushakov e6aeb94ab8 (fix) re-release 1.2.3 version (#672) 2025-04-05 21:15:00 +01:00
github-actions[bot] ac81f95529 [skip ci] Release new versions 2025-04-05 19:43:23 +00:00
Mish Ushakov cf128195a5 (Workers) Patch connect-es fetch transport to always use redirect: follow (#671)
backports the changes from beta branch (#669)
2025-04-05 20:31:34 +01:00
github-actions[bot] e8fadf947b [skip ci] Release new versions 2025-04-03 23:12:36 +00:00
Mish Ushakov 1bdf809e8b Make possible to pass custom headers in the SDKs (#656)
This feature allows passing custom headers in the Python and JS SDK. One
use-case for it currently is passing custom authorization (Supabase)
headers with the request.
2025-04-04 00:08:12 +01:00
github-actions[bot] 32664ea0fe [skip ci] Release new versions 2025-04-01 20:36:48 +00:00
Mish Ushakov c3ecd7c684 Remove backslashes from the docker build command (Windows) (#652)
- Fixing #650, on Windows commands cannot separate arguments by
backslash (\).
2025-04-01 16:32:56 +01:00
github-actions[bot] e7321d5b12 [skip ci] Release new versions 2025-03-28 20:38:03 +00:00
David Batey e8fab568da build-arg's not working for e2b template build command (#644)
At the moment if you pass in build args it breaks since the commands
aren't compatible with the docker build command:

Sample error at the moment when passing the --build-arg to e2b which
proxies the command on incorrectly:

```
(base) ➜  web git:(lb) ✗ npm run build-template template-name version

> new-nextjs-app@0.1.0 build-template
> ts-node scripts/build-template.ts template-name template-version sha

ERROR: "docker buildx build" requires exactly 1 argument.
See 'docker buildx build --help'.

Usage:  docker buildx build [OPTIONS] PATH | URL | -

Start a build
/bin/sh: line 4: --build-arg=TEMPLATE_VERSION=0.0.1: command not found
Error: Command failed: docker build . \
   -f e2b.Dockerfile \
   --pull --platform linux/amd64 \
   -t docker.e2b.dev/e2b/custom-envs/17e92ok9u0gimh3oy1qg:be0bdf11-4cf2-4ee0-a932-1ecb6ae50298 --build-arg="TEMPLATE_NAME=lead-magnet" \
   --build-arg="TEMPLATE_VERSION=0.0.1"
    at genericNodeError (node:internal/errors:983:15)
    at wrappedFn (node:internal/errors:537:14)
    at checkExecSyncError (node:child_process:889:11)
    at Object.execSync (node:child_process:961:15)
    at e.<anonymous> (/opt/homebrew/lib/node_modules/@e2b/cli/src/commands/template/build.ts:363:23) {
  status: 127,
  signal: null,
  output: [ null, null, null ],
  pid: 67925,
  stdout: null,
  stderr: null
}
Failed to build template: Error: Command failed: e2b template build -d "../../sandbox/templates/e2b.Dockerfile" -n template-name sha1 --build-arg TEMPLATE_NAME=template-name --build-arg TEMPLATE_VERSION=0.0.1 -p "../sandbox/templates/"
ERROR: "docker buildx build" requires exactly 1 argument.
See 'docker buildx build --help'.

Usage:  docker buildx build [OPTIONS] PATH | URL | -
```

---------

Co-authored-by: Mish <10400064+mishushakov@users.noreply.github.com>
2025-03-28 21:34:50 +01:00
github-actions[bot] 5ca2b9cc42 [skip ci] Release new versions 2025-03-26 18:15:28 +00:00
0div 5a208ebb6b add changeset 2025-03-26 10:49:10 -07:00
github-actions[bot] 184f33c269 [skip ci] Release new versions 2025-03-25 15:23:47 +00:00
Jiri Sveceny 39a880a9ac Cli changeset for version release (#639)
Related to changes in https://github.com/e2b-dev/E2B/pull/636
2025-03-25 16:21:33 +01:00
github-actions[bot] 8fdb429998 [skip ci] Release new versions 2025-03-24 13:33:20 +00:00
Mish Ushakov d4f4352aa3 Add getInfo/get_info methods to the SDKs (#625)
- Rebased version of #517
2025-03-24 14:26:18 +01:00
github-actions[bot] 5d8b719b21 [skip ci] Release new versions 2025-03-24 11:45:11 +00:00
Jiri Sveceny 85c4505b9f Change default domain in sdks from e2b.dev to e2b.app (#635) 2025-03-24 12:40:22 +01:00
github-actions[bot] b6b0ac6f97 [skip ci] Release new versions 2025-03-21 15:02:41 +00:00
Jakub Novák 5c4d07536f Add filtering option for listing sandboxes (#532)
# Description

Allow users to filter out sandbox based on metadata

---------

Co-authored-by: Mish Ushakov <10400064+mishushakov@users.noreply.github.com>
2025-03-21 15:57:48 +01:00
github-actions[bot] b402327b6d [skip ci] Release new versions 2025-03-20 09:56:31 +00:00
r33drichards 82f1ba89e7 Add changeset (#618) 2025-03-19 16:13:38 -07:00
r33drichards ad73fab8f0 Include build ID output for debugging purposes (#616) 2025-03-19 15:50:11 -07:00
0div 741b32935a add minor changeset 2024-12-12 15:25:07 -08:00
Jakub Novak 7731ef586e Remove reverse-proxy reference 2024-07-18 10:30:54 +02:00
github-actions[bot] 4df61b0ab5 [skip ci] Release new versions 2024-06-11 11:56:49 +00:00
Jakub Novak 706f47143e Fix parsing build args 2024-06-11 13:54:19 +02:00
github-actions[bot] d53dc9ed34 [skip ci] Release new versions 2024-06-11 11:35:58 +00:00
Jakub Novak e98dedf10f Add changeset 2024-06-06 16:26:15 +02:00
github-actions[bot] 97d50e3039 [skip ci] Release new versions 2024-05-09 23:35:32 +00:00
Jakub Novak feea67aba1 Add changeset 2024-05-09 15:30:41 -07:00
github-actions[bot] e801c3b771 [skip ci] Release new versions 2024-05-09 20:54:20 +00:00
Tomas Valenta 837a326bdb Add file logger option to CLI 2024-05-09 13:50:20 -07:00
github-actions[bot] 56aae737a8 [skip ci] Release new versions 2024-05-02 00:42:34 +00:00
Tomas Valenta cd1002caf7 Create release 2024-05-01 17:31:39 -07:00
github-actions[bot] 1b4cc69a1d [skip ci] Release new versions 2024-05-01 07:10:52 +00:00
Tomas Valenta a8e7dc4354 Merge branch 'main' of https://github.com/e2b-dev/E2B 2024-05-01 00:06:27 -07:00
Tomas Valenta 9626b6b8dd Fix logging level colors for dark terminals 2024-05-01 00:06:24 -07:00
github-actions[bot] b4d63fec19 [skip ci] Release new versions 2024-05-01 02:45:49 +00:00
Tomas Valenta 6a997e217b Create release 2024-04-04 18:15:27 -07:00
github-actions[bot] 69051dae1d [skip ci] Release new versions 2024-03-30 20:35:18 +00:00
Jakub Novák baa04d9e07 CLI - add config option (#348)
# Description

Add option to specify a config file, this allows to have multiple
templates (e.g. prod and staging) based in the same folder.

---------

Co-authored-by: Tomas Valenta <valenta.and.thomas@gmail.com>
2024-03-30 13:32:53 -07:00
github-actions[bot] 8331ced280 [skip ci] Release new versions 2024-03-27 21:20:32 +00:00
Jakub Novák a490b18cc5 Template build command improvements (#343)
Fix few issues with cross platform compatibility

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-27 14:18:12 -07:00
github-actions[bot] 7e17f9cb2c [skip ci] Release new versions 2024-03-27 04:25:23 +00:00
Tomas Valenta 3b41654900 Fix sandbox kill command 2024-03-26 20:38:26 -07:00
github-actions[bot] 6c0bc9a5fd [skip ci] Release new versions 2024-03-24 18:51:18 +00:00