Commit Graph

4567 Commits

Author SHA1 Message Date
Mish 7638231277 fix "sandbox id" naming consistency (uppercase) 2025-03-28 11:02:16 +01:00
Jiri Sveceny 9f7957d0fb Script for per-package check if release is needed (#641)
Inspired by original change in code-interpreter release process
https://github.com/e2b-dev/code-interpreter/pull/72
2025-03-27 07:13:11 -07:00
never not exploring d032d5a80b Bump the npm_and_yarn group across 2 directories with 1 update (#627)
Bumps the npm_and_yarn group with 1 update in the / directory:
[next](https://github.com/vercel/next.js).
Bumps the npm_and_yarn group with 1 update in the /apps/web directory:
[next](https://github.com/vercel/next.js).

Updates `next` from 14.2.21 to 14.2.25
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/next.js/releases">next's
releases</a>.</em></p>
<blockquote>
<h2>v14.2.25</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.
This release contains a security patch for <a
href="https://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw">CVE-2025-29927</a>.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Update middleware request header (<a
href="https://redirect.github.com/vercel/next.js/issues/77202">#77202</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/ijjk"><code>@​ijjk</code></a> for helping!</p>
<h2>v14.2.24</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>fix: ensure lint worker errors aren't silenced (<a
href="https://redirect.github.com/vercel/next.js/issues/75779">#75779</a>)</li>
<li>add additional x-middleware-set-cookie filtering (<a
href="https://redirect.github.com/vercel/next.js/issues/75561">#75561</a>
&amp; <a
href="https://redirect.github.com/vercel/next.js/issues/73482">#73482</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/ztanner"><code>@​ztanner</code></a> for
helping!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/next.js/commit/d36a1f3c3547b0cb807f30c14aa6250a932349c8"><code>d36a1f3</code></a>
v14.2.25</li>
<li><a
href="https://github.com/vercel/next.js/commit/5fd3ae8f8542677c6294f32d18022731eab6fe48"><code>5fd3ae8</code></a>
[backport] Update middleware request header (<a
href="https://redirect.github.com/vercel/next.js/issues/77202">#77202</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/756be15c4cfecb6fae1c69cae7cfaf336423b6cf"><code>756be15</code></a>
v14.2.24</li>
<li><a
href="https://github.com/vercel/next.js/commit/ba6453d5efbb1dcb282c39d372b48d60de59fa2c"><code>ba6453d</code></a>
fix corepack keys</li>
<li><a
href="https://github.com/vercel/next.js/commit/c482c2072f6eb3f7bd656bc05e100ed54dce3636"><code>c482c20</code></a>
[backport v14] fix: ensure lint worker errors aren't silenced (<a
href="https://redirect.github.com/vercel/next.js/issues/75766">#75766</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/75779">#75779</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/5791cb677808df1cea625057d6aff95fbf5cd3a0"><code>5791cb6</code></a>
[Backport v14] add additional x-middleware-set-cookie filtering (<a
href="https://redirect.github.com/vercel/next.js/issues/75561">#75561</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/75">#75</a>...</li>
<li><a
href="https://github.com/vercel/next.js/commit/8129a6188096c23c68d4151256acbe6d86d2eed3"><code>8129a61</code></a>
test: fix eslint plugin test (<a
href="https://redirect.github.com/vercel/next.js/issues/75687">#75687</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/f27ce02b6785a1c7c8f88daf1d2112b5a2e1f34a"><code>f27ce02</code></a>
v14.2.23</li>
<li><a
href="https://github.com/vercel/next.js/commit/c4bf4acfbf727a2393c2b98bad1c5d7243c2a63e"><code>c4bf4ac</code></a>
backport: force module format for virtual client-proxy (<a
href="https://redirect.github.com/vercel/next.js/issues/74162">#74162</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/74590">#74590</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/d60bb1b5fb902dac79b11d9c78761022b88f6f03"><code>d60bb1b</code></a>
Backport: Use provided waitUntil for pending revalidates (<a
href="https://redirect.github.com/vercel/next.js/issues/74164">#74164</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/74573">#74573</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vercel/next.js/compare/v14.2.21...v14.2.25">compare
view</a></li>
</ul>
</details>
<br />

Updates `next` from 14.2.21 to 14.2.25
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vercel/next.js/releases">next's
releases</a>.</em></p>
<blockquote>
<h2>v14.2.25</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.
This release contains a security patch for <a
href="https://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw">CVE-2025-29927</a>.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>Update middleware request header (<a
href="https://redirect.github.com/vercel/next.js/issues/77202">#77202</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/ijjk"><code>@​ijjk</code></a> for helping!</p>
<h2>v14.2.24</h2>
<blockquote>
<p>[!NOTE]<br />
This release is backporting bug fixes. It does <strong>not</strong>
include all pending features/changes on canary.</p>
</blockquote>
<h3>Core Changes</h3>
<ul>
<li>fix: ensure lint worker errors aren't silenced (<a
href="https://redirect.github.com/vercel/next.js/issues/75779">#75779</a>)</li>
<li>add additional x-middleware-set-cookie filtering (<a
href="https://redirect.github.com/vercel/next.js/issues/75561">#75561</a>
&amp; <a
href="https://redirect.github.com/vercel/next.js/issues/73482">#73482</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/ztanner"><code>@​ztanner</code></a> for
helping!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/next.js/commit/d36a1f3c3547b0cb807f30c14aa6250a932349c8"><code>d36a1f3</code></a>
v14.2.25</li>
<li><a
href="https://github.com/vercel/next.js/commit/5fd3ae8f8542677c6294f32d18022731eab6fe48"><code>5fd3ae8</code></a>
[backport] Update middleware request header (<a
href="https://redirect.github.com/vercel/next.js/issues/77202">#77202</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/756be15c4cfecb6fae1c69cae7cfaf336423b6cf"><code>756be15</code></a>
v14.2.24</li>
<li><a
href="https://github.com/vercel/next.js/commit/ba6453d5efbb1dcb282c39d372b48d60de59fa2c"><code>ba6453d</code></a>
fix corepack keys</li>
<li><a
href="https://github.com/vercel/next.js/commit/c482c2072f6eb3f7bd656bc05e100ed54dce3636"><code>c482c20</code></a>
[backport v14] fix: ensure lint worker errors aren't silenced (<a
href="https://redirect.github.com/vercel/next.js/issues/75766">#75766</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/75779">#75779</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/5791cb677808df1cea625057d6aff95fbf5cd3a0"><code>5791cb6</code></a>
[Backport v14] add additional x-middleware-set-cookie filtering (<a
href="https://redirect.github.com/vercel/next.js/issues/75561">#75561</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/75">#75</a>...</li>
<li><a
href="https://github.com/vercel/next.js/commit/8129a6188096c23c68d4151256acbe6d86d2eed3"><code>8129a61</code></a>
test: fix eslint plugin test (<a
href="https://redirect.github.com/vercel/next.js/issues/75687">#75687</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/f27ce02b6785a1c7c8f88daf1d2112b5a2e1f34a"><code>f27ce02</code></a>
v14.2.23</li>
<li><a
href="https://github.com/vercel/next.js/commit/c4bf4acfbf727a2393c2b98bad1c5d7243c2a63e"><code>c4bf4ac</code></a>
backport: force module format for virtual client-proxy (<a
href="https://redirect.github.com/vercel/next.js/issues/74162">#74162</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/74590">#74590</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/d60bb1b5fb902dac79b11d9c78761022b88f6f03"><code>d60bb1b</code></a>
Backport: Use provided waitUntil for pending revalidates (<a
href="https://redirect.github.com/vercel/next.js/issues/74164">#74164</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/74573">#74573</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vercel/next.js/compare/v14.2.21...v14.2.25">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions
You can disable automated security fix PRs for this repo from the
[Security Alerts page](https://github.com/e2b-dev/E2B/network/alerts).

</details>
2025-03-27 13:34:19 +01:00
never not exploring d799ae9210 Merge branch 'main' into dependabot/npm_and_yarn/npm_and_yarn-954d90908d 2025-03-27 13:20:38 +01:00
never not exploring bda91a9767 Add table column to show template updatedAt field (#622)
When iterating on templates, our team often wanted to sanity check when
a template was modified. So we end up opening the network log and
reading the `templates` object resp manually.

If you've gotten this feedback from other users, here's a PR to show
`updatedAt` as a column.
2025-03-27 11:55:23 +01:00
never not exploring 63dd3afe29 Merge branch 'main' into add-updated-at-to-templates-list 2025-03-27 10:40:57 +01:00
github-actions[bot] 5ca2b9cc42 [skip ci] Release new versions 2025-03-26 18:15:28 +00:00
0div c865121307 Allow python SDKs to write any instance of IOBase files (#640)
- [x] update `write` method in sync & async python SDKs to allow
`io.BufferedReader` files
- [x] update tests
@e2b/python-sdk@1.3.2
2025-03-26 19:11:35 +01:00
0div 5a208ebb6b add changeset 2025-03-26 10:49:10 -07:00
0div bd4398f30d address PR comments 2025-03-25 15:53:42 -07:00
0div 6dd18e2832 allow writing files that are of type io.BufferedReader and update tests 2025-03-25 14:39:58 -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
@e2b/cli@1.3.0
2025-03-25 16:21:33 +01:00
Vasek Mlejnsky 7d4f7b0e0b getInfo: added tests, updated documentation with example return (#638)
Unborked version of #637
2025-03-25 09:40:11 +01:00
Jiri Sveceny 197d966ad0 Update cli to latest sdk version (#636) 2025-03-24 17:25:51 +01:00
Mish c0efd6f322 added additional test coverage for getInfo, updated doc 2025-03-24 16:59:37 +01:00
dependabot[bot] 5701eead65 Bump the npm_and_yarn group across 2 directories with 1 update
Bumps the npm_and_yarn group with 1 update in the / directory: [next](https://github.com/vercel/next.js).
Bumps the npm_and_yarn group with 1 update in the /apps/web directory: [next](https://github.com/vercel/next.js).


Updates `next` from 14.2.21 to 14.2.25
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.21...v14.2.25)

Updates `next` from 14.2.21 to 14.2.25
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.21...v14.2.25)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: next
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 15:11:31 +00:00
yusheng chen 1e9502fe0c chore(apps/web): update package.json (#633)
1. move `@types/node` to `devDependencies`
2. move `@types/react-highlight-words` to `devDependencies`
3. remove unused package `swr`
4. remove unused package `unique-names-generator`
5. remove unused package `uuid`
2025-03-24 07:58:59 -07:00
yusheng chen 8f47d4d6a3 doc: fix typo of file apps/web/README.md (#630) 2025-03-24 07:17:59 -07: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
e2b@1.2.1 @e2b/python-sdk@1.3.1
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) e2b@1.2.0 @e2b/python-sdk@1.3.0 2025-03-24 12:40:22 +01:00
never not exploring c4129d879d Fix Webflow proxying with www-prefixed hostname and proper request handling (#634)
This PR resolves the Cloudflare IP blocking issue by:

1. Adding www prefix to landing page hostname
2. Properly handling request headers with new Headers object
3. Adding redirect handling to follow redirects
4. Refactoring middleware response handling for proper URL rewriting

These changes prevent Cloudflare from identifying our requests as
suspicious automated traffic while maintaining the functionality of our
proxy middleware.
2025-03-23 12:32:44 +01:00
Tomas Valenta 5ee371498a fix: clean up middleware rewrite fetch + use next native rewrite response + prefix landing page hostname with www
Simplify fetch

Remove headers

Add rest of headers

Explicitly define fetch options

Remove header manipulation

Test all custom config

Remove out cache header

Remove no cache in header

Remove cache

Tweak fetch options

Remove credentials

Remove referrer

Return to basic setup

Add redirect handling

Stop caching

Remove redirect

Remove no cache

Return old settings

Proxy everything

Modify hostname

Change domain

Change hostname back

Remove caching

Change rewrite mechanism

Add more headers

Remove the rewrite

Follow redirect

Try www

Add log

Try just rewrite

Only pass get requests

Fix error

Change headers passing

Print headers

Test pure rewrite

Remove unused code

Add html replace for ai agents list

Remove logs
2025-03-23 12:20:31 +01:00
Ziray Hao deb47a2f48 Merge branch 'main' into add-updated-at-to-templates-list 2025-03-22 10:31:06 -07:00
Vasek Mlejnsky 4453b26477 Updated preview logo in readme (#628) 2025-03-22 11:45:26 +01:00
Mish f076a61448 updated preview logo 2025-03-22 11:21:55 +01:00
never not exploring e5a3f249cc Fix code interpreting documentation snippets (#624)
the following issues with the code-interpreting documentation have been
fixed:

1. https://e2b.dev/docs/code-interpreting/analyze-data-with-ai not
working in python
2.
https://e2b.dev/docs/code-interpreting/create-charts-visualizations/static-charts
unnecessary line of code in python

---------

Co-authored-by: Mish Ushakov <10400064+mishushakov@users.noreply.github.com>
2025-03-21 16:11:50 +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>
e2b@1.1.1 @e2b/python-sdk@1.2.1
2025-03-21 15:57:48 +01:00
never not exploring d939c047ed Add temporary docs redirects (#623) 2025-03-21 14:44:29 +01:00
never not exploring 51519ee7e0 Merge branch 'main' into fix-docs-quickstart-e2b-1868 2025-03-21 13:43:31 +01:00
Ben Fornefeld 62eb8197e1 add: docs redirects 2025-03-21 13:41:27 +01:00
Ziray Hao b62f6c9d7e Add table column to show template updatedAt field 2025-03-20 23:51:58 -07:00
github-actions[bot] b402327b6d [skip ci] Release new versions 2025-03-20 09:56:31 +00:00
Jakub Novák 2904f3e80b Fix failing write test (#621)
# Description

Sandbox is closed before the test ends, which resulted in error. The
clean up is meant for local testing only
@e2b/cli@1.2.3 e2b@1.1.0 @e2b/python-sdk@1.2.0
2025-03-20 02:51:42 -07:00
Vasek Mlejnsky d56c19fe2e doc: fix typo (#620)
doc: fix type of file
`apps/web/src/app/(docs)/docs/code-interpreting/analyze-data-with-ai/page.mdx`
doc: fix typo of file
`apps/web/src/app/(docs)/docs/sandbox/internet-access/page.mdx`
2025-03-20 09:51:59 +01:00
yushengchen a45df0db3e doc: fix type of file apps/web/src/app/(docs)/docs/code-interpreting/analyze-data-with-ai/page.mdx 2025-03-20 16:24:40 +08:00
yushengchen dbcf014a9c doc: fix typo of file apps/web/src/app/(docs)/docs/sandbox/internet-access/page.mdx 2025-03-20 15:52:12 +08:00
r33drichards 60ece872e5 Run tests on prs to avoid broken builds (#619) 2025-03-19 16:26:25 -07:00
r33drichards 82f1ba89e7 Add changeset (#618) 2025-03-19 16:13:38 -07:00
0div d26ff435d6 Fix release test for multi-file write support (#615)
The previous [release
workflow]([Release](https://github.com/e2b-dev/E2B/commit/b3fe5e6777357a7d814c7dbe4525a18f3f83288f/checks))
errored after merging this [old
PR](https://github.com/e2b-dev/E2B/pull/451), here are the fixes:
- [x] use `WatchOpts` instead of `FilesystemOpts` to avoid TS errors in
js-sdk filesystem method
- [x] fix python-sdk watch test.
2025-03-19 16:07:37 -07:00
r33drichards ad73fab8f0 Include build ID output for debugging purposes (#616) 2025-03-19 15:50:11 -07:00
0div b3fe5e6777 Add multi-file write support to the js and python sdks (#451)
# Description

- Allow the `Filesystem.write` method to accept multiple files 
- Add tests to assert that `envd` supports multipart with multiple files
out of the box

# Test
```
# Test js-sdk
cd packages/js-sdk
pnpm test

# Test python-sdk
cd packages/python-sdk
pnpm test
```
2025-03-19 20:24:31 +01:00
James Murdza ce8d130e5d Fix CrewAI example in the docs (#609)
CrewAI has changed the way that custom tools are defined.
2025-03-19 16:40:09 +01:00
0div a8e88de846 fix merge conflict with main 2025-03-18 09:09:13 -07:00
0div 43f3c12fb2 Update apps/web/src/app/(docs)/docs/filesystem/read-write/page.mdx
Co-authored-by: Jakub Novák <jakub@e2b.dev>
2025-03-18 08:50:15 -07:00
Jakub Novák e045df9d50 Fix comments in tests (#613) 2025-03-18 08:47:16 -07:00
Jakub Novák 71415ed9e5 Fix flaky tests - Increase the timeout for pinging the server (#612)
Also changed the ports, so if you run locally there's no port collision
2025-03-18 08:26:25 -07:00