Releases: qx6ghqkz/gallery-dl-server
Releases · qx6ghqkz/gallery-dl-server
v0.6.0
Changes
- Load configuration files from the current directory when run as an executable
- Add support for YAML and TOML configuration files and convert default configuration file into those formats - see docs
- Generate new configuration file locations for files with
.yaml
,.yml
and.toml
extensions - see README - Log more verbose error messages for exceptions that occur when loading configuration files
- If no configuration file can be loaded, exit the download process immediately and return exit code 1
- Log Windows paths without escaped backslashes
- Add checks for both Docker and Kubernetes container environments
- Bump minimum supported Python version to 3.12
- Display gallery-dl-server version number in web UI
- Open all web UI links in a new tab
Docker Image: GitHub Container Registry / Docker Hub
Full Changelog: v0.5.2...v0.6.0
v0.5.2
Changes
- Prevent logging error caused by arguments still being present in the log record when attempting to format gallery-dl log messages for the second time
- Send
SIGKILL
signal to ensure download process terminates on Unix-like systems
Docker Image: GitHub Container Registry / Docker Hub
Full Changelog: v0.5.1...v0.5.2
v0.5.1
Changes
- Remove checks for
/.dockerenv
for compatibility with other container environments such as Kubernetes - Fix: return exit code from the download subprocess
Docker Image: GitHub Container Registry / Docker Hub
Full Changelog: v0.5.0...v0.5.1
v0.5.0
Changes
- Make package compatible with PyInstaller and create a standalone executable for Windows. See the README
- Ensure gallery-dl log messages are logged with the correct log level
- Remove level names from the default gallery-dl log format configuration as these are now accurately assigned by the main logger
- Make log message level names lower case for readability
- Make sure log file is streamed as plain text
- Handle generic exceptions for gallery-dl downloads and return -1 exit code
Docker Image: GitHub Container Registry / Docker Hub
Full Changelog: v0.4.0...v0.5.0
v0.4.0
Changes
- Convert the program into a package with separate modules
- Support running directly with uvicorn via
python -m uvicorn gallery_dl_server:app
and as a package viapython -m gallery_dl_server
- Update default configuration file with more options and better formatting
- Support loading from multiple configuration file locations: if loading is a success, log the list of config files loaded; if no file is found, log the full list of valid config file paths
- Use the default gallery-dl configuration file locations if not running in the Docker container
- Only copy the default configuration file into the directory mounted to
/config
inside the Docker container if none of the multiple valid configuration files exist - Fix for Web-UI override options
- Configure logging for gallery-dl after the config file is loaded to allow gallery-dl log messages to be configured within the config file
- Add support for writing unsupported URLs to an "unsupported file" if a path is specified in the config file
- Exception handling for the gallery-dl download job logs the name of the exception and the correct exit code
- Ensure the download process stdout is flushed each time it is written to so that log messages arrive in the right order
- In the Docker container, save a backup copy of the log file on server shutdown to
/config/logs
appended with the date and time - Force the file handler to open the log file with UTF-8 encoding for compatibility
Docker image: Docker Hub / GitHub
Full Changelog: v0.3.3...v0.4.0
v0.3.3
Changes
- Log the entries added and removed from the config dict when selecting overriding options
Docker image: Docker Hub / GitHub
Full Changelog: v0.3.2...v0.3.3
v0.3.2
Changes
- On container startup, remove orphaned
hosts
,hostname
andresolv.conf
networking files from the directory mounted to/config
if it was previously mounted to/etc
Docker image: Docker Hub / GitHub
Full Changelog: v0.3.1...v0.3.2
v0.3.1
Changes
- Default config file will now be moved into the directory mounted at
/config
if no config file exists in that location - Show target file path in logs when warning that the file already exists or is recorded in a download archive
Docker image: Docker Hub / GitHub
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Changes
- (Breaking change) New config file target location
/config/gallery-dl.conf
instead of/etc/gallery-dl.conf
. Mount the directory containing your config file to/config
inside the container. See the README and committed changes. - Added environment variables
UID
andGID
for changing the user ID and group ID of the user running the server process.
Detailed explanation of changes
Docker image: Docker Hub / GitHub
Full Changelog: v0.2.1...v0.3.0
v0.2.1
Changes
- Optimised Docker image size
Docker image: Docker Hub / GitHub
Full Changelog: v0.2.0...v0.2.1