File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments