comparison MIGRATING.md @ 796:1a6152af0866

misc: use ipv4 as option rather than family Now, all sections and JSON options that require a IP family will take ipv4 and ipv6 boolean options for convenience. It reduces parsing complexity and is more convenient for the user. Examples: # IPv6 server only [server] name = example port = 6667 hostname = example.org ipv4 = false ipv6 = true # IPv4 transport only [transport] type = ip ipv4 = true ipv6 = false port = 3320 If both options are defined (default everywhere), both protocols will be tried or bound.
author David Demelier <markand@malikania.fr>
date Sun, 11 Nov 2018 14:56:04 +0100
parents 3c090c1ff4f0
children d55a64c6586b
comparison
equal deleted inserted replaced
795:d42e8415e477 796:1a6152af0866
8 8
9 ### Irccd 9 ### Irccd
10 10
11 - The option `reconnect-tries` has been removed from `[server]` section, use 11 - The option `reconnect-tries` has been removed from `[server]` section, use
12 `auto-reconnect` boolean option instead, 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`. 13 - The option `reconnect-timeout` has been renamed to `auto-reconnect-delay`.
15 - The section `[identity]` has been removed, instead move those values inside 14 - The section `[identity]` has been removed, instead move those values inside
16 each server in their `[server]` section. 15 each server in their `[server]` section.
17 16
18 ### Irccdctl 17 ### Irccdctl
35 - The requests `server-cnotice` and `server-cmode` have been removed, use 34 - The requests `server-cnotice` and `server-cmode` have been removed, use
36 `server-notice` and `server-mode` instead, 35 `server-notice` and `server-mode` instead,
37 - The request `server-mode` command requires a new argument `channel`. 36 - The request `server-mode` command requires a new argument `channel`.
38 - The property `host` in request `server-connect` has been renamed to 37 - The property `host` in request `server-connect` has been renamed to
39 `hostname`, 38 `hostname`,
40 - The property `ipv6` in request `server-connect` has been renamed to
41 `family`,
42 - The request `server-info` sends `hostname` property instead of `host`, 39 - The request `server-info` sends `hostname` property instead of `host`,
43 - The event `onWhois` sends `hostname` property instead of `host`, 40 - The event `onWhois` sends `hostname` property instead of `host`,
44 41
45 ### CMake options 42 ### CMake options
46 43
71 `Server.mode` and `Server.notice` instead, 68 `Server.mode` and `Server.notice` instead,
72 - The method `Server.mode` requires a new argument `channel`, 69 - The method `Server.mode` requires a new argument `channel`,
73 - The object returned in the method `Server.info` now has a `hostname` property 70 - The object returned in the method `Server.info` now has a `hostname` property
74 instead of `host`. 71 instead of `host`.
75 - The property `host` in constructor `Server` has been renamed to 72 - The property `host` in constructor `Server` has been renamed to
76 `hostname`, 73 `hostname`.
77 - The property `ipv6` in constructor `Server` has been renamed to
78 `family`,
79 74
80 #### Module ElapsedTimer 75 #### Module ElapsedTimer
81 76
82 - The method ElapsedTimer.reset has been removed, just use `start` instead 77 - The method ElapsedTimer.reset has been removed, just use `start` instead
83 when you want to accumulate time. 78 when you want to accumulate time.