File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.11.0
4+ * Fixed bug when throwing anything that was not a string. (@tomblind )
5+ * Added support for object literal method declarations. (@tomblind )
6+ * Fixed several issues with assignment operators (@tomblind )
7+ * ` else if ` statements are now transpiled to Lua ` elseif ` instead of nested ifs statements. (@tomblind )
8+ * Occurrences of const enum values are now directly replaced with their value in the Lua output. (@DoctorGester )
9+ * Rethrowing is now possible from try/catch blocks (@tomblind )
10+ * Destructing statements in LuaJit now use ` unpack ` instead of ` table.unpack `
11+ * Removed support for switch statements for versions <= 5.1.
12+ * Refactored ` for ... of ` translation, it now uses numeric ` for ` loops instead of ` ipairs ` for performance reasons.
13+
14+ ## 0.10.0
15+ * Added support for NonNullExpression (` abc! ` transforming the type from ` abc | undefined ` to ` abc ` )
16+ * Added expression position to replacement binary expression to improve error messages.
17+ * Fixed various issues with !TupleReturn (@tomblind )
18+ * Added support for ` array.reverse ` , ` array.shift ` , ` array.unshift ` , ` array.sort ` . (@andreiradu )
19+ * Added translation for ` Object.hasOwnProperty() ` . (@andreiradu )
20+ * Added support for class expressions (@andreiradu )
21+ * Fixed bug in detecting array types (@tomblind )
22+ * Added public API functions and better webpack functionality.
23+
324## 0.9.0
425* Fixed an issue where default parameter values were ignored in function declarations.
526* Fixed a bug where ` self ` was undefined in function properties.
You can’t perform that action at this time.
0 commit comments