Repository navigation
v2.8.1: Declaration rebuilds and underscore JSX component bindings
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
Full Changelog: v2.8.0...v2.8.1