Skip to content

Commit c7cf302

Browse files
committed
CHANGELOG.md 1.5.0
1 parent 71fb85e commit c7cf302

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

CHANGELOG.md

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

3+
## 1.5.0
4+
5+
- Added support for `Array.from` and `Array.of`
6+
- Added support for `beforeEmit` hook to plugins that runs after tstl is totally done, but before emitting the result.
7+
- For more info about plugin hooks, see: https://typescripttolua.github.io/docs/api/plugins
8+
- Added support for import expressions (`import("./module").then(m => m.foo());`)
9+
- Added tsconfig setting `lua51AllowTryCatchInAsyncAwait` to disable restrictions on try/catch in combination with async/await in 5.1 (default: false)
10+
- Added tsconfig setting `noImplicitGlobalVariables` to disable tstl making variables global in non-module files.
11+
- Various lualib optimizations
12+
- JSDoc comments from input TS are now also part of output Lua as LDoc comments.
13+
- Can be disabled with `removeComments` tsconfig setting.
14+
- Rewrote how try/catch works in async functions, fixing many bugs.
15+
- Fixed a bug where methods with non-null expressions (i.e. `obj.method!()`) would not pass the correct self parameter, causing runtime errors.
16+
- Fixed a bug where symlinked node_modules (for example when using `npm link`) were not recognized as external dependencies by module resolution.
17+
- Fixed a bug with sourcemap traceback leading to invalid lua
18+
- Improved sourcemap traceback interaction with `loadstring`
19+
320
## 1.4.0
421

522
- Upgraded to TypeScript 4.6

0 commit comments

Comments
 (0)