From d9481cc1f843c093443c9e6dae3438665f7c2af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Wed, 10 Jan 2024 11:50:14 +0100 Subject: [PATCH] Version 3.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- changelog.d/+aiosmtplib-3.fixed.md | 1 - changelog.d/+destinations_modal_close.fixed | 1 - changelog.d/+old-fmn.changed.md | 1 - changelog.d/892.fixed | 1 - changelog.d/895.added | 1 - docs/changelog.md | 19 +++++++++++++++ docs/release.md | 26 +++++++++++---------- pyproject.toml | 2 +- 8 files changed, 34 insertions(+), 18 deletions(-) delete mode 100644 changelog.d/+aiosmtplib-3.fixed.md delete mode 100644 changelog.d/+destinations_modal_close.fixed delete mode 100644 changelog.d/+old-fmn.changed.md delete mode 100644 changelog.d/892.fixed delete mode 100644 changelog.d/895.added diff --git a/changelog.d/+aiosmtplib-3.fixed.md b/changelog.d/+aiosmtplib-3.fixed.md deleted file mode 100644 index 3fa0d79a8..000000000 --- a/changelog.d/+aiosmtplib-3.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Adjust to backwards-incompatible changes in aiosmtplib 3.x diff --git a/changelog.d/+destinations_modal_close.fixed b/changelog.d/+destinations_modal_close.fixed deleted file mode 100644 index 0803cdcca..000000000 --- a/changelog.d/+destinations_modal_close.fixed +++ /dev/null @@ -1 +0,0 @@ -Prevent selecting a destination from closing the modal diff --git a/changelog.d/+old-fmn.changed.md b/changelog.d/+old-fmn.changed.md deleted file mode 100644 index 27dfe7449..000000000 --- a/changelog.d/+old-fmn.changed.md +++ /dev/null @@ -1 +0,0 @@ -Remove the refence to the old FMN on the home page diff --git a/changelog.d/892.fixed b/changelog.d/892.fixed deleted file mode 100644 index dae18a756..000000000 --- a/changelog.d/892.fixed +++ /dev/null @@ -1 +0,0 @@ -Explain where the destinations come from diff --git a/changelog.d/895.added b/changelog.d/895.added deleted file mode 100644 index 10dbeb600..000000000 --- a/changelog.d/895.added +++ /dev/null @@ -1 +0,0 @@ -Add a footer to email notifications with a link to the rule that generated it diff --git a/docs/changelog.md b/docs/changelog.md index f74159ba8..92e3af3e5 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -14,6 +14,25 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang +## [3.3.0](https://github.com/fedora-infra/fmn/tree/3.3.0) - 2024-01-10 + + +### Added + +- Add a footer to email notifications with a link to the rule that generated it [#895](https://github.com/fedora-infra/fmn/issues/895) + + +### Changed + +- Remove the refence to the old FMN on the home page + + +### Fixed + +- Explain where the destinations come from [#892](https://github.com/fedora-infra/fmn/issues/892) +- Adjust to backwards-incompatible changes in aiosmtplib 3.x +- Prevent selecting a destination from closing the modal + ## [3.2.0](https://github.com/fedora-infra/fmn/tree/3.2.0) - 2023-09-21 ### Added diff --git a/docs/release.md b/docs/release.md index 9d4bee7bc..ff84d5b15 100644 --- a/docs/release.md +++ b/docs/release.md @@ -13,13 +13,26 @@ This documents how a release is made. Unless otherwise noted, files are referenced relative to and commands should be executed from the top-level directory of the repository. +### Bump the Version + +Use `poetry version (patch|minor|major|…)` to bump the version in `pyproject.toml`, e.g.: + +``` +$ poetry version patch +``` + +Depending on the nature of changes in the release, choose an appropriate “bump rule” (see `poetry +version --help` for details). + +Run `poetry install --all-extras` to recreate the metadata files. + ### Generate Changelog We want to document what changes between releases. To do that, we use `towncrier` which collates changelog snippets and adds them to `docs/changelog.md`: ``` -$ towncrier build +$ poetry run towncrier build Loading template... Finding news fragments... Rendering news fragments... @@ -37,17 +50,6 @@ Review the changes to `docs/changelog.md`, e.g. using `git diff`. Afterwards, commit the changes to git. The commit should contain the extended `docs/changelog.md` file as well as the snippet files which were removed in the previous step. -### Bump the Version - -Use `poetry version (patch|minor|major|…)` to bump the version in `pyproject.toml`, e.g.: - -``` -$ poetry version patch -``` - -Depending on the nature of changes in the release, choose an appropriate “bump rule” (see `poetry -version --help` for details). - Commit the changes to git. ### Tag the Release diff --git a/pyproject.toml b/pyproject.toml index 0effafd32..b18a06b4e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ [tool.poetry] name = "fmn" -version = "3.2.0" +version = "3.3.0" description = "Fedora Messaging Notifications" authors = [ "Aurélien Bompard ",