Commit Graph

4527 Commits

Author SHA1 Message Date
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
never not exploring e5866ce12c Fix docs quick start issues (#611)
this pr fixes / improves the following issues with the quick start
section in our documentation:

1. `/docs/quickstart `-> sign up link was broken
2. `/docs/quickstart/upload-download-files `-> removed
`Sandbox.create()` in python code snippets and replaced with
`Sandbox()`. added better explanation on the folder locations (relative
on own machine, absolute on sandbox)
2025-03-18 16:25:04 +01:00
Ben Fornefeld 6a73f8d4b6 fix: docs quick start issues 2025-03-18 16:16:10 +01:00
Jakub Novák cee8f00e5d Clean unused HTMLs (#610) 2025-03-18 06:09:38 -07:00
James Murdza b357a403eb Fix example code for the latest version of CrewAI 2025-03-18 11:19:10 +01:00
Vasek Mlejnsky 5c1a5a845d Update README.md (#606)
Add self hosting section to readme
2025-03-16 13:17:34 +01:00
0div e905d9be34 Test sandbox closed port error (#597)
this PR adds tests in js and python SDKs for closed port errors
enhancement #265
2025-03-14 02:19:27 -07:00
Jakub Novák 2e637cb764 Send releases notification to dedicated channel (#604) 2025-03-14 10:19:11 +01:00
0div 81a8e8b09e Update pnpm lockfile (#603)
The lockfile does not reflect the pinned versions of typedoc from
https://github.com/e2b-dev/E2B/pull/602
2025-03-13 19:47:42 +01:00
0div c04be45843 update pnpm loockfile 2025-03-13 11:27:24 -07:00
0div cecb61dd3f Fix SDK reference generation in js-sdk (#602)
Pin typdoc to non-breaking versions in js-sdk which allow non-ESM
imports.
2025-03-13 19:23:41 +01:00
0div dad913efcf pin typdoc and typedoc-markdown to non-breaking versions in js-sdk 2025-03-13 11:21:15 -07:00
Vasek Mlejnsky 82fe7b30f2 Update CODEOWNERS (#601)
Add @mishushakov as owner of the SDKs and @ben-fornefeld as the owner of
dashboard
2025-03-13 03:36:40 -07:00
github-actions[bot] ac87d9df35 [skip ci] Release new versions 2025-03-04 00:58:32 +00:00
r33drichards 56ca5e0b8b Show resolvable url in error message (#596)
Before the urls in our error messages pointed to a doc page that doesn't
exist. This change updates the urls with links that resolve to dashboard

also adds note on how to create changesets
@e2b/cli@1.2.2
2025-03-03 16:55:38 -08:00
github-actions[bot] ee90cd222f [skip ci] Release new versions 2025-03-01 01:48:50 +00:00
r33drichards 0619540d6e Display correct key name for api key (#594) @e2b/cli@1.2.1 2025-02-28 17:46:12 -08:00
Jakub Novák e083bada74 Change twitter links to the new handle (#595) 2025-02-26 10:34:57 +01:00
Jakub Novak e419a61a00 Change twitter links to the new handle 2025-02-26 10:31:49 +01:00
never not exploring 74de6eb8ed Filter Shiki HighlightLine syntax when copying code blocks in docs (#593) 2025-02-25 20:25:25 +01:00
Ben Fornefeld fba2ce3e24 fix: filter shiki line highlight syntax when copying code blocks in docs 2025-02-25 20:12:29 +01:00
never not exploring 491999396c Improve legacy banner visibility in /docs (#590) 2025-02-22 18:04:09 +01:00
Vasek Mlejnsky 2dc0580a3d Fix broken link in docs (#589)
- Fixes broken link in docs
2025-02-21 21:26:57 -08:00
Vasek Mlejnsky bc79f15a4c Fix broken link 2025-02-21 21:04:14 -08:00
github-actions[bot] 9f23f542d1 [skip ci] Release new versions 2025-02-22 00:00:40 +00:00
Tomas Valenta 6b719530b4 Bump package json version for the e2b/cli (#587) @e2b/cli@1.2.0 2025-02-21 15:57:56 -08:00
Jakub Dobry f706f825af Bump package json version for the e2b/cli 2025-02-21 15:56:34 -08:00
Tomas Valenta 4bc71297ff Fix CLI build issue (#578)
Load update notifier dynamically

We needed update the package because of vulnerabilities

If we don't load it asynchronously there's following error.
```
packages/cli generate-ref: /home/runner/work/E2B/E2B/packages/cli/dist/index.js:55406
packages/cli generate-ref: var updateNotifier = __toESM(require("update-notifier"));
packages/cli generate-ref:                              ^
packages/cli generate-ref: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/E2B/E2B/node_modules/.pnpm/update-notifier@6.0.2/node_modules/update-notifier/index.js from /home/runner/work/E2B/E2B/packages/cli/dist/index.js not supported.
packages/cli generate-ref: Instead change the require of /home/runner/work/E2B/E2B/node_modules/.pnpm/update-notifier@6.0.2/node
```
2025-02-21 15:50:21 -08:00
Jakub Dobry aa7a2bf58b add changeset 2025-02-21 15:48:19 -08:00
Jakub Dobry ec36840c04 update the update-notifier import to esm, remove it from the excludedPackages 2025-02-21 15:44:44 -08:00
Vasek Mlejnsky cd4880eeae Explicitly mention Docker commands when building template (#586)
This PR improves CLI messaging when building sandbox templates. Now, the
used Docker commands are explicitly logged to the user like this:

```
Building docker image with the following command:
docker build . \ # <--- This log is new
   -f e2b.Dockerfile \
   --pull --platform linux/amd64 \
   -t docker.e2b.dev/e2b/custom-envs/vqwjjtzwfi59d1cwww1k:ec8a819a-9666-45df-997b-e181b9fe4224 

[+] Building 0.7s (5/5) FINISHED                                                                              docker:desktop-linux
 => [internal] load build definition from e2b.Dockerfile                                                                      0.0s
 => => transferring dockerfile: 149B                                                                                          0.0s
 => [internal] load metadata for docker.io/library/ubuntu:22.04 
```
and
```
Pushing docker image with the following command:
docker push docker.e2b.dev/e2b/custom-envs/vqwjjtzwfi59d1cwww1k:ec8a819a-9666-45df-997b-e181b9fe4224 # <--- This log is new

The push refers to repository [docker.e2b.dev/e2b/custom-envs/vqwjjtzwfi59d1cwww1k]
```

so the user can potentially debug some issues on their own.
@e2b/cli@1.1.0
2025-02-21 15:02:38 -08:00
Vasek Mlejnsky cb6f7628d6 Fix message 2025-02-21 15:01:56 -08:00
Vasek Mlejnsky fd6a80ef1e Merge branch 'main' into cli-better-messaging 2025-02-21 14:54:11 -08:00
Vasek Mlejnsky d3945ac120 Add changeset 2025-02-21 14:53:10 -08:00
Vasek Mlejnsky 9ef3dcb516 Explicitly mention docker commands when building template 2025-02-21 14:46:16 -08:00
Vasek Mlejnsky 32e0b039af Update persistence docs (#585)
This PR removes a requirement for reaching to get access to persistence
as persistence is now in public beta.
2025-02-21 14:24:08 -08:00
Vasek Mlejnsky e04c67d3e4 Merge branch 'main' into update-persistence-docs 2025-02-21 14:19:59 -08:00
Vasek Mlejnsky 1653893852 Update docs for persistence 2025-02-21 14:13:43 -08:00
never not exploring 8aa8ef9797 Rewrite /category in middleware (#579)
This pr extends the middleware to rewrite `/blog/category/:path*` to our
Webflow Landing Page. Additionally, `sitemap.xml` got improved & fixed
by caching it statically on build time.
2025-02-20 00:46:15 +01:00
never not exploring b85d6760cb Merge branch 'main' into rewrite-category-in-middleware-e2b-1578 2025-02-19 19:00:59 +01:00
Ben Fornefeld 6a87672dee test: fix sitemap runtime fs error by making sitemap cache on build time 2025-02-19 18:37:10 +01:00