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 16: Line 16:
* Switch --makeconf wizard default network from freenode to Libera
* Switch --makeconf wizard default network from freenode to Libera
* znc-buildmod: output where the module was written to
* znc-buildmod: output where the module was written to
* Allow ordering of channels: via ListChans, MoveChan and SwapChans commands, and via webadmin {{GH|1744}}


== Fixes ==
== Fixes ==
Line 68: Line 69:
* Fix controlpanel output {{git|4393b9d9}}
* Fix controlpanel output {{git|4393b9d9}}
* change message when staying in foreground {{git|57c94b8b}}
* change message when staying in foreground {{git|57c94b8b}}
* Fix other skins for #1744 {{git|d505a6d4}}
* Allow reordering of channels in webadmin {{git|92d04e6a}}
* List channels in order in webadmin {{git|3ff5aaf4}}
* Add MoveChan and SwapChans commands {{git|99b33ead}}
* Fix path in systemd service (which shouldn't be here at all) {{git|d4bfd143}}
* Fix path in systemd service (which shouldn't be here at all) {{git|d4bfd143}}
* WIP fix autotop {{git|38081d5a}}
* WIP fix autotop {{git|38081d5a}}
* sasl: don't forward 908 numeric to clienT {{git|f9fc9b40}}
* sasl: don't forward 908 numeric to clienT {{git|f9fc9b40}}
* Show channel indexes in ListChans command {{git|dbd47b24}}
* Respect order of subconfigs in znc.conf {{git|926d140a}}
* modperl: allow overriding timer label {{git|1c9cb3f8}}
* modperl: allow overriding timer label {{git|1c9cb3f8}}
* Web: remove legacy xhtml syntax (#1723) {{git|17ec6095}}
* Web: remove legacy xhtml syntax (#1723) {{git|17ec6095}}
* Fix PY_SSIZE_T_CLEAN python warning {{git|e8ff1612}}
* Fix PY_SSIZE_T_CLEAN python warning {{git|e8ff1612}}

Revision as of 22:52, 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

  • 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)
  • New User Options: DenySetIdent, DenySetNetwork, DenySetRealName, DenySetQuitMsg, DenySetCTCPReplies (#1814)
  • Switch --makeconf wizard default network from freenode to Libera
  • znc-buildmod: output where the module was written to
  • Allow ordering of channels: via ListChans, MoveChan and SwapChans commands, and via webadmin (#1744)

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)
  • Don't crash when receiving SASL lines from server without having negotiated SASL via CAP
  • Use module names as the module ident, otherwise some clients were merging conversations with different modules together. (#1874)
  • Fix an ODR violation (#1835)

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)
  • modpython: Implement Module.AddCommand() (#1832)
  • webadmin: Fix order of breadcrumbs in network page
  • watch: Allow new entries to use spaces (#1822)

Notes for package maintainers (TODO)

  • 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.
  • cctz
  • 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
  • Setup Github Actions to replace old Travis CI setup
  • Added CIFuzz (#1845)
  • Added CodeQL (#1846)
  • Various fixes to CI
  • Generate list of translators automatically from Crowdin
  • Update default SSL settings from Mozilla recommmendations
  • Rewrite message parsing using std::string_view, improving the performance of the parser (#1785)
  • Make CUser::Put* send to all clients instead of only networkless clients. Deprecate CUser::PutAllUser()

TODO: to triage