From: Petr Špaček Date: Wed, 25 Mar 2020 13:46:16 +0000 (+0100) Subject: policy.DEBUG: NEWS + upgrading X-Git-Tag: v5.1.0~26^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c01f29bed92e043350ee6d2243ceb473f3db068e;p=thirdparty%2Fknot-resolver.git policy.DEBUG: NEWS + upgrading --- diff --git a/NEWS b/NEWS index d014a03a2..450f89633 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,7 @@ Knot Resolver 5.x.y (2020-0m-0d) Improvements ------------ - cache garbage collector: reduce filesystem operations when idle (!946) +- policy.DEBUG_ALWAYS and policy.DEBUG_IF for limited verbose logging (!957) Bugfixes -------- @@ -11,6 +12,11 @@ Bugfixes - lua: policy.rpz() no longer watches the file when watch is set to false (!954) - fix a strict aliasing problem that might've lead to "miscompilation" (!962) +Incompatible changes +-------------------- +- see upgrading guide: https://knot-resolver.readthedocs.io/en/stable/upgrading.html +- minor changes in module API + Knot Resolver 5.0.1 (2020-02-05) ================================ diff --git a/doc/upgrading.rst b/doc/upgrading.rst index 541b0044c..487936273 100644 --- a/doc/upgrading.rst +++ b/doc/upgrading.rst @@ -8,6 +8,7 @@ Upgrading This section summarizes steps required for upgrade to newer Knot Resolver versions. We advise users to also read :ref:`release_notes` for respective versions. +Section *Module changes* is relevant only for users who develop or use third-party modules. 5.0 to 5.1 ========== @@ -15,7 +16,8 @@ We advise users to also read :ref:`release_notes` for respective versions. Module changes -------------- -* Custom modules which use :c:type:`trace_log_f` handler in request structure :c:type:`kr_request` need update to simplified handler API. +* Modules which use :c:type:`kr_request::trace_log` handler in request structure :c:type:`kr_request` need update to modified handler API. Example migration is `modules/watchdog/watchdog.lua `_. +* Modules which were using logger :c:func:`kr_log_qverbose_impl` need migration to new logger :c:func:`kr_log_q`. Example migration is `modules/rebinding/rebinding.lua `_. 4.x to 5.x