From 66461ee3afaaa9b8db66060ff0df706fdae8bc81 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 1 Apr 2019 16:51:50 +0200 Subject: [PATCH] Upgrading docs: Add Boost dependencies --- doc/16-upgrading-icinga-2.md | 37 ++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/doc/16-upgrading-icinga-2.md b/doc/16-upgrading-icinga-2.md index 2f0f51501..222f3c341 100644 --- a/doc/16-upgrading-icinga-2.md +++ b/doc/16-upgrading-icinga-2.md @@ -9,6 +9,31 @@ follow the instructions for v2.7 too. ## Upgrading to v2.11 +### Package Dependencies + +#### Added: Boost 1.66+ + +The rewrite of our core network stack for cluster and REST API +requires newer Boost versions, specifically >= 1.66. For technical +details, please continue reading in [this issue](https://github.com/Icinga/icinga2/issues/7041). + +The package dependencies have been updated for RPM/DEB already. +On platforms where EPEL or Backports cannot satisfy this dependency, +we provide Boost as package on our [package repository](https://packages.icinga.com). + +After upgrade, you may remove the old Boost packages (1.53 or anything above) +if you don't need them anymore. + +#### Removed: YAJL + +Our JSON library, namely [YAJL](https://github.com/lloyd/yajl), isn't maintained anymore +and may cause [crashes](https://github.com/Icinga/icinga2/issues/6684). + +It is replaced by [JSON for Modern C++](https://github.com/nlohmann/json) by Niels Lohmann +and compiled into the binary as header only include. It helps our way to C++11 and allows +to fix additional UTF8 issues more easily. Read more about its [design goals](https://github.com/nlohmann/json#design-goals) +and [benchmarks](https://github.com/miloyip/nativejson-benchmark#parsing-time). + ### HA-aware Features v2.11 introduces additional HA functionality similar to the DB IDO feature. @@ -42,18 +67,6 @@ The [IdoMysqlConnection](09-object-types.md#objecttype-idomysqlconnection) and [ objects provide a new attribute named `last_failover` which shows the last failover timestamp. This value also is available in the [ido](10-icinga-template-library.md#itl-icinga-ido) CheckCommand output. -### Package Dependencies - -#### Removed: YAJL - -Our JSON library, namely [YAJL](https://github.com/lloyd/yajl), isn't maintained anymore -and may cause [crashes](https://github.com/Icinga/icinga2/issues/6684). - -It is replaced by [JSON for Modern C++](https://github.com/nlohmann/json) by Niels Lohmann -and compiled into the binary as header only include. It helps our way to C++11 and allows -to fix additional UTF8 issues more easily. Read more about its [design goals](https://github.com/nlohmann/json#design-goals) -and [benchmarks](https://github.com/miloyip/nativejson-benchmark#parsing-time). - ## Upgrading to v2.10 ### Path Constant Changes