]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc: add changes revelant for custom modules
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 28 Jul 2021 11:48:53 +0000 (13:48 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 29 Jul 2021 09:44:47 +0000 (11:44 +0200)
doc/upgrading.rst

index 5694a4ce2c79bda955329cc12281c2d28df533dc..c89063e536808d0185c8dc81dda1c4cbf36511f9 100644 (file)
@@ -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
 ==========