v6.1.0
RoZod v6.1.0
✨ New Features
Server Configuration for Node.js/Bun/Deno
No more passing cookies and headers on every request! Configure once at startup:
import { configureServer, fetchApi } from 'rozod';
// Single account
configureServer({ cookies: 'your_roblosecurity_cookie' });
// Multiple accounts with automatic rotation
configureServer({
cookies: ['account1_cookie', 'account2_cookie', 'account3_cookie'],
cookieRotation: 'round-robin', // or 'random', 'none'
});
// OpenCloud API key
configureServer({ cloudKey: 'your_opencloud_api_key' });
// All requests now automatically include auth!
const data = await fetchApi(endpoint, params);Cookie Pool - Use multiple Roblox accounts for load distribution or fallback with configurable rotation modes (round-robin, random, none).
OpenCloud API Key - Automatically applies x-api-key header to OpenCloud endpoints (apis.roblox.com/cloud/...).
User-Agent Pool - Built-in browser user-agents applied automatically in server environments. Customize or disable as needed.
See the README for full documentation.
📦 Updated Endpoints
- Pre-bundled classic and OpenCloud endpoints updated to latest Roblox API specifications
🐛 Bug Fixes
- URL encoding: Query parameters are now properly URL-encoded
- JSON body handling: Fixed method case comparison that could prevent JSON body serialization
- Cookie parsing: Fixed regex escaping for
.ROBLOSECURITYcookie extraction - Retry limits: Added max retry limits (3) for CSRF token and challenge handling to prevent infinite loops
- Cache store: Fixed
ChromeStore.all()incorrectly calling.filter()on an object - Serialization: Unknown serialization styles now fallback to comma-delimited instead of undefined
🧪 Testing
- Added 33 new tests for server configuration (59 total tests)
Full Changelog: v6.0.1...v6.1.0