diff options
Diffstat (limited to 'ReleaseNotes.adoc')
-rw-r--r-- | ReleaseNotes.adoc | 203 |
1 files changed, 202 insertions, 1 deletions
diff --git a/ReleaseNotes.adoc b/ReleaseNotes.adoc index 4abcb221c..5e78474c4 100644 --- a/ReleaseNotes.adoc +++ b/ReleaseNotes.adoc @@ -17,10 +17,203 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog] (file _ChangeLog.adoc_ in sources). +[[v2.2]] +== Version 2.2 (under dev) + +[[v2.2_irc_signals_tags]] +=== Tags in IRC "in" signals + +The IRCv3 tags are now sent in these IRC signals for received messages +(_xxx_ is IRC server name, _yyy_ is IRC command name): + +* _xxx,irc_in_yyy_ +* _xxx,irc_in2_yyy_ +* _xxx,irc_raw_in_yyy_ +* _xxx,irc_raw_in2_yyy_ + +This could break plugins or scripts that parse IRC messages and don't expect +to receive tags (even if tags *are* part of the IRC message, so this was a bug +in the IRC signals). + +See issue #787 for more information. + +[NOTE] +It is recommended for plugins and scripts to use the WeeChat IRC parser: +see the function "info_get_hashtable" in the Plugin API reference. + +Now the whole IRC message is received by the signal callback, for example: + +---- +@tag1=abc;tag2=def :nick!user@host PRIVMSG #test :this is a test +---- + +In older releases, this message was received: + +---- +:nick!user@host PRIVMSG #test :this is a test +---- + +[[v2.2_debian_headless_package]] +=== New Debian package for headless version + +A new Debian package has been added: _weechat-headless_ which contains the +binary _weechat-headless_ and its man page. + +In version 2.0, this binary was in the package _weechat-curses_. + +[[v2.1]] +== Version 2.1 (2018-03-18) + +[[v2.1_script_plugin_check_license]] +=== Option to check license of scripts loaded + +A configuration file has been added for each script plugin: _python.conf_, +_perl.conf_, _ruby.conf_, ... + +Therefore the option to check license of loaded scripts has been moved from +_plugins.var.<language>.check_license_ (type: string) to the plugin +configuration file (type: boolean, default is _off_). + +List of options moved: + +* _plugins.var.python.check_license_ (string) moved to _python.look.check_license_ (boolean) +* _plugins.var.perl.check_license_ (string) moved to _perl.look.check_license_ (boolean) +* _plugins.var.ruby.check_license_ (string) moved to _ruby.look.check_license_ (boolean) +* _plugins.var.lua.check_license_ (string) moved to _lua.look.check_license_ (boolean) +* _plugins.var.tcl.check_license_ (string) moved to _tcl.look.check_license_ (boolean) +* _plugins.var.guile.check_license_ (string) moved to _guile.look.check_license_ (boolean) +* _plugins.var.javascript.check_license_ (string) moved to _javascript.look.check_license_ (boolean) +* _plugins.var.php.check_license_ (string) moved to _php.look.check_license_ (boolean) + +[[v2.1_option_name_completion]] +=== Completion for /set and /help commands + +A new option weechat.completion.partial_completion_templates has been added to +force partial completion on some templates. By default, the option name +completed in `/set` and `/help` commands are now using partial completion. + +If you prefer old behavior, you can remove the templates from the new option +with this command: + +---- +/set weechat.completion.partial_completion_templates "" +---- + +For more information about this feature, you can read help with: + +---- +/help weechat.completion.partial_completion_templates +---- + +[[v2.0.1]] +== Version 2.0.1 (2017-12-20) + +Bug fix and maintenance release. + +[[v2.0]] +== Version 2.0 (2017-12-03) + +[[v2.0_fset_plugin]] +=== Fset plugin + +A new plugin "fset" has been added, it replaces the script iset.pl and has many +new features. + +By default the fset plugin changes the behavior of `/set` command when it is +used with only an option name: it opens the fset buffer if at least one option +is found. + +The old behavior was to display the list of options in the core buffer. + +If you prefer the old behavior, you can restore it with this command: + +---- +/set fset.look.condition_catch_set "" +---- + +For more information about this feature, you can read help with: + +---- +/help fset.look.condition_catch_set +---- + +[[v2.0_debian_packaging]] +=== Split of scripting Debian packages + +The Debian packaging has changed (for now only on weechat.org repositories, +not in Debian official repositories). + +The package _weechat-plugins_ has been split into 9 packages: + +- weechat-plugins (with only the following plugins: aspell, exec, fifo, relay, + script, trigger) +- weechat-python +- weechat-perl +- weechat-ruby +- weechat-lua +- weechat-tcl +- weechat-guile +- weechat-javascript +- weechat-php. + +If you are using the packages from weechat.org, you will have to install +manually the scripting packages (according to the languages you'll use +in WeeChat), for example Python/Perl only: + +---- +sudo apt-get install weechat-python weechat-perl +---- + +For development packages: + +---- +sudo apt-get install weechat-devel-python weechat-devel-perl +---- + +[[v2.0_buflist_eval]] +=== Evaluation in buflist + +The evaluation of expressions in buflist options is not recursive any more, +to prevent too many evaluations, for example in buffer variables +(see issue #1060 for more information). + +If you are using custom variables/options containing evaluated expressions, +like `${some.config.option}`, and if this option contains evaluated strings (`${...}`), +you must evaluate them with: `${eval:${some.config.option}}`. + +[NOTE] +The default buflist formats (`${format_buffer}`, `${format_name}`, +`${format_hotlist}`, ...) are automatically evaluated in options _buflist.format.buffer_, +_buflist.format.buffer_current_ and _buflist.format.hotlist_. + +[[v2.0_hook_connect]] +=== Function hook_connect + +In scripts, the arguments _status_, _gnutls_rc_ and _sock_ sent to the callback +of _hook_connect_ are now integers (they were strings in older releases). + +To be compatible with all versions, it is recommended to convert the argument +to integer before using it, for example in Python: `int(sock)`. + +[[v2.0_hook_fd]] +=== Function hook_fd + +In scripts, the argument _fd_ sent to the callback of _hook_fd_ is now +an integer (it was a string in older releases). + +To be compatible with all versions, it is recommended to convert the argument +to integer before using it, for example in Python: `int(fd)`. + +[[v1.9.1]] +== Version 1.9.1 (2017-09-23) + +Bug fix and maintenance release. + +[[v1.9]] +== Version 1.9 (2017-06-25) + +No release note. + [[v1.8]] == Version 1.8 (2017-05-13) - [[v1.8_options]] + === Options The option _script.scripts.url_force_https_ has been removed because now the @@ -531,6 +724,14 @@ the new default key is kbd:[Alt+l]. Use command `/key missing` to add the key or `/key listdiff` to see differences between your current keys and WeeChat default keys. +[[v1.0_hook_print]] +=== Function hook_print + +In scripts, the arguments _displayed_ and _highlight_ sent to the callback of +_hook_print_ are now integers (they were strings in older releases). + +To be compatible with all versions, it is recommended to convert the argument +to integer before testing it, for example in Python: `if int(highlight):`. + [[v0.4.3]] == Version 0.4.3 (2014-02-09) |