From fe8c84b4c1971af44b1b165be6ab337966fb3eec Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 4 Mar 2022 16:28:35 +0100 Subject: [PATCH 1/5] Update mailmap --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index 639267c6e..3b63aa0e1 100644 --- a/.mailmap +++ b/.mailmap @@ -38,3 +38,4 @@ Thomas Gelf Thomas Gelf Thomas Gelf Yonas Habteab +Ravi Kumar Kempapura Srinivasa <33730024+raviks789@users.noreply.github.com> From 7b191b3a1a690aee5838ec0fd4de5e0503c06b4d Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 4 Mar 2022 16:31:45 +0100 Subject: [PATCH 2/5] Update CHANGELOG --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f57f375f..0876be383 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,42 @@ Please make sure to always read our [Upgrading](doc/80-Upgrading.md) documentati ## What's New +### What's New in Version 2.10.0 + +You can find all issues related to this release on our [Roadmap](https://github.com/Icinga/icingaweb2/milestone/63?closed=1). + +Please make sure to also check the respective [upgrading section](https://icinga.com/docs/icinga-web-2/latest/doc/80-Upgrading/#upgrading-to-icinga-web-2-210x) +in the documentation. + +#### The Appearance of Dark and Light + +We have already spoken a lot about the [theme mode support](https://icinga.com/blog/2021/06/16/introducing-dark-and-light-theme-modes/) +that we were working on [for some time](https://icinga.com/blog/2022/02/10/icinga-web-not-just-black-and-white/) now. +It was planned for v2.9.0, but in respect of many modules and themes out there we gave it the deserved attention. +Below is a glimpse of what this looks like. + +[![Icinga Web 2 Theme Mode Preview](https://icinga.com/wp-content/uploads/2022/03/theme-mode-demo-small.jpg "Icinga Web 2 Theme Mode Preview")](https://icinga.com/wp-content/uploads/2022/03/theme-mode-demo.jpg) + +#### Custom Variables Shown Unaltered – Or not + +Icinga Web 2 had some bad habits when displaying custom variables in the UI. We've driven out the last one regarding +names now. Uppercase characters are now shown as such. What Icinga Web 2 stopped doing though, can now be accomplished +by modules. A new hook that enables modules to influence the rendering of custom variables has been introduced. + +* CustomVarNames should not be converted to lowercase [#4639](https://github.com/Icinga/icingaweb2/issues/4639) +* Display the Director Caption of a Custom Variable [#3479](https://github.com/Icinga/icingaweb2/issues/3479) + +#### Surprising Beauty in Exported Places + +Anyone who already attempted to export a list of services to PDF has seen the degradation of details in recent years. +Be it images, icons, colors or the general layout. We simply reached a technical limit with the builtin PDF export. +That is why we made [Icinga PDF Export](https://github.com/Icinga/icingaweb2-module-pdfexport). Icinga Web 2 has now +a much enhanced compatibility with it. Exporting a list of services while Icinga PDF Export is set up, will now lead +to a much better looking result. + +* Enhance PDF export [#4685](https://github.com/Icinga/icingaweb2/pull/4685) +* Image not found when creating PDF view of objects [#4674](https://github.com/Icinga/icingaweb2/issues/4674) + ### What's New in Version 2.9.6 **Notice**: This is a security release. It is recommended to upgrade immediately. From d0677a127fc8142e1ee6205e95379334172872cd Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 4 Mar 2022 16:32:15 +0100 Subject: [PATCH 3/5] Release version 2.10.0 --- VERSION | 2 +- library/Icinga/Application/Version.php | 2 +- modules/doc/module.info | 2 +- modules/migrate/module.info | 2 +- modules/monitoring/module.info | 2 +- modules/setup/module.info | 2 +- modules/test/module.info | 2 +- modules/translation/module.info | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/VERSION b/VERSION index 1fa6ccd53..80de12c55 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v2.9.6 +v2.10.0 diff --git a/library/Icinga/Application/Version.php b/library/Icinga/Application/Version.php index fd9209812..dd64c1b71 100644 --- a/library/Icinga/Application/Version.php +++ b/library/Icinga/Application/Version.php @@ -8,7 +8,7 @@ namespace Icinga\Application; */ class Version { - const VERSION = '2.9.6'; + const VERSION = '2.10.0'; /** * Get the version of this instance of Icinga Web 2 diff --git a/modules/doc/module.info b/modules/doc/module.info index ca2002317..429be38d7 100644 --- a/modules/doc/module.info +++ b/modules/doc/module.info @@ -1,4 +1,4 @@ Module: doc -Version: 2.9.6 +Version: 2.10.0 Description: Documentation module Extracts, shows and exports documentation for Icinga Web 2 and its modules. diff --git a/modules/migrate/module.info b/modules/migrate/module.info index 3541a2d2f..ba2a2ddb7 100644 --- a/modules/migrate/module.info +++ b/modules/migrate/module.info @@ -1,5 +1,5 @@ Module: migrate -Version: 2.9.6 +Version: 2.10.0 Description: Migrate module This module was introduced with the domain-aware authentication feature in version 2.5.0. It helps you migrating users and user configurations according to a given domain. diff --git a/modules/monitoring/module.info b/modules/monitoring/module.info index 611db44bc..e83fc9848 100644 --- a/modules/monitoring/module.info +++ b/modules/monitoring/module.info @@ -1,5 +1,5 @@ Module: monitoring -Version: 2.9.6 +Version: 2.10.0 Description: Icinga monitoring module IDO accessor and UI for your monitoring. This is the initial instalment for a graphical presentation of Icinga environments. The predecessor of Icinga DB. diff --git a/modules/setup/module.info b/modules/setup/module.info index 0cecb895d..4d23108b1 100644 --- a/modules/setup/module.info +++ b/modules/setup/module.info @@ -1,5 +1,5 @@ Module: setup -Version: 2.9.6 +Version: 2.10.0 Description: Setup module Web based wizard for setting up Icinga Web 2 and its modules. This includes the data backends (e.g. relational database, LDAP), diff --git a/modules/test/module.info b/modules/test/module.info index 8bbe57b37..d542d125a 100644 --- a/modules/test/module.info +++ b/modules/test/module.info @@ -1,5 +1,5 @@ Module: test -Version: 2.9.6 +Version: 2.10.0 Description: Translation module This module allows developers to run (unit) tests against Icinga Web 2 and any of its modules. Usually you do not need to enable this. diff --git a/modules/translation/module.info b/modules/translation/module.info index 77518a4e4..872a2aba9 100644 --- a/modules/translation/module.info +++ b/modules/translation/module.info @@ -1,5 +1,5 @@ Module: translation -Version: 2.9.6 +Version: 2.10.0 Description: Translation module This module allows developers and translators to translate modules for multiple languages. You do not need this module to run an internationalized web frontend. From 0e3ff9d669ff23d3203a7cdb37fb4afc9ebd360e Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 15 Mar 2022 11:05:56 +0100 Subject: [PATCH 4/5] doc: Clarify what happens with v2.11 on debian 9 --- doc/80-Upgrading.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/80-Upgrading.md b/doc/80-Upgrading.md index 0acbf2071..9c3438209 100644 --- a/doc/80-Upgrading.md +++ b/doc/80-Upgrading.md @@ -15,6 +15,14 @@ v2.6 to v2.8 requires to follow the instructions for v2.7 too. It is highly recommended to use [Icinga PDF Export](https://github.com/Icinga/icingaweb2-module-pdfexport) instead. +**Discontinued package updates** + +* We will stop offering major updates for Debian 9 (Stretch) starting with version 2.11. + However, versions 2.9 and 2.10 will continue to receive minor updates on this platform. + +[icinga.com](https://icinga.com/subscription/support-details/) provides an overview about +currently supported distributions. + **Framework changes affecting third-party code** * Asset support for modules (#3961) introduced with v2.8 has now been removed. From 01f67a78c67b4e731146e601eb657507a1935540 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 22 Mar 2022 10:42:40 +0100 Subject: [PATCH 5/5] Increase required version of the icinga-php-library --- application/views/scripts/error/error.phtml | 2 +- doc/02-Installation.md | 2 +- modules/setup/library/Setup/WebWizard.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/views/scripts/error/error.phtml b/application/views/scripts/error/error.phtml index 4d2f565b2..df7f2f8fa 100644 --- a/application/views/scripts/error/error.phtml +++ b/application/views/scripts/error/error.phtml @@ -23,7 +23,7 @@ $modReason = []; if (isset($requiredVendor, $requiredProject) && $requiredVendor && $requiredProject) { // TODO: I don't like this, can we define requirements somewhere else? - $coreDeps = ['icinga-php-library' => '>= 0.6', 'icinga-php-thirdparty' => '>= 0.10']; + $coreDeps = ['icinga-php-library' => '>= 0.8', 'icinga-php-thirdparty' => '>= 0.10']; foreach ($coreDeps as $libraryName => $requiredVersion) { if (! $libraries->has($libraryName)) { diff --git a/doc/02-Installation.md b/doc/02-Installation.md index d24de9c90..d0301b723 100644 --- a/doc/02-Installation.md +++ b/doc/02-Installation.md @@ -390,7 +390,7 @@ You will need to install certain dependencies depending on your setup: * A web server, e.g. Apache or Nginx * PHP version >= 7.3 * Older versions (5.6+) are only supported up until version 2.11 -* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (>= 0.6) +* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (>= 0.8) * [Icinga PHP Thirdparty](https://github.com/Icinga/icinga-php-thirdparty) (>= 0.10) * The following PHP modules must be installed: cURL, json, gettext, fileinfo, intl, dom, OpenSSL and xml * For exports to PDF also the following PHP modules are required: mbstring, GD, Imagick diff --git a/modules/setup/library/Setup/WebWizard.php b/modules/setup/library/Setup/WebWizard.php index 0ab59a5b4..2b6321d4a 100644 --- a/modules/setup/library/Setup/WebWizard.php +++ b/modules/setup/library/Setup/WebWizard.php @@ -601,7 +601,7 @@ class WebWizard extends Wizard implements SetupWizard ))); $set->add(new WebLibraryRequirement(array( - 'condition' => ['icinga-php-library', '>=', '0.6.0'], + 'condition' => ['icinga-php-library', '>=', '0.8.0'], 'alias' => 'Icinga PHP library', 'description' => mt( 'setup',