Mercurial > irccd
diff 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 |
line wrap: on
line diff
--- a/MIGRATING.md Mon Jul 08 16:15:57 2019 +0200 +++ b/MIGRATING.md Wed Jul 10 13:39:20 2019 +0200 @@ -70,6 +70,18 @@ - The object information in `onWhois` event now has `hostname` property instead of `host`. +### Module Chrono + +- The module `ElapsedTimer` has been renamed to `Chrono`, +- The method `Chrono.restart` has been renamed to `Chrono.resume` to reduce + ambiguity, +- The method `Chrono.reset` has been removed, just use `Chrono.start` instead + when you want to start accumulate time again. + +### Module Directory + +- The property `Directory.count` has been removed. + ### Module Server - The methods `Server.cmode` and `Server.cnotice` have been removed, use @@ -81,15 +93,6 @@ `hostname`, - The property `sslVerify` in `Server` constructor has been removed. -### Module ElapsedTimer - -- The method ElapsedTimer.reset has been removed, just use `start` instead - when you want to accumulate time. - -### Module Directory - -- The property `Directory.count` has been removed. - ### Module Plugin The following properties in `Irccd.Plugin` has been renamed: