From c01f29bed92e043350ee6d2243ceb473f3db068e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0pa=C4=8Dek?= Date: Wed, 25 Mar 2020 14:46:16 +0100 Subject: [PATCH] policy.DEBUG: NEWS + upgrading --- NEWS | 6 ++++++ doc/upgrading.rst | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 -- 2.47.2