4 Before upgrading, it is advised to read the :doc:`changelog/index`.
5 When upgrading several versions, please read **all** notes applying to the upgrade.
7 4.1.x to 4.2.0 or master
8 ------------------------
10 Two new settings have been added:
12 - :ref:`setting-xpf-allow-from` can contain a list of IP addresses ranges from which `XPF (X-Proxied-For) <https://datatracker.ietf.org/doc/draft-bellis-dnsop-xpf/>`_ records will be trusted.
13 - :ref:`setting-xpf-rr-code` should list the number of the XPF record to use (in lieu of an assigned code).
18 :ref:`setting-loglevel` defaulted to 4 but was always overridden to 6 during
19 the startup. The issue has been fixed and the default value set to 6 to keep the behavior
22 The ``--with-libsodium`` configure flag has changed from 'no' to 'auto'.
23 This means that if libsodium and its development header are installed, it will be linked in.
28 One setting has been added to limit the risk of overflowing the stack:
30 - :ref:`setting-max-recursion-depth`: defaults to 40 and was unlimited before
35 Two settings have changed defaults, these new defaults decrease CPU usage:
37 - :ref:`setting-root-nx-trust` changed from "no" to "yes"
38 - :ref:`setting-log-common-errors` changed from "yes" to "no"