From 63c4f920bbed063a44e9db01d1f0cc5fb763ce5c Mon Sep 17 00:00:00 2001 From: Morten Brekkevold Date: Thu, 16 May 2024 14:55:36 +0200 Subject: [PATCH 1/3] Set documentation series to 5.10 --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index eead349e93..e9a943e621 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -58,7 +58,7 @@ # built documents. # # The short X.Y version. -version = 'dev' +version = '5.10' # version = '.'.join(buildconf.VERSION.split('.')[:2]) # The full version, including alpha/beta/rc tags. release = buildconf.VERSION From eb5bb22da06e5d6569ca583bff1d830877abe60f Mon Sep 17 00:00:00 2001 From: Morten Brekkevold Date: Thu, 16 May 2024 15:00:23 +0200 Subject: [PATCH 2/3] Update changelog for 5.10.0 release --- CHANGELOG.md | 40 +++++++++++++++++++-- changelog.d/+pg11.changed | 1 - changelog.d/+py37-deprecation.deprecated.md | 1 - changelog.d/+towncrier-changelog.added.md | 1 - changelog.d/2613.added.md | 1 - changelog.d/2859.changed | 1 - changelog.d/2869.added.md | 1 - changelog.d/2887.added.md | 1 - changelog.d/2888.fixed.md | 1 - changelog.d/2898.fixed.md | 1 - changelog.d/2907.removed.md | 1 - 11 files changed, 38 insertions(+), 12 deletions(-) delete mode 100644 changelog.d/+pg11.changed delete mode 100644 changelog.d/+py37-deprecation.deprecated.md delete mode 100644 changelog.d/+towncrier-changelog.added.md delete mode 100644 changelog.d/2613.added.md delete mode 100644 changelog.d/2859.changed delete mode 100644 changelog.d/2869.added.md delete mode 100644 changelog.d/2887.added.md delete mode 100644 changelog.d/2888.fixed.md delete mode 100644 changelog.d/2898.fixed.md delete mode 100644 changelog.d/2907.removed.md diff --git a/CHANGELOG.md b/CHANGELOG.md index ba7df25ec3..59ddc5a272 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,11 +11,47 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang -## [Unreleased] +## [5.10.0] - 2024-05-16 + + +### Removed + +- Removed references to IRC support channel from documentation, as the channel + is closing down ([#2907](https://github.com/Uninett/nav/issues/2907)) + +### Deprecated + +- Support for Python versions older than 3.9 will be dropped in NAV 5.11. + +### Added + +- New ipdevpoll plugin to fetch ARP cache data from Palo Alto firewall APIs + ([#2613](https://github.com/Uninett/nav/issues/2613)) +- Introduced `towncrier` to aid in collaborative NAV changelog authoring + ([#2869](https://github.com/Uninett/nav/issues/2869)) +- Add library utilities to produce QR codes to arbitrary URLs, for use in + upcoming features ([#2887](https://github.com/Uninett/nav/issues/2887)) +- Added towncrier to automatically produce changelog + +### Changed + +- Change the Docker Compose-based development environment to use more build + caching and avoid running too many things as root + ([#2859](https://github.com/Uninett/nav/issues/2859)) +- Changed required PostgreSQL version to 11 ### Fixed -- Avoid running command line scripts twice on every invocation ([#2877](https://github.com/Uninett/nav/issues/2877), [#2878](https://github.com/Uninett/nav/pull/2878)) +- Avoid running command line scripts twice on every invocation + ([#2877](https://github.com/Uninett/nav/issues/2877), + [#2878](https://github.com/Uninett/nav/pull/2878)) +- Fixed `full-nav-restore.sh` developer helper script that broke after Docker + Compose development was reorganized + ([#2888](https://github.com/Uninett/nav/issues/2888)) +- Fix missing delete icon in form selector labels + ([#2898](https://github.com/Uninett/nav/issues/2898)) + + ## [5.9.1] - 2024-03-15 diff --git a/changelog.d/+pg11.changed b/changelog.d/+pg11.changed deleted file mode 100644 index f98d192eb0..0000000000 --- a/changelog.d/+pg11.changed +++ /dev/null @@ -1 +0,0 @@ -Changed required PostgreSQL version to 11 \ No newline at end of file diff --git a/changelog.d/+py37-deprecation.deprecated.md b/changelog.d/+py37-deprecation.deprecated.md deleted file mode 100644 index 230c2fc8b5..0000000000 --- a/changelog.d/+py37-deprecation.deprecated.md +++ /dev/null @@ -1 +0,0 @@ -Support for Python versions older than 3.9 will be dropped in NAV 5.11. diff --git a/changelog.d/+towncrier-changelog.added.md b/changelog.d/+towncrier-changelog.added.md deleted file mode 100644 index e2f308f312..0000000000 --- a/changelog.d/+towncrier-changelog.added.md +++ /dev/null @@ -1 +0,0 @@ -Added towncrier to automatically produce changelog \ No newline at end of file diff --git a/changelog.d/2613.added.md b/changelog.d/2613.added.md deleted file mode 100644 index 063d0021e2..0000000000 --- a/changelog.d/2613.added.md +++ /dev/null @@ -1 +0,0 @@ -New ipdevpoll plugin to fetch ARP cache data from Palo Alto firewall APIs diff --git a/changelog.d/2859.changed b/changelog.d/2859.changed deleted file mode 100644 index 029cd55e44..0000000000 --- a/changelog.d/2859.changed +++ /dev/null @@ -1 +0,0 @@ -Change the Docker Compose-based development environment to use more build caching and avoid running too many things as root \ No newline at end of file diff --git a/changelog.d/2869.added.md b/changelog.d/2869.added.md deleted file mode 100644 index 9a51bd6933..0000000000 --- a/changelog.d/2869.added.md +++ /dev/null @@ -1 +0,0 @@ -Introduced `towncrier` to aid in collaborative NAV changelog authoring \ No newline at end of file diff --git a/changelog.d/2887.added.md b/changelog.d/2887.added.md deleted file mode 100644 index afb294747b..0000000000 --- a/changelog.d/2887.added.md +++ /dev/null @@ -1 +0,0 @@ -Add library utilities to produce QR codes to arbitrary URLs, for use in upcoming features \ No newline at end of file diff --git a/changelog.d/2888.fixed.md b/changelog.d/2888.fixed.md deleted file mode 100644 index 9220b434a1..0000000000 --- a/changelog.d/2888.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fixed `full-nav-restore.sh` developer helper script that broke after Docker Compose development was reorganized \ No newline at end of file diff --git a/changelog.d/2898.fixed.md b/changelog.d/2898.fixed.md deleted file mode 100644 index 07b73325bb..0000000000 --- a/changelog.d/2898.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix missing delete icon in form selector labels \ No newline at end of file diff --git a/changelog.d/2907.removed.md b/changelog.d/2907.removed.md deleted file mode 100644 index e9e6d6776b..0000000000 --- a/changelog.d/2907.removed.md +++ /dev/null @@ -1 +0,0 @@ -Removed references to IRC support channel from documentation, as the channel is closing down From d5ecc6cac8bc6b818b5305339b2791b74adb3a59 Mon Sep 17 00:00:00 2001 From: Morten Brekkevold Date: Thu, 16 May 2024 15:07:20 +0200 Subject: [PATCH 3/3] Look at more of changelog to find version number The introduction in CHANGELOG.md has grown larger since towncrier was introduced, it is no longer good enough to look only at the first 10 lines to find the latest version. --- version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.sh b/version.sh index 5959ca0451..08867eaa4d 100755 --- a/version.sh +++ b/version.sh @@ -29,7 +29,7 @@ get_version() { } get_version_from_changelog() { - head -n10 CHANGELOG.md | awk '/^## \[[0-9]/ { print $2 }' | tr -d '[]' + head -n15 CHANGELOG.md | awk '/^## \[[0-9]/ { print $2 }' | tr -d '[]' } git_tag_exists() {