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
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,18 @@
1
1
# Changelog
2
2
3
-
## Unreleased
4
-
5
-
-`Function.length` is supported now
6
-
3
+
## 0.35.0
4
+
5
+
- In preparation for some new features, some public APIs have been changed:
6
+
- High-level APIs that read input files from the file system (`transpileFiles` and `transpileProject`) now write transpiled files by default. This behavior can be changed by providing a `writeFile` callback, similarly to TypeScript's `program.emit`.
7
+
-`transpile` and `emitTranspiledFiles` functions have been replaced with the `Transpiler` class. See [documentation](https://typescripttolua.github.io/docs/api/overview#low-level-api) for usage examples.
8
+
- Fixed `declarationDir` option not being respected.
9
+
-`Function.length` is supported now.
10
+
- String iteration is now supported.
11
+
- Exposed `parseConfigFileWithSystem` to parse _tsconfig.json_ files as part of the tstl API.
7
12
- Fixed `string.replace` incorrectly escaping some `replaceValue` characters (`().+-*?[^$`)
13
+
- Fixed several other string operations behaving differently from JS (mostly regarding indices out of bounds and NaN arguments).
14
+
- Fixed a bug where the length argument of `String.prototype.substr` was evaluated twice.
15
+
- Fixed some missing dependencies in LuaLib classes (Map, Set, WeakMap, WeakSet)
0 commit comments