Skip to content

Commit b4fb9e3

Browse files
committed
CHANGELOG 1.2.0
1 parent 9d9baa7 commit b4fb9e3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 1.2.0
4+
5+
- Upgraded to TypeScript 4.5.x.
6+
- Improved general output formatting.
7+
- Added support for more complicated (nested) destructuring patterns, also fixing an exception they caused before.
8+
- Fixed incorrect interactions between standard library functionality and optional chaining, e.g. `myArray?.forEach()`.
9+
- Fixed rejected promises sometimes not getting the correct rejection reason.
10+
- Fixed some `delete` behavior that was different in Lua compared to JS.
11+
- Fixed a bug causing exported classes to lose their decorators.
12+
- Fixed plugins checking for ts-node from the wrong location (tsconfig directory), plugins will now check for ts-node relative to the tstl directory.
13+
14+
Under the hood:
15+
16+
- We can now transform using preceding statements, allowing all kinds of optimizations and improvements to output Lua.
17+
- Updated various language constructs to use preceding statements instead of inline immediately-invoked functions.
18+
319
## 1.1.0
420

521
- **[Breaking]** We now use TypeScript's JSX transformer instead of maintaining our own. As a result, `React.createElement` now requires a self parameter, so remove `@noSelf`, `this: void` if necessary.

0 commit comments

Comments
 (0)