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
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,36 @@
1
1
# Changelog
2
2
3
+
## 1.16.0
4
+
5
+
- Upgraded TypeScript to 5.1.3.
6
+
- Added support for [TypeScript 5.0 decorators](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#decorators).
7
+
- Old-style decorators will still work as long as you have `experimentalDecorators` configured, otherwise the new standard is used.
8
+
- Added support for [class static initialization blocks](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Static_initialization_blocks).
9
+
- Fixed a bug causing the `tstl` object in tsconfig.json not to be properly extended when extending a tsconfig from node_modules.
10
+
11
+
## 1.15.0
12
+
13
+
- Using `extends` in tsconfig.json now also correctly merges settings in the `tstl` block (shallow merge).
14
+
- Now avoiding assigning default parameter values if the default value is `nil` (`null` or `undefined`).
15
+
- Fixed a bug where indexing a `LuaMultiReturn` value with [0] would still return everything.
16
+
- Fixed a bug with nested namespaces causing unexpected nil indexing errors.
17
+
18
+
## 1.14.0
19
+
20
+
-**[Breaking]** Upgraded TypeScript to 5.0.
21
+
- Added support for `Number.toFixed`.
22
+
- Added support for spread expressions with `LuaPairsIterable` and `LuaPairsKeysIterable`.
23
+
- Fixed a bug breaking module resolution when using a custom file extension.
24
+
- Fixed various exceptions that could happen when trying to translate invalid TS.
25
+
26
+
## 1.13.0
27
+
28
+
- Fixed alternate file extensions (other than .lua, if configured) breaking module resolution and emitted require statements.
29
+
- Added experimental support for `"luaLibImport": "require-minimal"` configuration option. This will output a lualib bundle containing only the lualib functions used by your code. This might not work if you are including external tstl-generated Lua, for example from a npm package.
30
+
- Added support for the "exports" field in package.json.
31
+
- Fixed some exceptions resulting from invalid language-extensions use.
32
+
- Fixed an exception when using compound assignment (like `+=`) with array length.
33
+
3
34
## 1.12.0
4
35
5
36
- Reworked how tstl detects and rewrites `require` statements during dependency resolution. This should reduce the amount of false-positive matches of require statements: require statements in string literals or comments should no longer be detected by tstl. This means require statements in string literals or comments can survive the transpiler without causing a 'could not resolve lua sources' error or getting rewritten into nonsense.
0 commit comments