diff MIGRATING.md @ 788:3c090c1ff4f0

irccd: support IPv4, IPv6 in IRC servers, closes #945 @2h
author David Demelier <markand@malikania.fr>
date Thu, 08 Nov 2018 20:48:19 +0100
parents 7145a3df4cb7
children 1a6152af0866
line wrap: on
line diff
--- a/MIGRATING.md	Thu Nov 08 07:03:37 2018 +0100
+++ b/MIGRATING.md	Thu Nov 08 20:48:19 2018 +0100
@@ -6,6 +6,15 @@
 Migrating from 2.x to 3.x
 -------------------------
 
+### Irccd
+
+- The option `reconnect-tries` has been removed from `[server]` section, use
+  `auto-reconnect` boolean option instead,
+- The option `ipv6` has been removed, use `family` instead,
+- The option `reconnect-timeout` has been renamed to `auto-reconnect-delay`.
+- The section `[identity]` has been removed, instead move those values inside
+  each server in their `[server]` section.
+
 ### Irccdctl
 
 - The functions `server-cnotice` and `server-cmode` have been removed, use
@@ -28,8 +37,10 @@
 - The request `server-mode` command requires a new argument `channel`.
 - The property `host` in request `server-connect` has been renamed to
   `hostname`,
+- The property `ipv6` in request `server-connect` has been renamed to
+  `family`,
 - The request `server-info` sends `hostname` property instead of `host`,
-- The event `onWhois` sends `hostname` property instead of `host`.
+- The event `onWhois` sends `hostname` property instead of `host`,
 
 ### CMake options
 
@@ -61,6 +72,10 @@
 - The method `Server.mode` requires a new argument `channel`,
 - The object returned in the method `Server.info` now has a `hostname` property
   instead of `host`.
+- The property `host` in constructor `Server` has been renamed to
+  `hostname`,
+- The property `ipv6` in constructor `Server` has been renamed to
+  `family`,
 
 #### Module ElapsedTimer
 
@@ -90,13 +105,3 @@
 #### Module System
 
 - The function `Irccd.System.name` has now well defined return value.
-
-### Irccd
-
-#### Configuration
-
-- The option `reconnect-tries` has been removed from `[server]` section, use
-  `auto-reconnect` boolean option instead.
-- The option `reconnect-timeout` has been renamed to `auto-reconnect-delay`.
-- The section `[identity]` has been removed, instead move those values inside
-  each server in their `[server]` section.