Releases: ScholliYT/Broken-Links-Crawler-Action
Release list
Maintenance release with updated base image
- updated docker base image from
python:3.11-slim-bustertopython:3.11-slim - old debian buster image caused TLS verification to fail for newer certificates. Its a good idea to keep the base image up to date for this action anyway.
Maintenance release with updated dependencies
What's Changed
- Bump several dependencies to newer versions
- Reduced Python versions in CI checks to just Python 3.11
Full Changelog: v3.3.0...v3.3.1
Fix HTTP redirects
Log formatting fix and deps updates
This (delayed) release fixes #35 which caused links to be displayed with a trailing dot making them invalid in the logs when clicked on in your browser.
Additionally, some dependencies are updated.
Fix startup crash
This release fixes the fatal crash at the start of this action ModuleNotFoundError: No module named 'validators' (see this run). This was caused by changing docker workdirs from action build to execution time. At execution time the previously built poetry venv was not found and a new one was created. Obviously, this new one was missing all the dependencies. To solve this a fixed path to the poetry venv cache was added.
Infrastructure: update Python version to 3.11 and use Poetry
This release updates the infrastructure behind Broken-Links-Crawler-Action. There are no additional features added.
The following changes were made:
- Use Python 3.11 by default in the CI Action
- Test compatibility with Python 3.8, 3.9, 3.10 and 3.11
- Use Python Poetery as package manager instead of plain pip
- Updated several dependencies
Display navigation path to broken URL
This release fixes some bugs and brings new features as listed below.
Features
- Display the navigation path to the broken URL.
- Example output:
::error ::ClientError: 400 - http://subpage.testing.test.com/page1. Found by navigating through: http://testing.test.com/ -> http://subpage.testing.test.com/. - We store the URLs as a linked list of URL objects
- Example output:
Other
- Fixed some typos in the Readme
- Added GitHub CodeQL Action to scan the codebase
- Added a .dockerignore file to reduce Docker image size
- Changed maximum allowed line length of 120
- Mypy
- Updated
mypyto version v0.971 - Installed
aiohttp-retryplugin for mypy - Used
ClientTypefromaiohttp-retryinstead ofClientSessionfrom aiohttp.
- Updated
Fix for timeouts, head not supported, relative links
Fixing Github action not working
There was n error in v3.0.0 which led to the Action not working at all. The python module 'deadseeker.action' was not found. This got fixed in v3.0.1.