π Patch Changes
- #18110
ffdf774Thanks @Princesseuh! - Fix organize imports for Astro files whose frontmatter ends with imports.
ffdf774 Thanks @Princesseuh! - Fix organize imports for Astro files whose frontmatter ends with imports.#17676 49d4294 Thanks @Princesseuh! - Improves type checking and editor support for .astro files.
The language server now uses our all-new Biome powered astro2tsx implementation. This new version has much better support for incomplete syntax, generic types and various edge cases.
In the vast majority of cases, no changes should be required to your code, and any change should be the result of more accurate types or behavior.
a51c533 Thanks @wakqasahmed! - Fixes astro check silently skipping .astro files that are only reachable through a TypeScript project reference (a tsconfig referenced via references in another tsconfig). These files are now checked and reported like any other .astro file.6a1c1d8 Thanks @florian-lefebvre! - Fixes a case where errors in files included in tsconfig project references would never be caught5196fb4 Thanks @kkhys! - Fixes an opaque Cannot read properties of undefined (reading 'fileExists') crash when astro check runs against the TypeScript 7 native compiler. The native compiler does not ship the programmatic API the checker relies on yet, so astro check now fails early with a clear message pointing to the tracking issue instead.60cb289 Thanks @dupontcyborg! - Update volar-service-* dependencies from 0.0.70 to 0.0.71 to pull in yaml-language-server 1.23.0 and yaml 2.8.3, resolving CVE-2026-33532 (GHSA-48c2-rrv3-qjmp), a denial-of-service vulnerability in yaml <2.8.3.5778cb7 Thanks @Princesseuh! - Fixes unintended dependency on the typescript package being available to the language server421e8de Thanks @FelmonFekadu! - Fixes completions sometimes not working inside the href attribute7b4b254 Thanks @Princesseuh! - Updates Volar services to 0.0.70. This updates notably mean that the transitive dependency yaml-language-server no longer depends on a vulnerable version of lodash, causing warnings to show when installing the language server.d8e64ef Thanks @ArmandPhilippot! - Fixes the links to Astro Docs so that they match the current docs structure.385be1b Thanks @dvelasquez! - Fixes an issue with the volar-service-emmet that was pointing to a github username/repository instead of a npm package. This type of dependencies are not supported for Deno installations and it can break in enterprise environments that use private registries or donβt have access to public github.abfed97 Thanks @ArmandPhilippot! - Fixes link targets in documentation following repository relocation.3c7ab17 Thanks @Princesseuh! - Adds a new setting for disabling the Auto Import Cache. The cache can cause an issue where new files are not able to be automatically imported using autocomplete in certain cases. Check https://github.com/withastro/language-tools/issues/1035 for more details.