309 Commits

Author SHA1 Message Date
github-actions[bot]
58ecd78053 [skip ci] Release new versions 2026-04-02 19:20:43 +00:00
github-actions[bot]
c02d11eb58 [skip ci] Release new versions 2026-03-26 01:32:46 +00:00
Mish Ushakov
6d7e72e3bd
feat: add Volume CRUD operations to SDKs (#1126)
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
Co-authored-by: Joe Lombrozo <joe.lombrozo@e2b.dev>
2026-03-25 17:37:46 -07:00
github-actions[bot]
4bee8c54d4 [skip ci] Release new versions 2026-03-25 19:27:39 +00:00
github-actions[bot]
9710e56bd5 [skip ci] Release new versions 2026-03-23 22:29:10 +00:00
github-actions[bot]
fd7fb51474 [skip ci] Release new versions 2026-03-23 16:11:58 +00:00
github-actions[bot]
a206ddb6f8 [skip ci] Release new versions 2026-03-18 08:05:53 +00:00
github-actions[bot]
0d5cfd1301 [skip ci] Release new versions 2026-03-09 22:23:14 +00:00
github-actions[bot]
d289772df0 [skip ci] Release new versions 2026-03-06 13:35:12 +00:00
github-actions[bot]
d8559492d0 [skip ci] Release new versions 2026-03-04 21:43:16 +00:00
github-actions[bot]
e04780fafb [skip ci] Release new versions 2026-03-04 14:59:03 +00:00
github-actions[bot]
602cc2d51f [skip ci] Release new versions 2026-02-24 20:53:45 +00:00
github-actions[bot]
f922884447 [skip ci] Release new versions 2026-02-21 02:00:30 +00:00
Mish Ushakov
c38a1819b6
Fix Python SDK type issues with ty type checker (#1122)
## Summary
- Resolved 43 type diagnostics reported by ty (Astral's Python type
checker)
- Fixed Self type issues on class singletons
- Added explicit type annotations for shadowed attributes
- Replaced None with UNSET for auto-generated API parameters
- Fixed method signature alignment for protocol matching
- Added targeted type: ignore suppressions for pattern-based limitations

All checks pass: ty check, ruff format, ruff check.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Mostly typing/CI changes, but some adjustments affect sandbox
connect/pause overload dispatch and API response/parameter handling
(`UNSET` vs `None`), which could alter edge-case runtime behavior.
> 
> **Overview**
> Fixes Python SDK static typing issues for Astral’s `ty` checker and
wires typechecking into CI.
> 
> Adds a new `Typecheck` GitHub Action plus workspace `typecheck`
scripts (TS packages via `tsc`, Python SDK via `make typecheck` running
`ty`), and publishes a patch changeset for `@e2b/python-sdk`.
> 
> Across the Python SDK, adjusts type annotations and overloads (e.g.,
`Self`/singleton typing, `connect` overloads, optional
`user`/token/domain handling), tightens API model parsing with
`cast`/`Optional` checks and `UNSET` usage, and adds a few targeted `ty`
ignore comments in tests/protocols to silence checker limitations.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
f66402847c40cee7e44e1aaa7caa97e271ba9978. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-02-12 16:23:39 +00:00
github-actions[bot]
e11378c8c6 [skip ci] Release new versions 2026-02-09 19:28:29 +00:00
github-actions[bot]
12c8d6e6e1 [skip ci] Release new versions 2026-02-09 13:02:58 +00:00
github-actions[bot]
cf549f8487 [skip ci] Release new versions 2026-01-29 19:28:47 +00:00
github-actions[bot]
b2ea21c77f [skip ci] Release new versions 2026-01-29 15:55:59 +00:00
github-actions[bot]
168d9edbab [skip ci] Release new versions 2026-01-27 22:38:55 +00:00
github-actions[bot]
3993a17189 [skip ci] Release new versions 2026-01-27 14:06:56 +00:00
github-actions[bot]
be538de3e8 [skip ci] Release new versions 2026-01-26 18:09:49 +00:00
Jakub Novák
ae48a0adeb
Drop support for python 3.9 (#1092)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Python version floor raised**
> 
> - Require `python ^3.10` in `pyproject.toml` and `.tool-versions`;
update `poetry.lock` metadata and deps to remove 3.9-only
packages/markers
> - Update `Makefile` `datamodel-codegen` to `--target-python-version
3.10`
> - Add changeset entry documenting the drop of Python 3.9 support
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
a75633f2d28fe24e9f33d0605c1059aeea219820. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-01-26 12:40:19 +01:00
github-actions[bot]
2081fb9ee9 [skip ci] Release new versions 2026-01-15 16:45:17 +00:00
github-actions[bot]
e77bda6a5a [skip ci] Release new versions 2026-01-12 13:23:45 +00:00
github-actions[bot]
a7a7b6da01 [skip ci] Release new versions 2026-01-12 10:42:51 +00:00
github-actions[bot]
4f8b13b9d1 [skip ci] Release new versions 2026-01-09 22:42:20 +00:00
github-actions[bot]
6e07b3b000 [skip ci] Release new versions 2025-12-22 18:02:47 +00:00
github-actions[bot]
f561fc463c [skip ci] Release new versions 2025-12-01 15:49:40 +00:00
github-actions[bot]
4b770a1c6b [skip ci] Release new versions 2025-11-26 17:36:25 +00:00
github-actions[bot]
a4852e19a9 [skip ci] Release new versions 2025-11-15 22:54:49 +00:00
Joseph Lombrozo
d2e22e3748
Some general pytest cleanup (#1021)
- Individual tests must complete in less than 5 minutes
- Add a `make test` option that runs tests
- Upgrade poetry to 2.1.1 (the lock file was generated by this version,
so this just matches what we already expect)
2025-11-13 17:58:30 -08:00
github-actions[bot]
45d782f346 [skip ci] Release new versions 2025-11-10 12:04:04 +00:00
github-actions[bot]
111fe06fe0 [skip ci] Release new versions 2025-11-06 16:04:39 +00:00
github-actions[bot]
5cea08ffbe [skip ci] Release new versions 2025-11-03 15:45:13 +00:00
Mish Ushakov
23adc93f5e
Expand folder with double star pattern for recursive hash computation (#994)
Currently, when you provide a simple folder pattern like `folder/` to
copy() it will not check folders contents for changes (only the folder
metadata itself) which leads to stale caches.

This fix appends ** pattern when no pattern is specified for recursive
hash computation.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Ensure folder COPY patterns hash contents recursively to fix cache
invalidation, adding a shared file-gathering helper, tests, and a Python
glob dependency.
> 
> - **Template hashing (JS + Python SDKs)**:
> - Add `getAllFilesForFilesHash`
(`packages/js-sdk/src/template/utils.ts`) and
`get_all_files_for_files_hash`
(`packages/python-sdk/e2b/template/utils.py`) to collect directories and
nested files using glob patterns and ignores.
> - Update `calculateFilesHash`/`calculate_files_hash` to use the new
helpers, hashing recursive paths, metadata, and file contents; handle
symlinks consistently.
> - **Tests**:
> - Add comprehensive tests for recursive matching, ignore patterns,
sorting, empty dirs, symlinks in
`packages/js-sdk/tests/.../getAllFilesForFilesHash.test.ts` and Python
async/sync tests under
`packages/python-sdk/tests/.../test_get_all_files_for_files_hash.py`.
> - **Dependencies**:
> - Add `wcmatch` in `packages/python-sdk/pyproject.toml` for advanced
globbing.
> - **Release**:
>   - Patch bump via `.changeset/green-mice-watch.md`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
d495427d86ad4e4d5a280567baa63df40a3271fb. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Jakub Dobry <jakub.dobry8@gmail.com>
2025-11-03 16:34:17 +01:00
github-actions[bot]
02f34a293a [skip ci] Release new versions 2025-11-03 11:35:01 +00:00
github-actions[bot]
63d6453eae [skip ci] Release new versions 2025-10-31 12:29:43 +00:00
github-actions[bot]
2703721441 [skip ci] Release new versions 2025-10-28 17:10:46 +00:00
github-actions[bot]
70487f007e [skip ci] Release new versions 2025-10-28 11:14:31 +00:00
github-actions[bot]
97a72597c5 [skip ci] Release new versions 2025-10-24 22:45:09 +00:00
github-actions[bot]
865a8f8d18 [skip ci] Release new versions 2025-10-24 21:36:48 +00:00
github-actions[bot]
cb7464d2e4 [skip ci] Release new versions 2025-10-22 19:31:53 +00:00
github-actions[bot]
115e73b5a1 [skip ci] Release new versions 2025-10-22 09:44:35 +00:00
github-actions[bot]
eb2dfd4bff [skip ci] Release new versions 2025-10-21 14:59:48 +00:00
github-actions[bot]
5df9090f57 [skip ci] Release new versions 2025-10-20 22:16:19 +00:00
github-actions[bot]
04f3a1e036 [skip ci] Release new versions 2025-10-18 17:46:41 +00:00
github-actions[bot]
538283691d [skip ci] Release new versions 2025-10-17 23:46:29 +00:00
github-actions[bot]
d009507128 [skip ci] Release new versions 2025-10-16 23:25:59 +00:00
github-actions[bot]
ace327e948 [skip ci] Release new versions 2025-10-16 11:50:51 +00:00
github-actions[bot]
75f5a473e5 [skip ci] Release new versions 2025-10-14 21:05:31 +00:00