Releases: dsecurity49/Intent-Bus-sdk
v2.1.2: CLI Overhaul, Protocol v2.1 Sync, and Robustness Patches
Overview
Version 2.1.2 is a major stabilization and Developer Experience (DX) release. It brings the SDK fully in sync with the Intent Protocol v2.1 specifications, completely overhauls the command-line interface for production operations, and patches several critical data-handling edge cases.
Features & CLI Overhaul
The intent-bus CLI has been transformed into a first-class operator utility:
- Full Protocol Parity: The
publishcommand now supports all advanced protocol arguments, including--priority,--delay,--max-attempts,--backoff,--target,--capability, and--idempotency. - Operational Visibility: Added
statusandresultcommands to audit job states and easily retrieve formatted fulfillment payloads directly from the terminal. - Targeted Topologies: Added a
--publisherfilter to thelistencommand, allowing workers to exclusively claim jobs from specific high-trust API keys. - Enterprise Polish: Added standard
--versionflag support and clean visual dividers for terminal payload outputs.
Critical Bug Fixes
- Fulfillment Payload Integrity (Breaking Bug Fix): Fixed a silent data-loss regression where custom dictionary fields returned by worker handlers were being aggressively stripped. Handlers can now safely return extended metadata without losing custom keys.
- KV Store Type Safety: Restored defensive parsing guards in
sync.pyto prevent scalar primitive strings (like"123"or"false") from mutating into integers or booleans when retrieved from the server. - RFC-Compliant Rate Limiting: The Transport layer now safely parses HTTP-date formatted timestamps (e.g.,
Tue, 02 Jun 2026...) insideRetry-Afterheaders instead of crashing, falling back smoothly when standard delta-seconds aren't provided by proxies. - Lambda Late-Binding Crash: Fixed a highly specific
NameErrorinside the worker runtime orchestrator caused by exception variable cleanup occurring before retry-engine closures executed.
Internal Refactoring & Security
- Protocol Synchronization: The SDK is now officially locked to expect
X-Intent-Version: 2.1, ensuring cryptographic lock isolation is strictly enforced between client and server. - Python 3.10 Optimizations: Upgraded internal worker result parsing from LBYL (
isinstancechains) to EAFP using highly optimizedmatch/casestructural pattern matching. - Documentation Update: Updated
SECURITY.mdandREADME.mdto reflect full v2.1.1+ support and the new architectural models.
Full Changelog: https://github.com/dsecurity49/Intent-Bus-sdk/commits/v2.1.2
Intent Bus SDK v2.1.0 - Production Stability Release
Intent Bus SDK v2.1.0 - Production Stability Release
Release Overview
Intent Bus SDK v2.1.0 introduces production-grade stability enhancements with comprehensive protocol enforcement, resilient transport mechanisms, and a hardened worker runtime. This release implements Intent Protocol v2.1 with improved lease management semantics and strict data model validation.
Key Improvements
- Resilient transport layer with connection pooling and full-jitter backoff
- Strict immutable protocol models (frozen dataclasses)
- WorkerRuntime for orchestration and error handling
- Native Key-Value store support for distributed state
- Production-ready CLI with payload redaction
- Strict JSON RFC compliance with protocol validation
Breaking Changes
Upgrading from v1.x requires code updates:
- Fulfill method now requires explicit keyword arguments
- Job models require dot-notation access instead of dictionary access
- Strict JSON enforcement rejects NaN and Infinity values
See migration guide for details.
Installation
pip install --upgrade intent-busSupported Versions
- Python 3.10, 3.11, 3.12
- License: MIT
For more information, visit: https://github.com/dsecurity49/Intent-Bus-sdk