1 | # buble changelog
|
2 |
|
3 | ## 0.20.0 (2020-03-26)
|
4 |
|
5 | * **Breaking**: Drop Node v4 && v6 testing on CI; Buble will likely continue to work on these versions, but support for them is no longer actively maintained. [#250](https://github.com/bublejs/buble/pull/250)
|
6 | * Fix recognition of catch-declared variables ([#237](https://github.com/bublejs/buble/pull/237))
|
7 | * Prevent labels from being renamed due to let/const transpilation. ([#236](https://github.com/bublejs/buble/pull/236))
|
8 | * Fix scoping of variables declared in for loops. ([#233](https://github.com/bublejs/buble/pull/233))
|
9 | * Fix an error when transpiling `for (a[0] in b)`. ([#232](https://github.com/bublejs/buble/pull/232))
|
10 | * Fix an error when transpiling `for` with an empty init. ([#226](https://github.com/bublejs/buble/pull/226))
|
11 | * Fix `let`/`const` transpilation when combined with shorthand properties. ([#229](https://github.com/bublejs/buble/pull/229))
|
12 | * Fix JSX not respecting advanced white space characters. ([#218](https://github.com/bublejs/buble/pull/218))
|
13 | * Fix name collision when transpiling `A = class extends A {}`. ([#209](https://github.com/bublejs/buble/pull/209))
|
14 | * Fix `os-homedir` dependency warnings on install. ([#207](https://github.com/bublejs/buble/pull/207))
|
15 | * Upgrade dependencies to their latest patch versions, fixing security audit warnings. ([#250](https://github.com/bublejs/buble/pull/250))
|
16 |
|
17 | ## 0.19.8 (2019-07-03)
|
18 |
|
19 | * Allow shebang ([#191](https://github.com/bublejs/buble/pull/191))
|
20 | * Fix tagged template literal in certain cases ([#190](https://github.com/bublejs/buble/issues/190))
|
21 | * Fix removing of trailing commas in certain cases ([#194](https://github.com/bublejs/buble/pull/194))
|
22 | * Make JSX Fragment configurable ([#198](https://github.com/bublejs/buble/issues/198))
|
23 | * Fix transpiling string-keyed properties with whitespaces before colons ([#200](https://github.com/bublejs/buble/pull/200))
|
24 |
|
25 | ## 0.19.7 (2019-03-11)
|
26 |
|
27 | * Throw error on dynamic import expression if transform is not disabled
|
28 | * Throw error on async and await if transform is not disabled
|
29 | * Allow await outside of functions
|
30 | * Don't bundle acorn dependencies ([#165](https://github.com/bublejs/buble/pull/165))
|
31 | * Inline spread elements where possible ([#179](https://github.com/bublejs/buble/pull/179))
|
32 | * Correctly handle operator precedence for array spread ([#177](https://github.com/bublejs/buble/issues/177))
|
33 | * Correctly pass-through async arrow functions and methods ([#109](https://github.com/bublejs/buble/issues/109), [#146](https://github.com/bublejs/buble/issues/146))
|
34 | * Move repository to https://github.com/bublejs/buble
|
35 | * Exclude non-string keys from rest properties ([#149](https://github.com/bublejs/buble/issues/149))
|
36 |
|
37 | ## 0.19.6 (2018-10-23)
|
38 |
|
39 | * Fix class expressions with heritage in arrow functions ([#150](https://github.com/bublejs/buble/issues/150))
|
40 | * Support `objectAssign: true` in API as a short-hand for `objectAssign: "Object.assign"`
|
41 | * Bundle all acorn dependencies (for now), but no others ([#159](https://github.com/bublejs/buble/issues/159))
|
42 |
|
43 | ## 0.19.5 (2018-10-16)
|
44 |
|
45 | * Transpile U+2028 and U+2029 according to stage 4 proposal json-superset
|
46 | * Add `/*@__PURE__*/` annotations to transpiled classes
|
47 | * Update support data
|
48 | * Allow disabling spread properties transpiling
|
49 | * Fix specific edge case with spread and computed properties ([#139](https://github.com/bublejs/buble/issues/139))
|
50 | * Allow global `return` statements
|
51 | * Don't create unnecessary `this` aliases with loops ([#120](https://github.com/bublejs/buble/issues/120))
|
52 | * Don't allow getters and setters if IE8 is transpile target ([#20](https://github.com/bublejs/buble/issues/20))
|
53 |
|
54 | ## 0.19.4 (2018-10-06)
|
55 |
|
56 | * Fix transpiling destructuring assignments in brace-less if statement's bodies ([#152](https://github.com/bublejs/buble/issues/152))
|
57 | * Fix transpiling const and let after brace-less if statements ([#132](https://github.com/bublejs/buble/issues/132))
|
58 | * Transpile binary and octal number literals if base prefix is upper-case ([#74](https://github.com/bublejs/buble/issues/74))
|
59 | * Mark classes as supported in Chrome 48
|
60 | * Mark destructuring of arrow function arguments as not supported in Firefox < 52
|
61 |
|
62 | ## 0.19.3 (2018-02-13)
|
63 |
|
64 | * Make sure browser builds are actually valid ES5 (except for the modules build)
|
65 |
|
66 | ## 0.19.2 (2018-02-12)
|
67 |
|
68 | * Correctly specify browser field in package.json ([#107](https://github.com/bublejs/buble/issues/107))
|
69 | * Fix a compile error about using `super` outside of class methods
|
70 | * Fix transpiling rest properties
|
71 |
|
72 | ## 0.19.1 (2018-02-10)
|
73 |
|
74 | * Fix transpiling let and const if arrow functions are not transpiled (i. e. node: 4)
|
75 |
|
76 | ## 0.19.0 (2018-02-10)
|
77 |
|
78 | ### Enhancements
|
79 |
|
80 | * Add support information for new environments
|
81 | * Add (pass-thru) support for async generators and for-async-of
|
82 | * Add support for dynamic import ([#102](https://github.com/bublejs/buble/pull/102))
|
83 | * Add support for JSX fragments ([#62](https://github.com/bublejs/buble/issues/62))
|
84 | * Add unpkg build and transpile browser build for older environments ([#93](https://github.com/bublejs/buble/issues/93))
|
85 | * Reuse tagged template quasis ([#67](https://github.com/bublejs/buble/pull/67))
|
86 | * Transpile trailing commas in new expressions ([#63](https://github.com/bublejs/buble/issues/63))
|
87 | * Add support for destructuring in for-in and for-of loop heads
|
88 | * Add support for destructuring in catch clause params
|
89 | * Add support for rest properties in assignments
|
90 |
|
91 | ### Fixes
|
92 |
|
93 | * Don't remove commas in comments after the last argument ([#89](https://github.com/bublejs/buble/issues/89))
|
94 | * Support transformations involving aliasing of variables in block scopes ([#60](https://github.com/bublejs/buble/issues/60))
|
95 | * Evaluate expression only once with inline default pattern elements
|
96 | * Fix nested object and array patterns, rest properties and default values in for loop heads
|
97 | * Only put own properties in rest properties
|
98 | * Improve declaration of helper variables
|
99 | * Allow modification of mutable variables that shadow a const before declaration ([#59](https://github.com/bublejs/buble/issues/59))
|
100 | * Correctly detect modification of immutable variables through destructuring assignments
|
101 | * In object methods, support destructuring declarations initialized with a variable having the same name as the method ([#86](https://github.com/bublejs/buble/issues/86))
|
102 | * Fix properties with string literal keys after computed properties ([#91](https://github.com/bublejs/buble/pull/91))
|
103 | * Fix methods after computed properties ([#101](https://github.com/bublejs/buble/issues/101))
|
104 | * Fix short-hand generator methods
|
105 | * Fix template literals in array after spread element ([#105](https://github.com/bublejs/buble/issues/105))
|
106 | * Fix arrow functions in array after spread element ([#100](https://github.com/bublejs/buble/issues/100))
|
107 | * Fix arrow functions in new expression after spread element ([#100](https://github.com/bublejs/buble/issues/100))
|
108 | * Restore decoding HTML entities in JSX ([#104](https://github.com/bublejs/buble/issues/104))
|
109 | * Correct various entries in support matrix
|
110 |
|
111 | ## 0.18.0
|
112 |
|
113 | * Allow anonymous functions and classes as default exports ([#37](https://github.com/bublejs/buble/issues/37))
|
114 | * Handle non-breaking spaces in JSX ([#46](https://github.com/bublejs/buble/issues/46))
|
115 | * Allow anonymous classes to be assigned to properties ([#33](https://github.com/bublejs/buble/issues/33))
|
116 | * Add `trailingFunctionCommas` transformation ([#50](https://github.com/bublejs/buble/issues/50))
|
117 |
|
118 | ## 0.17.3
|
119 |
|
120 | * Move `chalk` to dependencies ([#35](https://github.com/bublejs/buble/issues/35))
|
121 |
|
122 | ## 0.17.2
|
123 |
|
124 | * Fix nested template literals regression ([#39](https://github.com/bublejs/buble/issues/39))
|
125 |
|
126 | ## 0.17.1
|
127 |
|
128 | * Error on nested rest elements ([#31](https://github.com/bublejs/buble/pull/31))
|
129 | * Allow destructuring with computed properties ([#34](https://github.com/bublejs/buble/pull/34))
|
130 |
|
131 | ## 0.17.0
|
132 |
|
133 | * Update dependencies
|
134 | * Transpile arrow functions unconditionally if spread arguments need transpilation ([#22](https://github.com/bublejs/buble/pull/22))
|
135 | * Better object spread support ([#25](https://github.com/bublejs/buble/pull/25))
|
136 | * Rest properties ([#30](https://github.com/bublejs/buble/pull/30))
|
137 | * Fix ([#24](https://github.com/bublejs/buble/pull/24))
|
138 |
|
139 | ## 0.16.0
|
140 |
|
141 | * Allow truthy dash-cased props ([#2](https://github.com/bublejs/buble/pull/2))
|
142 | * Make class accessors configurable ([#3](https://github.com/bublejs/buble/pull/3))
|
143 | * Support JSX pragma comments ([#5](https://github.com/bublejs/buble/pull/5))
|
144 | * Handle JSX with no spaces between attributes ([#6](https://github.com/bublejs/buble/pull/6))
|
145 |
|
146 | ## 0.15.2
|
147 |
|
148 | * Don't create function names for object methods with `namedFunctionExpressions: false`
|
149 | * Simplify destructuring assignment statements
|
150 | * Give unique names to methods that shadow free variables ([#166](https://gitlab.com/Rich-Harris/buble/issues/166))
|
151 |
|
152 | ## 0.15.1
|
153 |
|
154 | * Fix `Object.assign` regression ([#163](https://gitlab.com/Rich-Harris/buble/issues/163))
|
155 |
|
156 | ## 0.15.0
|
157 |
|
158 | * More informative CLI errors when input comes from stdin ([#155](https://gitlab.com/Rich-Harris/buble/issues/155))
|
159 | * Prevent PhantomJS shadowing errors ([#154](https://gitlab.com/Rich-Harris/buble/issues/154))
|
160 | * Use local `register.js` in tests ([#153](https://gitlab.com/Rich-Harris/buble/issues/153))
|
161 | * Correct CLI output filename with .jsx input ([#151](https://gitlab.com/Rich-Harris/buble/issues/151))
|
162 | * Fix whitespace removal bug ([#159](https://gitlab.com/Rich-Harris/buble/issues/159))
|
163 | * Allow computed properties in object destructuring ([#146](https://gitlab.com/Rich-Harris/buble/issues/146))
|
164 | * Support rest elements in array destructuring ([#147](https://gitlab.com/Rich-Harris/buble/issues/147))
|
165 | * Fix array swap assignment expression ([#148](https://gitlab.com/Rich-Harris/buble/issues/148))
|
166 | * Allow template string as destructuring default ([#145](https://gitlab.com/Rich-Harris/buble/issues/145))
|
167 | * Support multiple returning loops with block scoping ([cbc17ad5e](https://gitlab.com/Rich-Harris/buble/commit/cbc17ad5e1dc6e8af820fee372e6fb68e475afa4))
|
168 | * Fix `super` with spread arguments ([#129](https://gitlab.com/Rich-Harris/buble/issues/129))
|
169 | * Arrow function returning computed property ([#126](https://gitlab.com/Rich-Harris/buble/issues/126))
|
170 | * Allow computed property and object spread to coexist ([#144](https://gitlab.com/Rich-Harris/buble/issues/144))
|
171 | * Add `namedFunctionExpressions` option to prevent scope leak in old browsers ([#130](https://gitlab.com/Rich-Harris/buble/issues/130))
|
172 | * Fix exponentiation assignment edge case ([#122](https://gitlab.com/Rich-Harris/buble/issues/122))
|
173 | * Allow CLI `--output` flag to work with stdin input
|
174 |
|
175 | ## 0.14.3
|
176 |
|
177 | * Prevent crashing on Node versions more recent than the latest 'supported' version ([#102](https://gitlab.com/Rich-Harris/buble/merge_requests/102))
|
178 |
|
179 | ## 0.14.2
|
180 |
|
181 | * Allow `.jsx` file extension ([#127](https://gitlab.com/Rich-Harris/buble/issues/127))
|
182 | * Handle trailing comma in spread operator ([#133](https://gitlab.com/Rich-Harris/buble/issues/133))
|
183 | * Allow empty code blocks in JSX ([#131](https://gitlab.com/Rich-Harris/buble/issues/131))
|
184 | * Allow computed shorthand function name with spread in body ([#135](https://gitlab.com/Rich-Harris/buble/issues/135))
|
185 | * Add `--objectAssign` CLI option ([#113](https://gitlab.com/Rich-Harris/buble/issues/113))
|
186 | * Allow numeric literals as shorthand method keys ([#139](https://gitlab.com/Rich-Harris/buble/issues/139))
|
187 |
|
188 | ## 0.14.1
|
189 |
|
190 | * fix initialization of block-scoped variables in for-of and for-in loops ([#124](https://gitlab.com/Rich-Harris/buble/issues/124))
|
191 |
|
192 | ## 0.14.0
|
193 |
|
194 | * Always wrap block-less bodies in curlies ([#110](https://gitlab.com/Rich-Harris/buble/issues/110), [#117](https://gitlab.com/Rich-Harris/buble/issues/117), [!80](https://gitlab.com/Rich-Harris/buble/merge_requests/80))
|
195 | * Make sure block-scoped variables in loops have an initializer ([#124](https://gitlab.com/Rich-Harris/buble/issues/124))
|
196 | * Destructuring assignments ([!82](https://gitlab.com/Rich-Harris/buble/merge_requests/82))
|
197 | * Support string literals in object destructuring ([!81](https://gitlab.com/Rich-Harris/buble/merge_requests/81))
|
198 | * Standalone arrow function expression statements ([!79](https://gitlab.com/Rich-Harris/buble/merge_requests/79))
|
199 |
|
200 | ## 0.13.2
|
201 |
|
202 | * Fix spread operator when used with `new` and `this` ([#104](https://gitlab.com/Rich-Harris/buble/issues/104), [#115](https://gitlab.com/Rich-Harris/buble/issues/115))
|
203 |
|
204 | ## 0.13.1
|
205 |
|
206 | * Handle destructuring in for/for-of loop heads ([#95](https://gitlab.com/Rich-Harris/buble/issues/95))
|
207 | * Allow early return (without value) from loops ([#103](https://gitlab.com/Rich-Harris/buble/issues/103), [#105](https://gitlab.com/Rich-Harris/buble/issues/105))
|
208 |
|
209 | ## 0.13.0
|
210 |
|
211 | * Require an `objectAssign` option to be specified if using object spread operator ([#93](https://gitlab.com/Rich-Harris/buble/issues/93))
|
212 | * Fix spread operator with expression method calls and template strings ([!74](https://gitlab.com/Rich-Harris/buble/merge_requests/74))
|
213 |
|
214 | ## 0.12.5
|
215 |
|
216 | * Prevent reserved words being used as identifiers ([#86](https://gitlab.com/Rich-Harris/buble/issues/86))
|
217 | * Use correct `this` when transpiling `super` inside arrow function ([#89](https://gitlab.com/Rich-Harris/buble/issues/89))
|
218 | * Handle body-less `for-of` loops ([#80](https://gitlab.com/Rich-Harris/buble/issues/80))
|
219 |
|
220 | ## 0.12.4
|
221 |
|
222 | * Allow references to precede declaration (inside function) in block scoping ([#87](https://gitlab.com/Rich-Harris/buble/issues/87))
|
223 |
|
224 | ## 0.12.3
|
225 |
|
226 | * Argh, npm
|
227 |
|
228 | ## 0.12.2
|
229 |
|
230 | * Files missing in 0.12.1 (???)
|
231 |
|
232 | ## 0.12.1
|
233 |
|
234 | * Don't require space before parens of shorthand computed method ([#82](https://gitlab.com/Rich-Harris/buble/issues/82))
|
235 | * Allow string keys for shorthand methods ([#82](https://gitlab.com/Rich-Harris/buble/issues/82))
|
236 |
|
237 | ## 0.12.0
|
238 |
|
239 | * Support `u` flag in regular expression literals ([!62](https://gitlab.com/Rich-Harris/buble/merge_requests/62))
|
240 | * Save `buble/register` transformations to `$HOME/.buble-cache` ([!63](https://gitlab.com/Rich-Harris/buble/merge_requests/63))
|
241 |
|
242 | ## 0.11.6
|
243 |
|
244 | * Allow shorthand methods with computed names ([#78](https://gitlab.com/Rich-Harris/buble/issues/78))
|
245 | * Include code snippet in `error.toString()` ([#79](https://gitlab.com/Rich-Harris/buble/issues/79))
|
246 |
|
247 | ## 0.11.5
|
248 |
|
249 | * Preserve whitespace between JSX tags on single line ([#65](https://gitlab.com/Rich-Harris/buble/issues/65))
|
250 |
|
251 | ## 0.11.4
|
252 |
|
253 | * Allow computed class methods, except accessors ([!56](https://gitlab.com/Rich-Harris/buble/merge_requests/56))
|
254 | * Compound destructuring ([!58](https://gitlab.com/Rich-Harris/buble/merge_requests/58))
|
255 |
|
256 | ## 0.11.3
|
257 |
|
258 | * Ensure inserted statements follow use strict pragma ([#72](https://gitlab.com/Rich-Harris/buble/issues/72))
|
259 |
|
260 | ## 0.11.2
|
261 |
|
262 | * Ensure closing parenthesis is in correct place when transpiling inline computed property object expressions ([#73](https://gitlab.com/Rich-Harris/buble/issues/73))
|
263 |
|
264 | ## 0.11.1
|
265 |
|
266 | * Fix computed property followed by non-computed property in inline expression
|
267 |
|
268 | ## 0.11.0
|
269 |
|
270 | * Computed properties ([#67](https://gitlab.com/Rich-Harris/buble/issues/67))
|
271 | * Allow `super(...)` to use rest arguments ([#69](https://gitlab.com/Rich-Harris/buble/issues/69))
|
272 |
|
273 | ## 0.10.7
|
274 |
|
275 | * Allow customisation of `Object.assign` (used in object spread) ([!51](https://gitlab.com/Rich-Harris/buble/merge_requests/51))
|
276 |
|
277 | ## 0.10.6
|
278 |
|
279 | * Handle sparse arrays ([#62](https://gitlab.com/Rich-Harris/buble/issues/62))
|
280 | * Handle spread expressions in JSX ([#64](https://gitlab.com/Rich-Harris/buble/issues/64))
|
281 |
|
282 | ## 0.10.5
|
283 |
|
284 | * Create intermediate directories when transforming via CLI ([#63](https://gitlab.com/Rich-Harris/buble/issues/63))
|
285 | * Update README ([#57](https://gitlab.com/Rich-Harris/buble/issues/57))
|
286 |
|
287 | ## 0.10.4
|
288 |
|
289 | * Support spread operator in object literals ([!45](https://gitlab.com/Rich-Harris/buble/merge_requests/45)) and JSX elements ([!46](https://gitlab.com/Rich-Harris/buble/merge_requests/46))
|
290 |
|
291 | ## 0.10.3
|
292 |
|
293 | * Disable intelligent destructuring, temporarily ([#53](https://gitlab.com/Rich-Harris/buble/issues/53))
|
294 | * Fix whitespace in JSX literals ([!39](https://gitlab.com/Rich-Harris/buble/merge_requests/39))
|
295 | * Add `: true` to value-less JSX attributes ([!40](https://gitlab.com/Rich-Harris/buble/merge_requests/40))
|
296 | * Quote invalid attribute names ([!41](https://gitlab.com/Rich-Harris/buble/merge_requests/41))
|
297 |
|
298 | ## 0.10.2
|
299 |
|
300 | * Don't add closing quote to JSX component without attributes ([#58](https://gitlab.com/Rich-Harris/buble/issues/58))
|
301 |
|
302 | ## 0.10.1
|
303 |
|
304 | * Fix handling of literals inside JSX
|
305 |
|
306 | ## 0.10.0
|
307 |
|
308 | * Basic JSX support
|
309 |
|
310 | ## 0.9.3
|
311 |
|
312 | * Better spread operator support, including with `arguments` ([#40](https://gitlab.com/Rich-Harris/buble/issues/40))
|
313 | * Fix indentation of inserted statements in class constructors ([#39](https://gitlab.com/Rich-Harris/buble/issues/39))
|
314 |
|
315 | ## 0.9.2
|
316 |
|
317 | * Allow class to have accessors and no constructor ([#48](https://gitlab.com/Rich-Harris/buble/issues/48))
|
318 | * Fix help message in CLI
|
319 |
|
320 | ## 0.9.1
|
321 |
|
322 | * Prevent confusion over `Literal` node keys
|
323 |
|
324 | ## 0.9.0
|
325 |
|
326 | * More complete and robust destructuring support ([#37](https://gitlab.com/Rich-Harris/buble/issues/37), [#43](https://gitlab.com/Rich-Harris/buble/issues/43))
|
327 | * Correct `this`/`arguments` references inside for-of loop
|
328 |
|
329 | ## 0.8.5
|
330 |
|
331 | * Allow destructured parameter to have default ([#43](https://gitlab.com/Rich-Harris/buble/issues/43))
|
332 | * Allow `continue`/`break` statements inside a for-of loop
|
333 |
|
334 | ## 0.8.4
|
335 |
|
336 | * Allow class body to follow ID/superclass without whitespace ([#46](https://gitlab.com/Rich-Harris/buble/issues/46))
|
337 |
|
338 | ## 0.8.3
|
339 |
|
340 | * Performance enhancements ([!23](https://gitlab.com/Rich-Harris/buble/merge_requests/23))
|
341 |
|
342 | ## 0.8.2
|
343 |
|
344 | * More robust version of ([!22](https://gitlab.com/Rich-Harris/buble/merge_requests/22))
|
345 |
|
346 | ## 0.8.1
|
347 |
|
348 | * Fix `export default class A extends B` (broken in 0.8.0) ([!22](https://gitlab.com/Rich-Harris/buble/merge_requests/22))
|
349 |
|
350 | ## 0.8.0
|
351 |
|
352 | * Subclasses inherit static methods ([#33](https://gitlab.com/Rich-Harris/buble/issues/33))
|
353 | * Performance enhancements ([!21](https://gitlab.com/Rich-Harris/buble/merge_requests/21))
|
354 |
|
355 | ## 0.7.1
|
356 |
|
357 | * Prevent omission of closing paren in template string ([#42](https://gitlab.com/Rich-Harris/buble/issues/42))
|
358 | * Separate variable declarations for each name in destructured declaration ([#18](https://gitlab.com/Rich-Harris/buble/merge_requests/18))
|
359 |
|
360 | ## 0.7.0
|
361 |
|
362 | * Allow arrow functions to be used as default parameter values ([#36](https://gitlab.com/Rich-Harris/buble/issues/36))
|
363 |
|
364 | ## 0.6.7
|
365 |
|
366 | * Support `static get` and `set` in classes ([#34](https://gitlab.com/Rich-Harris/buble/issues/34))
|
367 | * Support spread operator in expression method call ([!14](https://gitlab.com/Rich-Harris/buble/merge_requests/14))
|
368 | * Fix `for-of` loops with no space after opening paren ([#35](https://gitlab.com/Rich-Harris/buble/issues/35))
|
369 |
|
370 | ## 0.6.6
|
371 |
|
372 | * Fix another subclass `super()` bug ([#32](https://gitlab.com/Rich-Harris/buble/issues/32))
|
373 |
|
374 | ## 0.6.5
|
375 |
|
376 | * Fix `super()` call in subclass expression ([#32](https://gitlab.com/Rich-Harris/buble/issues/32))
|
377 | * Less defensive template string parenthesising ([!9](https://gitlab.com/Rich-Harris/buble/merge_requests/9))
|
378 |
|
379 | ## 0.6.4
|
380 |
|
381 | * Add Node 6 to support matrix
|
382 |
|
383 | ## 0.6.3
|
384 |
|
385 | * Handle empty template strings ([#28](https://gitlab.com/Rich-Harris/buble/issues/28))
|
386 |
|
387 | ## 0.6.2
|
388 |
|
389 | * Handle body-less do-while blocks ([#27](https://gitlab.com/Rich-Harris/buble/issues/27))
|
390 |
|
391 | ## 0.6.1
|
392 |
|
393 | * Always remember to close parens in template strings
|
394 |
|
395 | ## 0.6.0
|
396 |
|
397 | * Strip unnecessary empty strings from template literals
|
398 | * Intelligent destructuring for object patterns in parameters ([#17](https://gitlab.com/Rich-Harris/buble/issues/17))
|
399 |
|
400 | ## 0.5.8
|
401 |
|
402 | * Fix exponentiation assignment operator edge case
|
403 |
|
404 | ## 0.5.7
|
405 |
|
406 | * Exponentiation operator support ([#24](https://gitlab.com/Rich-Harris/buble/issues/24))
|
407 | * More informative error messages for for-of and tagged template strings
|
408 |
|
409 | ## 0.5.6
|
410 |
|
411 | * Add `dangerousTaggedTemplateString` ([!2](https://gitlab.com/Rich-Harris/buble/merge_requests/2)) and `dangerousForOf` ([!3](https://gitlab.com/Rich-Harris/buble/merge_requests/3)) transforms
|
412 | * Prevent deindentation causing errors with removed whitespace in class methods
|
413 | * Use correct identifier with default destructured function parameters ([#23](https://gitlab.com/Rich-Harris/buble/issues/23))
|
414 |
|
415 |
|
416 | ## 0.5.5
|
417 |
|
418 | * Ensure `return` is in correct place when creating bodies for arrow functions ([#21](https://gitlab.com/Rich-Harris/buble/issues/21))
|
419 | * Prevent deindentation of class methods causing breakage with destructuring statements ([#22](https://gitlab.com/Rich-Harris/buble/issues/22))
|
420 |
|
421 | ## 0.5.4
|
422 |
|
423 | * Install missing `chalk` dependency
|
424 | * Informative error messages when `buble/register` fails
|
425 |
|
426 | ## 0.5.3
|
427 |
|
428 | * Add `register.js` to package. Yes I'm an idiot
|
429 |
|
430 | ## 0.5.2
|
431 |
|
432 | * Add `buble/register` for use with e.g. Mocha
|
433 |
|
434 | ## 0.5.1
|
435 |
|
436 | * Remove unused dependency
|
437 |
|
438 | ## 0.5.0
|
439 |
|
440 | * Support `--target`, `--yes` and `--no` in CLI
|
441 | * Compile entire directory of files via CLI
|
442 | * Sourcemap support in CLI
|
443 | * All transforms can be disabled (or errors suppressed) with the `transforms` option (or `--yes` and `--no`, in the CLI)
|
444 | * `import` and `export` will throw an error unless `--no modules` transform is specified
|
445 | * Fix bug with destructuring
|
446 | * Fix bug with block scoping and loops
|
447 |
|
448 |
|
449 | ## 0.4.24
|
450 |
|
451 | * Throw if `let`/`const` is redeclared, or `var` is redeclared with a `let`/`const` (0.4.22 regression)
|
452 |
|
453 | ## 0.4.23
|
454 |
|
455 | * Add `buble.VERSION`
|
456 | * Tidy up build process (don't bundle Acorn incorrectly)
|
457 |
|
458 | ## 0.4.22
|
459 |
|
460 | * Allow double `var` declarations (only throw if `let` or `const` is redeclared)
|
461 |
|
462 | ## 0.4.21
|
463 |
|
464 | * Add `find` and `findIndex` helpers for 0.12 support
|
465 |
|
466 | ## 0.4.20
|
467 |
|
468 | * Bump to resolve unknown npm issue
|
469 |
|
470 | ## 0.4.19
|
471 |
|
472 | * Fix block scoping bug with for loops that don't need to be rewritten as functions
|
473 |
|
474 | ## 0.4.18
|
475 |
|
476 | * Fix break-inside-switch bug
|
477 |
|
478 | ## 0.4.17
|
479 |
|
480 | * Support `for...in` loops and block scoping
|
481 |
|
482 | ## 0.4.16
|
483 |
|
484 | * Add `ie` and `edge` to support matrix
|
485 |
|
486 | ## 0.4.15
|
487 |
|
488 | * Rewrite reserved properties if specified ([#9](https://gitlab.com/Rich-Harris/buble/issues/9))
|
489 |
|
490 | ## 0.4.14
|
491 |
|
492 | * Allow classes to extend expressions ([#15](https://gitlab.com/Rich-Harris/buble/issues/15))
|
493 | * Experimental (partially implemented) API for disabling transforms based on target environment or custom requirements
|
494 |
|
495 | ## 0.4.13
|
496 |
|
497 | * Fix return statement bug
|
498 |
|
499 | ## 0.4.12
|
500 |
|
501 | * More complete and robust transpilation of loops that need to be rewritten as functions to simulate block scoping ([#11](https://gitlab.com/Rich-Harris/buble/issues/11), [#12](https://gitlab.com/Rich-Harris/buble/issues/12), [#13](https://gitlab.com/Rich-Harris/buble/issues/13))
|
502 |
|
503 | ## 0.4.11
|
504 |
|
505 | * Remove source-map-support from CLI (only useful during development)
|
506 |
|
507 | ## 0.4.10
|
508 |
|
509 | * Basic support for spread operator
|
510 |
|
511 | ## 0.4.9
|
512 |
|
513 | * Support getters and setters on subclasses
|
514 | * Disallow unsupported features e.g. generators
|
515 |
|
516 | ## 0.4.8
|
517 |
|
518 | * Support getters and setters on classes
|
519 | * Allow identifiers to be renamed in block-scoped destructuring ([#8](https://gitlab.com/Rich-Harris/buble/issues/8))
|
520 | * Transpile body-less arrow functions correctly ([#9](https://gitlab.com/Rich-Harris/buble/issues/4))
|
521 |
|
522 | ## 0.4.7
|
523 |
|
524 | * Add browser version
|
525 |
|
526 | ## 0.4.6
|
527 |
|
528 | * Report locations of parse/compile errors ([#4](https://gitlab.com/Rich-Harris/buble/issues/4))
|
529 |
|
530 | ## 0.4.5
|
531 |
|
532 | * Sourcemap support
|
533 |
|
534 | ## 0.4.4
|
535 |
|
536 | * Support for class expressions
|
537 | * More robust deconflicting
|
538 | * Various bugfixes
|
539 |
|
540 | ## 0.4.3
|
541 |
|
542 | * Handle arbitrary whitespace inside template literals
|
543 |
|
544 | ## 0.4.2
|
545 |
|
546 | * Fix bug-inducing typo
|
547 |
|
548 | ## 0.4.1
|
549 |
|
550 | * Rest parameters
|
551 |
|
552 | ## 0.4.0
|
553 |
|
554 | * Self-hosting!
|
555 |
|
556 | ## 0.3.4
|
557 |
|
558 | * Class inheritance
|
559 |
|
560 | ## 0.3.3
|
561 |
|
562 | * Handle quote marks in template literals
|
563 |
|
564 | ## 0.3.2
|
565 |
|
566 | * Handle empty `class` declarations
|
567 |
|
568 | ## 0.3.1
|
569 |
|
570 | * Add `bin` to package
|
571 |
|
572 | ## 0.3.0
|
573 |
|
574 | * (Very) basic CLI
|
575 | * Handle `export default class ...`
|
576 |
|
577 | ## 0.2.2
|
578 |
|
579 | * Initialise children of Property nodes
|
580 | * Prevent false positives with reference detection
|
581 |
|
582 | ## 0.2.1
|
583 |
|
584 | * Add missing files
|
585 |
|
586 | ## 0.2.0
|
587 |
|
588 | * Support for a bunch more ES2015 features
|
589 |
|
590 | ## 0.1.0
|
591 |
|
592 | * First (experimental) release
|
593 |
|
\ | No newline at end of file |