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
Line 18: Line 18:
== Fixes ==
== Fixes ==
* Don't send invalid 333 (RPL_TOPICWHOTIME) to client if topic owner is unknown {{GH|1889}}
* Don't send invalid 333 (RPL_TOPICWHOTIME) to client if topic owner is unknown {{GH|1889}}
* Fix build with SWIG 4.2.0
* Fix build with SWIG 4.2.0, drop support for SWIG < 4.0.1
* Fix handling of timezones when parsing server-time tags received from server {{GH|1857}} {{GH|1773}}
* Fix handling of timezones when parsing server-time tags received from server {{GH|1857}} {{GH|1773}}


== 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, or use the <code>__init__.py</code> format and implement some of the files in C. {{GH|1724}}
* modpython: 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, or use the <code>__init__.py</code> format and implement some of the files in C. {{GH|1724}}
* log: Add account to joins for the log module. {{GH|1870}}
* clientnotify: Add options to reduce amount of notifications depending on the IP and the client ID of the connecting client {{GH|1843}}


== Notes for package maintainers (TODO) ==
== Notes for package maintainers (TODO) ==
Line 29: Line 31:
* libargon2
* libargon2
* python
* python
* swig


== Internal ==
== Internal ==
Line 45: Line 48:
* route_replies: add 337 to whois {{git|b5edca59}}
* route_replies: add 337 to whois {{git|b5edca59}}
* Use module names as the module ident. {{git|ee9ad2ff}}
* Use module names as the module ident. {{git|ee9ad2ff}}
* Add TODO entry to move account logic to a separate method. {{git|1240ddc6}}
* sAccount for consistency {{git|0a0ce543}}
* Add account to joins for the log module. {{git|47b815ae}}
* Add Portuguese translations/ files {{git|aebdf764}}
* Add Portuguese translations/ files {{git|aebdf764}}
* Update message in clientnotify to tell what ID is that {{git|da314683}}
* formatting commit {{git|5eb2be27}}
* split up the option into two separate ones {{git|876b3d41}}
* re-add the ip to the user message {{git|1e90b8a1}}
* implement the new notification logic {{git|5fb8891d}}
* add test for the "clientnotify" module {{git|bcf6e2fb}}
* allow identifiers in the test setup {{git|8562f613}}
* Add support SWIG 4.1.0, drop support for < 4.0.1 {{git|fecdd989}}
* Add support SWIG 4.1.0, drop support for < 4.0.1 {{git|fecdd989}}
* CI: Update usage of rebaseall on cygwin {{git|08ca309f}}
* CI: Update usage of rebaseall on cygwin {{git|08ca309f}}

Revision as of 22:16, 8 February 2024

← 1.8.2 ZNC 1.9.0 git →



See https://github.com/znc/znc/compare/znc-1.9.0...master for a list of changes since 1.9.0 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)
  • Support for capability negotiation 3.2 and cap-notify. ZNC now has API, using which modules can easily implement new capabilities: if server supports a cap, it will automatically be offered to clients which support cap-notify and ZNC will notify the module when the capability is enabled or disabled for server and for each client. (#1859)
  • Add support for cap account-tag (#1746)

Fixes

  • Don't send invalid 333 (RPL_TOPICWHOTIME) to client if topic owner is unknown (#1889)
  • Fix build with SWIG 4.2.0, drop support for SWIG < 4.0.1
  • Fix handling of timezones when parsing server-time tags received from server (#1857) (#1773)

Modules

  • modpython: 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, or use the __init__.py format and implement some of the files in C. (#1724)
  • log: Add account to joins for the log module. (#1870)
  • clientnotify: Add options to reduce amount of notifications depending on the IP and the client ID of the connecting client (#1843)

Notes for package maintainers (TODO)

  • cctz
  • cmake
  • libargon2
  • python
  • swig

Internal

  • Document more functions.
  • Use steady clock for cache map and for sockets to fix certain issues with leap seconds and DST
  • Modernized the way how CMake is used
  • Make some integration tests run faster by changing ServerThrottle value
  • Various fixes to CI
  • Added CIFuzz (#1845)
  • Added CodeQL (#1846)
  • Generate list of translators automatically from Crowdin

TODO: to triage