Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.1.0 #802

Merged
merged 5 commits into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.0.0
current_version = 2.1.0
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?P<release>(a|b|rc)?)(?P<releasenumber>\d*)
Expand Down
39 changes: 38 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,44 @@ CLI command and its behaviour. There are no guarantees of stability for the

### Added

### Changed

### Deprecated

### Removed

### Fixed

### Security

## 2.1.0 - 2023-07-18

After the yanked 2.0.0 release, we're excited to announce our latest major
version packed with new features and improvements! We've expanded our file type
recognition, now including Fennel, CommonJS, Qt .pro, .pri, .qrc, .qss, .ui,
Textile, Visual Studio Code workspace, Application Resource Bundle, Svelte
components, AES encrypted files, Jakarta Server Page, Clang format, Browserslist
config, Prettier config and ignored files, Flutter pubspec.lock, .metadata,
Terraform and HCL, Typst and more.

We've also added the ability to detect SPDX snippet tags in files and introduced
additional license metadata for the Python package. A new `--json` flag has been
added to the `lint` command, marking the first step towards better integration
of REUSE output with other tools.

On the changes front, we've bumped the SPDX license list to v3.21 and made
significant updates to our Sphinx documentation. Please note that Python 3.6 and
3.7 support has been dropped in this release.

We've fixed several issues including automatic generation of Sphinx
documentation via readthedocs.io and a compatibility issue where reuse could not
be installed if gettext is not installed.

This update is all about making your experience better. Enjoy adding copyright
and licensing information to your code!

### Added

- Detect SPDX snippet tags in files. (#699)
- More file types are recognised:
- Fennel (`.fnl`) (#638)
Expand Down Expand Up @@ -90,7 +128,6 @@ CLI command and its behaviour. There are no guarantees of stability for the
- Removed dependency on setuptools' `pkg_resources` to determine the installed
version of reuse. (#724)
- Bumped SPDX license list to v3.21. (#763)
- Bumped REUSE Spec version to 3.1. (#768)
- `Project.reuse_info_of` now returns a list of `ReuseInfo` objects instead of a
single one. This is because the source information is now stored alongside the
REUSE information. (#787)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ Git. This uses [pre-commit](https://pre-commit.com/). Once you
```yaml
repos:
- repo: https://github.com/fsfe/reuse-tool
rev: v2.0.0
rev: v2.1.0
hooks:
- id: reuse
```
Expand Down
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
#
import os
import sys
from importlib.metadata import PackageNotFoundError, version as get_version
from importlib.metadata import PackageNotFoundError
from importlib.metadata import version as get_version
from shutil import copyfile

sys.path.insert(0, os.path.abspath("../src/"))
Expand Down Expand Up @@ -75,7 +76,7 @@
# The full version, including alpha/beta/rc tags.
release = get_version("reuse")
except PackageNotFoundError:
release = "2.0.0"
release = "2.1.0"

# The short X.Y.Z version.
version = ".".join(release.split(".")[:3])
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

[tool.poetry]
name = "reuse"
version = "2.0.0"
version = "2.1.0"
description = "reuse is a tool for compliance with the REUSE recommendations."
authors = [
"Free Software Foundation Europe <contact@fsfe.org>",
Expand Down
4 changes: 2 additions & 2 deletions src/reuse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
__version__ = version("reuse")
except PackageNotFoundError:
# package is not installed
__version__ = "2.0.0"
__version__ = "2.1.0"

__author__ = "Carmen Bianca Bakker"
__email__ = "carmenbianca@fsfe.org"
__license__ = "Apache-2.0 AND CC0-1.0 AND CC-BY-SA-4.0 AND GPL-3.0-or-later"
__REUSE_version__ = "3.1"
__REUSE_version__ = "3.0"

_LOGGER = logging.getLogger(__name__)

Expand Down