A release about a lighter image and tighter handling of what leaves Shelfmark. The image is smaller, the web process uses less memory, the proxy settings apply across the board, saved passwords stay put, and a download from Activity only sends the file Shelfmark delivered.
Before you upgrade
- Older downloads can't be fetched from Activity. Downloads that finished before 1.8.0 answer
File not found, as does any file changed, moved or replaced after delivery, for example by a tool that writes metadata into it. Your files aren't touched. - Check No Proxy if you use a proxy. More of what Shelfmark sends now goes through it, from startup. A service on your network that you reach by a public hostname needs to be in No Proxy. Local IP addresses, Docker service names and
.local/.lanhosts now always go direct. Certificate Validation now applies to Grimmory and OIDC discovery too. - Custom scripts that call
/usr/bin/python3need a change. Debian's Python is no longer in the image. Use#!/usr/bin/env python3, which finds the Python the image runs on. - Passwords aren't returned by the settings API. Saved password fields come back empty, and leaving one empty keeps it. If you change a service's address and test it, enter the password or API key again.
- rTorrent logins are now sent exactly as typed. If you percent-encoded your username or password to get it to work, enter the real one.
Lighter
- The image is about 70 MB smaller to download, mostly from dropping Mesa and LLVM, which the browser never used. Thanks @DrNgo (#1657) (@splitsec2)
- Supervisor now comes from PyPI and Tk from the system libraries, so the image no longer carries a second Python (#1654, closes #1633) (@splitsec2)
- With the built-in bypasser in Docker, the web process no longer loads the browser library, which saves about 50 MB of memory. Thanks @andriyor (#1784)
Security
- The settings and onboarding APIs no longer return saved password fields. Thanks @ramonvanraaij (#1713)
- A Test button no longer sends a saved password or API key to an address that hasn't been saved. Thanks @ramonvanraaij (#1785, fixes #1716)
- A download from Activity only sends the file Shelfmark delivered, checked against what was recorded when the download finished (#1675, fixes #1661) (@splitsec2)
- Error messages returned by the API have credentials masked (#1771) (@splitsec2)
- A new setting, Run Browser with Sandbox (off by default), runs the bypass browser with Chrome's sandbox on, using the seccomp profile in
compose/(#1776, fixes #1634) (@splitsec2)
Network and proxy
- Outbound web requests follow the proxy and certificate settings, and the proxy environment variables match Settings → Network from startup instead of from the first notification (#1692, fixes #1687 and #1689) (@splitsec2)
- With a SOCKS5 proxy, searches no longer fail when DNS is set to Quad9 or OpenDNS, or Auto moves to one of them. Thanks @hockwill for the report and @saudademjj for the fix (#1783, fixes #1778)
- A SOCKS5 proxy that hangs up or goes quiet partway through a DNS lookup now counts as a failed lookup instead of breaking or stalling the search (#1790) (@splitsec2)
curlin a custom script now goes direct to containers named in your service settings (#1772, fixes #1766) (@splitsec2)- The Tor Routing setting shows whether Tor is running instead of a value saved earlier. Only
USING_TOR=trueturns it on (#1764, fixes #1757) (@splitsec2)
Fixes
- When an owner downloads a release again after it failed for their request, the download goes through the request, so the request no longer stays pending. This also works after the failed download has left the queue (#1770, fixes #1715, and #1779, fixes #1769) (@splitsec2)
- A status check landing during a retry could put the request back to pending while the new download was starting. Thanks @SalmanBarkat (#1765, fixes #1754)
- IRC audiobooks are now requested in the audiobook channel they were found in. Thanks @susheelg1197, and @lacroixdavid1 for spotting it (#1755, fixes #1753)
- Building the frontend from source works again on older x64 CPUs such as the Celeron J3455. Thanks @Qballjos (#1768, fixes #1762)
Under the hood
- New guides for the outbound proxy and the browser sandbox, with updates to the troubleshooting, requests, custom script and plugin docs (#1767) (@splitsec2)
- Python dependency updates, including SeleniumBase 4.58.3 (#1758, #1759)
Full Changelog: v1.7.2...v1.8.0