1 | # 3.9.6 (2019-03-01)
|
2 |
|
3 | * Fix Flow bug where `implements` caused the class name to be incorrectly recognized. ([#409])
|
4 | * Correctly handle `!:` in TS variable declarations. ([#410])
|
5 | * Move more import code into helper functions in prep for some upcoming changes.
|
6 | * Fix bug where some JSX component names were incorrectly turned into strings. ([#425]) (Yang Zhang)
|
7 |
|
8 | # 3.9.5 (2019-01-13)
|
9 |
|
10 | * Fix bug when processing a declaration that looks like an export assignment. ([#402])
|
11 | * Fix TS import elision for JSX fragments and custom pragmas. ([#403])
|
12 | * Treat reserved words as invalid identifiers when handling enums. ([#405])
|
13 |
|
14 | # 3.9.4 (2019-01-07)
|
15 |
|
16 | * Avoid false positive when detecting if a class has a superclass. ([#399])
|
17 |
|
18 | # 3.9.3 (2019-01-06)
|
19 |
|
20 | * Fix syntax error on arrow functions with multiline return types. ([#393])
|
21 |
|
22 | # 3.9.2 (2019-01-02)
|
23 |
|
24 | * Fix crash on optional arrow function params without type annotations. ([#389])
|
25 | * Usability bug fixes for website. ([#390])
|
26 |
|
27 | # 3.9.1 (2018-12-31)
|
28 |
|
29 | * Fix react-hot-loader transform syntax error with some export styles. ([#384])
|
30 | * Fix website to properly show react-hot-loader Babel transform output. ([#386])
|
31 |
|
32 | # 3.9.0 (2018-12-30)
|
33 |
|
34 | * Add a react-hot-loader transform. ([#376])
|
35 | * Add support for dynamic `import()` syntax in TS types. ([#380])
|
36 | * Many improvements to the website, including faster initial pageloads.
|
37 | * Small performance improvements.
|
38 |
|
39 | # 3.8.1 (2018-12-03)
|
40 |
|
41 | * Fix infinite loop when a file ends with a short identifier ([#363])
|
42 | * Small perf improvements.
|
43 |
|
44 | # 3.8.0 (2018-11-25)
|
45 |
|
46 | * Various simplifications in prep for compiling the project with AssemblyScript.
|
47 | * Performance improvements, varying from 10% to 70% better performance depending
|
48 | on use case.
|
49 | * Fix infinite loop in flow `declare module` parsing ([#359])
|
50 |
|
51 | # 3.7.1 (2018-11-18)
|
52 |
|
53 | * Fix crash on empty export expressions ([#338])
|
54 | * Fix crash on TypeScript `declare global` ([#339])
|
55 | * Fix crash when using overloaded constructors in TypeScript ([#340])
|
56 | * Fix TypeScript import elision when imported names are shadowed by variables
|
57 | ([#342])
|
58 | * Fix import name transform to work in code without semicolons ([#337])
|
59 | (Alec Larson)
|
60 |
|
61 | # 3.7.0 (2018-11-11)
|
62 |
|
63 | * Fix perf regression in TypeScript parsing ([#327])
|
64 | * Fix broken line numbers in syntax errors, improve parser backtracking
|
65 | performance ([#331])
|
66 | * Add Parser features and bugfixes from the Babel parser, including TypeScript
|
67 | 3.0 support ([#333])
|
68 |
|
69 | # 3.6.0 (2018-10-29)
|
70 |
|
71 | * Add CLI support for jsx pragmas ([#321]) (Josiah Savary)
|
72 | * Allow super.method() calls in constructor ([#324]) (Erik Arvidsson)
|
73 |
|
74 | # 3.5.0 (2018-09-30)
|
75 |
|
76 | * Change class field implementation to use initializer methods ([#313])
|
77 | * Update TypeScript and Flow support to include new language features recently
|
78 | supported by Babel. ([#314], [#315], [#316])
|
79 | * Properly handle function name inference in named exports ([#317])
|
80 |
|
81 | # 3.4.2 (2018-08-27)
|
82 |
|
83 | * Implement destructuring in export declarations ([#305])
|
84 | * Properly handle function name inference in named exports ([#308])
|
85 |
|
86 | # 3.4.1 (2018-07-06)
|
87 |
|
88 | * Quote shorthand prop keys that contain a hyphen ([#292]) (Kevin Gao)
|
89 | * Fix infinite loop on incomplete JSX. ([#296])
|
90 |
|
91 | # 3.4.0 (2018-07-01)
|
92 |
|
93 | * Add a sucrase-node CLI that wraps node. ([#288])
|
94 | * Allow exported generator functions. ([#290])
|
95 |
|
96 | # 3.3.0 (2018-06-28)
|
97 |
|
98 | * Add a --out-extension option to the CLI. ([#282])
|
99 | * Add a -q/--quiet option in the CLI and use it in the build script. ([#284])
|
100 | * Don't emit semicolons in class bodies. ([#285])
|
101 | * Fix ugly emitted comments when removing code between tokens. ([#286])
|
102 |
|
103 | # 3.2.1 (2018-06-27)
|
104 |
|
105 | * Allow TS type parameters on object member methods. ([#276])
|
106 | * Simplify identity source map generator. ([#265])
|
107 | * Fix crash on destructured params in arrow function types. ([#278])
|
108 | * Remove @flow directives from comments when the flow transform is enabled.
|
109 | ([#279])
|
110 |
|
111 | # 3.2.0 (2018-06-25)
|
112 |
|
113 | * Fix crash when using JSX elements as props. ([#268]) (Erik Arvidsson)
|
114 | * Fix incorrect compilation of TypeScript optional class properties with an
|
115 | initializer. ([#264])
|
116 | * Fix crash on class fields that don't end in a semicolon. ([#271])
|
117 | * Allow trailing commas after rest elements. ([#272])
|
118 | * Don't crash on class bodies with an index signature. ([#273])
|
119 | * Allow member expression identifiers when determining React displayName.
|
120 | ([#274])
|
121 | * Add production option and use it for JSX. ([#270]) (Erik Arvidsson)
|
122 | * Fix off-by-one error in parsing JSX fragments. ([#275])
|
123 |
|
124 | # 3.1.0 (2018-06-18)
|
125 |
|
126 | * Add basic support for source maps ([#257], [#261])
|
127 |
|
128 | # 3.0.1 (2018-06-11)
|
129 |
|
130 | * Fix crash in `getVersion`.
|
131 |
|
132 | # 3.0.0 (2018-06-10)
|
133 |
|
134 | ### Breaking Changes
|
135 |
|
136 | * `transform` now returns an object ([#244]). You now should write
|
137 | `transform(...).code` instead of just `transform(...)`. `code` is the only
|
138 | property for now, but this allows Sucrase to return source maps and possibly
|
139 | other values.
|
140 | * The package's `dist` folder has been restructured, so direct internal module
|
141 | imports may break.
|
142 |
|
143 | ### Other changes
|
144 |
|
145 | * Overhaul build system to use Sucrase for everything ([#243])
|
146 | * Omit import helpers when unused ([#237]) (Alec Larson)
|
147 | * Fix files accidentally included in final package ([#233])
|
148 | * Various refactors and performance improvements.
|
149 |
|
150 | # 2.2.0 (2018-05-19)
|
151 |
|
152 | * Add support for JSX fragment syntax.
|
153 | * Add support for custom JSX pragmas rather than defaulting to
|
154 | `React.createElement` and `React.Fragment`.
|
155 |
|
156 | [#233]: https://github.com/alangpierce/sucrase/pull/233
|
157 | [#237]: https://github.com/alangpierce/sucrase/pull/237
|
158 | [#243]: https://github.com/alangpierce/sucrase/pull/243
|
159 | [#244]: https://github.com/alangpierce/sucrase/pull/244
|
160 | [#257]: https://github.com/alangpierce/sucrase/pull/257
|
161 | [#261]: https://github.com/alangpierce/sucrase/pull/261
|
162 | [#264]: https://github.com/alangpierce/sucrase/pull/264
|
163 | [#265]: https://github.com/alangpierce/sucrase/pull/265
|
164 | [#268]: https://github.com/alangpierce/sucrase/pull/268
|
165 | [#270]: https://github.com/alangpierce/sucrase/pull/270
|
166 | [#271]: https://github.com/alangpierce/sucrase/pull/271
|
167 | [#272]: https://github.com/alangpierce/sucrase/pull/272
|
168 | [#273]: https://github.com/alangpierce/sucrase/pull/273
|
169 | [#274]: https://github.com/alangpierce/sucrase/pull/274
|
170 | [#275]: https://github.com/alangpierce/sucrase/pull/275
|
171 | [#276]: https://github.com/alangpierce/sucrase/pull/276
|
172 | [#278]: https://github.com/alangpierce/sucrase/pull/278
|
173 | [#279]: https://github.com/alangpierce/sucrase/pull/279
|
174 | [#282]: https://github.com/alangpierce/sucrase/pull/282
|
175 | [#284]: https://github.com/alangpierce/sucrase/pull/284
|
176 | [#285]: https://github.com/alangpierce/sucrase/pull/285
|
177 | [#286]: https://github.com/alangpierce/sucrase/pull/286
|
178 | [#288]: https://github.com/alangpierce/sucrase/pull/288
|
179 | [#290]: https://github.com/alangpierce/sucrase/pull/290
|
180 | [#292]: https://github.com/alangpierce/sucrase/pull/292
|
181 | [#296]: https://github.com/alangpierce/sucrase/pull/296
|
182 | [#305]: https://github.com/alangpierce/sucrase/pull/305
|
183 | [#308]: https://github.com/alangpierce/sucrase/pull/308
|
184 | [#313]: https://github.com/alangpierce/sucrase/pull/313
|
185 | [#314]: https://github.com/alangpierce/sucrase/pull/314
|
186 | [#315]: https://github.com/alangpierce/sucrase/pull/315
|
187 | [#316]: https://github.com/alangpierce/sucrase/pull/316
|
188 | [#317]: https://github.com/alangpierce/sucrase/pull/317
|
189 | [#321]: https://github.com/alangpierce/sucrase/pull/321
|
190 | [#324]: https://github.com/alangpierce/sucrase/pull/324
|
191 | [#327]: https://github.com/alangpierce/sucrase/pull/327
|
192 | [#331]: https://github.com/alangpierce/sucrase/pull/331
|
193 | [#333]: https://github.com/alangpierce/sucrase/pull/333
|
194 | [#337]: https://github.com/alangpierce/sucrase/pull/337
|
195 | [#338]: https://github.com/alangpierce/sucrase/pull/338
|
196 | [#339]: https://github.com/alangpierce/sucrase/pull/339
|
197 | [#340]: https://github.com/alangpierce/sucrase/pull/340
|
198 | [#342]: https://github.com/alangpierce/sucrase/pull/342
|
199 | [#359]: https://github.com/alangpierce/sucrase/pull/359
|
200 | [#363]: https://github.com/alangpierce/sucrase/pull/363
|
201 | [#376]: https://github.com/alangpierce/sucrase/pull/376
|
202 | [#380]: https://github.com/alangpierce/sucrase/pull/380
|
203 | [#384]: https://github.com/alangpierce/sucrase/pull/384
|
204 | [#386]: https://github.com/alangpierce/sucrase/pull/386
|
205 | [#389]: https://github.com/alangpierce/sucrase/pull/389
|
206 | [#390]: https://github.com/alangpierce/sucrase/pull/390
|
207 | [#393]: https://github.com/alangpierce/sucrase/pull/393
|
208 | [#399]: https://github.com/alangpierce/sucrase/pull/399
|
209 | [#402]: https://github.com/alangpierce/sucrase/pull/402
|
210 | [#403]: https://github.com/alangpierce/sucrase/pull/403
|
211 | [#405]: https://github.com/alangpierce/sucrase/pull/405
|
212 | [#409]: https://github.com/alangpierce/sucrase/pull/409
|
213 | [#410]: https://github.com/alangpierce/sucrase/pull/410
|
214 | [#425]: https://github.com/alangpierce/sucrase/pull/425
|