microsandbox-v0.2.1
superradcompany/microsandboxmicrosandbox-v0.2.1May 21, 2025by appcypher
AI Summary
This patch release (0.2.1) focuses on improving crates.io publishing reliability with better error handling, and makes refinements to the Python SDK including parameter renaming and simplified JWT handling.
Key Highlights
- Improved crates.io publishing reliability with graceful error handling for 'already exists' errors and fallback HTTP checks
- Fixed Node.js engine parameter shadowing issue
- Renamed `sandbox_name` parameter to `name` throughout Python SDK for better clarity
- Simplified JWT handling by preserving full JWT tokens and removing header constants
- Added user prompt for timeout cases during publishing
Breaking Changes
- Python SDK: `sandbox_name` parameter renamed to `name` - existing code using `sandbox_name` will need updating
- Python SDK: JWT header constants and parsing logic removed
New Features
- Handle 'already exists' errors gracefully and continue publishing
- Add fallback HTTP check for package availability
- Improve API response validation and debugging output
- Track already published packages to skip redundant wait checks
- Add user prompt for timeout cases
- Simplify JWT/API key conversion by preserving full JWT token
Full Release Notes
## [0.2.1](https://github.com/microsandbox/microsandbox/compare/microsandbox-v0.2.0...microsandbox-v0.2.1) - (2025-21-05) ### Fixed - Improve crates.io publishing reliability and error handling - Handle "already exists" errors gracefully and continue publishing - Add fallback HTTP check for package availability - Improve API response validation and debugging output - Track already published packages to skip redundant wait checks - Add user prompt for timeout cases - Temporarily disable strict error handling during publishing - Fix version check in API response parsing - Fix Node.js engine parameter shadowing ### Changed - Update version in Cargo.toml workspace package - Update internal dependency versions - Update install script default version - Reorder workspace members - Simplify JWT handling and improve SDK naming - Rename `sandbox_name` parameter to `name` in Python SDK - Simplify JWT/API key conversion by preserving full JWT token - Remove JWT header constants and parsing logic - Rename `sandbox_name` to `name` throughout Python SDK for better clarity - Bump Python SDK version to 0.1.6