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
+53Lines changed: 53 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,58 @@
1
1
# Changelog
2
2
3
+
## 0.25.0
4
+
5
+
- Added support for named function assignments, i.e. `const myFunc = function x(n) { ...; return x(n - 1); }`
6
+
7
+
- Made detection of string methods more robust.
8
+
- Fixed issue regarding readonly tuple detection.
9
+
- Fixed a nasty issue causing exponential complexity on chained properties/method expressions.
10
+
- Improved handling of constrained generic types related to string and array detection.
11
+
12
+
## 0.24.0
13
+
14
+
- Returns in try/catch statements now properly return from the current function.
15
+
- TypeScript's `globalThis` is now translated to lua's `_G`. Lualib functions were updated where relevant.
16
+
17
+
- Fixed issue where string/table literals were missing parentheses and caused lua syntax errors.
18
+
- Various improvements/refactorings across the codebase.
19
+
- Fixed syntax error in for...of loops with empty destructuring argument.
20
+
- Fixed issue with `do ... while` scope.
21
+
- Fixed a bug with [@combileMembersOnly](https://github.com/TypeScriptToLua/TypeScriptToLua/wiki/Compiler-Directives#compilemembersonly) where it would ignore anything before the enum name.
22
+
23
+
## 0.23.0
24
+
25
+
- Added support for OmittedExpression in array literals and array binding patterns.
26
+
- Added support for [tagged template literals](https://basarat.gitbooks.io/typescript/docs/template-strings.html#tagged-templates).
27
+
- Changed output lua formatting to be more debugger-friendly.
28
+
- Various improvements to source maps.
29
+
30
+
- Fixed an issue with the interaction of super calls and exported classes.
31
+
- Fixed `@noResolution` not working on named modules.
32
+
- Fixed namespace merging not working due to an earlier change.
33
+
34
+
- Some refactoring and plumbing for the website.
35
+
36
+
## 0.22.0
37
+
38
+
- Added the [@vararg](https://github.com/TypeScriptToLua/TypeScriptToLua/wiki/Compiler-Directives#vararg) directive.
39
+
- Added the [@forRange](https://github.com/TypeScriptToLua/TypeScriptToLua/wiki/Compiler-Directives#forRange) directive.
40
+
- Custom ts transformers can now be loaded from tsconfig.
Copy file name to clipboardExpand all lines: README.md
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,16 +65,6 @@ The real power of this transpiler is usage together with good declarations for t
65
65
-[Defold Game Engine Scripting](https://github.com/dasannikov/DefoldTypeScript/blob/master/defold.d.ts)
66
66
-[LÖVE 2D Game Development](https://github.com/hazzard993/love-typescript-definitions)
67
67
68
-
## Building & Tests
69
-
70
-
`npm run build` to build the project.
71
-
72
-
`npm run test` to run tests.
73
-
74
-
`npm run test-threaded` runs test in parallel, faster but less detailed output.
75
-
76
-
`npm run coverage` or `npm run coverage-html` to generate a coverage report.
77
-
78
68
## Sublime Text integration
79
69
80
70
This compiler works great in combination with the [Sublime Text Typescript plugin](https://github.com/Microsoft/TypeScript-Sublime-Plugin) (available through the package manager as `TypeScript`).
0 commit comments