Commit Graph

4710 Commits

Author SHA1 Message Date
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
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