|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 1.10.0 |
| 4 | + |
| 5 | +- **[Breaking]** Upgraded TypeScript to 4.8. |
| 6 | +- **[Breaking]** Changed how language-extensions are distributed, you should now put `"types": ["@typescript-to-lua/language-extensions"]` in your tsconfig.json (instead of "typescript-to-lua/..."). |
| 7 | +- Added support for **Lua 5.0**, thanks for the effort @YoRyan! |
| 8 | +- Added support for TypeScript 4.7 [instantiation expressions](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#instantiation-expressions). |
| 9 | +- Fixed a bug causing some `require` uses not being recognized my module resolution, leading to missing files in the output. |
| 10 | + |
| 11 | +## 1.9.0 |
| 12 | + |
| 13 | +- Added a warning when trying to use a type in a condition that can never be false in Lua, such as numbers or strings. (Only when `strictNullChecks` is enabled.) |
| 14 | +- Fixed some missing and misplaced errors when trying to reference LuaTable/LuaMap/LuaSet functions without calling them. |
| 15 | +- Fixed a bug in the `get()` type of `ReadOnlyLuaMap`. It is now typed the same as `LuaMap`, i.e. it can return `undefined`. |
| 16 | +- Fixed an issue in bundling that could sometimes lead to invalid bundle entry requires. |
| 17 | +- Added a warning when using `paths` without specifying `baseUrl`. |
| 18 | +- Fixed exception while checking for standard library types. |
| 19 | + |
| 20 | +## 1.8.0 |
| 21 | + |
| 22 | +- Added support for the [tsconfig.json paths](https://www.typescriptlang.org/tsconfig#paths) configuration option. |
| 23 | +- Fixed spreading lua iterables & iterators translating to incorrect lua. |
| 24 | + - You can now write things like `[...pairs(obj)]`. |
| 25 | +- Fixed a bug in module resolution resolving the wrong lua files when having the same file names in nested directories. |
| 26 | +- Fixed a bug causing temporary variables for nested destructuring in loop variables to be outside the loop, instead of inside. |
| 27 | +- Fixed import expressions not actually requiring their import. |
| 28 | +- Fixed `super` calls not being source-mapped correctly. |
| 29 | + |
| 30 | +## 1.7.0 |
| 31 | + |
| 32 | +- Added support for `LuaMap` and `LuaSet` language extensions that translate to very low level Lua table operations. See [our docs](https://typescripttolua.github.io/docs/advanced/language-extensions/#luamap-and-luaset) for more information. |
| 33 | +- Big performance improvements, speeding up TSTL translation by 2-3x. Thanks @GlassBricks! |
| 34 | +- Reduced the use of temorary variables. |
| 35 | +- Moved tsconfig-schema into main TypeScriptToLua repository. |
| 36 | +- Added support for array options in tstl CLI. |
| 37 | +- Fixed bug where promise `then` was not correctly forwarding the result value to chained promises. |
| 38 | +- Fixed a bug causing false positive errors from jsdoc documentation comments. |
| 39 | +- Fixed various calling context bugs. |
| 40 | + |
3 | 41 | ## 1.6.0 |
4 | 42 |
|
5 | 43 | - **[Breaking]** Upgraded TypeScript to 4.7 |
|
0 commit comments