From 04d7fd027eefb3f1f67c02c203e02490782b6ed9 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 18 Mar 2019 17:25:15 +0100 Subject: [PATCH] Upgrading docs: Mention YAJL replaced by Nlohmann::JSON --- doc/16-upgrading-icinga-2.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/16-upgrading-icinga-2.md b/doc/16-upgrading-icinga-2.md index 06d701bde..cbe6cf142 100644 --- a/doc/16-upgrading-icinga-2.md +++ b/doc/16-upgrading-icinga-2.md @@ -27,6 +27,18 @@ This affects the following features: * [OpenTsdb](09-object-types.md#objecttype-opentsdbwriter) * [Perfdata](09-object-types.md#objecttype-perfdatawriter) (for PNP) +### 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 -- 2.40.0