Skip to content

Commit e9a7b0f

Browse files
authored
Update CHANGELOG.md
1 parent 291300e commit e9a7b0f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CHANGELOG.md

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

3+
## 0.18.0
4+
* 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+
* Added the `.name` property to all transpiled classes, so `class.name` will contain the classname as string.
6+
* Changed `class = class or {}` syntax to just be `class = {}`.
7+
* Cleaned up printer output so it produces more human-readable code.
8+
9+
* Fixed bug with expression statements.
10+
* Fixed incorrect inline sourcemap format.
11+
* Fixed bug when merging an interface and module.
12+
* Fixed a bug with inherited constructor super call ordering.
13+
14+
* Enabled strict tsconfig.
15+
316
## 0.17.0
417
* We now support source maps in the [standard JS v3 format](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?hl=en_US&pli=1&pli=1). You can generate source maps with the `--sourceMap` CLI argument, or by adding `sourceMap: true` to your tsconfig. Inline source maps are also supported with `--inlineSourceMap` CLI/tsconfig parameter.
518
* Also added [tstl option](https://github.com/TypeScriptToLua/TypeScriptToLua/wiki#tstl-specific-options) `--sourceMapTraceback`, which will add an override to Lua's `debug.traceback()` to each file, so source maps will automatically be applied to Lua stacktraces (i.e. in errors).

0 commit comments

Comments
 (0)