Repository navigation
tsc-rs 0.6.0
Install with npm install -D tsc-rs, or download the archive for your platform.
Highlights
- Editor memory. Long edit sessions grow 3.1 to 4.6 MiB per 1,000 edits, down from about 20 MiB in 0.5.0. After 10,000 edits the language server uses less memory than
tscon TanStack Query core and Hono. - Faster default mode, output unchanged. Files load and bind in parallel with less serial work between load and check. 184,749 ported Go tests pass, none lost since 0.5.0.
--fastfixes. Build mode accepts--fast, the checker count never drops below Go's 4, and the flag is read only where Go reads an option name.- Correctness. Module resolution reads
ResolvedPathwhere Go does (checker, program, auto-imports, API); Go's resolver tests are ported.
What's Changed
- fix(wasm): allocate input before creating the memory view by @eiserv in #63
- fix(wasm): avoid inheriting --input-type in the compiler worker by @eiserv in #64
- fix(wasm): skip undefined env values instead of passing "undefined" by @eiserv in #65
- fix(wasm): retry failed module loads in Node by @eiserv in #66
- fix(wasm): match the streaming MIME type exactly by @eiserv in #67
- fix(wasm): resolve a relative cwd in the Node entry by @eiserv in #68
- fix(wasm): reject NUL bytes in cwd, args and env by @eiserv in #69
- docs(npm): the released Linux tsc is static musl by @eiserv in #70
- docs: fix grammar issue in README.md by @lunar-me in #72
- docs: fix grammar issue in README.md by @lunar-me in #73
- fix(wasm): reject conflicting in-memory file writes by @eiserv in #75
- fix(wasm): keep the empty in-memory root directory by @eiserv in #77
- fix(wasm): preserve UTF-8 in crash stderr by @eiserv in #78
- fix(wasm): declare the numeric WasiExit constructor by @eiserv in #76
New Contributors
Full Changelog: v0.5.0...v0.6.0