Skip to content

Commit 110b56f

Browse files
committed
Changelog 0.35.0
1 parent 5a292c2 commit 110b56f

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

CHANGELOG.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
# Changelog
22

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.
712
- 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)
816

917
## 0.34.0
1018

0 commit comments

Comments
 (0)