You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,21 @@
1
1
# Changelog
2
2
3
+
## 0.31.0
4
+
5
+
-**Breaking:** The old annotation syntax (`/* !varArg */`) **no longer works**, the only currently supported syntax is:
6
+
7
+
`/** @varArg */`.
8
+
9
+
-**Breaking:** Fixed some cases where variables were **incorrectly** not labeled `local`. The only variables that are implicitly put in the global context are _top-level variables in non-module files, without any imports or exports in their file_.
10
+
11
+
- Moved handling of parentheses out of the transformers and unified this logic in the printer. This might result in some more parentheses in the generated code, but also makes it more correct and fixes some related bugs.
12
+
13
+
- Added support for `array.includes`.
14
+
15
+
- Fixed a bug breaking global augmentation.
16
+
17
+
- Fixed hoisting breaking if there were synthetic nodes in the AST (i.e. when a TS transformer modified the AST).
18
+
3
19
## 0.30.0
4
20
5
21
-**Breaking:** We dropped support for `var` variables. If you still have any `var` variable declarations, please use `let` or `const` instead.
0 commit comments