Skip to content

Releases: ajilach/clamav-rest

Release 20250118

18 Jan 00:31
82744fe
Compare
Choose a tag to compare

Release 20250111

11 Jan 00:30
82744fe
Compare
Choose a tag to compare

0.0.41 (2025-01-11)

Release 20250109

09 Jan 14:32
82744fe
Compare
Choose a tag to compare

0.0.40 (2025-01-09)

New endpoint

This release introduces a new endpoint, /v2/scan that will return a json array with results for the scanned files. See the documentation for more information about the response format.

Deprecation

With the release of this endpoint, the /scan endpoint has been marked as deprecated. It will continue to function for backwards compatibility going forward but will eventually reach sunset. It returns response headers with deprecation information from this release.

Bug fix

A bug when using /scan (and /v2/scan) that returned a 200 OK if the first file in a payload with multiple files, did not contain a detectable virus or malware, regardless if the following files were infected or not, is fixed in this issue.

Closed issues

#23 - When exceeding the MAX_FILE_SIZE using the /scan or /v2/scan endpoints, the connection would just hang until the client reached timeout. This release now detects if the underlying clamav process gets this error and returns a 413 request entity too large error.
#48 - the /v2/scan endpoint formats all responses as json arrays to keep the behavior uniform. In the old /scan endpoint, the client would receive one or more unrelated json objects. If a malformed formpost is sent, with a missing filename, it will return 422 Unprocessable Entity. This error is probably not very likely to occur, since most clients are used at a higher level and this is already done in the library/client code, but before this release, the error was simply swallowed.

Updates

#53 - This release is built on Alpine 3.21 that is using the LTS release 1.4.1 of the ClamAV binary.

Finishing notes

We have tried to keep backwards compatibility intact, but if issues arise, open an issue about it.

Release 20241207

07 Dec 00:34
cfae8ae
Compare
Choose a tag to compare

0.0.39 (2024-12-07)

Release 20241130

30 Nov 00:31
cfae8ae
Compare
Choose a tag to compare

0.0.38 (2024-11-30)

Release 20241123

23 Nov 00:30
cfae8ae
Compare
Choose a tag to compare

0.0.37 (2024-11-23)

Release 20241116

16 Nov 00:31
cfae8ae
Compare
Choose a tag to compare

0.0.36 (2024-11-16)

Release 20241113

13 Nov 07:28
e0e89a9
Compare
Choose a tag to compare

0.0.35 (2024-11-13)

Release 20241109

09 Nov 00:31
f980802
Compare
Choose a tag to compare

0.0.34 (2024-11-09)

Release 20241102

02 Nov 00:29
f980802
Compare
Choose a tag to compare

0.0.33 (2024-11-02)