From: Tomas Krizek Date: Wed, 28 Jul 2021 11:48:53 +0000 (+0200) Subject: doc: add changes revelant for custom modules X-Git-Tag: v5.4.0~2^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93feaecb1ce0dcbac3793030c6dfbad723a657d7;p=thirdparty%2Fknot-resolver.git doc: add changes revelant for custom modules --- diff --git a/doc/upgrading.rst b/doc/upgrading.rst index 5694a4ce2..c89063e53 100644 --- a/doc/upgrading.rst +++ b/doc/upgrading.rst @@ -43,6 +43,13 @@ Packagers & Developers * meson option ``verbose_log`` was removed. +Module changes +-------------- + +* lua function ``warn()`` was removed, use ``log_warn()`` instead. The new function takes a log group number as the first argument. +* C functions ``kr_log_req()`` and ``kr_log_q()`` were replaced by ``kr_log_req1()`` and ``kr_log_q1()`` respectively. The new function have slightly different API. + + 5.2 to 5.3 ==========