Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
9288ddb
Upgrade TS to 5.3.3 (#1525)
Perryvw Dec 28, 2023
57b7be6
CHANGELOG 1.23.0
Perryvw Dec 28, 2023
ee3dfcf
1.23.0
Perryvw Dec 28, 2023
1cd16ba
Support using super accessors (#1532)
rhazarian Feb 4, 2024
223b49e
Optimize Promise and Await (fixes #1499), fix Promise.resolve bug (#1…
rhazarian Feb 4, 2024
a32d510
CHANGELOG 1.24.0
Perryvw Feb 4, 2024
f205222
1.24.0
Perryvw Feb 4, 2024
4142750
Fix tsconfig.spec.ts not working on MacOS (#1536)
aabajyan Feb 6, 2024
6de04ce
Add basic check for @customName in property access transform (#1534)
aabajyan Feb 7, 2024
a91f462
Only use super descriptor functions when dealing with propery getters…
Perryvw Feb 8, 2024
91c05b5
1.24.1
Perryvw Feb 8, 2024
b6fce8d
Fix bug outputting files to the wrong location in some cases (#1541)
Perryvw Mar 1, 2024
7bc5847
Properly read extended tsconfig for watcher (#1544)
Perryvw Mar 17, 2024
587711b
Upgrade TypeScript to 5.4 (#1545)
Perryvw Mar 17, 2024
90b3784
Implement Map.groupBy and Object.groupBy (#1546)
Perryvw Mar 17, 2024
202f402
CHANGELOG.md 1.25.0
Perryvw Mar 17, 2024
7db98b3
1.25.0
Perryvw Mar 17, 2024
f610b5f
Fix crash when using lualib_bundle in an environment without coroutin…
GlassBricks Mar 21, 2024
16a8eb3
1.25.1
Perryvw Mar 21, 2024
5001dd8
Fix bundle edge case (#1559)
Perryvw Jun 14, 2024
fd0dcf0
1.25.2
Perryvw Jun 14, 2024
e4afda0
Upgrade to TypeScript 5.5 (#1562)
Perryvw Jun 23, 2024
e766d1c
Support for new ecmascript Set methods (#1563)
Perryvw Jun 23, 2024
00f42a0
CHANGELOG.md 1.26.0
Perryvw Jun 23, 2024
d6f1bb0
1.26.0
Perryvw Jun 23, 2024
5ba1fac
Add lualib support for Math.trunc (#1564)
lolleko Jul 9, 2024
b464bc4
1.26.1
Perryvw Jul 11, 2024
8ddfbc0
Fix multiple getters and setters (#1567)
Perryvw Jul 29, 2024
da0774c
1.26.2
Perryvw Jul 29, 2024
920f3e5
Upgrade to TypeScript 5.6 (#1581)
Perryvw Sep 21, 2024
a2d31c9
Fix bug in await using transformer (#1579)
Perryvw Sep 21, 2024
a07fed5
Fix bug when using Array.from with non-array iterable (#1577)
Perryvw Sep 21, 2024
a93ac8b
Fix use of exported compileMembersOnly enums causing syntax errors (#…
Perryvw Sep 21, 2024
9e05143
Fix incorrect context passing when super is used in contextual call (…
Perryvw Sep 21, 2024
b40b43c
Fix bug with using dispose when using disposable class (#1586)
Perryvw Sep 21, 2024
fe2098c
Resolve bug inferring context type from generic functions in type par…
Perryvw Sep 24, 2024
fef961e
CHANGELOG.md 1.27.0
Perryvw Sep 24, 2024
e108393
1.27.0
Perryvw Sep 24, 2024
d7a0674
chore: update eslint to latest (#1588)
Zamiell Sep 25, 2024
ce0b8a7
Fixes handling of statements before super call in subclass constructo…
Gudine Oct 25, 2024
f2a94f6
Merge branch 'pr/1'
Timer00 Oct 26, 2024
597c94b
Update lockfile
Timer00 Oct 26, 2024
5974b59
TS peer dependency should match dev dependency
Timer00 Oct 26, 2024
e45334b
run prettier
Timer00 Oct 26, 2024
7d74406
bump version
Timer00 Oct 26, 2024
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: 0 additions & 8 deletions .eslintignore

This file was deleted.

239 changes: 0 additions & 239 deletions .eslintrc.js

This file was deleted.

27 changes: 15 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@ on:
branches: master
pull_request:

env:
NODE_VERSION: 20.17.0

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.14.0
node-version: ${{ env.NODE_VERSION }}
- run: npm ci
- run: npm run lint
env:
Expand All @@ -28,18 +31,18 @@ jobs:
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 16.14.0
node-version: ${{ env.NODE_VERSION }}
- run: npm ci
- run: npm run build
- run: npx jest --maxWorkers 2 --coverage
env:
CI: true
- if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4

benchmark:
name: Benchmark
Expand All @@ -53,18 +56,18 @@ jobs:
run: brew install glow
# Checkout master & commit
- name: Checkout master
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: master
path: master
- name: Checkout commit
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: commit
- name: Use Node.js 16.14.0
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 16.14.0
node-version: ${{ env.NODE_VERSION }}
# NPM
# install and build master
- name: npm ci master
Expand Down Expand Up @@ -124,7 +127,7 @@ jobs:
working-directory: commit/benchmark/dist
- name: Combine benchmark results
id: script-combine-results
uses: actions/github-script@v3
uses: actions/github-script@v7
with:
benchmark-result-path-lua: commit/benchmark/data/benchmark_master_vs_commit_53.json
benchmark-result-path-jit: commit/benchmark/data/benchmark_master_vs_commit_jit.json
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/dist
/coverage
/test/translation/transformation/characterEscapeSequence.ts
/test/translation/transformation/exportStatement.ts
/benchmark/dist
/test/transpile/module-resolution/**/node_modules
/test/transpile/module-resolution/**/dist
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Changelog

## 1.27.0

- Upgraded TypeScript to 5.6.2
- Added support for `Math.trunc` (see [Math.trunc()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc))
- Fixed a runtime error when disposing a disposable class
- Fixed the wrong `this` value being passed when using `?.` to call a `super` method
- Fixed a bug causing exported `/** @compileMembersOnly */` enums to break
- Fixed a bug in `Array.from` when calling it with a non-array iterable
- Fixed an incorrect diagnostic being shown for `await using` code
- Fixed a bug causing not all getters/setters to be transpiled

## 1.26.0

- Upgraded TypeScript to 5.5.2
- Added support for the new proposed ECMAScript Set methods in ESNext: `intersection`, `union`, `difference`, `symmetricDifference`, `isSubsetOf`, `isSupersetOf`, `isDisjointFrom`. For more info see [the TypeScript release notes](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#support-for-new-ecmascript-set-methods).
- Fixed a bug causing bundled code to be executed twice in some edge cases.
- Fixed a bug causing errors when using lualib in an environment without coroutines.

## 1.25.0

- Upgraded TypeScript to 5.4.2
- Added support for new TypeScript 5.4 features `Map.groupBy` and `Object.groupBy`
- Fixed a bug causing files to not be emitted at the correct output path
- Fixed a bug causing `@customname` to not work together with `@noSelf`
- Fixed a bug causing extended tsconfigs to not be correctly read when using watch mode

## 1.24.0

- Optimized promises and async/await to better handle long chains of promises, like for example using await in a loop
- Fixed a bug causing errors when accessing `super` properties

## 1.23.0

- Upgraded TypeScript to 5.3.3

## 1.22.0

- Added support for `Number.isInteger(n)`
Expand Down
Loading