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
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
# Changelog
2
2
3
+
- Added a compiler API to programmatically invoke TypeScriptToLua, and to modify or extend the default transpiler. More info on the [Compiler API wiki page](<https://github.com/TypeScriptToLua/TypeScriptToLua/wiki/TypeScriptToLua-API>).
4
+
- Added support for [class decorators](https://www.typescriptlang.org/docs/handbook/decorators.html#class-decorators).
5
+
- Added support for the [@luaTable directive](https://github.com/TypeScriptToLua/TypeScriptToLua/wiki/Compiler-Directives#luatable) which will force a class to be transpiled as vanilla lua table.
6
+
- Added support for NaN, Infinity and related number functions.
7
+
- Added support for string.startsWith, string.endsWith and improved string.replace implementation.
8
+
- Added support for Symbol.hasInstance.
9
+
10
+
- Hoisting now also considers imports.
11
+
- Various improvements to iterators and arrays, they also work with the spread operator now.
12
+
- Fixed an issue with parameters that had `false` as default value.
13
+
3
14
## 0.18.0
4
15
* Added support for setting array length. Doing `array.length = x` will set the length of the array to `x` (or shorter, if the starting array was shorter!).
5
16
* Added the `.name` property to all transpiled classes, so `class.name` will contain the classname as string.
0 commit comments