diff --git a/VERSION b/VERSION index cf27138..ac3b949 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.2.16 +4.2.17 diff --git a/clients/c/src/un.c b/clients/c/src/un.c index 360ba3c..7f434b5 100644 --- a/clients/c/src/un.c +++ b/clients/c/src/un.c @@ -6013,7 +6013,7 @@ void print_usage(const char *prog) { * ============================================================================ */ const char *unsandbox_version(void) { - return "4.2.16"; + return "4.2.17"; } const char *unsandbox_detect_language(const char *filename) { diff --git a/clients/groovy/sync/src/un.groovy b/clients/groovy/sync/src/un.groovy index 1f2d6ed..7b3e607 100644 --- a/clients/groovy/sync/src/un.groovy +++ b/clients/groovy/sync/src/un.groovy @@ -72,7 +72,7 @@ * * * @author Permacomputer Project - * @version 4.2.16 + * @version 4.2.17 */ import javax.crypto.Mac diff --git a/clients/javascript/async/package.json b/clients/javascript/async/package.json index 6bfa724..a40e67a 100644 --- a/clients/javascript/async/package.json +++ b/clients/javascript/async/package.json @@ -1,6 +1,6 @@ { "name": "un-async", - "version": "4.2.16", + "version": "4.2.17", "description": "Unsandbox async JavaScript SDK - Execute code in 50+ languages", "main": "src/un_async.js", "type": "module", diff --git a/clients/javascript/sync/package.json b/clients/javascript/sync/package.json index b22fea8..7737d3c 100644 --- a/clients/javascript/sync/package.json +++ b/clients/javascript/sync/package.json @@ -1,6 +1,6 @@ { "name": "un-sync", - "version": "4.2.16", + "version": "4.2.17", "description": "unsandbox.com JavaScript SDK (Isomorphic - Node.js + Browser)", "type": "module", "main": "src/un.js", diff --git a/clients/lua/sync/src/un.lua b/clients/lua/sync/src/un.lua index 400362f..fe6e5b9 100644 --- a/clients/lua/sync/src/un.lua +++ b/clients/lua/sync/src/un.lua @@ -15,7 +15,7 @@ local ltn12 = require("ltn12") local Un = {} Un.API_BASE = "https://api.unsandbox.com" -Un.VERSION = "4.2.16" +Un.VERSION = "4.2.17" -- Credential loading function Un.load_accounts_csv(path) diff --git a/clients/perl/sync/src/un.pl b/clients/perl/sync/src/un.pl index 9752169..c537364 100644 --- a/clients/perl/sync/src/un.pl +++ b/clients/perl/sync/src/un.pl @@ -47,7 +47,7 @@ use Digest::HMAC_SHA256 qw(hmac_sha256_hex); use File::HomeDir; use Time::HiRes qw(time sleep); -our $VERSION = "4.2.16"; +our $VERSION = "4.2.17"; our $API_BASE = 'https://api.unsandbox.com'; # Credential system diff --git a/clients/python/async/setup.py b/clients/python/async/setup.py index 68692d2..dac4a0a 100644 --- a/clients/python/async/setup.py +++ b/clients/python/async/setup.py @@ -7,7 +7,7 @@ from setuptools import setup, find_packages setup( name="unsandbox-async", - version="4.2.16", + version="4.2.17", description="Asynchronous Python SDK for unsandbox.com code execution", long_description=open("README.md").read() if False else "Async Python SDK for unsandbox code execution", author="unsandbox.com", diff --git a/clients/python/sync/setup.py b/clients/python/sync/setup.py index 7b4a954..31fca4b 100644 --- a/clients/python/sync/setup.py +++ b/clients/python/sync/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r", encoding="utf-8") as fh: setup( name="unsandbox", - version="4.2.16", + version="4.2.17", author="Unsandbox", description="Synchronous Python SDK for unsandbox.com code execution", long_description=long_description, diff --git a/clients/python/sync/src/__init__.py b/clients/python/sync/src/__init__.py index 10d9d54..5075053 100644 --- a/clients/python/sync/src/__init__.py +++ b/clients/python/sync/src/__init__.py @@ -27,7 +27,7 @@ from .un import ( CredentialsError, ) -__version__ = "4.2.16" +__version__ = "4.2.17" __all__ = [ "execute_code", "execute_async", diff --git a/clients/rust/async/Cargo.toml b/clients/rust/async/Cargo.toml index d88aec2..4c68eb9 100644 --- a/clients/rust/async/Cargo.toml +++ b/clients/rust/async/Cargo.toml @@ -7,7 +7,7 @@ [package] name = "un-async" -version = "4.2.16" +version = "4.2.17" edition = "2021" authors = ["unsandbox.com"] description = "Asynchronous Rust SDK for unsandbox.com secure code execution API" diff --git a/clients/rust/sync/Cargo.toml b/clients/rust/sync/Cargo.toml index a1f87f5..bb73824 100644 --- a/clients/rust/sync/Cargo.toml +++ b/clients/rust/sync/Cargo.toml @@ -7,7 +7,7 @@ [package] name = "un-sync" -version = "4.2.16" +version = "4.2.17" edition = "2021" authors = ["unsandbox.com"] description = "Synchronous Rust SDK for unsandbox.com secure code execution API" diff --git a/scripts/test-sdk.sh b/scripts/test-sdk.sh index 8f8d6ae..2838d45 100755 --- a/scripts/test-sdk.sh +++ b/scripts/test-sdk.sh @@ -284,10 +284,11 @@ run_test "exec_network" \ "network-ok" # Test 1.5: Execute SDK file in sandbox (inception) -# Note: May fail with syntax errors due to shebangs/imports - that's ok +# Runs the SDK file inside unsandbox - tests that the interpreter can load/parse the SDK +# Expected: help/usage output, or interpreter errors (all acceptable) run_test "exec_sdk_inception" \ - "build/un -n semitrusted -e UNSANDBOX_PUBLIC_KEY=\$UNSANDBOX_PUBLIC_KEY -e UNSANDBOX_SECRET_KEY=\$UNSANDBOX_SECRET_KEY -s '$LANG' '$SDK_FILE' 2>&1 || echo 'attempted'" \ - "usage|help|unsandbox|error|Error|syntax|unexpected|import|require|module|attempted|Illegal|division|Exception|Property|Method|Compilation|expected|package|found" + "build/un -n semitrusted -e UNSANDBOX_PUBLIC_KEY=\$UNSANDBOX_PUBLIC_KEY -e UNSANDBOX_SECRET_KEY=\$UNSANDBOX_SECRET_KEY '$SDK_FILE' 2>&1 || echo 'attempted'" \ + "usage|help|unsandbox|Usage|error|Error|attempted" echo ""