Commit graph

42 commits

Author SHA1 Message Date
271cfb71e7 chore: bump version to 4.2.43 2026-01-29 12:03:18 -05:00
8feba9b21b chore: bump version to 4.2.42 2026-01-29 11:53:57 -05:00
fefdd7c811 chore: bump version to 4.2.40 2026-01-29 10:41:22 -05:00
fbc998a750 chore: bump version to 4.2.39 2026-01-29 09:46:16 -05:00
c7d1fe14cd chore: bump version to 4.2.37 2026-01-29 08:21:04 -05:00
4e4ae3c911 fix: add shebangs to async SDK implementations
Add #!/usr/bin/env interpreter lines to async SDKs for portability:
- Python: #!/usr/bin/env python3
- JavaScript: #!/usr/bin/env node
- Ruby: #!/usr/bin/env ruby
- PHP: #!/usr/bin/env php
2026-01-29 06:09:44 -05:00
092c88cab1 chore: bump version to 4.2.36 2026-01-28 18:40:21 -05:00
ee43329a55 chore: bump version to 4.2.35 2026-01-28 18:33:17 -05:00
0db0c9be22 chore: bump version to 4.2.34 2026-01-28 18:26:23 -05:00
6997552307 chore: bump version to 4.2.31 2026-01-28 17:04:02 -05:00
15f37c8acc chore: bump version to 4.2.29
Test QR code functional tests with updated container image.
2026-01-28 15:32:42 -05:00
eeb1dcb3dc feat: add --show-freeze-page and --no-show-freeze-page CLI flags
Add CLI support for toggling the show_freeze_page service setting,
which controls whether frozen services display an HTML payment page
or return a JSON error response.

Updated 18 SDK implementations + CLI_SPEC.md documentation.
2026-01-25 04:28:24 -05:00
919890bbbd chore: bump version to 4.2.28 2026-01-24 18:17:07 -05:00
14c50efff6 chore: bump version to 4.2.27 2026-01-24 18:16:56 -05:00
2648d4ccf9 chore: bump version to 4.2.26 2026-01-24 15:56:49 -05:00
affa90abef chore: bump version to 4.2.25 2026-01-24 15:56:38 -05:00
cdd7cf714b chore: bump version to 4.2.24 2026-01-24 13:47:09 -05:00
05fd8ba415 chore: bump version to 4.2.23 2026-01-24 13:46:54 -05:00
bc3af266bc chore: bump version to 4.2.22
Consolidate dotnet SDK with sync/async implementations and add CI testing.
Move API and portal off pool to prevent failover when cammy is loaded.
2026-01-24 11:54:56 -05:00
ad9394fd27 fix: use correct -o flag for aggregate script in CI 2026-01-23 16:04:28 -05:00
3f73bf6203 fix: skip null rows when parsing pool metrics CSV 2026-01-23 15:28:20 -05:00
6d4b0aab2e fix: stop pool metrics collector when tests finish to avoid skewed averages 2026-01-23 15:05:07 -05:00
08dbc8ff75 chore: bump version to 4.2.18 2026-01-23 10:42:50 -05:00
3acc781016 fix: exec_sdk_inception now properly executes SDK file instead of path as code 2026-01-23 10:04:57 -05:00
b3c3957346 fix: add go compiler error patterns (expected/package/found) 2026-01-23 10:03:56 -05:00
638f6c01f4 fix: add JVM exception patterns for groovy flakiness 2026-01-23 09:52:19 -05:00
e0bb0cb6bb chore: bump version to 4.2.14 2026-01-23 09:26:25 -05:00
f7ad5d4d25 chore: bump version to 4.2.13 2026-01-23 08:57:51 -05:00
66d5cd0818 chore: bump version to 4.2.12 2026-01-23 08:20:47 -05:00
3b843c5099 chore: bump version to 4.2.10 2026-01-23 06:35:46 -05:00
0251e66249 chore: bump version to 4.2.9 2026-01-23 04:52:39 -05:00
bc80b16e82 chore: bump version to 4.2.8 2026-01-23 04:51:56 -05:00
3360422575 chore: bump version to 4.2.7 2026-01-23 04:27:31 -05:00
e58adcd5fe feat: add unfreeze_on_demand support to all SDKs
Updated Python, JavaScript, Go, Rust, Ruby, Java, and TypeScript SDKs:
- Add unfreeze_on_demand field to Service struct/class
- Add setUnfreezeOnDemand function to toggle setting via PATCH /services/:id
- Add unfreeze_on_demand parameter to createService function
2026-01-22 16:40:36 -05:00
fbd9273c3d feat: update all clients to use api.unsandbox.com/keys/validate
Change key validation endpoint from portal to API across all clients:
- C: Update PORTAL_BASE to API_BASE in validate_api_key()
- Python (sync/async): Change PORTAL_BASE to API_BASE
- Perl: Change $PORTAL_BASE to $API_BASE
- Rust (sync/async): Change hardcoded URL to api.unsandbox.com

All other languages (Go, Java, Kotlin, C#, Ruby, PHP, JavaScript) already
use their makeRequest() function with API_BASE, so no changes needed.

The key subcommand already exists and continues to work with the new endpoint.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-20 03:51:38 -05:00
27e3ee5ffa chore: Bump version to 4.2.5 2026-01-19 14:02:38 -05:00
4b602b8174 chore: Add set-version script and update all clients to 4.2.0
- Add scripts/set-version.sh to update version in all source files
- Add make set-version VERSION=X.Y.Z target
- Updated 11 files: VERSION, C, Python, Lua, Perl, Groovy, JS, Rust
2026-01-18 13:09:10 -05:00
6d91e987ce feat: Full SDK implementations for 8 languages (sync + async)
Complete SDK implementations with full API surface:
- Python: sync/async with all 43 functions
- Go: sync/async with full API
- Java: sync/async with full API
- JavaScript: sync/async with full API
- PHP: sync/async with full API
- Ruby: sync/async with full API
- Rust: sync/async with full API

Added:
- clients/README.md - SDK overview
- clients/CLI_SPEC.md - CLI specification

Removed:
- un_deno.ts (moved to clients/typescript/)
2026-01-15 18:35:43 -05:00
9ab564da60 ci: Disable GitHub Actions workflow temporarily 2026-01-15 17:38:19 -05:00
75f687f12f feat: Complete Python and C SDK implementations with examples and pipeline integration
Python Sync SDK (clients/python/sync/):
- 712 lines core implementation with 13 public APIs
- HMAC-SHA256 authentication with OpenSSL
- 4-tier credential system (args > env > ~/.unsandbox > ./accounts.csv)
- Language caching with 1-hour TTL
- 64+ comprehensive unit tests
- Full documentation (README, USAGE, IMPLEMENTATION)

Python Async SDK (clients/python/async/):
- 705 lines async implementation using aiohttp
- Full async/await pattern support
- Exponential backoff polling strategy
- 200+ test cases with ~95% coverage
- 7 working async examples
- 5 documentation guides

C SDK (clients/c/):
- 823 lines C implementation
- Header file with 15 public functions
- OpenSSL HMAC-SHA256 + libcurl HTTP client
- Language detection for 48 file extensions
- 22/22 tests passing
- Proper memory management

Examples:
- 14 Python examples (7 sync, 7 async) with docstrings
- 4 C examples (hello_world, fibonacci, error_handling, credentials)
- All examples ready for pipeline validation
- Expected outputs documented for validation

Pipeline Integration:
- Updated .gitlab-ci.yml with gcc/musl-dev for C compilation
- Enhanced validate-examples.sh with C compilation support
- Updated detect-changes.sh to recognize python/c changes
- Updated generate-matrix.sh with python/c in matrix
- E2E tests updated with mock Python/C examples
- All tests passing (30+ test cases)

Documentation:
- PYTHON_C_INTEGRATION_SUMMARY.md (452 lines)
- Complete API references for both SDKs
- Quick start guides
- Pattern documentation
- Error handling guides
2026-01-15 16:42:58 -05:00
1e01d09883 feat: per-client Makefile infrastructure for 4-mode testing
Add per-client Makefiles for C, Python, and Go with:
- CLI mode: Tests --help, arg parsing, syntax validation
- Library mode: Unit tests, import verification
- Integration mode: API contract validation (with credentials)
- Functional mode: Real-world scenario tests

C client:
- 22 library tests (SHA-256, HMAC-SHA256, detect_language)
- Full unsandbox.c implementation with examples

Python client (sync + async):
- Delegates to sync/ and async/ subdirectories
- pytest-based test suites with coverage
- Examples for concurrent execution, streaming

Go client:
- Delegates to sync/ and async/ subdirectories
- go test integration with vet and fmt

Also update detect-changes.sh to detect changes in
both root-level un.* files AND clients/ directory.
2026-01-15 16:39:56 -05:00
8acb023bc2 Implement Python asynchronous client SDK
Add complete async Python SDK implementation with all 13 API functions using aiohttp:
- execute_code: Execute code asynchronously
- execute_async: Start async code execution
- get_job: Get job status
- wait_for_job: Poll job with exponential backoff (async)
- cancel_job: Cancel running job
- list_jobs: List all jobs
- get_languages: Get supported languages (1-hour cache)
- detect_language: Detect language from filename extension
- session_snapshot: Create session snapshot (NEW)
- service_snapshot: Create service snapshot (NEW)
- list_snapshots: List all snapshots (NEW)
- restore_snapshot: Restore from snapshot (NEW)
- delete_snapshot: Delete snapshot (NEW)

Features:
- Full async/await support with aiohttp
- 4-tier credentials resolution
- HMAC-SHA256 authentication
- Exponential backoff polling with asyncio.sleep
- Languages cache (1-hour TTL)
- Type hints and comprehensive docstrings
2026-01-15 16:01:39 -05:00