Commit Graph

588 Commits

Author SHA1 Message Date
Vasek Mlejnsky e5b4fc2513 Remove migration guide (#805)
Removes the old SDK migration guide for migrating from v0 to v1.
2025-07-03 12:59:32 +02:00
github-actions[bot] 69eacc71bb [skip ci] Release new versions 2025-06-27 20:24:58 +00:00
github-actions[bot] 9704e2ff03 [skip ci] Release new versions 2025-06-24 17:08:34 +00:00
Mish Ushakov 72924e294f Redirect /docs/getting-help > /docs/support (#794)
- Adds a redirect from the old path to the updated doc
2025-06-23 15:11:25 -07:00
Jiri Sveceny aa13185e7b Await for get uploadUrl and downloadUrl (#793)
After merge of https://github.com/e2b-dev/E2B/pull/790 api for
`.downloadUrl` and `.uploadUrl` are assync.
This pr updates docs.
2025-06-23 22:31:00 +02:00
Jiri Sveceny 3d68fceffd Added docs for pre-signed URLs (#783)
Showcase of secured sandbox with pre-generated signed urls for file
upload/download

<img width="891" alt="image"
src="https://github.com/user-attachments/assets/0a56979b-bf45-4560-9492-291ef5fee9e4"
/>
<img width="891" alt="image"
src="https://github.com/user-attachments/assets/ccb60051-5667-46c3-9704-b782ea9f8d10"
/>
2025-06-23 11:00:38 -07:00
github-actions[bot] 884e6b3917 [skip ci] Release new versions 2025-06-23 16:58:16 +00:00
github-actions[bot] 40c73100bc [skip ci] Release new versions 2025-06-20 02:52:52 +00:00
Vasek Mlejnsky 39a35ac507 Fix outdated code snippet (#787) 2025-06-19 16:33:14 +00:00
github-actions[bot] 93134e2faa [skip ci] Release new versions 2025-06-18 12:16:44 +00:00
github-actions[bot] 995c494d4a [skip ci] Release new versions 2025-06-16 18:46:47 +00:00
github-actions[bot] 4aaeee2af4 [skip ci] Release new versions 2025-06-13 11:03:18 +00:00
github-actions[bot] 23a9298252 [skip ci] Release new versions 2025-06-13 00:45:36 +00:00
Jakub Dobry e244ba72c0 Add option for a template ready check (#750)
## Description
Add option for a template ready check. You can specify `ready_cmd` which
will be run until it exits with code 0. Max timeout is 5 minutes. After
exit code 0, the template will be marked as ready.

If no ready command is defined, `sleep 20` is assumed when the start
command is present, and `sleep 0` when none is defined. It is also
possible to define ready command without any start command. This might
be helpful if the filesystem contains self-booted services (e.g. using
systemd).

```
ready_cmd = "echo 'Starting ready check'; sleep 40; echo 'Template is ready'"
```

This adds possibility to configure the default 20 seconds wait time for
a start command.

New documentation can be found at `/docs/sandbox-template/ready-cmd`.

## Checklist
- [x] Make sure the https://github.com/e2b-dev/infra/pull/719 is
deployed

---------

Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev>
Co-authored-by: Jakub Novák <jakub@e2b.dev>
2025-06-12 17:42:37 -07:00
dependabot[bot] a41cb79f1d Bump requests from 2.32.2 to 2.32.4 in /apps/web/src/code/python in the pip group across 1 directory (#768)
Bumps the pip group with 1 update in the /apps/web/src/code/python
directory: [requests](https://github.com/psf/requests).

Updates `requests` from 2.32.2 to 2.32.4
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/psf/requests/releases">requests's
releases</a>.</em></p>
<blockquote>
<h2>v2.32.4</h2>
<h2>2.32.4 (2025-06-10)</h2>
<p><strong>Security</strong></p>
<ul>
<li>CVE-2024-47081 Fixed an issue where a maliciously crafted URL and
trusted
environment will retrieve credentials for the wrong hostname/machine
from a
netrc file. (<a
href="https://redirect.github.com/psf/requests/issues/6965">#6965</a>)</li>
</ul>
<p><strong>Improvements</strong></p>
<ul>
<li>Numerous documentation improvements</li>
</ul>
<p><strong>Deprecations</strong></p>
<ul>
<li>Added support for pypy 3.11 for Linux and macOS. (<a
href="https://redirect.github.com/psf/requests/issues/6926">#6926</a>)</li>
<li>Dropped support for pypy 3.9 following its end of support. (<a
href="https://redirect.github.com/psf/requests/issues/6926">#6926</a>)</li>
</ul>
<h2>v2.32.3</h2>
<h2>2.32.3 (2024-05-29)</h2>
<p><strong>Bugfixes</strong></p>
<ul>
<li>Fixed bug breaking the ability to specify custom SSLContexts in
sub-classes of
HTTPAdapter. (<a
href="https://redirect.github.com/psf/requests/issues/6716">#6716</a>)</li>
<li>Fixed issue where Requests started failing to run on Python versions
compiled
without the <code>ssl</code> module. (<a
href="https://redirect.github.com/psf/requests/issues/6724">#6724</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/psf/requests/blob/main/HISTORY.md">requests's
changelog</a>.</em></p>
<blockquote>
<h2>2.32.4 (2025-06-10)</h2>
<p><strong>Security</strong></p>
<ul>
<li>CVE-2024-47081 Fixed an issue where a maliciously crafted URL and
trusted
environment will retrieve credentials for the wrong hostname/machine
from a
netrc file.</li>
</ul>
<p><strong>Improvements</strong></p>
<ul>
<li>Numerous documentation improvements</li>
</ul>
<p><strong>Deprecations</strong></p>
<ul>
<li>Added support for pypy 3.11 for Linux and macOS.</li>
<li>Dropped support for pypy 3.9 following its end of support.</li>
</ul>
<h2>2.32.3 (2024-05-29)</h2>
<p><strong>Bugfixes</strong></p>
<ul>
<li>Fixed bug breaking the ability to specify custom SSLContexts in
sub-classes of
HTTPAdapter. (<a
href="https://redirect.github.com/psf/requests/issues/6716">#6716</a>)</li>
<li>Fixed issue where Requests started failing to run on Python versions
compiled
without the <code>ssl</code> module. (<a
href="https://redirect.github.com/psf/requests/issues/6724">#6724</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/psf/requests/commit/021dc729f0b71a3030cefdbec7fb57a0e80a6cfd"><code>021dc72</code></a>
Polish up release tooling for last manual release</li>
<li><a
href="https://github.com/psf/requests/commit/821770e822a20a21b207b3907ea83878bda1d396"><code>821770e</code></a>
Bump version and add release notes for v2.32.4</li>
<li><a
href="https://github.com/psf/requests/commit/59f8aa2adf1d3d06bcbf7ce6b13743a1639a5401"><code>59f8aa2</code></a>
Add netrc file search information to authentication documentation (<a
href="https://redirect.github.com/psf/requests/issues/6876">#6876</a>)</li>
<li><a
href="https://github.com/psf/requests/commit/5b4b64c3467fd7a3c03f91ee641aaa348b6bed3b"><code>5b4b64c</code></a>
Add more tests to prevent regression of CVE 2024 47081</li>
<li><a
href="https://github.com/psf/requests/commit/7bc45877a86192af77645e156eb3744f95b47dae"><code>7bc4587</code></a>
Add new test to check netrc auth leak (<a
href="https://redirect.github.com/psf/requests/issues/6962">#6962</a>)</li>
<li><a
href="https://github.com/psf/requests/commit/96ba401c1296ab1dda74a2365ef36d88f7d144ef"><code>96ba401</code></a>
Only use hostname to do netrc lookup instead of netloc</li>
<li><a
href="https://github.com/psf/requests/commit/7341690e842a23cf18ded0abd9229765fa88c4e2"><code>7341690</code></a>
Merge pull request <a
href="https://redirect.github.com/psf/requests/issues/6951">#6951</a>
from tswast/patch-1</li>
<li><a
href="https://github.com/psf/requests/commit/6716d7c9f29df636643fa2489f98890216525cb0"><code>6716d7c</code></a>
remove links</li>
<li><a
href="https://github.com/psf/requests/commit/a7e1c745dc23c18e836febd672416ed0c5d8d8ae"><code>a7e1c74</code></a>
Update docs/conf.py</li>
<li><a
href="https://github.com/psf/requests/commit/c799b8167a13416833ad3b4f3298261a477e826f"><code>c799b81</code></a>
docs: fix dead links to kenreitz.org</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/requests/compare/v2.32.2...v2.32.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=requests&package-manager=pip&previous-version=2.32.2&new-version=2.32.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-10 19:30:00 -07:00
Ben Fornefeld 592543937a Refactor: prebuild sitemap generation instead of statically cached dynamic sitemap (#760)
Since we do not use dynamic data inside the sitemap and we base the
sitemap generation on page files, we do want to avoid a re-build of the
sitemap in request-time, since this environment differs significantly
from a build-time environment. Hence we remove the dynamic sitemap
generation and move sitemap generation logic inside our already present
`prebuild.js` script
2025-06-06 10:51:06 +02:00
Ben Fornefeld 1bdda6099c Remove: api-reference routes and set up SEO redirect (#763)
Since we do not maintain the content behind `/api-reference` routes,
this pr removes the docs pages and setup permanent redirects for SEO
crawlers to find similar content
2025-06-06 08:42:40 +00:00
github-actions[bot] 27e292eedc [skip ci] Release new versions 2025-06-05 15:39:44 +00:00
github-actions[bot] 6c0927e358 [skip ci] Release new versions 2025-06-05 14:15:25 +00:00
Ben Fornefeld 31fce90f6b Fix: path validation for metadata tags resolution (#757)
This pr fixes validating pathnames for SEO metadata tag generation, by
checking against already built time cached sitemap instead of doing
request time glob resolution. path resolutions in vercels request-time
are hard to optimize for & test, since the environment differs quite a
bit from what could be tested locally + this should be faster since the
fetch & sitemap are cached for the build.
2025-06-04 14:17:23 +02:00
Ben Fornefeld 1c063f7cc6 Add: server side metadata generation in root layout (#755)
- adds `generateMetadata` in root layout to generate canonical and
robots meta tags server side
- listens on a custom header which is set by our proxy before rewriting
`/docs` routes, to decide whether the document should have no-index
metadata or index metadata
- adds a middleware which appends a custom header to retrieve the
current pathname for server side canonical tag generation
2025-06-03 17:31:26 +02:00
github-actions[bot] f1afba0d74 [skip ci] Release new versions 2025-06-03 10:13:57 +00:00
Ben Fornefeld 1b9fd7a288 Chore: pass pathname as prop into navigation group to avoid layout shift on initial render (#754)
This pr improves the initial navigation sub groups expanded state, by
passing in the pathname as a prop instead of hooking it in and
determining the state in an effect. This avoid layout shifts when doing
initial page renders, while inside a navigation subgroup item
2025-06-02 17:25:41 +02:00
Mish Ushakov d35f82a9e9 Updated docs on JS/TS kernel (#748)
- Added TypeScript to the JavaScript doc
- Updated the example showing top-level await, esm-style module imports
and promise resolution

---------

Co-authored-by: Vasek Mlejnsky <vasek@e2b.dev>
2025-05-28 20:11:58 +02:00
Mish Ushakov 1af267a324 Updated SDK beta versions in docs (#732)
- updated beta versions of code interpreter, core and desktop SDKs in
the install guide
2025-05-27 02:57:29 -07:00
Mish Ushakov 9d96b066b3 Connecting bucket > connecting storage bucket (#740) 2025-05-26 10:55:57 +02:00
Jakub Dobry 6abed99e81 Update template start command limits in docs (#741)
Network is now available when running a start command. Remove the
network limitation from the documentation.
2025-05-23 05:15:58 -07:00
Ben Fornefeld feeef09e89 Remove: legacy docs from search (#742)
This pr removes the legacy docs from the search indexing script, which
will also remove them from the actual search in runtime. Also it adds
logging to increase build observability.
2025-05-23 05:14:08 -07:00
github-actions[bot] 41ef82cbd2 [skip ci] Release new versions 2025-05-15 17:22:06 +00:00
github-actions[bot] 231e19694d [skip ci] Release new versions 2025-05-15 16:46:57 +00:00
Jakub Novák 90ffca91ff Remove sandbox streams (#731)
# Description

This route isn't used anymore
2025-05-15 05:54:12 -07:00
github-actions[bot] 286e70d689 [skip ci] Release new versions 2025-05-14 15:19:57 +00:00
Vasek Mlejnsky af0773b74d Add hugging face to the quickstart guide (#726)
Adds an example how to use E2B with Hugging Face's serverless inference
API to the quickstart guide.
2025-05-14 01:26:52 +02:00
Mish Ushakov fd0a097ca9 Added homebrew installation instructions to the docs (#721) 2025-05-13 11:40:12 +00:00
Jakub Novák 05721758c6 Revert "Update metrics docs beta note to be public " (#718)
Reverts e2b-dev/E2B#717

Metrics aren't public yet
2025-05-06 00:45:32 -07:00
0div 01174c8954 Update metrics docs beta note to be public (#717)
The metrics command is not in private beta as it does not require a
special cluster.
2025-05-06 02:24:34 +02:00
github-actions[bot] 41f42a1490 [skip ci] Release new versions 2025-05-05 16:34:23 +00:00
Jakub Novák 0a4ffb0977 Update connect bucket docs page (#710)
# Description

Update connect bucket guide to new SDK version

---------

Co-authored-by: 0div <98087403+0div@users.noreply.github.com>
2025-05-01 09:33:54 +00:00
github-actions[bot] 5cb2edc0d1 [skip ci] Release new versions 2025-04-29 15:28:51 +00:00
Mish Ushakov 10c6af28d4 docs: env > envs in Environment variable doc (#707)
- Minor change that fixes incorrect parameter in the docs
2025-04-29 12:16:17 +00:00
github-actions[bot] 2c633a4ee9 [skip ci] Release new versions 2025-04-24 15:34:38 +00:00
github-actions[bot] cde5128e96 [skip ci] Release new versions 2025-04-24 09:46:24 +00:00
Jakub Novák e1f1d9666e Fix codesnippet in docs for API Key (#699)
# Description

Updates code snippet for current SDK version

https://e2b-web-git-fix-docs-api-key.e2b-preview.dev/docs
2025-04-23 17:59:00 +02:00
Jakub Novák 93db2ed5ef Add API key page to docs (#698)
# Description

Adds a page on how to use API Keys and Access Tokens

Co-authored-by: never not exploring <50748440+ben-fornefeld@users.noreply.github.com>
2025-04-23 16:38:14 +02:00
github-actions[bot] 67f5230532 [skip ci] Release new versions 2025-04-18 22:43:01 +00:00
Mish Ushakov 4f6563c27c Adde CLI beta list command docs (#691) 2025-04-17 19:39:28 +02:00
Mish Ushakov c8d338cf45 Updated docs on Sandbox.list v2 (#681)
- Added notices in "Connect to running sandbox", "Sandbox metadata"
docs.
- Updated "List sandboxes", "Sandbox persistence" docs.
- Renamed route "List running sandboxes"  > "List sandboxes".
2025-04-17 17:56:49 +02:00
never not exploring 34f8f2e244 Improve assetPrefix configuration for proxy / development setup (#683)
Because our docs nextjs app is being proxied by our dashboard nextjs
app, we need to ensure the docs nextjs app uses absolute urls to handle
it's assets. Because when it is proxied by another nextjs app, the proxy
tries to reference the docs nextjs apps assets relatively, which results
in assets not being found.

Before this pr, we set an assetPrefix for every node production
deployment, which caused issues on preview deployments, since these can
consist of multiple assigned domains and depending on which one was
opened, the asset prefixing failed.

These changes ensure that only the production deployment of the docs
application has an assetPrefix. Here we can be certain on which domain
it will live. I created a new environment variable `PRODUCTION_URL` here
to ensure 100% consistency with `e2b-dev/dashboard`s proxy domain
config, without relying on the vercel projects assigned domain setup.
2025-04-17 13:26:22 +02:00
github-actions[bot] 5a43e39579 [skip ci] Release new versions 2025-04-11 16:11:00 +00:00
github-actions[bot] 2822c7bec0 [skip ci] Release new versions 2025-04-10 16:09:43 +00:00