Releases: CoolCat467/Scanner-Server
Version 3.1.0
In this release, we update the tests to use checkout v4, update the pre-commit hooks, fix some issues with the README, update the trio
and pillow
dependencies, add more understandable time estimates for very long running scans, add scan error handling and display scan errors instead of crashing the server, add support for integer and floating point number settings, select the first scanner available on default if the default scanner is not found, update scanners asynchronously instead of blocking the server, automatically asynchronously update the device list when the server starts, and finally only show estimated time remaining when said remaining time is not 0 seconds.
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in several pull requests
- Update pillow requirement from ~=10.2.0 to ~=10.3.0 by @dependabot in #76
- Add scan error handling, better settings support, and more readable time estimates by @CoolCat467 in #77
Full Changelog: v3.0.0...v3.1.0
Version 3.0.0
What's Changed
- Follow XDG Directory Specfications and Add Support for SSL by @CoolCat467 in #68
New Contributors
- @CoolCat467 made their first contribution via pull request in #68
Full Changelog: v2.2.3...v3.0.0
Version 2.2.3
In this release, we update dependencies, use the exceptiongroup
module to properly support python versions prior to 3.11 instead of using depreciated trio.MultiError
which itself uses exceptiongroup
, and minor metadata changes.
Basically no major functional changes though since the prior release.
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #64
- [pip dev] (deps-dev): Update pillow requirement from ~=10.1.0 to ~=10.2.0 by @dependabot in #66
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #67
Full Changelog: v2.2.2...v2.2.3
Version 2.2.2
In this release, we update the project metadata, add a message on the scan status page for when the scan is being saved, make sure PIL.Image is able to be imported at runtime without SANE crashing, fix null settings bug, prevent multiple scans from running at once, prevent crashes from being silently ignored, and enable more ruff rules.
Full Changelog: v2.2.1...v2.2.2
Version 2.2.1
Hotfix to support python versions before 3.11.
Full Changelog: v2.2.0...v2.2.1
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
Version 2.1.4
In this update, since 2.1.3 we have updated all the dependencies, fixed the project description, added CONTRIBUTING.md
, and fixed the tests workflow from failing occasionally because apt-get cache wasn't up to date.
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #36
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #37
- [pip dev] (deps-dev): Update tox requirement from ~=4.6.0 to ~=4.8.0 by @dependabot in #38
- [pip dev] (deps-dev): Update mypy requirement from ~=1.4.1 to ~=1.5.0 by @dependabot in #39
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #40
- [pip dev] (deps-dev): Update tox requirement from ~=4.8.0 to ~=4.9.0 by @dependabot in #41
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #42
- [pip dev] (deps-dev): Update tox requirement from ~=4.9.0 to ~=4.10.0 by @dependabot in #43
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #44
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #45
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #46
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #47
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #48
- [pip dev] (deps-dev): Update werkzeug requirement from ~=2.3.3 to ~=3.0.0 by @dependabot in #52
- [pip dev] (deps-dev): Update quart requirement from ~=0.18.4 to ~=0.19.2 by @dependabot in #51
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #53
Full Changelog: v2.1.3...v2.1.4
Version 2.1.3
Drop "support" for python 3.8, it never worked in the first place. Fixed to only support python 3.9 and up.
Changed to using ruff instead of flake8, and added a bunch of extra checks because it's so easy to do so with ruff.
Added python 3.9 to github actions run matrix to ensure we maintain python 3.9 compatibility in the future.
Update a bunch of dependencies.
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #18
- [pip prod] (deps): Bump werkzeug from 2.2.3 to 2.3.2 by @dependabot in #19
- [pip dev] (deps-dev): Bump tox from 4.4.12 to 4.5.1 by @dependabot in #20
- [pip prod] (deps): Bump werkzeug from 2.3.2 to 2.3.3 by @dependabot in #21
- [pip dev] (deps-dev): Update mypy requirement from ~=1.2.0 to ~=1.3.0 by @dependabot in #22
- [pip dev] (deps-dev): Update flake8-bugbear requirement from ~=23.3.23 to ~=23.5.9 by @dependabot in #23
- [pip dev] (deps-dev): Update pytest-cov requirement from ~=4.0.0 to ~=4.1.0 by @dependabot in #24
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #25
- [pip dev] (deps-dev): Update flake8-bugbear requirement from ~=23.5.9 to ~=23.6.5 by @dependabot in #26
- [pip dev] (deps-dev): Update tox requirement from ~=4.5.1 to ~=4.6.0 by @dependabot in #27
- [pip dev] (deps-dev): Update pillow requirement from ~=9.5.0 to ~=10.0.0 by @dependabot in #30
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #31
- [pip dev] (deps-dev): Update flake8-bugbear requirement from ~=23.6.5 to ~=23.7.10 by @dependabot in #32
- [pip dev] (deps-dev): Update black requirement from ~=23.3.0 to ~=23.7.0 by @dependabot in #33
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #34
Full Changelog: v2.1.0...v2.1.3
Version 2.1.0
This release implements the ability to set the host name of the web server, so that if you have custom DNS server settings on your wifi router, this program will still be able to work correctly.
Fixed static file sending, so now static files like the CSS template and the favicon and such can be sent properly. Basically old code made had the static folder live somewhere else and now newer code broke that.
Implemented simple runner script to get the project up and running even faster.
Updated project dependencies
What's Changed
- [pip dev] (deps-dev): Bump flake8-bugbear from 23.3.12 to 23.3.23 by @dependabot in #4
- [pip dev] (deps-dev): Bump tox from 4.4.7 to 4.4.8 by @dependabot in #5
- [pip dev] (deps-dev): Bump flake8-pyi from 23.3.0 to 23.3.1 by @dependabot in #6
- [pip dev] (deps-dev): Bump black from 23.1.0 to 23.3.0 by @dependabot in #7
- [pip prod] (deps): Bump pillow from 9.4.0 to 9.5.0 by @dependabot in #8
- [pip dev] (deps-dev): Bump trio-typing[mypy] from 0.7.0 to 0.8.0 by @dependabot in #9
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #10
- [pip dev] (deps-dev): Bump tox from 4.4.8 to 4.4.11 by @dependabot in #11
- [pip dev] (deps-dev): Bump mypy from 1.1.1 to 1.2.0 by @dependabot in #14
- [pip dev] (deps-dev): Bump pytest from 7.2.2 to 7.3.0 by @dependabot in #12
- [pip prod] (deps): Bump quart from 0.18.3 to 0.18.4 by @dependabot in #13
- [pip dev] (deps-dev): Bump pytest from 7.3.0 to 7.3.1 by @dependabot in #15
- [pip dev] (deps-dev): Bump flake8-pyi from 23.3.1 to 23.4.1 by @dependabot in #17
- [pip dev] (deps-dev): Bump tox from 4.4.11 to 4.4.12 by @dependabot in #16
New Contributors
- @pre-commit-ci made their first contribution in #10
Full Changelog: v2.0.0...v2.1.0
Version 2.0.0
Change code to use python-sane
to interact with the SANE backend instead of running terminal commands, make the website look a bit nicer, and make the server use Jinja server side templates.
What's Changed
- [pip prod]:(deps): Bump hypercorn from 0.13.2 to 0.14.3 by @dependabot in #2
New Contributors
- @dependabot made their first contribution in #1
Full Changelog: v1.0.1...v2.0.0