Reuse

Latest version: v3.0.2

Safety actively analyzes 630169 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

0.12.0

This release was delayed due to the absence of the lead developer (Carmen, me,
the person writing these release notes). Many thanks to Max Mehl for
coordinating the project in my absence. Many thanks also to the contributors who
sent in pull requests, in reverse chronological order: Olaf Meeuwissen, Mikko
Piuola, Wolfgang Traylor, Paul Spooren, Robert Cohn, ethulhu, pukkamustard, and
Diego Elio Pettenò.

Added

- Separate Docker image with additional executables installed
(`fsfe/reuse:latest-extra`) (238)
- Allow different styles of copyright lines: SPDX (default), String, String (C),
String ©, and © (248)
- Convenience function to update resources (SPDX license list and exceptions)
(268)
- More file types are recognised:
- ClojureScript (`.cljc`, `.cljs`)
- Fortran (`.F`, `.F90`, `.f90`, `.f95`, `.f03`, `.f`, `.for`)
- Makefile (`.mk`)
- PlantUML (`.iuml`, `.plantuml`, `.pu`, `.puml`)
- R (`.R`, `.Renviron`, `.Rprofile`)
- ReStructured Text (`.rst`)
- RMarkdown (`.Rmd`)
- Scheme (`.scm`)
- TypeScript (`.ts`)
- TypeScript JSX (`.tsx`)
- Windows Batch (`.bat`)
- More file names are recognised:
- .dockerignore
- Gemfile
- go.mod
- meson.build
- Rakefile

Changed

- Use UTF-8 explicitly when reading files (242)

Fixed

- Updated license list to 3.11.

0.11.1

Fixed

- Similar to CAL-1.0 and CAL-1.0-Combined-Work-Exception, SHL-2.1 is now ignored
because it contains an SPDX tag within itself.

0.11.0

Added

- Added `--skip-unrecognised` flag to `addheader` in order to skip files with
unrecognised comment styles instead of aborting without processing any file.

Changed

- Always write the output files encoded in UTF-8, explicitly. This is already
the default on most Unix systems, but it was not on Windows.
- All symlinks and 0-sized files in projects are now ignored.

Fixed

- The licenses CAL-1.0 and CAL-1.0-Combined-Work-Exception contain an SPDX tag
within themselves. Files that are named after these licenses are now ignored.
- Fixed a bug where `addheader` wouldn't properly apply the template on
`.license` files if the `.license` file was non-empty, but did not contain
valid SPDX tags.

0.10.1

Fixed

- Updated license list to 3.8-106-g4cfec76.

0.10.0

Added

- Add support for autoconf comment style (listed as m4).
- More file types are recognised:
- Cython (`.pyx`, `.pxd`)
- Sass and SCSS (`.sass`, `.scss`)
- XSL (`.xsl`)
- Mailmap (`.mailmap`)
- Added `--single-line` and `--multi-line` flags to `addheader`. These flags
force a certain comment style.

Changed

- The Docker image has an entrypoint now. In effect, this means running:
`docker run -v $(pwd):/data fsfe/reuse lint` instead of
`docker run -v $(pwd):/data fsfe/reuse reuse lint`.

0.9.0

Added

- Added support for Mercurial 4.3+.
- A pre-commit hook has been added.
- When an incorrect SPDX identifier is forwarded to `download` or `init`, the
tool now suggests what you might have meant.

Changed

- Under the hood, a lot of code that has to do with Git and Mercurial was moved
into its own module.
- The Docker image has been changed such that it now automagically runs
`reuse lint` on the `/data` directory unless something else is specified by
the user.

Fixed

- Fixed a bug with `addheader --explicit-license` that would result in
`file.license.license` if `file.license` already existed.
- Fixed a Windows-only bug to do with calling subprocesses.
- Fixed a rare bug that would trigger when a directory is both ignored and
contains a `.git` file.

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.