Mercurial > irccd
comparison MIGRATING.md @ 846:dcef68d82fd3
irccd: rework Irccd.ElapsedTimer -> Irccd.Chrono API, closes #1667
- Add new start function to restart a paused timer (closes #1669),
- Rename restart function to resume (closes #1668),
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 10 Jul 2019 13:39:20 +0200 |
parents | 00a4720c4874 |
children | a23b7b574ed2 |
comparison
equal
deleted
inserted
replaced
845:00a4720c4874 | 846:dcef68d82fd3 |
---|---|
68 - The event `onNotice` takes a new `channel` argument, | 68 - The event `onNotice` takes a new `channel` argument, |
69 - The event `onMode` takes new `channel`, `limit`, `user`, `mask` arguments, | 69 - The event `onMode` takes new `channel`, `limit`, `user`, `mask` arguments, |
70 - The object information in `onWhois` event now has `hostname` property instead | 70 - The object information in `onWhois` event now has `hostname` property instead |
71 of `host`. | 71 of `host`. |
72 | 72 |
73 ### Module Chrono | |
74 | |
75 - The module `ElapsedTimer` has been renamed to `Chrono`, | |
76 - The method `Chrono.restart` has been renamed to `Chrono.resume` to reduce | |
77 ambiguity, | |
78 - The method `Chrono.reset` has been removed, just use `Chrono.start` instead | |
79 when you want to start accumulate time again. | |
80 | |
81 ### Module Directory | |
82 | |
83 - The property `Directory.count` has been removed. | |
84 | |
73 ### Module Server | 85 ### Module Server |
74 | 86 |
75 - The methods `Server.cmode` and `Server.cnotice` have been removed, use | 87 - The methods `Server.cmode` and `Server.cnotice` have been removed, use |
76 `Server.mode` and `Server.notice` instead, | 88 `Server.mode` and `Server.notice` instead, |
77 - The method `Server.mode` requires a new argument `channel`, | 89 - The method `Server.mode` requires a new argument `channel`, |
78 - The object returned in the method `Server.info` now has a `hostname` property | 90 - The object returned in the method `Server.info` now has a `hostname` property |
79 instead of `host`. | 91 instead of `host`. |
80 - The property `host` in constructor `Server` has been renamed to | 92 - The property `host` in constructor `Server` has been renamed to |
81 `hostname`, | 93 `hostname`, |
82 - The property `sslVerify` in `Server` constructor has been removed. | 94 - The property `sslVerify` in `Server` constructor has been removed. |
83 | |
84 ### Module ElapsedTimer | |
85 | |
86 - The method ElapsedTimer.reset has been removed, just use `start` instead | |
87 when you want to accumulate time. | |
88 | |
89 ### Module Directory | |
90 | |
91 - The property `Directory.count` has been removed. | |
92 | 95 |
93 ### Module Plugin | 96 ### Module Plugin |
94 | 97 |
95 The following properties in `Irccd.Plugin` has been renamed: | 98 The following properties in `Irccd.Plugin` has been renamed: |
96 | 99 |