1 | ### [1.3.2](https://github.com/power-assert-js/power-assert-formatter/releases/tag/v1.3.2) (2015-12-12)
|
2 |
|
3 |
|
4 | #### Bug Fixes
|
5 |
|
6 | * update acorn-es7-plugin to 1.0.10 and stop pinning of acorn version ([c9d2275](https://github.com/power-assert-js/power-assert-formatter/commit/c9d22757ea41b8e5ed6e39d910691094bbf0c1e4))
|
7 |
|
8 |
|
9 | ### [1.3.1](https://github.com/power-assert-js/power-assert-formatter/releases/tag/v1.3.1) (2015-11-12)
|
10 |
|
11 |
|
12 | #### Bug Fixes
|
13 |
|
14 | * pin acorn version to `<2.6.0` for now since `await` without enclosing `async` raises error ([3eacfad6](https://github.com/power-assert-js/power-assert-formatter/commit/3eacfad621897106a1eb18f93d753e5b5a09e26d))
|
15 |
|
16 |
|
17 | ## [1.3.0](https://github.com/power-assert-js/power-assert-formatter/releases/tag/v1.3.0) (2015-11-07)
|
18 |
|
19 |
|
20 | #### Features
|
21 |
|
22 | * [support async/await](https://github.com/power-assert-js/power-assert-formatter/pull/20) (by [@jamestalmage](https://github.com/jamestalmage))
|
23 |
|
24 |
|
25 | ## [1.2.0](https://github.com/power-assert-js/power-assert-formatter/releases/tag/v1.2.0) (2015-11-03)
|
26 |
|
27 |
|
28 | #### Features
|
29 |
|
30 | * [Support yield expressions](https://github.com/power-assert-js/power-assert-formatter/pull/19) (by [@jamestalmage](https://github.com/jamestalmage))
|
31 |
|
32 |
|
33 | ## [1.1.0](https://github.com/power-assert-js/power-assert-formatter/releases/tag/v1.1.0) (2015-09-14)
|
34 |
|
35 |
|
36 | #### Bug Fixes
|
37 |
|
38 | * fix location detection of infix operator ([f6e0d691](https://github.com/power-assert-js/power-assert-formatter/commit/f6e0d6919ee32045c18983c00d60011d0dc4a0d1))
|
39 |
|
40 |
|
41 | #### Features
|
42 |
|
43 | * expose built-in Renderer classes ([c19ee541](https://github.com/power-assert-js/power-assert-formatter/commit/c19ee5411fbe5bd8eed5be418252d8576aa75e0f))
|
44 | * introduce new Renderer initialization style ([ee643548](https://github.com/power-assert-js/power-assert-formatter/commit/ee6435484143ae5fadae913608ff97df66ca8f23))
|
45 |
|
46 |
|
47 | ### [1.0.2](https://github.com/power-assert-js/power-assert-formatter/releases/tag/v1.0.2) (2015-08-25)
|
48 |
|
49 |
|
50 | * [Switch back to esprima again](https://github.com/power-assert-js/power-assert-formatter/pull/16)
|
51 |
|
52 |
|
53 | ### [1.0.1](https://github.com/power-assert-js/power-assert-formatter/releases/tag/v1.0.1) (2015-07-11)
|
54 |
|
55 |
|
56 | * update stringifier to 1.2.0 for native Symbol support ([3fdc077](https://github.com/power-assert-js/power-assert-formatter/commit/3fdc07764bc4967036df54555100d941cfdda9cd))
|
57 | * apply licensify on build ([79be7f4](https://github.com/power-assert-js/power-assert-formatter/commit/79be7f42387b19baaff368422b09f8d4365f798d))
|
58 |
|
59 |
|
60 | ## [1.0.0](https://github.com/power-assert-js/power-assert-formatter/releases/tag/v1.0.0) (2015-06-24)
|
61 |
|
62 |
|
63 | #### Features
|
64 |
|
65 | * The first stable release
|
66 | * transfer to power-assert-js organization ([4f03887b](https://github.com/power-assert-js/power-assert-formatter/commit/4f03887b18b0b59fe594931b0621788a595a532f))
|
67 | * [use ponyfills for older browsers](https://github.com/power-assert-js/power-assert-formatter/pull/15)
|
68 |
|
69 |
|
70 | ## [0.11.0](https://github.com/power-assert-js/power-assert-formatter/releases/tag/v0.11.0) (2015-04-18)
|
71 |
|
72 |
|
73 | #### Features
|
74 |
|
75 | * [ES6 support](https://github.com/power-assert-js/power-assert-formatter/pull/14)
|
76 | * ship npm module with built bundle for browsers ([5c4afefb](https://github.com/power-assert-js/power-assert-formatter/commit/5c4afefb252dac5d52a2892ea54cedb59da66af0))
|
77 |
|
78 |
|
79 | ### [0.10.2](https://github.com/power-assert-js/power-assert-formatter/releases/tag/v0.10.2) (2015-02-16)
|
80 |
|
81 |
|
82 | * **power-assert-formatter:**
|
83 | * update stringifier and type-name to 1.0.1 ([a44c428d](https://github.com/power-assert-js/power-assert-formatter/commit/a44c428d7aa541c819ae31b61a8979c8ae74e046))
|
84 |
|
85 |
|
86 | ### [0.10.1](https://github.com/power-assert-js/power-assert-formatter/releases/tag/v0.10.1) (2014-11-12)
|
87 |
|
88 |
|
89 | * **power-assert-formatter:**
|
90 | * stop using inherits module directly since web shim is handled by browserify ([984becd6](https://github.com/power-assert-js/power-assert-formatter/commit/984becd6f08454babac80f99521a98841c23797a))
|
91 |
|
92 |
|
93 | ## [0.10.0](https://github.com/power-assert-js/power-assert-formatter/releases/tag/v0.10.0) (2014-11-11)
|
94 |
|
95 |
|
96 | #### Features
|
97 |
|
98 | * **new options**
|
99 | * [options.outputOffset](https://github.com/power-assert-js/power-assert-formatter#optionsoutputoffset)
|
100 | * [options.ambiguousEastAsianCharWidth](https://github.com/power-assert-js/power-assert-formatter#optionsambiguouseastasiancharwidth)
|
101 | * [options.diff](https://github.com/power-assert-js/power-assert-formatter#optionsdiff)
|
102 |
|
103 | * **power-assert-formatter:**
|
104 | * make string diff function pluggable ([6571eaa3](https://github.com/power-assert-js/power-assert-formatter/commit/6571eaa34ce310d796fa8e2040143516db094527))
|
105 | * outputOffset option to configure number of spaces inserted at the left ([d646aa86](https://github.com/power-assert-js/power-assert-formatter/commit/d646aa86d9ed8952433a2ca6f903362754aa5a31))
|
106 | * set outputOffset default to 2 ([f05b411d](https://github.com/power-assert-js/power-assert-formatter/commit/f05b411ddb5123d15f5613714fec1b777403e853))
|
107 | * make ambiguous east asian character width configurable ([7e8c9328](https://github.com/power-assert-js/power-assert-formatter/commit/7e8c9328b1b62879c0ee0a86a495fa25f5c22865))
|
108 | * treat ambiguous east asian character as fullwidth (= 2) ([20ee139a](https://github.com/power-assert-js/power-assert-formatter/commit/20ee139a13677a043ce8c5982b8dae9d6ef6cb59))
|
109 | * use inherits module to reduce browserify build size ([26b62daf](https://github.com/power-assert-js/power-assert-formatter/commit/26b62daf7f46f2b47029013568407e6ca56631bb))
|
110 | * update object-keys ([9285c343](https://github.com/power-assert-js/power-assert-formatter/commit/9285c3430261513dad6283a4dd100acb4dd91925))
|
111 | * update estraverse and stringifier ([06f3748b](https://github.com/power-assert-js/power-assert-formatter/commit/06f3748b9995de035110a2e562f81fd1dc09c972))
|
112 |
|
113 |
|
114 | ## 0.9.0 (2014-09-02)
|
115 |
|
116 |
|
117 | #### Features
|
118 |
|
119 | * **power-assert-formatter:**
|
120 | * move built-in renderers to ./built-in/ ([acf85109](https://github.com/power-assert-js/power-assert-formatter/commit/acf85109bcb579109b80a36a8a6439c4e028066d))
|
121 | * customize rendering by using custom renderer constructor in `renderers` option ([265d3539](https://github.com/power-assert-js/power-assert-formatter/commit/265d353997f7321e9e24c5252c7aa0f4c696624a))
|
122 | * use EventEmitter to make renderers customizable ([7c190e11](https://github.com/power-assert-js/power-assert-formatter/commit/7c190e1170de8c96129a2ccd3e67fd9f14623732))
|
123 |
|
124 |
|
125 | #### Breaking Changes
|
126 |
|
127 | * built-in renderers are listed as relative path
|
128 |
|
129 | If you are customizing renderers by `options.renderers`, you may have to migrate.
|
130 |
|
131 | To migrate, change your code from the following:
|
132 |
|
133 | ```
|
134 | [
|
135 | 'file',
|
136 | 'assertion',
|
137 | 'diagram',
|
138 | 'binary-expression'
|
139 | ]
|
140 | ```
|
141 |
|
142 | To:
|
143 |
|
144 | ```
|
145 | [
|
146 | './built-in/file',
|
147 | './built-in/assertion',
|
148 | './built-in/diagram',
|
149 | './built-in/binary-expression'
|
150 | ]
|
151 | ```
|
152 |
|
153 | ([265d3539](https://github.com/power-assert-js/power-assert-formatter/commit/265d353997f7321e9e24c5252c7aa0f4c696624a)), ([acf85109](https://github.com/power-assert-js/power-assert-formatter/commit/acf85109bcb579109b80a36a8a6439c4e028066d))
|
154 |
|
155 |
|
156 | ## 0.8.0 (2014-08-12)
|
157 |
|
158 |
|
159 | #### Features
|
160 |
|
161 |
|
162 | * **power-assert-formatter:**
|
163 | * [built and modularized by browserify](https://github.com/power-assert-js/power-assert-formatter/pull/8)
|
164 | * [use spun-off stringifier module](https://github.com/power-assert-js/power-assert-formatter/pull/9)
|
165 |
|
166 |
|
167 | #### Breaking Changes
|
168 |
|
169 | * option `stringifyDepth` does not supported any more. use `maxDepth` option instead.
|
170 |
|
171 | If you already customize formatter config using `stringifyDepth`, you need to migarte. To migrate, change your code from the following:
|
172 |
|
173 | ```javascript
|
174 | var createFormatter = require('power-assert-formatter');
|
175 | var options = {
|
176 | stringifyDepth: 2
|
177 | };
|
178 | var formatter = createFormatter(options);
|
179 | ```
|
180 |
|
181 | To:
|
182 |
|
183 | ```javascript
|
184 | var createFormatter = require('power-assert-formatter');
|
185 | var options = {
|
186 | maxDepth: 1
|
187 | };
|
188 | var formatter = createFormatter(options);
|
189 | ```
|
190 |
|
191 | Beware that `stringifyDepth - 1 === maxDepth` !
|