comparison 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
comparison
equal deleted inserted replaced
787:86c9d58ed3ee 788:3c090c1ff4f0
3 3
4 This document is a small guide to help you migrating to a next major version. 4 This document is a small guide to help you migrating to a next major version.
5 5
6 Migrating from 2.x to 3.x 6 Migrating from 2.x to 3.x
7 ------------------------- 7 -------------------------
8
9 ### Irccd
10
11 - The option `reconnect-tries` has been removed from `[server]` section, use
12 `auto-reconnect` boolean option instead,
13 - The option `ipv6` has been removed, use `family` instead,
14 - The option `reconnect-timeout` has been renamed to `auto-reconnect-delay`.
15 - The section `[identity]` has been removed, instead move those values inside
16 each server in their `[server]` section.
8 17
9 ### Irccdctl 18 ### Irccdctl
10 19
11 - The functions `server-cnotice` and `server-cmode` have been removed, use 20 - The functions `server-cnotice` and `server-cmode` have been removed, use
12 `server-notice` and `server-mode` instead, 21 `server-notice` and `server-mode` instead,
26 - The requests `server-cnotice` and `server-cmode` have been removed, use 35 - The requests `server-cnotice` and `server-cmode` have been removed, use
27 `server-notice` and `server-mode` instead, 36 `server-notice` and `server-mode` instead,
28 - The request `server-mode` command requires a new argument `channel`. 37 - The request `server-mode` command requires a new argument `channel`.
29 - The property `host` in request `server-connect` has been renamed to 38 - The property `host` in request `server-connect` has been renamed to
30 `hostname`, 39 `hostname`,
40 - The property `ipv6` in request `server-connect` has been renamed to
41 `family`,
31 - The request `server-info` sends `hostname` property instead of `host`, 42 - The request `server-info` sends `hostname` property instead of `host`,
32 - The event `onWhois` sends `hostname` property instead of `host`. 43 - The event `onWhois` sends `hostname` property instead of `host`,
33 44
34 ### CMake options 45 ### CMake options
35 46
36 - All options are now starting with `IRCCD_` for better compatibility with 47 - All options are now starting with `IRCCD_` for better compatibility with
37 external projects, 48 external projects,
59 - The methods `Server.cmode` and `Server.cnotice` have been removed, use 70 - The methods `Server.cmode` and `Server.cnotice` have been removed, use
60 `Server.mode` and `Server.notice` instead, 71 `Server.mode` and `Server.notice` instead,
61 - The method `Server.mode` requires a new argument `channel`, 72 - The method `Server.mode` requires a new argument `channel`,
62 - The object returned in the method `Server.info` now has a `hostname` property 73 - The object returned in the method `Server.info` now has a `hostname` property
63 instead of `host`. 74 instead of `host`.
75 - The property `host` in constructor `Server` has been renamed to
76 `hostname`,
77 - The property `ipv6` in constructor `Server` has been renamed to
78 `family`,
64 79
65 #### Module ElapsedTimer 80 #### Module ElapsedTimer
66 81
67 - The method ElapsedTimer.reset has been removed, just use `start` instead 82 - The method ElapsedTimer.reset has been removed, just use `start` instead
68 when you want to accumulate time. 83 when you want to accumulate time.
88 `hostname`. 103 `hostname`.
89 104
90 #### Module System 105 #### Module System
91 106
92 - The function `Irccd.System.name` has now well defined return value. 107 - The function `Irccd.System.name` has now well defined return value.
93
94 ### Irccd
95
96 #### Configuration
97
98 - The option `reconnect-tries` has been removed from `[server]` section, use
99 `auto-reconnect` boolean option instead.
100 - The option `reconnect-timeout` has been renamed to `auto-reconnect-delay`.
101 - The section `[identity]` has been removed, instead move those values inside
102 each server in their `[server]` section.