Changelog
All notable changes to sloptor are documented here.
v3.0.0-beta.7 - 2026-11-30
This release speeds up incremental rebuilds that change nothing and sloptor check, and changes the default worker counts for output writes and parse threads.
π§ Changed
- sloptor build: Incremental rebuilds skip unchanged files and return from a
.rotor/cachesnapshot when nothing changed, and default output writes use 4 workers off Windows, not 8. Solution builds, Flamework, and transformer plugins skip the snapshot, and parse threads cap at 4 on macOS and 8 elsewhere. - by @howmanysmall in #200 and #202 - sloptor check: Semantic diagnostics run in parallel across type checkers that are built on first use, so
--checkers 4no longer checks files one at a time. Diagnostics match--checkers 1, and the roblox-api fixture went from 79.7 ms to 38.9 ms with 4 checkers. - by @howmanysmall in #199 and #202
v3.0.0-beta.5 - 2026-11-19
The CLI moves to a new parser, so usage errors now exit 2 and the help and completion scripts change. Two build fixes ship alongside, and building from source now needs Rust 1.100.0 (was 1.99.1).
β οΈ Breaking Changes
- sloptor build: Usage errors from any command now exit 2 instead of 1, including a bare
sloptor. Scripts that match exit code 1 for usage errors must match 2. - by @howmanysmall in #192 - sloptor build: Boolean flags accept only lowercase
trueorfalseafter=, so--luau=1and--luau=TRUEnow exit 2. Write--luau=trueinstead;--luau=1was read as a boolean before. - by @howmanysmall in #192
π Added
- sloptor completion:
--installwrites the script where the shell looks for it, as insloptor completion zsh --install, andnuis now a supported shell. Previously there was no install step and nonuscript. - by @howmanysmall in #192
π Fixed
- sloptor build: Cold-cache builds of several projects no longer fail while extracting the sidecar, and
--watchrebuilds no longer read freed declarations. Previously extraction failed withENOENTordirectory not empty, and a later project could read freed memory. - by @howmanysmall in #195 and #196
π§ Changed
- sloptor build: Help pages open with a version banner, and
--helpadds the examples to the-hpage. Usage errors now print usage'serror:layout with the command'sUsage:line, where clap printed its own. - by @howmanysmall in #192 - sloptor completion: Installed scripts ask sloptor for candidates on every Tab instead of listing commands and flags, so regenerate any script an older sloptor wrote with
sloptor completion <shell>. Previously the static script went stale after an upgrade. - by @howmanysmall in #192
ποΈ Removed
- sloptor build:
--cpuprofile,--trace-out,--blockprofile,--mutexprofileand--heapprofileare gone, so remove them from scripts. Previously they were accepted, then the build failed before compiling. - by @howmanysmall in #192
v3.0.0-beta.4 - 2026-11-07
This release changes the Luau emitted for new Array(n) when optimizedArrayAppends is on, and fixes slow builds with luauTypes. Projects that leave optimizedArrayAppends unset see no change.
π§ Changed
- tsconfig.json: With
rbxts.optimizedArrayAppendson, anew Array<number>(n)declared directly before a loop that pushes into it now appends by index, assized[_sizedLength] = value. Previously any constructor argument fell back totable.insert(sized, value), andnew Array(n, value)still does. - by @howmanysmall in #190
π Fixed
- emit: With
luauTypeson, the free-variable check used for type-level aliases no longer takes exponential time on Roblox instance types, which reference each other through hundreds of properties. Previously compile time grew exponentially with the depth limit. - by @howmanysmall in #188
v3.0.0-beta.3 - 2026-11-05
This is the first release built from Rust: the compiler, CLI, watch mode, language server, and API server now ship as one sloptor binary, and the Go build is removed. Intel Mac and Windows ARM64 are no longer supported, the first build after upgrading recompiles every file, and .d.ts and terminal output change.
β οΈ Breaking Changes
- @rotor-rbx/rotor: No npm package or release archive is published for macOS x64 or Windows ARM64, so
bin/rotor.jsfails there withUNSUPPORTED_PLATFORM. Previously those packages installed; switch to a supported target or build withcargo build --release -p rotor_cli, as the Go build is removed. - by @howmanysmall in #186 - sloptor completion: Installed completion scripts must be regenerated, since the new ones are static
clap_completeoutput and drop Cobra's__completeprotocol. Previously the script used__complete; runsloptor completion <shell>again and replace the installed copy. - by @howmanysmall in #186
π Added
- sloptor completion: Generates
elvishcompletion scripts, e.g.sloptor completion elvish, alongside bash, zsh, fish, and PowerShell. Previously elvish was not a supported shell. - by @howmanysmall in #186 - sloptor version:
sloptor -Vprints the version, as-vdoes. Previously-Vwas not a recognized flag. - by @howmanysmall in #186
π§ Changed
- sloptor build: Help and errors show kebab-case flags such as
--include-pathand--luau-types, and the camelCase spellings such as--includePathstill parse. Previously help listed the camelCase names. - by @howmanysmall in #186 - diagnostics:
sloptor buildandsloptor checkprint rustc-style frames with anerror[TS2322]header, the path with line and column, an underlined snippet, and= help:lines. Previously they used tsc's frame and plain-line layout.--jsonoutput is unchanged. - by @howmanysmall in #186 - sloptor build: The human output is redesigned, with a header, verb lines such as
BuiltandFailed, a live progress line on a coloured terminal, and a line per project for-b. Previously it printed a banner and a summary. - by @howmanysmall in #186 - sloptor build:
--watchrebuilds print a timestamped divider, the changed files, and aRebuilt N filessummary with a rebuild counter.--jsonwatch events keep Go's NDJSON shape apart from theatanddurationMsvalues. Previously rebuilds printed Go's layout. - by @howmanysmall in #186 - sloptor build:
--use-pollingwith-bnow polls at 100 ms throughnotify's poll watcher. Previously Go accepted the flag and always used OS file events. - by @howmanysmall in #186 - sloptor build: An unchanged output is trusted without rereading when its size, mtime, ctime, inode, and device match a record in
.rotor/cache/output-stamps; a file whose timestamps are too close to that record is hashed again. Previously every output was read and hashed on each build. - by @howmanysmall in #186 - sloptor build: The first build after upgrading recompiles every file and recopies non-compiled files, because the copy-files cache and incremental salt now record
sloptor <version>. Previously these caches recorded tsgo's version, so caches from the Go build never match. - by @howmanysmall in #186 - sloptor build:
.d.tsoutput uses TypeScript 7.1 printing, soexport const { a } = ...declaresdeclare const { a }: { a: T };. Previously beta.2 wrotedeclare const a: T;, and the types are identical. Luau output is not affected. - by @howmanysmall in #186 - sloptor build:
GOGCandGOMEMLIMITno longer tune the build, whileGOMAXPROCSstill sizes the worker pool andROTOR_MAX_BUILDSstill controls build slots. PreviouslyGOGCandGOMEMLIMITtuned the Go runtime. - by @howmanysmall in #186 - sloptor lsp: Malformed request params get
InvalidParams, and the error text for methods other thaninitializeandshutdowncan differ. Previously Go's typed decoder wrote that text. - by @howmanysmall in #186
v3.0.0-beta.2 - 2026-11-03
This beta adds sloptor lsp and opt-in Luau type annotations, changes generated Luau for switch, try, and object spreads, and fixes a false sloptor check error and two import bugs.
π Added
- sloptor lsp: Runs a stdio language server that publishes sloptor's transformer diagnostics to editors for unsaved buffers, and hides
TS####type errors unless the client setsinitializationOptions.typeErrors. Previously those diagnostics appeared only insloptor diagnostics. - by @howmanysmall in #177 - rotor.toml [nativeTypes]: Set
nativeTypes = trueinrotor.toml, orrbxts.nativeTypesintsconfig.json(tsconfig wins), to annotate parameters and returns in//!nativefiles, e.g.local function addVector(a: vector, b: vector): vector. Previously that function emitted aslocal function addVector(a, b). - by @howmanysmall in #178 - sloptor build: Pass
--luauTypes, or setluauTypesinrotor.tomlorrbxts.luauTypesintsconfig.json, to emit full type annotations for locals, signatures, classes, enums, and exported aliases. Previously output had no type annotations, and this experimental mode can change between releases. - by @howmanysmall in #179
π Fixed
- sloptor check: No longer reports TS2441 for a top-level
Objectbinding, such asimport Object from "@rbxts/object-utils"in a CommonJS module, whilerequireandexportsbindings still do. Previously that import failedcheckon projects thatrbxtsccompiles cleanly. - by @paradoxuum in #172 - emit: A file that calls a Flamework guard macro and also declares a
@Componentnow importstonce, from the same guard library as the macro. Previously the decorator importedtfrom@flamework/core/out/prelude, so a project with its own@rbxts/tgot twotimports. - by @paradoxuum in #173 - emit: An import used only in a qualified type name, such as
Namespace.Typefrom a.d.tsnamespace, is now elided. Previously theTS.importstayed in the Luau and failed at runtime withFailed to import! Expected ModuleScript, got Folder. - by @paradoxuum in #174
π§ Changed
- emit: A
switchwith acaseafterdefaultnow selects the first matching case before running any body, sopick("b")returns2instead of0. This diverges fromrbxtsc 3.0.0for those switches; switches with a trailingdefaultare unchanged. - by @christopher-buss in #185 - emit: A
trywhosetryandcatchboth always exit no longer emits the trailingif _exitType thenguard, soreturn unpack(_returns)is emitted directly. Previously the guard was emitted. This diverges fromrbxtsc 3.0.0for thosetrystatements; ones that can complete normally keep the guard. - by @christopher-buss in #183 - emit: Spreading an operand typed
objectinto an object literal or JSX element no longer emits a nil-check guard, so{ ...source }copies without anif. Previously it was guarded, which diverges fromrbxtsc 3.0.0;object | undefinedstays guarded. - by @christopher-buss in #182
New Contributors
- @paradoxuum made their first contribution in #172
v3.0.0-beta.1 - 2026-10-27
Sloptor is now the native compiler only: the bundler, asset and deploy pipelines, scaffolding commands, and the $asset, $git, and $buildTime macros are removed. One-shot builds now share the machine through slots, API sessions transform in sidecars by default, and source maps cover more of the output.
β οΈ Breaking Changes
- sloptor bundle:
sloptor bundle,sloptor minify,sloptor pack, andsloptor sourcemapare removed, so scripts that call them fail. Previously they bundled, minified, packed, and generated Rojo sourcemaps; run those steps with separate tools. - by @christopher-buss and @howmanysmall in #168 - sloptor dev:
sloptor devis removed, so scripts that call it fail. Previously it ran watch, incremental compile, androjo serve; runsloptor build -wfor the compile loop and start Rojo separately. - by @christopher-buss and @howmanysmall in #168 - sloptor asset:
sloptor assetandsloptor deployare removed along with the Open Cloud upload and deploy pipelines. Previouslyasset syncuploaded files and wroterotor-lock.json, anddeployplanned and applied changes to live resources. - by @christopher-buss and @howmanysmall in #168 - sloptor init:
sloptor init,sloptor add,sloptor doctor, andsloptor migrateare removed, so remove them from scripts and CI. Previously they scaffolded projects, editedpackage.json, checked setup, and migrated rbxtsc project configuration. - by @christopher-buss and @howmanysmall in #168 - sloptor build:
--minifyis removed, sosloptor build --minifyfails; drop the flag. Previously it stripped comments and whitespace and rewrotet["x"]tot.x. - by @christopher-buss and @howmanysmall in #168 - $asset:
$assetis removed, so replace each call with a value from$envor generated source. Previously it expanded to an asset ID fromrotor-lock.json. - by @christopher-buss and @howmanysmall in #168 - $git:
$gitis removed, so replace each call with a value from$envor generated source. Previously it read Git values during the build. - by @christopher-buss and @howmanysmall in #168 - $buildTime:
$buildTimeis removed, so replace each call with a value from$envor generated source. Previously it expanded to the build timestamp. - by @christopher-buss and @howmanysmall in #168 - rotor.toml [assets]:
rotor.tomlnow defines onlyparallelTransformersandflamework, and the schema rejects other keys, so delete[assets]and the other removed sections. Previously[assets]configuredsloptor asset sync. - by @christopher-buss and @howmanysmall in #168 - rotor.toml:
rotor.config.tsandrotor.config.jsare no longer loaded. Move any supported settings intorotor.toml. Previously they were evaluated as executable config. - by @christopher-buss and @howmanysmall in #168 - @rotor-rbx/rotor: API sessions now transform in the server's sidecar workers by default. To keep transforms in the client process, pass
createBuildSession({ transformerCallbacks: true }); previously every transform ran there, one at a time. - by @howmanysmall in #171
π Fixed
- @rotor-rbx/rotor: API builds under Node's
--experimental-package-mapnow resolve the project's TypeScript and transformer packages from each project and its ancestors. Previously those lookups failed with missing-package errors. - by @christopher-buss in #166 - $env: Changing a
$envvalue or a$filetarget now rebuilds files that use it in incremental and watch builds. Previously those builds kept stale output. - by @christopher-buss and @howmanysmall in #168 - sloptor build: With
compilerOptions.sourceMap,.luau.mapnow maps callback bodies, function expressions, object methods, class members, and continuation lines to TypeScript, and runtime header and comment lines stay unmapped. Previously only statement starts had mappings, leaving 3,603 of 6,003 non-blank lines in a 300-function fixture unmapped. - by @christopher-buss in #167
π§ Changed
- sloptor build: One-shot
sloptor buildandsloptor checkruns now take one of several machine-wide slots (one per 6 GiB of memory, at most one per two CPUs), and split memory and sidecar workers among the runs holding slots. Previously each run sized itself as if it owned the machine; setROTOR_MAX_BUILDS=0to disable slots. - by @howmanysmall in #171 - sloptor build: One-shot builds now cap the Go memory limit at the larger of 8 GiB or twice the live heap, and at held memory plus three quarters of free memory. Previously the limit was 75% of memory up to 16 GiB, so the heap could grow to about five times the live set. - by @howmanysmall in #171
- sloptor build:
.luau.mapnow carries segments for expressions, object fields, and operators, mapped to their exact TypeScript columns in UTF-16. Previously each Luau line had one column-zero statement segment; generated Luau is unchanged. - by @christopher-buss in #169
v2.9.0-beta.1 - 2026-10-21
This beta changes how sloptor build resolves package imports and restores incremental state, adds opt-in transformer paths, and makes @rotor-rbx/rotor ES-module only. Incremental projects rebuild once after upgrading because the manifest format changed.
β οΈ Breaking Changes
- @rotor-rbx/rotor: The package is ES-module only and no longer has a
requireexport condition, so CommonJS code that calledrequire("@rotor-rbx/rotor")must useawait import("@rotor-rbx/rotor")instead. Node support is now^20.19.0 || >=22.12.0, previously>=18. - by @howmanysmall (4bcb76a)
π Added
- rotor.toml [parallelTransformers]: Set
workers = 2andbatchIndependent = trueto split one-shotsloptor buildtransformers across two workers, after attesting the chain withtypescriptandsha256. It is experimental and off by default; watch, dev, and API builds stay serial. - by @christopher-buss in #147 - sloptor build: With
ROTOR_REACT_SYNTAX_HOST=1, a sole supported pinned React compiler runs on authored source without a TypeScript Program. Previously every transformer ran through a Program; mixed chains and unsupported versions still do. - by @christopher-buss in #146
π Fixed
- sloptor build: Rojo discovery no longer follows junction and symlink cycles until the path limit. Previously a loop in
node_modulesslowed every build. - by @christopher-buss in #159 - sloptor build: Manifests now use project-relative source identities, so a manifest restored from another checkout or OS selects zero sources when nothing changed. Previously absolute paths made the restored manifest rebuild every file. - by @christopher-buss in #160
- sloptor build: Later plugins and source traces now use positions in the file on disk after a native jecs rewrite, matching the JavaScript jecs transformer. Previously they pointed into the rewritten text. - by @howmanysmall (d2d6bcf)
π§ Changed
- sloptor build: Package imports now ignore named
*.project.jsonfiles inside dependencies, soTS.getModule(script, "@scope", "lib").outis emitted even when a dependency has a generated test project. Previously that file redirected the path, whichrbxtsc 3.0.0still does. - by @christopher-buss in #145 - sloptor build: Solution watch (
sloptor build --build -w) now watches a package's layout files, so editing itsdefault.project.jsonor a*.project.jsonit references rebuilds that package. Previously these files were not watched. - by @christopher-buss in #145 - sloptor build: Sidecar transforms of 512 or more files now split across up to
min(4, CPUs/2)Node workers; setROTOR_SIDECAR_SHARDS=1to keep one. Previously one worker transformed every file. - by @howmanysmall in #150 - sloptor build:
rbxts-transformer-jecsruns natively when the installed package matches the build the port was written for. Other builds stay in the sidecar, andROTOR_NATIVE_JECS=0forces the sidecar. - by @howmanysmall in #150 - sloptor build: Derived programs default to 8 checkers unless
--checkersor tsconfigcheckersis set. Previously they used the default checker count. - by @howmanysmall in #150 - sloptor build: No-change builds skip building package import mappings when no source file is selected. Previously those mappings were built on every build. - by @christopher-buss in #142
- sloptor build: Overlay updates parse changed files in parallel on multi-checker programs. This can raise peak memory during the update. - by @christopher-buss in #149
v2.8.3 - 2026-10-17
This patch changes solution watch rebuilds, watch-mode GC and memory defaults, and solution build scheduling. It also adds transformer phase timings to --verbose output and changes several error messages.
π Added
- rotor build: With
--verbose, transformer worker phases now print with their durations in ms: config, program, factories, transform (includes parent repair), parent repair, and print/trace map. Previously these phases were not reported. - by @christopher-buss in #133
π Fixed
- rotor build: Solution watch (
rotor build --build -w) now rebuilds only the changed source after a comment-only edit in a referenced project, and still rebuilds dependents when a declaration changes. Previously every dependent recompiled, and a referenced project's output could trigger a second build cycle. - by @christopher-buss in #130
π§ Changed
- rotor build:
rotor build -w,rotor check -w, androtor devnow default toGOGC=100and a soft Go memory limit capped at 6 GiB, unlessGOGCorGOMEMLIMITis set. Previously they usedGOGC=400and a soft limit of 75% of effective memory, capped at 16 GiB. - by @christopher-buss in #131 - rotor build: Declaration files now emit concurrently per checker group, and overlap the transformer sidecar round trip when one runs. Previously each checker group emitted serially after the transformer finished. - by @howmanysmall in #127
- rotor build: In a solution build with
--builders N, a project waiting on a dependency no longer occupies one of the N workers, so independent projects start while it waits. Previously a blocked project held its worker until the dependency finished. - by @christopher-buss in #133 - tsconfig.json:
rbxtsoption errors now begin withinvalid "rbxts" config in, and tsconfig parse failures begin withfailed to parse tsconfig at. Previously both began with a capital letter,InvalidandFailed. - by @howmanysmall in #132 - rotor migrate: Its missing-config and overwrite errors no longer end in a period, such as
re-run with --force to replace it. Previously they ended withreplace it.- by @howmanysmall in #132
v2.8.2 - 2026-10-16
This patch release fixes rotor build diagnostics, Windows path resolution, and incremental rebuilds after a dependency's Rojo project changes. Incremental projects do one full rebuild on the first build after upgrading, and the Windows path change only affects Windows.
π Fixed
- rotor build: A build with type errors now reports them from every file in one run, including
--jsonoutput, and type errors take precedence over comment-directive errors, as inrbxtsc. Previously the build stopped at the first file with errors. - by @howmanysmall in #123 - rotor build: Paths reached through a Windows directory junction,
substdrive, or 8.3 short name now resolve to their real spelling, matching the Node transformer sidecar. Previously, transformer output on these paths could be rejected as missing from the program. - by @howmanysmall in #124 - rotor build: Incremental builds now rebuild when a dependency's Rojo project changes its path mappings, even when the file's modification time is unchanged. Previously, renaming a dependency's Rojo project left stale
TS.importpaths in unchanged files. - by @howmanysmall in #125
v2.8.1 - 2026-10-12
This patch release changes incremental rotor build rebuilds and JSX emit for underscore-prefixed components, and adds a diagnostic for referenced functions declared after a final statement. Existing incremental manifests may rebuild affected importers once after upgrading.
π Fixed
- rotor build: Editing any
.d.tsfile now rebuilds its importers, including re-exports, external packages, and global declarations, which can rebuild every source. Previously a caller kept table indexing after its imported return type changed toLuaTuple<[number, string]>, instead oflocal count, text = values(). - by @christopher-buss in #120 - rotor build: Referencing a function declared after a final
return,break, orcontinuenow fails withFunction "name" is unreachable after a final statement., so move the declaration before the first statement that uses it. Previously the build succeeded and the function was a nil binding. - by @christopher-buss in #121
π§ Changed
- rotor build: JSX tags such as
<_View />now emit the component bindingReact.createElement(_View), which diverges fromrbxtsc 3.0.0. Previously they emitted the host-tag stringReact.createElement("_View"). Lowercase and hyphenated intrinsic tags are unchanged. - by @christopher-buss in #120
v2.8.0 - 2026-10-11
This release adds project-reference import resolution to rotor build, fixes package exports, symlinked paths, and vararg shorthand captures in rotor build, and changes solution watch in rotor dev to refresh only the projects affected by an edit.
π Added
- rotor build: Solution builds now resolve imports of referenced projects to their emitted Luau, including transitive references, separate
declarationDirpaths, and each referenced project's ownluausetting. Referenced projects that omitcomposite: true, disable emit, or share atsBuildInfoFileor output directory with another project now fail the build with a diagnostic. - by @christopher-buss in #115
π Fixed
- rotor build: Package
exportsentries with object-valued custom conditions, and wildcard subpaths such as"./test/*", now resolve to their runtime Luau target. Previously the import fell back to a.luausibling of the declaration, which is wrong whendeclarationDirand the output directory differ. - by @christopher-buss in #113 - rotor build: An explicit
--rojoor--includePaththrough a symlinked directory now resolves to its real path, matching config and output paths. Previously a project-reference build could fail with a false "must mount" error. - by @christopher-buss in #117 - rotor build: A hand-written
index.d.tsoutsiderootDirnow maps to theinit.luaubeside it. Previously the import waited on anindexchild that does not exist. - by @christopher-buss in #115 - rotor build: A rest parameter used only as a shorthand property, such as
function f(...args) { return { args }; }, keeps itslocal args = { ... }capture. Previously the capture was dropped andargswasnilat runtime. - by @howmanysmall in #106 - rotor dev: Solution watch recovers when a referenced project is removed. It reopens only the watches that failed or terminated, and directory or root
.jsonevents now rebuild the owning project. - by @christopher-buss in #118
π§ Changed
- rotor dev: Solution watch refreshes reference metadata only for projects affected by an edit. Previously every edit rebuilt it for the whole solution. In the 40-package benchmark in the PR, a leaf edit falls from about 575β626 ms to 31β37 ms. - by @christopher-buss in #118
v2.7.2 - 2026-10-06
This patch release changes how rotor build starts its transformer sidecar when NODE_OPTIONS contains --experimental-package-map, which pnpm can set.
π Fixed
- rotor build: Builds with transformer plugins now resolve
typescriptand plugins when the parentNODE_OPTIONSincludes--experimental-package-map, as pnpm sets withnodeExperimentalPackageMap. The sidecar drops only that flag from its own environment, and the parent environment is unchanged. Previously the build failed with "Could not resolve thetypescriptpackage" from the transformer sidecar. - by @christopher-buss in #105
v2.7.1 - 2026-10-03
This patch release fixes rotor api-server request handling and sidecar stderr draining, stops rewriting outputs whose bytes are unchanged, and makes .d.ts member order deterministic. Flamework builds with noInclude no longer write two include/flamework files.
π Fixed
- rotor api-server:
rotor api-servernow decodes requests and callback responses of any size, and fails transport errors withBUILD_FAILEDand their cause. Previously a response over 16 MiB stopped the server, and a cancelled multi-config build could panic withChecker was previously cancelled. - by @christopher-buss in #98 - rotor build:
rotor buildnow reads sidecar stderr lines of any length and keeps at most 64 KiB of each in the compiler log, marked[truncated]. Previously a stderr line over 1 MiB stalled the transformer worker until its response timeout. - by @christopher-buss in #98 - rotor api-server: Transformer plugins whose real path is outside the project, such as a pnpm store, now resolve
typescriptfrom the project, as the CLI does. Previously the API build failed withCannot find module 'typescript'. - by @christopher-buss in #101 - rotor build: Declaration files keep the same member order across builds, including object-literal properties widened to
?: undefined. Previously the order depended on file scheduling, so identical builds could produce different.d.tsoutput. - by @christopher-buss in #103
π§ Changed
- rotor build: Outputs, copied non-compiled files,
include/runtime files, Flamework artifacts, andrbxts.copyfiles.jsonare left untouched when their bytes match what is on disk, even without--writeOnlyChanged. Previously every build rewrote them, so mtime-keyed caches such as Nx re-cached every output. - by @christopher-buss in #100 - rotor build: With
noInclude, a build now writes onlyinclude/flamework/flamework.buildand skipsinclude/flamework/config.jsonandglobs.json. This diverges fromrbxtsc 3.0.0andrbxts-transformer-flamework1.3.2, which write both for every game build. A project whose only build usesnoIncludeno longer gets these two files. - by @christopher-buss in #102
v2.7.0 - 2026-10-02
This release changes Flamework addPaths to emit static imports, moves the npm package's native executable into platform packages, adds an opt-in optimizedArrayAppends option and a JavaScript build API, and fixes solution builds, tsconfig.json inheritance, external library emit, and source map paths.
β οΈ Breaking Changes
- @rotor-rbx/rotor: The npm package now gets its executable from an optional dependency, so
--no-optionalinstalls fail with a missing-package error instead of downloading the binary. Reinstall without--no-optional, or install the named@rotor-rbx/rotor-<platform>package at the same version. - by @christopher-buss in #92
π Added
- @rotor-rbx/rotor: Adds
createBuildSession(), an async client that keeps one native server open across builds. Useawait using session = createBuildSession();andsession.build({ project: "." }), orsession.build({ roots })for several solution roots. - by @christopher-buss in #92 - rotor build: Adds the opt-in
--optimizedArrayAppendsflag, oroptimizedArrayAppendsunderrbxtsintsconfig.json, off by default. When enabled, a loop over a fresh local array turnstable.insert(result, value)into_resultLength += 1andresult[_resultLength] = value, which diverges fromrbxtsc 3.0.0. - by @christopher-buss in #81
π Fixed
- tsconfig.json:
extendsnow resolves package-export subpaths like@scope/tsconfig/robloxand dotted names like./tsconfig.base, and a child config keeps an inheritedtypeslist. Previously package-export extends failed withFailed to resolve tsconfig extends, and an inheritedtypeslist was replaced by["*"]. - by @christopher-buss in #77 and #80 - rotor build: A solution coordinator whose empty
filesandincludeare inherited throughextendsis skipped, and watch rebuilds its references when its config chain changes. Previously the coordinator was built, which could delete a referenced project'sout/index.d.tsand fail dependents withTS6305. - by @christopher-buss in #80 - rotor build: A workspace package resolved through
exports.sourceand a custom condition is now type-checked but not transformed into Luau. Previously itssrcfiles were also transformed, failing withnoRojoDatawhen Rojo had no mapping for them. - by @christopher-buss in #84 - rotor build: Adjacent
.luau.mapfiles now setfileto the generated Luau name and makesourcesrelative to the map, so checkouts at different paths produce identical maps. Previously both fields held absolute paths from the checkout. - by @christopher-buss in #85
π§ Changed
- emit: A standalone
Flamework.addPathsoraddPathsGlobcall, including one nested in a function, now emits oneTS.importper matching module, sorted by path. Previously it emitted a runtimeFlamework._addPathsloader that bundlers cannot follow, which diverges fromrbxtsc 3.0.0. - by @christopher-buss in #72 and #76 - rotor build: Adding or removing a module in a plain
addPathsdirectory now recompiles the calling file in incremental and watch builds, because the emitted imports depend on that set. - by @christopher-buss in #76 - @rotor-rbx/rotor: The native executable now comes from an exact-version platform package for macOS, Linux, or Windows on x64 or arm64, not a GitHub Releases download. The
@rotor-rbx/rotor/scripts/install.jssubpath still resolves the binary without downloading it. - by @christopher-buss in #92
v2.6.0 - 2026-09-25
This release adds NDJSON output for --watch --json in rotor build and rotor check, changes how rotor build --build inherits rbxts options, and fixes packed bundles, declaration-emit diagnostics, and referenced-project reuse. Solutions that relied on an entry tsconfig's rbxts options need a config edit.
β οΈ Breaking Changes
- rotor build: Under
--build, referenced projects no longer inheritrbxtsoptions from the entry tsconfig, except a coordinator's key, and flags now override their ownrbxtskeys. Previously the entry's options applied and keys beat flags; set inherited options in each reference'srbxtskey instead. - by @christopher-buss in #70
π Added
- rotor build:
rotor build --watch --json,rotor build --build --watch --json, androtor check --watch --jsonstream NDJSON on stdout, with onebuildStartand onebuildEndper build, then awatchingevent after the first build. Previously--jsonwas ignored with--watchand the output stayed styled. - by @christopher-buss in #68
π Fixed
- rotor build: After a direct build,
--buildreuses up-to-date referenced projects instead of recompiling them. Previously the incremental state differed from the direct build, so every--buildrun recompiled the referenced projects. - by @christopher-buss in #70 - rotor pack: Packed Luau modules resolve string requires (
require("./x"),require("@self/x")) against the bundle, acceptifexpressions as operands, and fit modules with 199 top-level locals under Luau's 200-register limit. Previously these failed at runtime or during compilation of the bundle. - by @howmanysmall and @uproot in #64 - diagnostics: Declaration-emit failures such as
TS4023now report their TypeScript code, message, and file location in regular, solution, and declaration-only builds. Previously the build failed with a generic compile error. - by @howmanysmall in #65 - diagnostics: Generic
thisreceivers that can becomevoid, and mismatched method and callback assignments, now reportnoUnstableThisType,expectedMethodGotFunction, orexpectedFunctionGotMethod, as the pinned upstreamrbxtscdoes. - by @howmanysmall in #69 - rotor check: Edits made right after a
rotor check --watchresult are no longer missed. Previously the watch loop recorded file state after reporting, so an edit in that window could be skipped. - by @christopher-buss in #68
π§ Changed
- emit: Destructuring Set, Map, and generator values keeps iterator position across omitted and rest elements, numeric
forloops re-read changing bounds, andswitchcases compare against the original operand. Previously iterators restarted, literal-typed bounds were hoisted, and cases saw mutated operands; output now diverges fromrbxtsc 3.0.0. - by @howmanysmall in #69 - emit: Luau
vectormath methods compile to operators:a.sub(b)now emitsa - b, whererbxtsc 3.0.0emitsa:sub(b), which errors at runtime. Projects whose@rbxts/typeslacks these declarations still compile, but those calls need the newer declarations to type-check. - by @howmanysmall in #66 - diagnostics:
rotor build --jsonreports diagnosticfilepaths relative to the project directory, or the solution tsconfig directory with--build, matchingrotor check --json. Previously they were relative to the working directory. - by @christopher-buss in #68 - rotor build: Styled
--build --watchpasses show structured diagnostics with code frames and real durations, and a failed config reload prints as a failed build. Previously a reload error printed as a bare line on stderr. - by @christopher-buss in #68
v2.5.0 - 2026-09-18
This release lets rotor build compile named async and generator function expressions, fixes Flamework guard imports in pnpm workspaces, and makes declaration-only builds stop calling transformer plugin factories. Projects whose transformer plugins load a second TypeScript copy now fail with a new diagnostic.
β οΈ Breaking Changes
- rotor build: A transformer plugin that resolves a different
typescriptfile than the project now fails withtypescript-instance-mismatch. Previously the build did not check this. Remove the plugin's nestednode_modules/typescriptso it resolves the project's copy. - by @howmanysmall in #56
π Added
- rotor build: Named
async functionandfunction*expressions now compile, including as call arguments such asregisterOnClose(async function onBindToCloseAsync() {}). Previously they failed withFunction expression names are not supported!, whichrbxtsc 3.0.0also reports. Async generator expressions still fail withnoAsyncGeneratorFunctions. - by @howmanysmall in #62
π Fixed
- rotor build: Flamework
createGuardin a pnpm workspace no longer fails withnoUnscopedModulewhen@rbxts/tresolves through a workspace-root hoist and the consuming package has no runtime link to it. The guard now imports through Flamework's prelude. Previously the error named the first authored import, which resolved correctly. - by @howmanysmall in #63 - rotor build: An overlay on a file reached through a symlinked parent directory now replaces that file's emitted Luau. Transformer plugins also see the physical project path as their working directory and
--project, which matters for macOS/varaliases and Windows short names. Previously the overlay was ignored and the on-disk file was emitted. - by @howmanysmall in #56 - rotor build: Comments now reach later transformer plugins even when
removeCommentsis enabled. Previously the intermediate print dropped them. - by @howmanysmall in #56
π§ Changed
- rotor build: With
--build --emitDeclarationOnly, transformer plugins are validated (module loads, exports a factory, same TypeScript instance) without calling their factories or running their visitors. Previously the full plugin round trip ran and its output was discarded, so a plugin that threw during transform failed the declaration build. - by @howmanysmall in #56
v2.4.0 - 2026-09-03
This release adds native declaration output, declaration-signature incremental builds, and the tsgo-compatible --singleThreaded build control. It also improves transformer-sidecar visibility and restores native Flamework parity for macro imports, decorator identities, section comments, and boolean union guards.
β οΈ Breaking Changes
afterDeclarationstransformers: Native declaration emit no longer runs customafterDeclarationstransformers, so markers or other edits previously added to.d.tsfiles are no longer emitted; upgrade by removing theafterDeclarationsdependency or keeping its behavior out of published declarations, and expect one warning per affected project - by @christopher-buss in #50
π Added
rotor build: Adds the tsgo-compatible--singleThreadedflag, which overridescompilerOptions.singleThreaded, forces one solution builder and one checker per program, and takes precedence over--buildersand--checkers;userotor build --singleThreadedfor serialized builds - by @howmanysmall (5dc5d68)
π Fixed
- Flamework macros: Preserves synthesized imports and hoisted prerequisites when
Dependency<T>()or another native Flamework macro appears under an assignment, compound assignment, unary update, ordeleteexpression, preventing missingFlameworkbindings and TS2304 failures - by @teakzc in #52 - Flamework decorators: Keys
Reflect.decorateUIDs from the decorator declaration file rather than the file applying the decorator, including named ancestors such asDecorators.Component, so cross-file decorator lookups agree with the declaration UID - by @teakzc in #53 - Flamework output: Emits separate metadata and decorator section comments for the class and each decorated member, retaining member names such as
Class.memberand matching the reference output - by @teakzc in #54 - Flamework guards: Collapses unions containing both boolean literals into
t["boolean"], preservingt["literal"](true)for a lone boolean literal and matching upstream guard order - by @teakzc in #55 rotor build: Invalidates incremental output when an external transformerβs tsconfig entry, declared package version, or entry-file contents change, so files are not mixed between old and new transformer output - by @christopher-buss in #50- Transformer sidecar: Keeps global scripts,
.d.mtsand.d.ctsfiles, and modules containingdeclare globalin narrowed incremental root sets, preserving checker results for ambient declarations - by @christopher-buss (2a774eb) - Declaration source maps: Keeps
.d.ts.mapgenerated columns aligned after declaration module-specifier rewrites, including UTF-16 columns, CRLF files, empty lines, and multiple edits - by @christopher-buss in #50
π§ Changed
rotor build: Emits.d.tsand.d.ts.mapfiles natively through tsgo for projects with or without transformer plugins, using the original pre-transform program so source transformers cannot alter published types; declarationpathsandbaseUrlspecifiers are rewritten to runtime-resolvable relative paths, including synthesized and nestedimport()types - by @christopher-buss in #50rotor build: Uses declaration signatures to stop incremental rebuild propagation when a changed dependencyβs published declaration is unchanged, while still rebuilding importers when the declaration changes or comparison is unavailable; unchanged projects can select no source files and skip the transformer pipeline - by @christopher-buss in #50rotor build: Makes independent solution projects use separate transformer-sidecar sessions and shares declaration/JSON parsing during one solution drain, reducing unnecessary contention and repeated parsing - by @howmanysmall (a646ad0) and @howmanysmall (c60a862)rotor build --timings: Changes the timing JSON schema from version 1 to version 2.totalMsnow reports command wall time, stage values report aggregateworkMs, and solution builds include per-project status, timing, counts, runtime metadata, sidecar metrics, and parse-cache counts - by @howmanysmall (be0672)rotor build --verbose: Reports transformer-sidecar wait, preparation, round-trip, response decoding, overlay, and per-plugin timing stages, and includes Node CPU metrics in timing data - by @christopher-buss (0b8a13f)- Declaration paths: Resolves rewritten specifiers using the containing fileβs module mode, making declaration output deterministic under
module: preserveandmoduleResolution: bundlerinstead of depending on map iteration order - by @christopher-buss (4a5167b)
v2.3.3 - 2026-08-20
This patch release restores compatibility for projects using the legacy rbxts-transformer-flamework plugin. Builds use the Node sidecar when native Flamework is not active, while native and legacy Flamework configurations remain mutually exclusive.
π Fixed
- rotor build: Runs
rbxts-transformer-flameworkthrough the Node sidecar when no[flamework]configuration applies, including projects whose configured[flamework.profiles.*]entry does not match the activetsconfig.json- by @christopher-buss in #32 - rotor doctor: Checks Node.js and sidecar requirements for legacy
rbxts-transformer-flameworkconfigurations instead of requiringrotor migrate flamework; configuring native[flamework]alongside the legacy plugin remains a reported conflict - by @christopher-buss in #32
v2.3.2 - 2026-08-20
This patch release adds compiler-shaped build invocation support for TypeScript integrations such as Nx. You can now invoke the existing build command without naming the build subcommand.
π Added
- rotor build: Accepts
rotor --build [path]androtor -b [path]as aliases forrotor build --build [path], including compiler integration flags and build help - by @christopher-buss in #31
v2.3.1 - 2026-08-15
This patch release fixes native Flamework builds that use skipped semantic diagnostics, transitive type-only macro calls, and JSX or generated runtime imports. It also fixes clickable diagnostic file links in terminal output and adds an opt-in Flamework source reuse setting.
π Added
- rotor.toml [flamework]: Adds
skipUnchangedFiles = true, which reuses parse trees for sources that native Flamework leaves unchanged; the same option is available under[flamework.profiles.<tsconfig>]- by @howmanysmall in #28
π Fixed
- rotor build: Native Flamework builds with
noSemanticDiagnostics = truenow emit unresolved value identifiers as their raw names instead of failing with an internal compiler error, and preserve runtime imports when the checker cannot resolve their value use - by @howmanysmall in #28 - rotor build: Imports used only as JSX factories, such as
Reactin<Frame />, now remain in emitted Luau instead of being elided - by @howmanysmall in #28 - rotor build: Native Flamework now injects the required numeric callsite argument for
Modding.Caller<"line">calls reached through type-only, transitive, diamond, or cyclic imports, avoiding the runtimecallsiteId not generatedfailure - by @howmanysmall in #28 - rotor build: Flamework guard generation now emits
t.anyforanytypes, and Flamework projects usingrootDirswith a nullrootDirresolve their source roots correctly - by @howmanysmall in #28 - diagnostics: Terminal hyperlinks now use absolute, percent-encoded
file://URIs with#line:colfragments, including correct handling for spaces, empty paths, and UNC paths - by @howmanysmall in #27
π§ Changed
- rotor build: Native Flamework now reprints and re-parses every source by default to preserve upstream source-print parity; set
skipUnchangedFiles = trueto opt into reusing unchanged source trees and the previous sparse-update behavior - by @howmanysmall in #28
v2.3.0 - 2026-08-12
No release notes. See the tag.
v2.2.1-fork.10 - 2026-08-08
No release notes. See the tag.
v2.2.1-fork.9 - 2026-08-07
No release notes. See the tag.
v2.2.1-fork.8 - 2026-08-06
No release notes. See the tag.
v2.2.1-fork.7 - 2026-08-04
No release notes. See the tag.
v2.2.1-fork.6 - 2026-08-03
No release notes. See the tag.
v2.2.1-fork.5 - 2026-08-02
No release notes. See the tag.
v2.2.1-fork.4 - 2026-07-31
No release notes. See the tag.
How releases work
Section titled βHow releases workβsloptor uses bumpp for versioning. Pushing a vX.Y.Z tag triggers a release, which cross-builds the binaries, smoke-tests them on every platform, and publishes the archives as a GitHub release.
communique writes the release notes. The release workflow then adds them to CHANGELOG.md and to this page.