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
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,36 @@
1
1
# Changelog
2
2
3
+
## 1.32.0
4
+
5
+
- Fixed a broken `@customName` interation with import statements
6
+
- Use `(table.)unpack(expression, from, to)` when using array destructing syntax `const [a,b] = array;` to avoid having to unpack the entire array
7
+
- Fixed compiler annotations also considering the next line as part of any possible arguments
8
+
- Fixed a bug with unicode classnames not being properly escaped in static initializer blocks
9
+
- Fixed a bug where `@noSelf` still was not respected for index signature methods
10
+
- Fixed a case where loop variables were incorrectly missing `local`
11
+
- Removed dead code that was sometimes generated using `continue` in a loop
12
+
- Fixed a bug with tagged template literals when the tag is a function call
13
+
- Fixed a bug with class decorators leading to invalid Lua code being generated
14
+
- A `-` or `+` prefix now converts expressions to numbers with `Number()`
15
+
- Fixed a bug with root level `using` statements not properly disposing objects
16
+
17
+
## 1.31.0
18
+
19
+
- Upgraded TypeScript to 5.8.2
20
+
- Changed `currentIndent` from private to protected in the `LuaPrinter` to allow custom printers with alternate indentation
21
+
- Added `bit` and `bit32` as reserved Lua keywords to avoid accidental naming clashes.
22
+
23
+
## 1.30.0
24
+
25
+
- Allow passing in-memory plugins when using the tstl API, for more flexible integration into scripts
26
+
- Changed how stacktraces are handled for `Error` in Lua 5.1 and LuaJIT
27
+
28
+
## 1.29.0
29
+
30
+
- Added support for the `Luau` luaTarget. This will use Luau's `continue` statement and ternary conditional expression `if ... then ... else ...` where appropriate.
31
+
- Added support for `new Array<T>()` syntax to construct arrays (constructing with a length argument is not allowed).
32
+
- Fixed a bug causing arrays to sometimes be indexed with a wrong index.
0 commit comments