Roblox Ts Versions Save

A TypeScript-to-Luau Compiler for Roblox

v2.3.0

3 months ago
  • Removed rbxtsc init in favor of npm create roblox-ts (#2503)
  • Lune Unit Testing (#2489)
    • Not user facing, but the compiler should be more stable going forwards! :tada:
  • Removed enum inverse mapping for string values (#2506)
  • $range macro optimizations (#2130, #2196)
  • Added support for typeIs(value, "buffer") (#2588)
  • Fixed Array.push() inserting multiple values for different tables (#2597)
  • Support interpolated string emit for template expressions (#2591)
  • Removed unnecessary parentheses for chained binary expressions like a && b && c (##2242)
  • Better usage analysis for function expressions + ... (#2527)
  • Fixed noAny diagnostic for a.b() and a[b]() (#2550)
  • Optimized array offset emit so that x[n - 1] becomes x[n] instead of x[n - 1 + 1] (#2567)
  • Optimized object spread assignment when the spread is the first entry in the object, i.e. { ...obj, foo: "bar" } (#2546)
  • Fixed bug related to new Map( ... ).delete(exp) and new Set( ... ).delete(exp) (#2605)
  • Split off PathTranslator class into it's own package (#2614)
  • Added support integer division operator via macro: Number.idiv(), Vector2.idiv(), and Vector3.idiv() (#2606)
    • these compile to a // b
    • number literals should be wrapped in parentheses, i.e. (10).idiv(3)

v2.2.0

8 months ago
  • TypeScript 5.2.2 Support (#2401, #2466)
  • Support for instantiated expressions (#2445)
  • Support for Luau comment directives like //!native (#2465)
  • Fixed incorrect emit with array[n]?.() (#2475)
  • Support for class static blocks (#2480)

v2.1.1

11 months ago
  • Enable --optimizedLoops flag for Playground environment (#2271)
  • Fix for updating non-compiled files in transformer watch mode (#2385)
  • Add $getModuleTree macro (#2302)

v2.1.0

1 year ago
  • TypeScript 4.9 Support (#2195)
    • Adds support for satisfies keyword
    • Adds disagnostic for the accessor keyword (requires getters/setters which are not supported)
  • Removed diagnostic for comma operator (#2045)
  • Banned instanceof on roblox types (#2225)
  • Disabled networkType check for dynamic import() (#2197)
  • Added --writeTransformedFiles to write transformed TypeScript ASTs to out directory (#2255)
  • Small improvements and fixes for --optimizedLoops (#2201, #2265)

v2.0.4

1 year ago
  • Updated deprecated APIs for TS 4.8 (#2143)

2.0.4

1 year ago
  • Updated deprecated APIs for TS 4.8 (#2143)

v2.0.3

1 year ago
  • Fixed new regression with incremental mode (#2138)

2.0.3

1 year ago
  • Fixed new regression with incremental mode (#2138)

v2.0.2

1 year ago
  • Fixed new regression with Playground environment

2.0.2

1 year ago
  • Fixed new regression with Playground environment