Skip to content

v2.8.1: Declaration rebuilds and underscore JSX component bindings

Choose a tag to compare

@github-actions github-actions released this 12 Oct 17:00
· 620 commits to main since this release
v2.8.1
6cfe536

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

Full Changelog: v2.8.0...v2.8.1