Commit Graph

4748 Commits

Author SHA1 Message Date
Jakub Novak b91dbc160a Bump tsup 2025-02-05 09:47:52 -08:00
Jakub Novak 67787e5b0b Bump packages 2025-02-05 09:45:55 -08:00
Jakub Novak 6e477cac21 Update fast xml parser 2025-02-04 22:40:53 -08:00
Jakub Novak 66141ef03e Update changeset to update cross-spawn 2025-02-04 22:36:40 -08:00
Jakub Novak 0d09045903 Update cross-spawn 2025-02-04 22:30:24 -08:00
Jakub Novak 8e3ead87e2 Update cross-spawn 2025-02-04 22:26:06 -08:00
Jakub Novak c7b9fc20b4 Update vitest 2025-02-04 22:21:17 -08:00
github-actions[bot] cd45aa4aae [skip ci] Release new versions 2025-02-05 05:27:07 +00:00
Jakub Novak cff68d213b Fix check order e2b@1.0.7 2025-02-04 21:22:40 -08:00
Jakub Novák 0cc2b2f256 Fix usage in browser (#574)
Variable `process` isn't present in browser
2025-02-04 21:13:15 -08:00
Jakub Novak 5749120a36 Add changeset 2025-02-04 21:06:04 -08:00
Jakub Novak c68fa4495b If in browser don't use process 2025-02-04 16:12:29 -08:00
Jakub Novák 7c38aa1096 Bump the pip group across 2 directories with 6 updates (#561)
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-02-04 13:09:06 -08:00
Jakub Novák 553118547f Bump the npm_and_yarn group across 1 directory with 2 updates (#562)
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
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-javascript/releases"><code>@​sentry/nextjs</code>'s
releases</a>.</em></p>
<blockquote>
<h2>8.52.0</h2>
<h3>Important Changes</h3>
<ul>
<li><strong>feat(solidstart): Add <code>withSentry</code> wrapper for
SolidStart config (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/15135">#15135</a>)</strong></li>
</ul>
<p>To enable the SolidStart SDK, wrap your SolidStart Config with
<code>withSentry</code>. The <code>sentrySolidStartVite</code> plugin is
now automatically
added by <code>withSentry</code> and you can pass the Sentry build-time
options like this:</p>
<pre lang="js"><code>import { defineConfig } from
'@solidjs/start/config';
import { withSentry } from '@sentry/solidstart';
<p>export default defineConfig(<br />
withSentry(<br />
{<br />
/* Your SolidStart config options... */<br />
},<br />
{<br />
// Options for setting up source maps<br />
org: process.env.SENTRY_ORG,<br />
project: process.env.SENTRY_PROJECT,<br />
authToken: process.env.SENTRY_AUTH_TOKEN,<br />
},<br />
),<br />
);<br />
</code></pre></p>
<p>With the <code>withSentry</code> wrapper, the Sentry server config
should not be added to the <code>public</code> directory anymore.
Add the Sentry server config in <code>src/instrument.server.ts</code>.
Then, the server config will be placed inside the server build output as
<code>instrument.server.mjs</code>.</p>
<p>Now, there are two options to set up the SDK:</p>
<ol>
<li><strong>(recommended)</strong> Provide an <code>--import</code> CLI
flag to the start command like this (path depends on your server setup):
<code>node --import ./.output/server/instrument.server.mjs
.output/server/index.mjs</code></li>
<li>Add <code>autoInjectServerSentry: 'top-level-import'</code> and the
Sentry config will be imported at the top of the server entry (comes
with tracing limitations)
<pre lang="js"><code>withSentry(
  {
    /* Your SolidStart config options... */
  },
  {
    // Optional: Install Sentry with a top-level import
    autoInjectServerSentry: 'top-level-import',
  },
);
</code></pre>
</li>
</ol>
<h3>Other Changes</h3>
<ul>
<li>feat(v8/core): Add client outcomes for breadcrumbs buffer (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/15149">#15149</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-javascript/blob/8.52.0/CHANGELOG.md"><code>@​sentry/nextjs</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>8.52.0</h2>
<h3>Important Changes</h3>
<ul>
<li><strong>feat(solidstart): Add <code>withSentry</code> wrapper for
SolidStart config (<a
href="https://redirect.github.com/getsentry/sentry-javascript/pull/15135">#15135</a>)</strong></li>
</ul>
<p>To enable the SolidStart SDK, wrap your SolidStart Config with
<code>withSentry</code>. The <code>sentrySolidStartVite</code> plugin is
now automatically
added by <code>withSentry</code> and you can pass the Sentry build-time
options like this:</p>
<pre lang="js"><code>import { defineConfig } from
'@solidjs/start/config';
import { withSentry } from '@sentry/solidstart';
<p>export default defineConfig(<br />
withSentry(<br />
{<br />
/* Your SolidStart config options... */<br />
},<br />
{<br />
// Options for setting up source maps<br />
org: process.env.SENTRY_ORG,<br />
project: process.env.SENTRY_PROJECT,<br />
authToken: process.env.SENTRY_AUTH_TOKEN,<br />
},<br />
),<br />
);<br />
</code></pre></p>
<p>With the <code>withSentry</code> wrapper, the Sentry server config
should not be added to the <code>public</code> directory anymore.
Add the Sentry server config in <code>src/instrument.server.ts</code>.
Then, the server config will be placed inside the server build output as
<code>instrument.server.mjs</code>.</p>
<p>Now, there are two options to set up the SDK:</p>
<ol>
<li><strong>(recommended)</strong> Provide an <code>--import</code> CLI
flag to the start command like this (path depends on your server setup):
<code>node --import ./.output/server/instrument.server.mjs
.output/server/index.mjs</code></li>
<li>Add <code>autoInjectServerSentry: 'top-level-import'</code> and the
Sentry config will be imported at the top of the server entry (comes
with tracing limitations)
<pre lang="js"><code>withSentry(
  {
    /* Your SolidStart config options... */
  },
  {
    // Optional: Install Sentry with a top-level import
    autoInjectServerSentry: 'top-level-import',
  },
);
</code></pre>
</li>
</ol>
<h3>Other Changes</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/getsentry/sentry-javascript/commit/bbafacbc6fb145e5c61515d2babda6d5362970e7"><code>bbafacb</code></a>
release: 8.52.0</li>
<li><a
href="https://github.com/getsentry/sentry-javascript/commit/a6f73001d8294e1198a7abf11a9f8b285165a369"><code>a6f7300</code></a>
meta(changelog): Update CHANGELOG for 8.52.0 (<a
href="https://redirect.github.com/getsentry/sentry-javascript/issues/15177">#15177</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-javascript/commit/cb6aca71c47368f6d4495e4cf7ebf289ed63372c"><code>cb6aca7</code></a>
fix(v8/core): Pass <code>module</code> into <code>loadModule</code> (<a
href="https://redirect.github.com/getsentry/sentry-javascript/issues/15139">#15139</a>)
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/issues/15166">#15166</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-javascript/commit/4a83c9a865fb2310ea699e6e5898b8389c46fd27"><code>4a83c9a</code></a>
test(v8/e2e): Avoid making request to example.com in nextjs e2e test (<a
href="https://redirect.github.com/getsentry/sentry-javascript/issues/15176">#15176</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-javascript/commit/3fa35107a437e332aba3b6e992c503579013d989"><code>3fa3510</code></a>
test(v8/e2e): Unflake replay recording data optional e2e test (<a
href="https://redirect.github.com/getsentry/sentry-javascript/issues/15168">#15168</a>)
(<a
href="https://redirect.github.com/getsentry/sentry-javascript/issues/15172">#15172</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-javascript/commit/fe0272a4c4a14587f916913cbe2156f327cd95d0"><code>fe0272a</code></a>
fix(v8/bun): Ensure instrumentation of <code>Bun.serve</code> survives a
server reload (...</li>
<li><a
href="https://github.com/getsentry/sentry-javascript/commit/a3ddff69cf471fc7ac64ff0d76ed914dbf227062"><code>a3ddff6</code></a>
feat(v8/core): Improve error formatting in ZodErrors integration (<a
href="https://redirect.github.com/getsentry/sentry-javascript/issues/15155">#15155</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-javascript/commit/b468ab0260e7237579e395a20d544c7161a6eeb5"><code>b468ab0</code></a>
feat(v8/core): Add client outcomes for breadcrumbs buffer (<a
href="https://redirect.github.com/getsentry/sentry-javascript/issues/15149">#15149</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-javascript/commit/a76f243e1c529b1ae8bb658f382ab2bce5409770"><code>a76f243</code></a>
feat(v8/solidstart): Add <code>withSentry</code> wrapper for SolidStart
config (<a
href="https://redirect.github.com/getsentry/sentry-javascript/issues/15135">#15135</a>)</li>
<li><a
href="https://github.com/getsentry/sentry-javascript/commit/d5f80af5e6abd31fd5a1f6e19b1779a7ef36710b"><code>d5f80af</code></a>
Merge branch 'release/8.51.0' into v8</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-javascript/compare/8.18.0...8.52.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `next` from 14.2.5 to 14.2.21
<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.21</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>Upgrade React from 14898b6a9 to 178c267a4e: <a
href="https://redirect.github.com/vercel/next.js/pull/74115">vercel/next.js#74115</a></li>
<li>Fix unstable_allowDynamic when used with pnpm: <a
href="https://redirect.github.com/vercel/next.js/pull/73765">vercel/next.js#73765</a></li>
</ul>
<h3>Misc Changes</h3>
<ul>
<li>chore(docs): add missing search: '' on remotePatterns: <a
href="https://redirect.github.com/vercel/next.js/pull/73927">vercel/next.js#73927</a></li>
<li>chore(docs): update version history of next/image: <a
href="https://redirect.github.com/vercel/next.js/pull/73926">vercel/next.js#73926</a></li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/unstubbable"><code>@​unstubbable</code></a>, <a
href="https://github.com/ztanner"><code>@​ztanner</code></a>, and <a
href="https://github.com/styfle"><code>@​styfle</code></a> for
helping!</p>
<h2>v14.2.20</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 fetch cloning bug (<a
href="https://redirect.github.com/vercel/next.js/pull/73532">vercel/next.js#73532</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/wyattjoh"><code>@​wyattjoh</code></a> for
helping!</p>
<h2>v14.2.19</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>ensure worker exits bubble to parent process (<a
href="https://redirect.github.com/vercel/next.js/issues/73433">#73433</a>)</li>
<li>Increase max cache tags to 128 (<a
href="https://redirect.github.com/vercel/next.js/issues/73125">#73125</a>)</li>
</ul>
<h3>Misc Changes</h3>
<ul>
<li>Update max tag items limit in docs (<a
href="https://redirect.github.com/vercel/next.js/issues/73445">#73445</a>)</li>
</ul>
<h3>Credits</h3>
<p>Huge thanks to <a
href="https://github.com/ztanner"><code>@​ztanner</code></a> and <a
href="https://github.com/ijjk"><code>@​ijjk</code></a> for helping!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vercel/next.js/commit/2655f6efd3379cf68205b3b5c5173399294f7731"><code>2655f6e</code></a>
v14.2.21</li>
<li><a
href="https://github.com/vercel/next.js/commit/8803d2b46e66ad831aec7979f2b7f0243057e48f"><code>8803d2b</code></a>
Backport (v14): Upgrade React from 14898b6a9 to 178c267a4e (<a
href="https://redirect.github.com/vercel/next.js/issues/74115">#74115</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/6e35243eae7f876177462b32763b3749d84c7d03"><code>6e35243</code></a>
chore(docs): add missing <code>search: ''</code> on
<code>remotePatterns</code> (<a
href="https://redirect.github.com/vercel/next.js/issues/73925">#73925</a>)
(<a
href="https://redirect.github.com/vercel/next.js/issues/73927">#73927</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/54919d2f2829e112a24ab2559a1e71e0d3ab859d"><code>54919d2</code></a>
chore(docs): update version history of <code>next/image</code> (<a
href="https://redirect.github.com/vercel/next.js/issues/73926">#73926</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/049a6907af00488a607e958a863fe42328d8cd6a"><code>049a690</code></a>
Backport: Fix <code>unstable_allowDynamic</code> when used with pnpm (<a
href="https://redirect.github.com/vercel/next.js/issues/73765">#73765</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/663fa9cb295730b5adfce8f968593f3838228d16"><code>663fa9c</code></a>
Fix SWC and React versions for <code>14-2-1</code> branch (<a
href="https://redirect.github.com/vercel/next.js/issues/73791">#73791</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/ed78a4aa673034719d5664536a80d326eebac7e1"><code>ed78a4a</code></a>
v14.2.20</li>
<li><a
href="https://github.com/vercel/next.js/commit/530421d3a2cf00e94a8d68ef5b093bb866f13f14"><code>530421d</code></a>
[backport] Fix/dedupe fetch clone (<a
href="https://redirect.github.com/vercel/next.js/issues/73532">#73532</a>)</li>
<li><a
href="https://github.com/vercel/next.js/commit/cbc62adabae6517b0f848a43a777af9b161cfd97"><code>cbc62ad</code></a>
v14.2.19</li>
<li><a
href="https://github.com/vercel/next.js/commit/92280dc4359c319aaac86e9795d74477b77f09ff"><code>92280dc</code></a>
[backport] Update max tag items limit in docs (<a
href="https://redirect.github.com/vercel/next.js/issues/73445">#73445</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vercel/next.js/compare/v14.2.5...v14.2.21">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-02-04 13:06:00 -08:00
Jakub Novak 464db3ffed Fix pnpm lock 2025-02-04 12:57:48 -08:00
Vasek Mlejnsky 1fb29757d3 Redirect /blog to the new blog website (#572)
This PR updates the middleware to direct the `/blog` traffic to the new
Webflow landing page
2025-02-03 10:25:49 -08:00
Vasek Mlejnsky ffb6cefb27 redirect /blog to the new blog website 2025-02-03 09:51:05 -08:00
Jakub Novák c47fdbdd5a Fix: assetPrefix refers to correct domains for production & preview environments (#570)
This pr fixes the following issue for
[#569](https://github.com/e2b-dev/E2B/pull/569):

The production vercel environment did not refer assets to the correct
production domain through VERCEL_URL. Hence a custom environment
variable was added to the production environment to account for that.
2025-02-01 22:02:44 -08:00
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