UNPKG

13 kBMarkdownView Raw
1### [1.0.1](https://github.com/power-assert-js/power-assert/releases/tag/v1.0.1) (2015-09-14)
2
3
4#### Bug Fixes
5
6 * update empower and power-assert-formatter ([f118c4f](https://github.com/power-assert-js/power-assert/commit/f118c4f74a130a4adfd8014a10a707ac36381289)) to [fix location detection of infix operator](https://github.com/power-assert-js/power-assert-formatter/commit/f6e0d6919ee32045c18983c00d60011d0dc4a0d1)
7
8
9## [1.0.0](https://github.com/power-assert-js/power-assert/releases/tag/v1.0.0) (2015-08-26)
10
11
12#### Bug Fixes
13
14 * upgrade power-assert-formatter for native ES6 Symbol support ([d8ba0a1b](https://github.com/power-assert-js/power-assert/commit/d8ba0a1bb6809fecd4900af6ade1213ad58f5db0))
15
16
17#### Features
18
19 * transfer to power-assert-js organization ([64b2fe2e](https://github.com/power-assert-js/power-assert/commit/64b2fe2ea510ba06088d2f07531370af63f195e2))
20 * [official logo!](https://github.com/power-assert-js/power-assert-js-logo)
21
22
23## [0.11.0](https://github.com/power-assert-js/power-assert/releases/tag/v0.11.0) (2015-04-18)
24
25
26#### Features
27
28* [ES6 support](https://github.com/power-assert-js/power-assert/pull/17)
29
30
31### [0.10.2](https://github.com/power-assert-js/power-assert/releases/tag/v0.10.2) (2015-02-16)
32
33
34#### Bug Fixes
35
36* **power-assert:**
37 * update power-assert-formatter to 0.10.2 ([2c0f9624](https://github.com/power-assert-js/power-assert/commit/2c0f962415d60e59affb8f009ae4822f7b503c92)) to apply [stringifier fix]([67a9fa72](https://github.com/twada/stringifier/commit/67a9fa725c7602f948772f4f5f5a74806809ee34))
38
39
40#### Features
41
42* **power-assert:**
43 * ship npm module with built bundle for browsers ([431769f3](https://github.com/power-assert-js/power-assert/commit/431769f3d5da68c279ebf59b0cfd1231fa385361))
44 * add Node 0.12 and io.js to Travis build ([dd9629f9](https://github.com/power-assert-js/power-assert/commit/dd9629f96f3a204f6c24156f648b172f7c6abd4c))
45
46
47### [0.10.1](https://github.com/power-assert-js/power-assert/releases/tag/v0.10.1) (2015-01-09)
48
49
50#### Bug Fixes
51
52* **power-assert:**
53 * apply [assert.deepEqual fix](https://github.com/substack/node-browserify/pull/1041) in browserify 8.1.0 ([96302406](https://github.com/power-assert-js/power-assert/commit/963024062e6c144f2d5487d788e883f418a9c746))
54 * apply [dereserve](https://github.com/twada/dereserve) to browser build
55
56
57## [0.10.0](https://github.com/power-assert-js/power-assert/releases/tag/v0.10.0) (2014-11-12)
58
59
60#### Features
61
62* **power-assert:**
63 * [provide API for customization](https://github.com/power-assert-js/power-assert/pull/14) (see [CUSTOMIZATION API](https://github.com/power-assert-js/power-assert#customization-api))
64
65* **power-assert-formatter:**
66 * [diff option to make string diff function pluggable](https://github.com/power-assert-js/power-assert-formatter/pull/11) (new option [options.diff](https://github.com/power-assert-js/power-assert-formatter#optionsdiff))
67 * [outputOffset option to configure number of spaces inserted at the left](https://github.com/power-assert-js/power-assert-formatter/pull/12) (new option [options.outputOffset](https://github.com/power-assert-js/power-assert-formatter#optionsoutputoffset))
68 * [ambiguousEastAsianCharWidth option to make ambiguous east asian character width configurable](https://github.com/power-assert-js/power-assert-formatter/pull/13) (new option [options.ambiguousEastAsianCharWidth](https://github.com/power-assert-js/power-assert-formatter#optionsambiguouseastasiancharwidth))
69
70* **espowerify:**
71 * [transform file if and only if it is listed in browserify entries](https://github.com/power-assert-js/espowerify/pull/5)
72
73
74### 0.9.1 (2014-10-08)
75
76
77#### Bug Fixes
78
79* **empower:**
80 * power-assert output doesn't appear in Node 0.11.x ([53e882e0](https://github.com/power-assert-js/empower/commit/53e882e00ad3dd8b45f262ab14ac782ed582b954))
81
82
83## 0.9.0 (2014-09-02)
84
85
86#### Features
87
88Now power-assert 0.9.0 supports multi-stage sourcemaps.
89
90* **power-assert:**
91 * update empower and power-assert-formatter to 0.9.0 ([a84ca4e1](https://github.com/power-assert-js/power-assert/commit/a84ca4e1e67e6146452622743915bd78a5f417d0))
92
93* **empower:**
94 * There's no significant changes
95
96* **power-assert-formatter:**
97 * [Customizable Renderers](https://github.com/power-assert-js/power-assert-formatter/pull/10)
98 * move built-in renderers to ./built-in/ ([acf85109](https://github.com/power-assert-js/power-assert-formatter/commit/acf85109bcb579109b80a36a8a6439c4e028066d))
99 * customize rendering by using custom renderer constructor in `renderers` option ([265d3539](https://github.com/power-assert-js/power-assert-formatter/commit/265d353997f7321e9e24c5252c7aa0f4c696624a))
100 * use EventEmitter to make renderers customizable ([7c190e11](https://github.com/power-assert-js/power-assert-formatter/commit/7c190e1170de8c96129a2ccd3e67fd9f14623732))
101
102* **espower:**
103 * [SourceMap support](https://github.com/power-assert-js/espower/pull/11)
104 * adjust filepath in power-assert output if sourceMap option is given ([f919d59d](https://github.com/power-assert-js/espower/commit/f919d59d6eea764881e0266f562724b7142f7695))
105 * adjust line number in power-assert output if sourceMap option is given ([8c035d89](https://github.com/power-assert-js/espower/commit/8c035d89ae88c8554cb8ca0b6bd0f7d6fe2008b0))
106
107* **espower-source:**
108 * backport espowerify to support multi-stage sourcemaps ([71de737c](https://github.com/power-assert-js/espower-source/commit/71de737cb16231db852a44592e896a43c447298b))
109
110* **espower-loader:**
111 * use espower-source 0.9.0 ([c5329f39](https://github.com/power-assert-js/espower-loader/commit/c5329f397d4ab8e434a1788d0fa1c2eb7670a25c))
112
113* **grunt-espower:**
114 * [support multistage sourcemap by @vvakame](https://github.com/power-assert-js/grunt-espower/pull/2)
115 * Thanks @vvakame for the great contribution!
116
117* **gulp-espower:**
118 * [support gulp-sourcemaps](https://github.com/power-assert-js/gulp-espower/pull/2)
119
120* **espowerify:**
121 * use espower-source directly since espower-source 0.9.0 is backported from espowerify ([625cf55d](https://github.com/power-assert-js/espowerify/commit/625cf55d5b73893f4babd00c07489590ef786be0))
122 * use multi-stage-sourcemap module to generate more accurate sourcemaps ([b1f939fa](https://github.com/power-assert-js/espowerify/commit/b1f939faa84be7f4fde82313b2257042b336d25c))
123 * if upstream SourceMap is given, decode and offset it ([a1683475](https://github.com/power-assert-js/espowerify/commit/a1683475a588b0a5b0aee040f23dfb04ad902b11))
124
125* **espower-coffee:**
126 * interact with coffeescript compiler to adjust line number in power-assert output ([9c159205](https://github.com/power-assert-js/espower-coffee/commit/9c159205608e6a556f61167d1fb65123ae2421ab))
127
128
129#### Breaking Changes
130
131**No change is required if you are using default configuration.**
132
133* **power-assert-formatter:**
134 * built-in renderers are listed as relative path
135
136If you are customizing renderers by `options.renderers`, you may have to migrate.
137
138To migrate, change your code from the following:
139
140```
141[
142 'file',
143 'assertion',
144 'diagram',
145 'binary-expression'
146]
147```
148
149To:
150
151```
152 [
153 './built-in/file',
154 './built-in/assertion',
155 './built-in/diagram',
156 './built-in/binary-expression'
157 ]
158```
159
160 ([265d3539](https://github.com/power-assert-js/power-assert-formatter/commit/265d353997f7321e9e24c5252c7aa0f4c696624a)), ([acf85109](https://github.com/power-assert-js/power-assert-formatter/commit/acf85109bcb579109b80a36a8a6439c4e028066d))
161
162
163## 0.8.0 (2014-08-12)
164
165
166#### Features
167
168* **power-assert:**
169 * use single index.js ([e8fa666a](https://github.com/power-assert-js/power-assert/commit/e8fa666aa8197747ae56ca1a55fb171d30d7534c))
170 * update empower and power-assert-formatter to 0.8.0 ([8f760aa0](https://github.com/power-assert-js/power-assert/commit/8f760aa07271f3bcd52576dc503f3d301d67110c))
171
172* **empower:**
173 * [built and modularized by browserify](https://github.com/power-assert-js/empower/pull/12)
174 * use `escallmatch` module to describe target patterns ([533a21a0](https://github.com/power-assert-js/empower/commit/533a21a0374f23f5ca4e198c17d1e20f10d705fa))
175 * support assertion methods with three or more arguments ([d31dca86](https://github.com/power-assert-js/empower/commit/d31dca86de2b05ee88ca5df15579308368657d43))
176 * if not in patterns, do not empower assertion function itself ([1d73a756](https://github.com/power-assert-js/empower/commit/1d73a7560ef586a45a0a9259e57c143b3b60caaa))
177 * option `targetMethods` does not required any more ([8ffcc49f](https://github.com/power-assert-js/empower/commit/8ffcc49fcdb5523eb38e63a0e7cca34f752d9302))
178 * rename `saveContextOnFail` option to `saveContextOnRethrow` ([1f6133b2](https://github.com/power-assert-js/empower/commit/1f6133b24be672f32cfd3b66522a7d14ca5d22e1))
179 * rename `modifyMessageOnFail` option to `modifyMessageOnRethrow` ([0c8a88f0](https://github.com/power-assert-js/empower/commit/0c8a88f0592917ba15ac0c1bf21c8f39f39ab350))
180
181* **power-assert-formatter:**
182 * [built and modularized by browserify](https://github.com/power-assert-js/power-assert-formatter/pull/8)
183 * [use spun-off stringifier module](https://github.com/power-assert-js/power-assert-formatter/pull/9)
184
185* **espower:**
186 * [built and modularized by browserify](https://github.com/power-assert-js/espower/pull/9)
187 * [use escallmatch module to describe instrumentation target patterns](https://github.com/power-assert-js/espower/pull/10)
188 * support chained callee like `browser.assert.element(selector)` ([ea0a3ce9](https://github.com/power-assert-js/espower/commit/ea0a3ce96f56034ab6735365184e1e397f6561c0))
189
190* **espower-source:**
191 * update espower to 0.8.0 ([ae15a229](https://github.com/power-assert-js/espower-source/commit/ae15a229367c65a7a590104f3fb0fc0b2a7582d0))
192 * simple xtend would be better for options handling ([6bea0a92](https://github.com/power-assert-js/espower-source/commit/6bea0a9241aba71f2dcae9c285561e68d91531bb))
193
194* **espower-loader:**
195 * update espower-source to 0.8.0 ([54c2143b](https://github.com/power-assert-js/espower-loader/commit/54c2143bba3966aaf61f1a4d331f3543257f9222))
196
197* **grunt-espower:**
198 * update espower-source to 0.8.0 ([55110fa4](https://github.com/power-assert-js/grunt-espower/commit/55110fa4bffab62045d207d0460eaa864cc9fa8e))
199
200* **gulp-espower:**
201 * update espower-source to 0.8.0 ([a9ab1f7d](https://github.com/power-assert-js/gulp-espower/commit/a9ab1f7de7275b717589bd8eb8048b89bc575763))
202 * now supports streams as well ([ada19f90](https://github.com/power-assert-js/gulp-espower/commit/ada19f90f0dfc674405342310259e31ddd3a6dd0))
203
204* **espowerify:**
205 * update espower-source to 0.8.0 ([026bd0c6](https://github.com/power-assert-js/espowerify/commit/026bd0c6e2d1200084051612dc262ab5509a5652))
206
207* **espower-coffee:**
208 * update espower-source to 0.8.0 ([8702d847](https://github.com/power-assert-js/espower-coffee/commit/8702d84704d659919e96801014c4653539b7b3f0))
209 * [now in beta stage](https://github.com/power-assert-js/espower-coffee/commit/a357b3d35460b9abd17517375d737a8a0bce98dd)
210
211
212#### Breaking Changes
213
214First of all, **No change is required if you are using default configuration.**
215
216* **instrumentors:**
217
218 Version 0.8.0 introduces [escallmatch](https://github.com/twada/escallmatch) syntax for configuration.
219
220 If you are:
221 * using instrumentors such as `espower-loader`, `grunt-espower`, `gulp-espower`, `espowerify` and `espower-coffee`
222 * or using `espower-source` or `espower` directly
223
224 And
225
226 * having custom instrumentation pattern using `powerAssertVariableName` or `targetMethods` property
227
228 Then you need to migarte. To migrate, please see CHANGELOG for the instrumentor you choose.
229
230 * [espower-loader CHANGELOG](https://github.com/power-assert-js/espower-loader/blob/master/CHANGELOG.md)
231 * [grunt-espower CHANGELOG](https://github.com/power-assert-js/grunt-espower/blob/master/CHANGELOG.md)
232 * [gulp-espower CHANGELOG](https://github.com/power-assert-js/gulp-espower/blob/master/CHANGELOG.md)
233 * [espowerify CHANGELOG](https://github.com/power-assert-js/espowerify/blob/master/CHANGELOG.md)
234 * [espower-coffee CHANGELOG](https://github.com/power-assert-js/espower-coffee/blob/master/CHANGELOG.md)
235 * [espower-source CHANGELOG](https://github.com/power-assert-js/espower-source/blob/master/CHANGELOG.md)
236 * [espower CHANGELOG](https://github.com/power-assert-js/espower/blob/master/CHANGELOG.md)
237
238
239* **empower:**
240 * `saveContextOnFail` option is renamed to `saveContextOnRethrow`
241 * `modifyMessageOnFail` option is renamed to `modifyMessageOnRethrow`
242 * option `targetMethods` does not required any more
243 * Please see [empower CHANGELOG](https://github.com/power-assert-js/empower/blob/master/CHANGELOG.md) for more details.
244
245* **power-assert-formatter:**
246 * option `stringifyDepth` does not supported any more. use `maxDepth` option instead.
247 * Please see [power-assert-formatter CHANGELOG](https://github.com/power-assert-js/power-assert-formatter/blob/master/CHANGELOG.md) for more details.