pypi / aioclamd
aioclamd
What changed in aioclamd 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
2 breaking2 new APIs and options1 tooling5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initaioclamd 110 changes
Breaking changes 2
SCAN, CONTSCAN, and MULTISCAN now reject file paths containing embedded newlines.
Raises the minimum supported Python version to 3.9.
New APIs and options 2
Adds an exception for connection timeouts.
Adds an optional client-side stream-size cap, rather than relying solely on clamd's StreamMaxLength.
Tooling 1
Adds a Dockerfile bundling clamd with the package for local development and integration testing.
Fixes and other changes 5
Importing the package no longer breaks in environments without pkg_resources.
The constructor's timeout argument is now enforced on all ClamdAsyncClient calls.
Reading from the source buffer no longer blocks the event loop.
Fixes missing writer.drain() calls in the stream upload loop.
Bounds the amount of data read from clamd instead of reading until EOF unconditionally.