Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 3, 2021

Bumps typescript-to-lua from 1.0.1 to 1.1.1.

Changelog

Sourced from typescript-to-lua's changelog.

Changelog

1.1.0

  • [Breaking] We now use TypeScript's JSX transformer instead of maintaining our own. As a result, React.createElement now requires a self parameter, so remove @noSelf, this: void if necessary.
  • [Breaking(-ish)] Due to limitations in 5.1, try/catch can no longer be used in async or generator functions when targetting Lua 5.1. This was already broken but now tstl will explicitly give an error if you try.
  • Added support for the switch statement in all versions! (Before they were not supported in 5.1 and universal).
  • Added support for string.prototype.replaceAll and improved string.prototype.replace implementation.
  • Added noResolvePaths tsconfig option to disable module resolution for environment-provided modules.
  • Implemented support for void expressions, i.e void(0) or void(ignoreThisReturnValue()).
  • Upgraded TypeScript to 4.4.4 and made it a peer dependency to hopefully avoid plugin issues due to mismatching TypeScript versions.
  • The $vararg language extension can be used to access CLI arguments, now also in bundles.
  • Fixed a bug regarding baseUrl and relative imports.
  • Fixed sourceMapTraceback: true not working correctly for bundles.
  • Fixed an issue regarding hoisting in switch case clauses.
  • Added missing function context validation cases for object literals.
  • Fixed a problem where awaiting rejected promises in try/catch would give the wrong result.
  • Fixed an issue where chained .then calls on already-resolved or already-rejected promises would cause some callbacks to not fire while they should.
  • Fixed source file paths in source maps being absolute, they are now relative again.

1.0.0

  • [Breaking] /* @tupleReturn */ has been removed and will no longer have any effect. You will get an error if you try ot use it or if you use declarations that use it.
  • Added support for the Promise class.
  • Added support for async and await using coroutines.
  • Module resolution now also correctly resolves <directory>/init.lua files for require("<directory>").
  • Fixed an error not being thrown when trying to call a method in an optional chain that does not exist. (If the method itself is not optional)
  • Fixed a bug where parentheses could break the context parameter being resolved for a method.
  • Fixed a bug where context parameters in object literal methods were not inferred correctly.
  • Fixed a bug with sourceMapTraceback.
  • Fixed TS emitting empty JSON files if you use JSON source files.

0.42.0

  • [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.
  • Added support for JSX, see documentation for more information.
  • Added support for the baseUrl configuration key for module resolution.

A large list of bugfixes:

  • Fixed an exception causing tstl to exit when trying to assign to an optional chain.
  • Fixed resolved files appearing duplicated in lua bundles.
  • Fixed a problem resolving external Lua files in nested directories.
  • Fixed @noResolution in library packages losing their NoResolution tag, causing attempts to resolve them for package users.
  • 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)
  • Fixed module resolution trying to incorrectly resolve and rewrite things like myObject.require() or my_custom_require().
  • Fixed lualib bundle not being included in the output if external packages use it, but the client code does not.

0.41.0

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [typescript-to-lua](https://github.com/TypeScriptToLua/TypeScriptToLua) from 1.0.1 to 1.1.1.
- [Release notes](https://github.com/TypeScriptToLua/TypeScriptToLua/releases)
- [Changelog](https://github.com/TypeScriptToLua/TypeScriptToLua/blob/master/CHANGELOG.md)
- [Commits](TypeScriptToLua/TypeScriptToLua@v1.0.1...v1.1.1)

---
updated-dependencies:
- dependency-name: typescript-to-lua
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 3, 2021
@Perryvw Perryvw merged commit c1ea6bb into source Nov 3, 2021
@Perryvw Perryvw deleted the dependabot/npm_and_yarn/typescript-to-lua-1.1.1 branch November 3, 2021 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants