Skip to content

Commit 9ee6091

Browse files
committed
Changelog 0.34.0
1 parent d2c187c commit 9ee6091

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

CHANGELOG.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,39 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.34.0
44

5-
- Added new `"luaTarget"` option value - `"universal"`. Choosing this target would make TypeScriptToLua generate code compatible with all supported Lua targets.
6-
- **BREAKING CHANGE:** This is a new default target. If you have been depending on LuaJIT being chosen implicitly, now you have to enable it explicitly with `"luaTarget": "JIT"` in the `tsconfig.json` file.
5+
- Added new `"luaTarget"` option value - `"universal"`. Choosing this target makes TypeScriptToLua generate code compatible with all supported Lua targets.
76

8-
<!-- TODO: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html doesn't seem to work now -->
7+
- **BREAKING CHANGE:** This is a new default target. If you have been depending on LuaJIT being chosen implicitly, you now have to enable it explicitly with `"luaTarget": "JIT"` in the `tsconfig.json` file.
98

10-
- TypeScript has been updated to 3.9. See [release notes](https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/) for details. This update includes some fixes specific to our API usage:
9+
- TypeScript has been updated to **3.9**. See [release notes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html) for details. This update includes some fixes specific to our API usage:
1110

1211
- Importing a non-module using `import "./file"` produced a TS2307 error [#35973](https://github.com/microsoft/TypeScript/issues/35973)
13-
- TypeScript now tries to find a call signature even in presence of type errors (#36665)(https://github.com/microsoft/TypeScript/pull/36665):
12+
- TypeScript now tries to find a call signature even in presence of type errors [#36665](https://github.com/microsoft/TypeScript/pull/36665):
1413
```ts
1514
function foo(this: void, x: string) {}
1615
foo(1);
1716
```
1817
```lua
19-
-- 3.8
18+
-- Before: with 3.8 (this: void ignored due to signature mismatch)
2019
foo(nil, 1)
21-
-- 3.9
20+
-- Now: with 3.9
2221
foo(1)
2322
```
2423

2524
- Reduced memory consumption and optimized performance of generators and iterators
26-
2725
- Fixed generator syntax being ignored on methods (`*foo() {}`) and function expressions (`function*() {}`)
28-
2926
- Fixed iteration over generators stopping at first yielded `nil` value
30-
3127
- Fixed `Array.prototype.join` throwing an error when array contains anything other than strings and numbers
32-
3328
- Fixed extending a class not keeping `toString` implementation from a super class
3429

30+
- Fixed issue where CLI arguments were incorrectly removed.
31+
- Fixed issue where class accessors threw an error due to a missing dependency.
32+
33+
Under the hood:
34+
35+
- Upgraded to Prettier 2.0
36+
3537
## 0.33.0
3638

3739
- Added support for nullish coalescing `A ?? B`.

0 commit comments

Comments
 (0)