Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

## 0.16.0
* **BREAKING CHANGE:** All functions now take a `self` parameter. This means that without further action calls to declaration functions might be given an extra argument.
* To remove the self parameter from a single function add `this: void` to its declaration:
* To remove the self parameter from a single function add `this: void` to its declaration:
```declare function foo(this: void, ...)```
* To remove the self parameter from all methods or functions in a class/interface/namespace add `/** @noSelf */`:
```/** @noSelf */ interface Foo {```
* To remove the self parameter from all functions in a file, add `/** @noSelfInFile */` at the top.

---

* **BREAKING CHANGE:** Directive `/** @luaIterator */` should now be put on types instead of on the functions returning them.

---
Expand Down Expand Up @@ -82,14 +82,14 @@
* Fixed several bugs with functions and context parameters.

## 0.13.0
* Reworked how functions are transpiled, see https://github.com/Perryvw/TypescriptToLua/wiki/Differences-Between-Functions-and-Methods
* Reworked how functions are transpiled, see https://github.com/TypeScriptToLua/TypescriptToLua/wiki/Differences-Between-Functions-and-Methods
* Improved handling of types extending Array.
* Fixed several bugs with classes.
* Fixed issues with inherited accessors.

## 0.12.0
* Added detection of types extending Array.
* Added new JSDoc-style compiler directives, deprecated the old `!` decorators, see https://github.com/Perryvw/TypescriptToLua/wiki/Compiler-Directives
* Added new JSDoc-style compiler directives, deprecated the old `!` decorators, see https://github.com/TypeScriptToLua/TypescriptToLua/wiki/Compiler-Directives
* Fixed bug with constructor default values.
* The Lualib is no longer included when not used.
* Fixed bug with unpack in LuaJIT.
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "typescript-to-lua",
"license": "MIT",
"version": "0.16.1",
"repository": "https://github.com/Perryvw/TypescriptToLua",
"description": "A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!",
"repository": "https://github.com/TypeScriptToLua/TypeScriptToLua",
"license": "MIT",
"keywords": [
"typescript",
"lua",
Expand Down
2 changes: 1 addition & 1 deletion src/LuaPrinter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class LuaPrinter {
let header = "";

if (this.options.noHeader === undefined || this.options.noHeader === false) {
header += `--[[ Generated with https://github.com/Perryvw/TypescriptToLua ]]\n`;
header += `--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]\n`;
}

if (luaLibFeatures) {
Expand Down