Releases: RuedigerVoigt/salted
Releases · RuedigerVoigt/salted
0.7.2 beta
- New command line parameter
ignore_urls
(same command in theBEHAVIOR
section of a configfile). Accepts URLs (in the form of comma separated string), that will not be checked. This is useful as some websites always return an error code if you do not use a browser.
0.7.1 beta
- Bugfix: If called via the CLI without a searchpath, the searchpath now correctly defaults to the current working directory.
- Tests for Python 3.10 now run with Beta 4 instead of Beta 3.
0.7.0 beta
- New features:
- Salted can be called within a Python script as a library, or as a standalone script via the command line! Both ways support using a configuration file.
- Check a specific file instead of all supported files within a folder.
- Markdown reports now contain links (instead of bare URLs).
- BREAKING CHANGES:
- The function
check_links()
has been renamed tocheck
and the parameterpath_to_base_folder
is now namedsearchpath
. - If a configfile is present, it overwrites the default settings. however, if salted is used standalone via the command line interface (CLI), arguments on the CLI overwrite the corresponding values in a config file.
- Salted uses head requests as a fast and light query type to check an URL. Some servers do not like head requests. Therefore, salted tried a full request each time a head requests did return an error. This behavior has been tested using a large collection of URLs. In this collection 607 URLs answered a head request with an error code. Only in 5 cases a follow up with a full requests yielded a different result. In the face of this insignificant effect, the functionality for doing a second (full) request has been removed.
- The function
- New dependencies:
- Updated versions of multiple dependencies.
- Added the
pybtext
as a dependency to parse BibTeX files. (next release) - Added sqlalchemy as a dependency.
- Improved code tests:
- Automatic tests now also run with
Python 3.10 beta 3
. - Although the code is designed to be platform independent, tests now also run in a MacOS and a Windows container to be sure there are no issues.
- Automatic tests now also run with
0.6.1
- Log file access errors (like missing permissions) and list them in reports.
- Add time stamp to reports.
- new dependency: compatibility
See CHANGELOG.md for details.
0.6.0
- Add basic support for checking links in Markdown and LaTeX (.tex) files
- Automatic tests with the pytest framework.
0.5.4
- Python 3.9 support
- Set custom user agent