Repository navigation
Async Batcher 0.3.0 #186
hussein-awala
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Async Batcher 0.3.0 adds bounded streaming, callable processors, compatible request groups, and new database and messaging adapters. It also fixes cancellation, shutdown, result routing, and resource ownership across the core and existing adapters. The core retains zero runtime dependencies; install backend clients only through the extras you need.
python -m pip install 'async-batcher==0.3.0'Read the 0.3.0 documentation and migration guide before upgrading from 0.2.2.
Significant changes and upgrade notes
max_batch_size=1is now supported. Process and interpreter pool executors are rejected because they cannot share the batcher's event-loop state. The existing limit defaults remain unchanged; replace the retainedbatch_sizealias withmax_batch_size. #103, #106Tableupdates and UPDATE RETURNING are rejected. DynamoDB enables TLS by default, enforces service batch-count limits, and retries unprocessed requests with bounded backoff. Recheck application retry policies and corrected per-item result behavior during migration. #54, #56, #58, #62, #72Features
AsyncBatcher.from_callableand use async context managers for cleanup. #124mapandmap_outcomes; choose input or completion order and retain indexed per-item outcomes. Admission can wait for queue capacity with its own timeout. #127, #136py.typed. #128, #131, #134, #138, #143Fixes
StopIterationwithout hanging requests. Startup failures no longer leave requests queued for unintended later execution. #65, #73, #75, #95, #99, #167Documentation, examples, and maintenance
Contributors
Thanks to @hussein-awala for this release's implementation and maintenance work.
Full changelog: 0.2.2...0.3.0
This discussion was created from the release Async Batcher 0.3.0.
All reactions