icinga2/lib
Dominik Bay d29ac491f2
Restore single-argument Json.decode() in the DSL
The recursion depth limit added to JsonDecode() in 2.16.2 gave the C++
function a second parameter with a default value. Function pointers do not
carry default arguments, so the DSL function binding deduced an arity of 2
via boost::function_types::function_arity and required two arguments. As a
result `Json.decode("...")` failed with "Too few arguments for function",
an undocumented breaking change in a patch release.

Wrap JsonDecode() in a single-argument shim (mirroring the existing
JsonEncodeShim) so the registered function keeps its one-parameter contract
while still applying the default depth limit internally.

refs #10913
2026-06-30 10:42:40 +02:00
..
base Restore single-argument Json.decode() in the DSL 2026-06-30 10:42:40 +02:00
checker Revert "CheckerComponent#CheckThreadProc(): also propagate next check update to Icinga DB" 2026-04-02 16:37:57 +02:00
cli JsonDecode: add depth limit 2026-06-23 15:38:19 +02:00
compat Add warnings to deprecated features indicating removal in v2.18 2026-03-27 14:20:55 +01:00
config Merge pull request #10734 from Icinga/deprecate-everything-we-dont-like 2026-03-31 10:25:44 +02:00
db_ido Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
db_ido_mysql Add warnings to deprecated features indicating removal in v2.18 2026-03-27 14:20:55 +01:00
db_ido_pgsql Add warnings to deprecated features indicating removal in v2.18 2026-03-27 14:20:55 +01:00
icinga Freeze perfdata arrays and remove locks in code using them 2026-06-17 15:15:46 +02:00
icingadb Merge pull request #10619 from Icinga/efficient-config-and-state-update-queue 2026-04-17 11:19:50 +02:00
livestatus Add warnings to deprecated features indicating removal in v2.18 2026-03-27 14:20:55 +01:00
methods ifw-api: omit password from curl command in check result 2026-06-01 10:51:39 +02:00
mysql_shim Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
notification Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
otel OTel: downgrade broken_pipe errors to debug log 2026-04-15 17:25:14 +02:00
perfdata Merge pull request #10857 from Icinga/freeze-perfdata-arrays 2026-06-17 19:06:36 +02:00
pgsql_shim Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
remote Merge pull request #10909 from Icinga/filter-expression-permission 2026-06-29 20:33:12 +02:00
CMakeLists.txt Add common OTel type/lib 2026-04-01 12:18:21 +02:00