diff MIGRATING.md @ 577:3d0dbc0bee7d

Irccd: update references to onChannel(Mode|Notice), onMode - Update hangman, logger and their tests, - Update dynlib_plugin and js_plugin.
author David Demelier <markand@malikania.fr>
date Thu, 30 Nov 2017 13:19:38 +0100
parents 18e80ec38ac7
children 20ae26a67897
line wrap: on
line diff
--- a/MIGRATING.md	Wed Nov 29 15:06:11 2017 +0100
+++ b/MIGRATING.md	Thu Nov 30 13:19:38 2017 +0100
@@ -11,6 +11,15 @@
   - The functions `server-cnotice` and `server-cmode` have been removed, use
     `server-notice` and `server-mode` instead.
 
+### Plugins
+
+#### Logger
+
+  - The keyword `source` has been removed and replaced by `channel`,
+  - The keyword `origin` has been added,
+  - Formats `cnotice`, `cmode`, `query` have been removed.
+
+
 ### Network API
 
   - The requests `server-cnotice` and `server-cmode` have been removed, use
@@ -31,7 +40,9 @@
 #### Events
 
   - The events `onChannelMode` and `onChannelNotice` have been removed, plugins
-    must use `Server.isSelf(target)` to determine a channel/private message.
+    must use `Server.isSelf(target)` to determine a channel/private message,
+  - The event `onNotice` takes a new `channel` argument,
+  - The event `onMode` takes new `channel`, `limit`, `user`, `mask` arguments.
 
 #### Module Server