To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

ChangeLog/1.9.0: Difference between revisions

From ZNC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
== Modules ==
== Modules ==
* Rewrite how modpython loads modules from <code>imp</code> to <code>importlib</code>: this adds support for Python 3.12, but bumps the minimum supported python version to 3.4. Also now it's possible to structure the module as a python package (a subdirectory with <code>__init__.py</code> and other .py files), however it no longer supports loading a C python extension through modpython - just write the module on C++ in such case instead of python. {{GH|1724}}
* Rewrite how modpython loads modules from <code>imp</code> to <code>importlib</code>: this adds support for Python 3.12, but bumps the minimum supported python version to 3.4. Also now it's possible to structure the module as a python package (a subdirectory with <code>__init__.py</code> and other .py files), however it no longer supports loading a C python extension through modpython - just write the module on C++ in such case instead of python. {{GH|1724}}
== Internal ==
== Internal ==
== TODO: to triage ==


* Make modperl support AddServerDependentCapability {{git|2b3b224b}}
* Make modperl support AddServerDependentCapability {{git|2b3b224b}}

Revision as of 02:57, 8 February 2024

← 1.8.2 ZNC 1.9.0 1.9.1 →



See https://github.com/znc/znc/compare/znc-1.9.1...master for a list of changes since 1.9.1 stable.

New

  • Require C++17 compiler. That is, GCC 8+ or Clang 5+. (#1887)
  • Remove autoconf, leave only CMake as the build system. The configure script is now merely a wrapper for CMake, and accepts mostly the same parameters as the old configure. Minimum supported CMake version is 3.13.
  • Update password hashing algorithm from SHA-256 to Argon2id (if libargon2 is installed). Existing passwords are transparently upgraded upon login. (#1879)

Fixes

  • Don't send invalid 333 (RPL_TOPICWHOTIME) to client if topic owner is unknown (#1889)
  • Fix build with SWIG 4.2.0

Modules

  • Rewrite how modpython loads modules from imp to importlib: this adds support for Python 3.12, but bumps the minimum supported python version to 3.4. Also now it's possible to structure the module as a python package (a subdirectory with __init__.py and other .py files), however it no longer supports loading a C python extension through modpython - just write the module on C++ in such case instead of python. (#1724)

Internal

TODO: to triage