1.4.1 (2016-07-05)
- introduce package-json-versionify to reduce content of package.json to be embedded into web bundle (d97f00b)
- update power-assert-runtime related packages (6d622e1)
1.4.0 (2016-06-05)
Features
1.3.2 (2015-12-12)
Bug Fixes
- update acorn-es7-plugin to 1.0.10 and stop pinning of acorn version (c9d2275)
1.3.1 (2015-11-12)
Bug Fixes
- pin acorn version to
<2.6.0
for now since await
without enclosing async
raises error (3eacfad6)
1.3.0 (2015-11-07)
Features
1.2.0 (2015-11-03)
Features
1.1.0 (2015-09-14)
Bug Fixes
- fix location detection of infix operator (f6e0d691)
Features
- expose built-in Renderer classes (c19ee541)
- introduce new Renderer initialization style (ee643548)
1.0.2 (2015-08-25)
1.0.1 (2015-07-11)
- update stringifier to 1.2.0 for native Symbol support (3fdc077)
- apply licensify on build (79be7f4)
1.0.0 (2015-06-24)
Features
0.11.0 (2015-04-18)
Features
0.10.2 (2015-02-16)
- power-assert-formatter:
- update stringifier and type-name to 1.0.1 (a44c428d)
0.10.1 (2014-11-12)
- power-assert-formatter:
- stop using inherits module directly since web shim is handled by browserify (984becd6)
0.10.0 (2014-11-11)
Features
new options
power-assert-formatter:
- make string diff function pluggable (6571eaa3)
- outputOffset option to configure number of spaces inserted at the left (d646aa86)
- set outputOffset default to 2 (f05b411d)
- make ambiguous east asian character width configurable (7e8c9328)
- treat ambiguous east asian character as fullwidth (= 2) (20ee139a)
- use inherits module to reduce browserify build size (26b62daf)
- update object-keys (9285c343)
- update estraverse and stringifier (06f3748b)
0.9.0 (2014-09-02)
Features
- power-assert-formatter:
- move built-in renderers to ./built-in/ (acf85109)
- customize rendering by using custom renderer constructor in
renderers
option (265d3539)
- use EventEmitter to make renderers customizable (7c190e11)
Breaking Changes
- built-in renderers are listed as relative path
If you are customizing renderers by options.renderers
, you may have to migrate.
To migrate, change your code from the following:
[
'file',
'assertion',
'diagram',
'binary-expression'
]
To:
[
'./built-in/file',
'./built-in/assertion',
'./built-in/diagram',
'./built-in/binary-expression'
]
(265d3539), (acf85109)
0.8.0 (2014-08-12)
Features
Breaking Changes
- option
stringifyDepth
does not supported any more. use maxDepth
option instead.
If you already customize formatter config using stringifyDepth
, you need to migarte. To migrate, change your code from the following:
var createFormatter = require('power-assert-formatter');
var options = {
stringifyDepth: 2
};
var formatter = createFormatter(options);
To:
var createFormatter = require('power-assert-formatter');
var options = {
maxDepth: 1
};
var formatter = createFormatter(options);
Beware that stringifyDepth - 1 === maxDepth
!