Skip to content

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/cache snapshot 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 4 no 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 true or false after =, so --luau=1 and --luau=TRUE now exit 2. Write --luau=true instead; --luau=1 was read as a boolean before. - by @howmanysmall in #192

πŸš€ Added

  • sloptor completion: --install writes the script where the shell looks for it, as in sloptor completion zsh --install, and nu is now a supported shell. Previously there was no install step and no nu script. - by @howmanysmall in #192

🐞 Fixed

  • sloptor build: Cold-cache builds of several projects no longer fail while extracting the sidecar, and --watch rebuilds no longer read freed declarations. Previously extraction failed with ENOENT or directory 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 --help adds the examples to the -h page. Usage errors now print usage's error: layout with the command's Usage: 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, --mutexprofile and --heapprofile are 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.optimizedArrayAppends on, a new Array<number>(n) declared directly before a loop that pushes into it now appends by index, as sized[_sizedLength] = value. Previously any constructor argument fell back to table.insert(sized, value), and new Array(n, value) still does. - by @howmanysmall in #190

🐞 Fixed

  • emit: With luauTypes on, 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.js fails there with UNSUPPORTED_PLATFORM. Previously those packages installed; switch to a supported target or build with cargo 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_complete output and drop Cobra's __complete protocol. Previously the script used __complete; run sloptor completion <shell> again and replace the installed copy. - by @howmanysmall in #186

πŸš€ Added

  • sloptor completion: Generates elvish completion 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 -V prints the version, as -v does. Previously -V was not a recognized flag. - by @howmanysmall in #186

πŸ”§ Changed

  • sloptor build: Help and errors show kebab-case flags such as --include-path and --luau-types, and the camelCase spellings such as --includePath still parse. Previously help listed the camelCase names. - by @howmanysmall in #186
  • diagnostics: sloptor build and sloptor check print rustc-style frames with an error[TS2322] header, the path with line and column, an underlined snippet, and = help: lines. Previously they used tsc's frame and plain-line layout. --json output is unchanged. - by @howmanysmall in #186
  • sloptor build: The human output is redesigned, with a header, verb lines such as Built and Failed, 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: --watch rebuilds print a timestamped divider, the changed files, and a Rebuilt N files summary with a rebuild counter. --json watch events keep Go's NDJSON shape apart from the at and durationMs values. Previously rebuilds printed Go's layout. - by @howmanysmall in #186
  • sloptor build: --use-polling with -b now polls at 100 ms through notify'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.ts output uses TypeScript 7.1 printing, so export const { a } = ... declares declare const { a }: { a: T };. Previously beta.2 wrote declare const a: T;, and the types are identical. Luau output is not affected. - by @howmanysmall in #186
  • sloptor build: GOGC and GOMEMLIMIT no longer tune the build, while GOMAXPROCS still sizes the worker pool and ROTOR_MAX_BUILDS still controls build slots. Previously GOGC and GOMEMLIMIT tuned the Go runtime. - by @howmanysmall in #186
  • sloptor lsp: Malformed request params get InvalidParams, and the error text for methods other than initialize and shutdown can 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 sets initializationOptions.typeErrors. Previously those diagnostics appeared only in sloptor diagnostics. - by @howmanysmall in #177
  • rotor.toml [nativeTypes]: Set nativeTypes = true in rotor.toml, or rbxts.nativeTypes in tsconfig.json (tsconfig wins), to annotate parameters and returns in //!native files, e.g. local function addVector(a: vector, b: vector): vector. Previously that function emitted as local function addVector(a, b). - by @howmanysmall in #178
  • sloptor build: Pass --luauTypes, or set luauTypes in rotor.toml or rbxts.luauTypes in tsconfig.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 Object binding, such as import Object from "@rbxts/object-utils" in a CommonJS module, while require and exports bindings still do. Previously that import failed check on projects that rbxtsc compiles cleanly. - by @paradoxuum in #172
  • emit: A file that calls a Flamework guard macro and also declares a @Component now imports t once, from the same guard library as the macro. Previously the decorator imported t from @flamework/core/out/prelude, so a project with its own @rbxts/t got two t imports. - by @paradoxuum in #173
  • emit: An import used only in a qualified type name, such as Namespace.Type from a .d.ts namespace, is now elided. Previously the TS.import stayed in the Luau and failed at runtime with Failed to import! Expected ModuleScript, got Folder. - by @paradoxuum in #174

πŸ”§ Changed

  • emit: A switch with a case after default now selects the first matching case before running any body, so pick("b") returns 2 instead of 0. This diverges from rbxtsc 3.0.0 for those switches; switches with a trailing default are unchanged. - by @christopher-buss in #185
  • emit: A try whose try and catch both always exit no longer emits the trailing if _exitType then guard, so return unpack(_returns) is emitted directly. Previously the guard was emitted. This diverges from rbxtsc 3.0.0 for those try statements; ones that can complete normally keep the guard. - by @christopher-buss in #183
  • emit: Spreading an operand typed object into an object literal or JSX element no longer emits a nil-check guard, so { ...source } copies without an if. Previously it was guarded, which diverges from rbxtsc 3.0.0; object | undefined stays 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, and sloptor sourcemap are 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 dev is removed, so scripts that call it fail. Previously it ran watch, incremental compile, and rojo serve; run sloptor build -w for the compile loop and start Rojo separately. - by @christopher-buss and @howmanysmall in #168
  • sloptor asset: sloptor asset and sloptor deploy are removed along with the Open Cloud upload and deploy pipelines. Previously asset sync uploaded files and wrote rotor-lock.json, and deploy planned and applied changes to live resources. - by @christopher-buss and @howmanysmall in #168
  • sloptor init: sloptor init, sloptor add, sloptor doctor, and sloptor migrate are removed, so remove them from scripts and CI. Previously they scaffolded projects, edited package.json, checked setup, and migrated rbxtsc project configuration. - by @christopher-buss and @howmanysmall in #168
  • sloptor build: --minify is removed, so sloptor build --minify fails; drop the flag. Previously it stripped comments and whitespace and rewrote t["x"] to t.x. - by @christopher-buss and @howmanysmall in #168
  • $asset: $asset is removed, so replace each call with a value from $env or generated source. Previously it expanded to an asset ID from rotor-lock.json. - by @christopher-buss and @howmanysmall in #168
  • $git: $git is removed, so replace each call with a value from $env or generated source. Previously it read Git values during the build. - by @christopher-buss and @howmanysmall in #168
  • $buildTime: $buildTime is removed, so replace each call with a value from $env or generated source. Previously it expanded to the build timestamp. - by @christopher-buss and @howmanysmall in #168
  • rotor.toml [assets]: rotor.toml now defines only parallelTransformers and flamework, and the schema rejects other keys, so delete [assets] and the other removed sections. Previously [assets] configured sloptor asset sync. - by @christopher-buss and @howmanysmall in #168
  • rotor.toml: rotor.config.ts and rotor.config.js are no longer loaded. Move any supported settings into rotor.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-map now 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 $env value or a $file target 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.map now 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 build and sloptor check runs 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; set ROTOR_MAX_BUILDS=0 to 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.map now 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 require export condition, so CommonJS code that called require("@rotor-rbx/rotor") must use await 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 = 2 and batchIndependent = true to split one-shot sloptor build transformers across two workers, after attesting the chain with typescript and sha256. 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_modules slowed 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.json files inside dependencies, so TS.getModule(script, "@scope", "lib").out is emitted even when a dependency has a generated test project. Previously that file redirected the path, which rbxtsc 3.0.0 still does. - by @christopher-buss in #145
  • sloptor build: Solution watch (sloptor build --build -w) now watches a package's layout files, so editing its default.project.json or a *.project.json it 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; set ROTOR_SIDECAR_SHARDS=1 to keep one. Previously one worker transformed every file. - by @howmanysmall in #150
  • sloptor build: rbxts-transformer-jecs runs natively when the installed package matches the build the port was written for. Other builds stay in the sidecar, and ROTOR_NATIVE_JECS=0 forces the sidecar. - by @howmanysmall in #150
  • sloptor build: Derived programs default to 8 checkers unless --checkers or tsconfig checkers is 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, and rotor dev now default to GOGC=100 and a soft Go memory limit capped at 6 GiB, unless GOGC or GOMEMLIMIT is set. Previously they used GOGC=400 and 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: rbxts option errors now begin with invalid "rbxts" config in, and tsconfig parse failures begin with failed to parse tsconfig at. Previously both began with a capital letter, Invalid and Failed. - 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 with replace 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 --json output, and type errors take precedence over comment-directive errors, as in rbxtsc. Previously the build stopped at the first file with errors. - by @howmanysmall in #123
  • rotor build: Paths reached through a Windows directory junction, subst drive, 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.import paths 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.ts file 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 to LuaTuple<[number, string]>, instead of local count, text = values(). - by @christopher-buss in #120
  • rotor build: Referencing a function declared after a final return, break, or continue now fails with Function "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 binding React.createElement(_View), which diverges from rbxtsc 3.0.0. Previously they emitted the host-tag string React.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 declarationDir paths, and each referenced project's own luau setting. Referenced projects that omit composite: true, disable emit, or share a tsBuildInfoFile or output directory with another project now fail the build with a diagnostic. - by @christopher-buss in #115

🐞 Fixed

  • rotor build: Package exports entries 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 .luau sibling of the declaration, which is wrong when declarationDir and the output directory differ. - by @christopher-buss in #113
  • rotor build: An explicit --rojo or --includePath through 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.ts outside rootDir now maps to the init.luau beside it. Previously the import waited on an index child 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 its local args = { ... } capture. Previously the capture was dropped and args was nil at 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 .json events 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 typescript and plugins when the parent NODE_OPTIONS includes --experimental-package-map, as pnpm sets with nodeExperimentalPackageMap. The sidecar drops only that flag from its own environment, and the parent environment is unchanged. Previously the build failed with "Could not resolve the typescript package" 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-server now decodes requests and callback responses of any size, and fails transport errors with BUILD_FAILED and their cause. Previously a response over 16 MiB stopped the server, and a cancelled multi-config build could panic with Checker was previously cancelled. - by @christopher-buss in #98
  • rotor build: rotor build now 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 typescript from the project, as the CLI does. Previously the API build failed with Cannot 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.ts output. - by @christopher-buss in #103

πŸ”§ Changed

  • rotor build: Outputs, copied non-compiled files, include/ runtime files, Flamework artifacts, and rbxts.copyfiles.json are 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 only include/flamework/flamework.build and skips include/flamework/config.json and globs.json. This diverges from rbxtsc 3.0.0 and rbxts-transformer-flamework 1.3.2, which write both for every game build. A project whose only build uses noInclude no 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-optional installs 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. Use await using session = createBuildSession(); and session.build({ project: "." }), or session.build({ roots }) for several solution roots. - by @christopher-buss in #92
  • rotor build: Adds the opt-in --optimizedArrayAppends flag, or optimizedArrayAppends under rbxts in tsconfig.json, off by default. When enabled, a loop over a fresh local array turns table.insert(result, value) into _resultLength += 1 and result[_resultLength] = value, which diverges from rbxtsc 3.0.0. - by @christopher-buss in #81

🐞 Fixed

  • tsconfig.json: extends now resolves package-export subpaths like @scope/tsconfig/roblox and dotted names like ./tsconfig.base, and a child config keeps an inherited types list. Previously package-export extends failed with Failed to resolve tsconfig extends, and an inherited types list was replaced by ["*"]. - by @christopher-buss in #77 and #80
  • rotor build: A solution coordinator whose empty files and include are inherited through extends is skipped, and watch rebuilds its references when its config chain changes. Previously the coordinator was built, which could delete a referenced project's out/index.d.ts and fail dependents with TS6305. - by @christopher-buss in #80
  • rotor build: A workspace package resolved through exports.source and a custom condition is now type-checked but not transformed into Luau. Previously its src files were also transformed, failing with noRojoData when Rojo had no mapping for them. - by @christopher-buss in #84
  • rotor build: Adjacent .luau.map files now set file to the generated Luau name and make sources relative 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.addPaths or addPathsGlob call, including one nested in a function, now emits one TS.import per matching module, sorted by path. Previously it emitted a runtime Flamework._addPaths loader that bundlers cannot follow, which diverges from rbxtsc 3.0.0. - by @christopher-buss in #72 and #76
  • rotor build: Adding or removing a module in a plain addPaths directory 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.js subpath 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 inherit rbxts options from the entry tsconfig, except a coordinator's key, and flags now override their own rbxts keys. Previously the entry's options applied and keys beat flags; set inherited options in each reference's rbxts key instead. - by @christopher-buss in #70

πŸš€ Added

  • rotor build: rotor build --watch --json, rotor build --build --watch --json, and rotor check --watch --json stream NDJSON on stdout, with one buildStart and one buildEnd per build, then a watching event after the first build. Previously --json was ignored with --watch and the output stayed styled. - by @christopher-buss in #68

🐞 Fixed

  • rotor build: After a direct build, --build reuses up-to-date referenced projects instead of recompiling them. Previously the incremental state differed from the direct build, so every --build run 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, accept if expressions 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 TS4023 now 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 this receivers that can become void, and mismatched method and callback assignments, now report noUnstableThisType, expectedMethodGotFunction, or expectedFunctionGotMethod, as the pinned upstream rbxtsc does. - by @howmanysmall in #69
  • rotor check: Edits made right after a rotor check --watch result 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 for loops re-read changing bounds, and switch cases compare against the original operand. Previously iterators restarted, literal-typed bounds were hoisted, and cases saw mutated operands; output now diverges from rbxtsc 3.0.0. - by @howmanysmall in #69
  • emit: Luau vector math methods compile to operators: a.sub(b) now emits a - b, where rbxtsc 3.0.0 emits a:sub(b), which errors at runtime. Projects whose @rbxts/types lacks these declarations still compile, but those calls need the newer declarations to type-check. - by @howmanysmall in #66
  • diagnostics: rotor build --json reports diagnostic file paths relative to the project directory, or the solution tsconfig directory with --build, matching rotor check --json. Previously they were relative to the working directory. - by @christopher-buss in #68
  • rotor build: Styled --build --watch passes 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 typescript file than the project now fails with typescript-instance-mismatch. Previously the build did not check this. Remove the plugin's nested node_modules/typescript so it resolves the project's copy. - by @howmanysmall in #56

πŸš€ Added

  • rotor build: Named async function and function* expressions now compile, including as call arguments such as registerOnClose(async function onBindToCloseAsync() {}). Previously they failed with Function expression names are not supported!, which rbxtsc 3.0.0 also reports. Async generator expressions still fail with noAsyncGeneratorFunctions. - by @howmanysmall in #62

🐞 Fixed

  • rotor build: Flamework createGuard in a pnpm workspace no longer fails with noUnscopedModule when @rbxts/t resolves 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 /var aliases 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 removeComments is 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

  • afterDeclarations transformers: Native declaration emit no longer runs custom afterDeclarations transformers, so markers or other edits previously added to .d.ts files are no longer emitted; upgrade by removing the afterDeclarations dependency 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 --singleThreaded flag, which overrides compilerOptions.singleThreaded, forces one solution builder and one checker per program, and takes precedence over --builders and --checkers; use rotor build --singleThreaded for 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, or delete expression, preventing missing Flamework bindings and TS2304 failures - by @teakzc in #52
  • Flamework decorators: Keys Reflect.decorate UIDs from the decorator declaration file rather than the file applying the decorator, including named ancestors such as Decorators.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.member and matching the reference output - by @teakzc in #54
  • Flamework guards: Collapses unions containing both boolean literals into t["boolean"], preserving t["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.mts and .d.cts files, and modules containing declare global in narrowed incremental root sets, preserving checker results for ambient declarations - by @christopher-buss (2a774eb)
  • Declaration source maps: Keeps .d.ts.map generated 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.ts and .d.ts.map files natively through tsgo for projects with or without transformer plugins, using the original pre-transform program so source transformers cannot alter published types; declaration paths and baseUrl specifiers are rewritten to runtime-resolvable relative paths, including synthesized and nested import() types - by @christopher-buss in #50
  • rotor 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 #50
  • rotor 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. totalMs now reports command wall time, stage values report aggregate workMs, 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: preserve and moduleResolution: bundler instead 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-flamework through the Node sidecar when no [flamework] configuration applies, including projects whose configured [flamework.profiles.*] entry does not match the active tsconfig.json - by @christopher-buss in #32
  • rotor doctor: Checks Node.js and sidecar requirements for legacy rbxts-transformer-flamework configurations instead of requiring rotor 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] and rotor -b [path] as aliases for rotor 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 = true now 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 React in <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 runtime callsiteId not generated failure - by @howmanysmall in #28
  • rotor build: Flamework guard generation now emits t.any for any types, and Flamework projects using rootDirs with a null rootDir resolve their source roots correctly - by @howmanysmall in #28
  • diagnostics: Terminal hyperlinks now use absolute, percent-encoded file:// URIs with #line:col fragments, 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 = true to 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.

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.