Version 2.2.0
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
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #54
- [pip dev] (deps-dev): Update pillow requirement from ~=10.0.1 to ~=10.1.0 by @dependabot in #55
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #56
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #58
- [pip dev] (deps-dev): Update hypercorn[trio] requirement from ~=0.14.4 to ~=0.15.0 by @dependabot in #59
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #60
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #62
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #63
Full Changelog: v2.1.4...v2.2.0