summaryrefslogtreecommitdiff
path: root/ReleaseNotes.asciidoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-10-26 12:30:13 +0100
committerSébastien Helleu <flashcode@flashtux.org>2014-10-26 12:30:13 +0100
commit3f5a810254db47c0943007ca7ff749f9b78145ee (patch)
treeab0d898adb0e33b9cd8fbc110174250b7b3b06c3 /ReleaseNotes.asciidoc
parenta012eefb77c246d294b99afcee2ef065258e7e4e (diff)
downloadweechat-3f5a810254db47c0943007ca7ff749f9b78145ee.zip
trigger: evaluate and replace regex groups at same time, new format for regex option in triggers (incompatible with version 1.0) (closes #224)
Diffstat (limited to 'ReleaseNotes.asciidoc')
-rw-r--r--ReleaseNotes.asciidoc60
1 files changed, 39 insertions, 21 deletions
diff --git a/ReleaseNotes.asciidoc b/ReleaseNotes.asciidoc
index c6a4a54b0..f2dbd0a56 100644
--- a/ReleaseNotes.asciidoc
+++ b/ReleaseNotes.asciidoc
@@ -17,6 +17,45 @@ http://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
== Version 1.1 (under dev)
+=== New format for regex replacement in triggers
+
+A new format is used in regex replacement to use regex groups, this format
+is incompatible with version 1.0.
+
+The existing triggers are *NOT automatically updated*.
+
+[width="50%",cols="1,1,3",options="header"]
+|===
+| Old format | New format | Examples (new format)
+| `$0` ... `$99` | `${re:0}` ... `${re:99}` | `${re:1}`
+| `$+` | `${re:+}` | `${re:+}`
+| `$.*N` | `${hide:*,${re:N}}` | `${hide:*,${re:2}}` +
+ `${hide:-,${re:+}}`
+|===
+
+Moreover, default triggers used to hide passwords have been fixed for *BSD
+operating systems.
+
+You can restore them with the following command:
+
+----
+/trigger restore cmd_pass msg_auth server_pass
+----
+
+If you added triggers with the old regex replacement format, you must update
+them manually.
+
+=== Default "beep" trigger
+
+The command of "beep" trigger is now executed only if the message is displayed
+(not filtered with /filter).
+
+You can restore the default "beep" trigger with the following command:
+
+----
+/trigger restore beep
+----
+
=== Relay option relay.irc.backlog_tags
The option 'relay.irc.backlog_tags' is now a list separated by commas
@@ -54,27 +93,6 @@ instead of milliseconds:
* function 'util_timeval_add': the argument 'interval' is now expressed in
microseconds.
-=== Default "beep" trigger
-
-The command of "beep" trigger is now executed only if the message is displayed
-(not filtered with /filter).
-
-You can restore the default "beep" trigger with the following command:
-
-----
-/trigger restore beep
-----
-
-=== Default triggers for hiding passwords
-
-Triggers used to hide passwords have been fixed for *BSD operating systems.
-
-You can restore them with the following command:
-
-----
-/trigger restore cmd_pass msg_auth server_pass
-----
-
== Version 1.0.1 (2014-09-28)
Bug fix and maintenance release.