From: Michael Friedrich Date: Mon, 18 Mar 2019 16:25:15 +0000 (+0100) Subject: Upgrading docs: Mention YAJL replaced by Nlohmann::JSON X-Git-Tag: v2.11.0-rc1~199^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04d7fd027eefb3f1f67c02c203e02490782b6ed9;p=icinga2 Upgrading docs: Mention YAJL replaced by Nlohmann::JSON --- 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