Skip to content

Commit 988c82a

Browse files
authored
Update CHANGELOG.md
1 parent 4c72ad5 commit 988c82a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

CHANGELOG.md

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

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+
314
## 0.18.0
415
* 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!).
516
* Added the `.name` property to all transpiled classes, so `class.name` will contain the classname as string.

0 commit comments

Comments
 (0)