Commit Graph

4730 Commits

Author SHA1 Message Date
Ben Fornefeld 28748eea62 update assetPrefix to new environment variable to not break vercel preview urls 2025-02-01 21:50:22 -08:00
Ben Fornefeld 6ebdb17e67 replace VERCEL_URL env variable with custom set NEXT_PUBLIC_DOMAIN in assetPrefix 2025-02-01 21:06:52 -08:00
Jakub Novák 5e2a23fda1 Add assetPrefix to next config (#569)
This pr adds `assetPrefix` property to the `next.config ` for production
builds. This makes sure that absolute urls instead of relative ones are
used on asset urls in the html markup, which makes it possible to proxy
this app from our upcoming new next app.
2025-02-01 20:56:42 -08:00
Ben Fornefeld 8903a8b5f5 limit asset prefixing to production 2025-02-01 19:58:16 -08:00
Ben Fornefeld 6728061b39 add assetPrefix to next config 2025-02-01 19:47:24 -08:00
github-actions[bot] d17bdaacf7 [skip ci] Release new versions 2025-01-31 00:01:32 +00:00
Jakub Novák 672622a3bf Fix Socket closed build error (#567)
# Description

If the build and push takes more than 10 minutes the connection gets
automatically closed by load balancer and the request fails with
UND_ERR_SOCKET error. In this case we just need to retry the request.
@e2b/cli@1.0.10
2025-01-30 15:58:31 -08:00
Jakub Novak bf1e1b1a01 Add changeset 2025-01-30 13:43:41 -08:00
Jakub Novak 391f0709e2 Fix socker closed build error 2025-01-30 13:41:52 -08:00
Vasek Mlejnsky e3e9d3834b Add page about start command (#566)
This PR adds a page in docs explaining details about the start command
2025-01-30 11:57:47 -08:00
Vasek Mlejnsky 0e6610e88b Remove legacy docs page 2025-01-30 11:46:01 -08:00
Vasek Mlejnsky 7cd878185d Add page about start command 2025-01-30 11:44:50 -08:00
dependabot[bot] 892ae4f586 Bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 2 updates in the /apps/web directory: [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) and [next](https://github.com/vercel/next.js).


Updates `@sentry/nextjs` from 8.18.0 to 8.52.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/8.52.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.18.0...8.52.0)

Updates `next` from 14.2.5 to 14.2.21
- [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.5...v14.2.21)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  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-01-29 23:57:24 +00:00
dependabot[bot] 9c6597bdb2 Bump the pip group across 2 directories with 6 updates
---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: indirect
  dependency-group: pip
- dependency-name: certifi
  dependency-type: indirect
  dependency-group: pip
- dependency-name: idna
  dependency-type: indirect
  dependency-group: pip
- dependency-name: requests
  dependency-type: indirect
  dependency-group: pip
- dependency-name: urllib3
  dependency-type: indirect
  dependency-group: pip
- dependency-name: certifi
  dependency-type: indirect
  dependency-group: pip
- dependency-name: jinja2
  dependency-type: indirect
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-29 23:56:31 +00:00
Jakub Novák e8e4cab36b Fix X-Frame-Option to prevent clickjacking (#559) 2025-01-28 19:28:50 -08:00
Jakub Novak b31dd7bf4e Fix type 2025-01-28 18:17:27 -08:00
Jakub Novak e9480d5dc2 Add X-Frame-Options header 2025-01-28 18:16:39 -08:00
github-actions[bot] dde83b7986 [skip ci] Release new versions 2025-01-28 19:58:38 +00:00
Jakub Novák fe7ed15c61 Process time out returns incorrect exception in pythonsdk e2b 1476 (#550)
Handle the exception properly
@e2b/python-sdk@1.0.6 e2b@1.0.6
2025-01-28 11:45:39 -08:00
Jakub Novák 4fb44708a6 Add recursive directory watch (#488)
Adds recursive directory watch to the SDK and documentation section.
Requires merging and deploying https://github.com/e2b-dev/infra/pull/210
first.

### Proposed API change:
**JS**
```js
await sandbox.files.watchDir(dirname, handler, {
  recursive: true
})
```

**Python**
```py
sandbox.files.watch_dir(dirname, recursive=True)
```


---

### Notes

Python SDK was generated using buf.build/protocolbuffers/python:v28.3.
The runtime check was removed for now. Further tests might be required
to make sure the runtime is at least the generated version before
including the runtime check.
Changing the following in the file spec/envd/buf-python.gen.yaml
(generator) allows using different protoc-gen-python version:
From: `plugin: python`
To: `plugin: buf.build/protocolbuffers/python:v28.3`
2025-01-28 11:44:59 -08:00
Jakub Novak 13f0c785de Add changeset 2025-01-28 11:41:58 -08:00
Jakub Novak 8c52e73cdd Lint 2025-01-28 11:28:49 -08:00
Jakub Novak 359d17d0c4 Fix versions to match updated envd version 2025-01-28 11:28:35 -08:00
Jakub Dobrý 51e8f186e6 Cleanup tests only in debug 2025-01-28 11:28:19 -08:00
Jakub Dobrý ec9288a48b Add recursive watch envd version check python SDK, js SDK check 2025-01-28 11:28:18 -08:00
Jakub Dobrý 29dc1a98dd Add recursive watch envd version check 2025-01-28 11:27:10 -08:00
Jakub Dobrý f893f285dd Add note to the recursive watch with rapid folder creation 2025-01-28 11:26:32 -08:00
Jakub Dobrý ea8f4ffb33 Run js tests cleanup using onTestFinished 2025-01-28 11:26:32 -08:00
Jakub Dobrý 6596eda139 Test for recursive folder creation, add newline after code to docs 2025-01-28 11:26:32 -08:00
Jakub Dobrý 76b4ac02ad Regenerated python stubs with version 5.28.3
- Removed code runtime version check to prevent issues until further investigation
2025-01-28 11:26:32 -08:00
Jakub Dobrý c8914c2114 Improve recursive watch tests and folders naming 2025-01-28 11:26:32 -08:00
Jakub Dobrý 225c156ad5 Update documentation highlights 2025-01-28 11:26:31 -08:00
Jakub Dobrý ca85407b8e Add recursive directory watching to the web documentation 2025-01-28 11:26:31 -08:00
Jakub Dobrý d35880c74e Improve watchDir jsSDK default value 2025-01-28 11:26:31 -08:00
Jakub Dobrý 4adcfd83e9 Add python generated stubs 2025-01-28 11:26:30 -08:00
Jakub Dobrý d92a166d8f Update watch test file formatting 2025-01-28 11:25:43 -08:00
Jakub Dobrý 25c4539de6 Add watch dir recursive option (missing python client regeneration) 2025-01-28 11:25:42 -08:00
0div 1e1d3988be Show metrics in sidebar (#558)
show metrics route in the docs sidebar now that the metrics feature is
released
2025-01-27 13:30:12 -08:00
0div 90fb02caf0 uncomment metrics route 2025-01-27 13:09:33 -08:00
tizkovatereza aea3d3e26f Add groq to docs (#557)
Added code snippets to documentation for using Groq with E2B.
2025-01-27 12:38:13 -08:00
Tereza Tizkova 052473935a Add groq to docs 2025-01-27 12:23:34 -08:00
Vasek Mlejnsky 90788ee0b1 Hide metrics in sidebar (#555)
Hide metrics route in the docs sidebar until the feature is fully
released
2025-01-26 19:25:13 -08:00
Vasek Mlejnsky 5b3ef97a64 hide metrics in sidebar until it's shipped 2025-01-26 19:23:20 -08:00
Vasek Mlejnsky 43291b5889 Fix typo in docs (#554)
run to => to run

🙂
2025-01-26 13:15:16 -08:00
handlebauer 02b032af0b fix thing 2025-01-25 14:16:03 -08:00
0div d3f0e37fb2 Add sandbox metrics docs page (#552)
This documents the new SDK method implemented
[here](https://github.com/e2b-dev/E2B/pull/543)
2025-01-24 16:54:50 -08:00
0div 35c18374d3 use latest beta tag for npm installs 2025-01-24 16:46:48 -08:00
0div 61c7bfa767 fix beta version typo and add private beta note 2025-01-24 16:39:37 -08:00
0div 974d92e7aa update limitations section 2025-01-24 16:24:25 -08:00
Vasek Mlejnsky 8b5af4e174 Update wording for usage limits and alerts (#553)
Clarify wording for usage limits & alerts
2025-01-24 16:22:37 -08:00