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
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,45 @@
1
1
# Changelog
2
2
3
+
## 1.22.0
4
+
5
+
- Added support for `Number.isInteger(n)`
6
+
- Added support for `afterEmit` plugin hook that can be used to post-process lua files after (possibly incremental) builds
7
+
- Fixed a bug causing `@noSelfInFile` sometimes to be ignored
8
+
9
+
## 1.21.0
10
+
11
+
- Added support for `continue` for Lua 5.0, 5.1 and universal targets.
12
+
- Added support for the new `/** @customName myCustomName **/` decorator, which allows renaming of variables and identifiers.
13
+
- This is useful to get around names that are reserved keywords in TypeScript, but are used in Lua API
14
+
- Fixed a bug that caused super calls in static methods to throw an error
15
+
16
+
## 1.20.0
17
+
18
+
- Added support for `Number.parseInt` and `Number.parseFloat` (mapped to same implementation as global `parseInt` and `parseFloat`)
19
+
- Added implementation for multiple `Number` constants like `Number.EPSILON`
20
+
- Added support for `Array.at`
21
+
- Fixed a bug when throwing an error object in a Lua environment without `debug` module
22
+
- Fixed a bug causing files not to be found when returning an absolute path from a `moduleResolution` plugin
23
+
24
+
## 1.19.0
25
+
26
+
- Added support for the new TypeScript 5.2 `using` keyword for explicit resource management. See the [TypeScript release notes](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/#using-declarations-and-explicit-resource-management) for more information.
27
+
- Added support for the newly introduced 'copying array methods' `toReversed`, `toSorted`, `toSpliced` and `with`. These were also introduced in TypeScript 5.2, see [their release notes](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/#copying-array-methods) for more information.
28
+
29
+
## 1.18.0
30
+
31
+
- Upgraded TypeScript to 5.2.2
32
+
- The `noResolvePaths` option now accepts glob paths (for example, 'mydir/hello\*' to not resolve any files in mydir starting with hello).
33
+
- This also allows disabling module resolution completely by providing a '\*\*' pattern in your tsconfig.json `noResolvePaths`.
34
+
35
+
## 1.17.0
36
+
37
+
- Added the `moduleResolution` plugin, allowing you to provide custom module resolution logic. See [the docs](https://typescripttolua.github.io/docs/api/plugins#moduleresolution) for more info.
38
+
- Added `isEmpty` to `LuaTable`, `LuaMap` and `LuaSet` (and their read-only counterparts). This simply to `next(tbl) == nil`, allowing for a simple check to see if a table is empty or not.
39
+
- Fixed a bug with synthetic nodes (e.g. created by custom TypeScript transformers) throwing an exception.
0 commit comments