Skip to content

Commit 6a35302

Browse files
committed
CHANGELOG 0.42.0
1 parent e401bff commit 6a35302

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 0.42.0
4+
5+
- **[Breaking]** The `/** @tupleReturn */` is now deprecated, and will be removed next release. If you are still using it, please upgrade to the [LuaMultiReturn language extension](https://typescripttolua.github.io/docs/advanced/language-extensions#luamultireturn-type).
6+
- Added support for TSX, see [documentation](https://typescripttolua.github.io/docs/tsx) for more information.
7+
- Added support for the `baseUrl` configuration key for module resolution.
8+
9+
A large list of bugfixes:
10+
11+
- Fixed an exception causing tstl to exit when trying to assign to an optional chain.
12+
- Fixed resolved files appearing duplicated in lua bundles.
13+
- Fixed a problem resolving external Lua files in nested directories.
14+
- Fixed `@noResolution` in library packages losing their NoResolution tag, causing attempts to resolve them for package users.
15+
- Fixed a bug in the bundling code causing modules not to be cached if they return nil (which happens if they are not a module)
16+
- Fixed module resolution trying to incorrectly resolve and rewrite things like `myObject.require()` or `my_custom_require()`.
17+
- Fixed lualib bundle not being included in the output if external packages use it, but the client code does not.
18+
319
## 0.41.0
420

521
- Added support for [optional chaining](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html) `a?.b`, `a?.[b]` and `a?.()`.

0 commit comments

Comments
 (0)