view MIGRATING.md @ 541:1c2598716ffc

Irccd: add network_error::no_error
author David Demelier <markand@malikania.fr>
date Mon, 20 Nov 2017 19:35:58 +0100
parents 16b9ebfd3f08
children 18e80ec38ac7
line wrap: on
line source

IRC Client Daemon MIGRATING
===========================

This document is a small guide to help you migrating to a next major version.

Migrating from 2.x to 3.x
-------------------------

### CMake options

  - WITH_CONFDIR has been renamed to WITH_SYSCONFDIR.

### Paths

  - The default plugins path has been changed from **share/irccd/plugins** to
    **libexec/irccd/plugins**.

### Plugin configuration

The following properties in `Irccd.Plugin` has been renamed:

  - cachePath renamed to paths.cache,
  - configPath renamed to paths.config,
  - dataPath renamed to paths.data.

Note: these paths are no more automatically detected and set with the new
      `[paths]` and `[paths.<name>]` sections.

### Javascript API

#### 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.