1.3.0 (2018-06-12)

Features

Chore

1.2.3 (2017-06-09)

Bug Fixes

1.2.2 (2017-06-03)

Bug Fixes

1.2.1 (2016-06-05)

1.2.0 (2016-06-01)

Features

1.1.0 (2015-11-07)

Features

1.0.2 (2015-10-22)

Bug Fixes

1.0.1 (2015-09-08)

1.0.0 (2015-05-25)

Features

0.11.0 (2015-04-18)

Features

0.10.0 (2014-11-11)

0.9.1 (2014-10-07)

Bug Fixes

0.9.0 (2014-09-01)

0.8.0 (2014-08-12)

Features

Breaking Changes

There is nothing to change unless you are using saveContextOnFail option.

If you are using saveContextOnFail option, change your code from the following:

empower(originalAssert, formatter, {saveContextOnFail: true})

To:

empower(originalAssert, formatter, {saveContextOnRethrow: true})

(1f6133b2)

There is nothing to change unless you are using modifyMessageOnFail option.

If you are using modifyMessageOnFail option, change your code from the following:

empower(originalAssert, formatter, {modifyMessageOnFail: true})

To:

empower(originalAssert, formatter, {modifyMessageOnRethrow: true})

(0c8a88f0)

If you already customize enhancement pattern using targetMethods, you need to migarte. To migrate, change your code from the following:

var yourAssert = require('./your-assert');
var empower = require('empower');
var formatter = require('power-assert-formatter')();
var options = {
    targetMethods: {
        oneArg: [
            'okay'
        ],
        twoArgs: [
            'equal',
            'customEqual'
        ]
    }
};
var assert = empower(yourAssert, formatter, options);

To:

var yourAssert = require('./your-assert');
var empower = require('empower');
var formatter = require('power-assert-formatter')();
var options = {
    patterns: [
        'yourAssert(value, [message])',
        'yourAssert.okay(value, [message])',
        'yourAssert.equal(actual, expected, [message])',
        'yourAssert.customEqual(actual, expected, [message])'
    ]
};
var assert = empower(yourAssert, formatter, options);

(8ffcc49f)