Added
- Implemented `--root` argument to specify the root of the project without
heuristics.
- The linter will complain about licenses without file extensions.
- Deprecated licenses are now recognised. `lint` will complain about deprecated
licenses.
- ProjectReport generation (`lint`, `spdx`) now uses Python multiprocessing,
more commonly called multi-threading outside of Python. This has a significant
speedup of approximately 300% in testing. Because of overhead, performance
increase is not exactly linear.
- For setups where multiprocessing is unsupported or unwanted,
`--no-multiprocessing` is added as flag.
- `addheader` now recognises many more extensions. Too many to list here.
- `addheader` now also recognises full filenames such as `Makefile` and
`.gitignore`.
- Added BibTex comment style.
- Updated translations:
- Dutch (André Ockers, Carmen Bianca Bakker)
- French (OliBug, Vincent Lequertier)
- Galician (pd)
- German (Max Mehl)
- Esperanto (Carmen Bianca Bakker)
- Portuguese (José Vieira)
- Spanish (Roberto Bauglir)
- Turkish (T. E. Kalayci)
Changed
- The linter output has been very slightly re-ordered to be more internally
consistent.
- `reuse --version` now prints a version with a Git hash on development
versions. Towards that end, the tool now depends on `setuptools-scm` during
setup. It is not a runtime dependency.
Removed
- `lint` no longer accepts path arguments. Where previously one could do
`reuse lint SUBDIRECTORY`, this is no longer possible. When linting, you must
always lint the entire project. To change the project's root, use `--root`.
- `FileReportInfo` has been removed. `FileReport` is used instead.
Fixed
- A license that does not have a file extension, but whose full name is a valid
SPDX License Identifier, is now correctly identified as such. The linter will
complain about them, however.
- If the linter detects a license as being a bad license, that license can now
also be detected as being missing.
- Performance of `project.all_files()` has been improved by quite a lot.
- Files with CRLF line endings are now better supported.