Skip to content

Version 2.2.0

Compare
Choose a tag to compare
@CoolCat467 CoolCat467 released this 23 Nov 06:24
· 100 commits to main since this release

In this release, we update the dependencies, add cool stickers to the readme, make the version dynamic, add a nice error handling page, fix spelling, and add the new scan-status page.

We changed the way a scan request is processed in a major way. Instead of bringing the webserver to a grinding hault when the sane backend module (which is synchronous) is preforming a scan, instead we use trio.to_thread to keep the webserver running and run the scan in a separate thread. Since scanning is now done asynchronously, we redirect the user to a page with a meta refresh tag so it will automatically reload itself, which means we can finally use the progress argument the backend supplies and display almost real-time updates of the status of the scan, and once it's done, the server will automatically redirect you to the resulting scan image like it used to. This is great because then the web-browser isn't stuck loading the page forever and doesn't time out if the scan is really big.

What's Changed

Full Changelog: v2.1.4...v2.2.0