# @astrojs/ts-plugin

## 1.10.10

### Patch Changes

- [#17269](https://github.com/withastro/astro/pull/17269) [`c72d4f2`](https://github.com/withastro/astro/commit/c72d4f2d55054d65d574aa38925f6b05550f0ed1) Thanks [@matthewp](https://github.com/matthewp)! - Fixes "Go To References" from `.ts` files missing usages inside `.astro` files that are reached through `Astro.locals`. The plugin now injects Astro's ambient types so type chains like `Astro.locals.utils.toUpper()` resolve, matching the language server.

## 1.10.9

### Patch Changes

- [#16661](https://github.com/withastro/astro/pull/16661) [`03b8f7f`](https://github.com/withastro/astro/commit/03b8f7f7644cc1d9e738a8221d6bd377399538c0) Thanks [@ocavue](https://github.com/ocavue)! - Updates `typescript` to v6. No changes are needed from users.

- Updated dependencies [[`03b8f7f`](https://github.com/withastro/astro/commit/03b8f7f7644cc1d9e738a8221d6bd377399538c0)]:
  - @astrojs/yaml2ts@0.2.4

## 1.10.8

### Patch Changes

- [#16716](https://github.com/withastro/astro/pull/16716) [`04fdbb2`](https://github.com/withastro/astro/commit/04fdbb29978d5a00acfb956538e54256ae24b486) Thanks [@delucis](https://github.com/delucis)! - Drops support for versions of VS Code below 1.101.0 [May 2025]

## 1.10.7

### Patch Changes

- [#15820](https://github.com/withastro/astro/pull/15820) [`e20474b`](https://github.com/withastro/astro/commit/e20474b98c6d868ed9734f7eeb7564bffe8bfd77) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixes broken publish

- Updated dependencies [[`e20474b`](https://github.com/withastro/astro/commit/e20474b98c6d868ed9734f7eeb7564bffe8bfd77)]:
  - @astrojs/yaml2ts@0.2.3

## 1.10.6

### Patch Changes

- [#14740](https://github.com/withastro/astro/pull/14740) [`abfed97`](https://github.com/withastro/astro/commit/abfed97d45ab04c625d6463f9be1e5b1d23c3573) Thanks [@ArmandPhilippot](https://github.com/ArmandPhilippot)! - Fixes link targets in documentation following repository relocation.

## 1.10.5

### Patch Changes

- 6dfd814: Updated internal Volar version. This update should improve compatibility with newer versions of TypeScript and fix minor issues.

## 1.10.4

### Patch Changes

- 128cf11: Improves performance when using TS 5.6. Performance is still degraded compared to 5.5, but should at least be usable.
- Updated dependencies [128cf11]
  - @astrojs/yaml2ts@0.2.2

## 1.10.3

### Patch Changes

- 8673fa5: Fixes certain cases where content schemas would not be reloaded properly when they were updated

## 1.10.2

### Patch Changes

- af5bbc5: Fixes content intellisense not working inside Markdoc files using the `markdoc` language identifier

## 1.10.1

### Patch Changes

- 28dfebe: Updates to the stable version of Volar 2.4.0
- Updated dependencies [28dfebe]
  - @astrojs/yaml2ts@0.2.1

## 1.10.0

### Minor Changes

- d624646: Adds support for Content Collection Intellisense

### Patch Changes

- Updated dependencies [d624646]
  - @astrojs/yaml2ts@0.2.0

## 1.9.3

### Patch Changes

- e5732ff: Updates internal dependencies

## 1.9.2

### Patch Changes

- 5186329: Update internal dependencies

## 1.9.1

### Patch Changes

- cc94bef: Revert a change to top-level returns that could prevent the return types of functions from being correct in certain cases

## 1.9.0

### Minor Changes

- b8a6af3: Upgrades to the latest version of Volar, the underlying framework powering the Astro language server. This update should fix some of the recent issues regarding intellisense inside script tags.

## 1.8.0

### Minor Changes

- c8af6db: Upgrades the language server to use the latest version of Volar. This changes should have no negative impacts on the experience.

## 1.7.0

### Minor Changes

- 65d3425: Upgrades the language server to use Volar 2.2. This changes should have no negative impacts on the experience.

## 1.6.1

### Patch Changes

- 9ca368b: Update to the latest version of Volar. This release should fix some of the caching issues that has crept up recently

## 1.6.0

### Minor Changes

- 85b42dc: Update to the latest version of Volar. This release fixes a few issues such as missing Prettier crashing the language server in some cases, resolutions not working correctly inside TSX files, and more.

## 1.5.3

### Patch Changes

- 7c4c1f2: Update Volar services. This update fixes an issue where `typescript.validate` settings wouldn't work in Astro files the same way they would inside TypeScript files

## 1.5.2

### Patch Changes

- 6924c7e: Fixes semantic highlighting not working inside .ts(x) files in certain cases
- 310fbfe: Fix Svelte and Vue integrations not working on Windows in certain cases

## 1.5.1

### Patch Changes

- de58706: Fix imports from certain packages not working correctly in certain cases

## 1.5.0

### Minor Changes

- 15a5532: Upgrade to Volar 2.0. No regressions are currently expected, however as this is a fairly consequential backend change, please report any issues you encounter.

  For reference, Volar is the underlying framework that powers the Astro language server, you can think of it as Vite for editor tooling.

## 1.4.0

### Minor Changes

- dab6801: Enables more accurate types when using JSX-based frameworks. This internal refactor to Astro's JSX types will be an invisible change for most users, but fixes a number of type checking problems for users of other JSX frameworks.

## 1.3.1

### Patch Changes

- ee41dce: Add support for TypeScript 5.3
- 19217c4: Automatically flatten inferred unions from `getStaticPaths` into each other so that divergent props don't need to be manually discriminated before destructuring.

## 1.3.0

### Minor Changes

- f4402eb: Add intellisense for Astro.self, add auto inferring of props for `getStaticPaths`

## 1.2.0

### Minor Changes

- 9381e1d: Update dependencies

## 1.1.3

### Patch Changes

- 4e10283: Fix TSServer crash, for real this time

## 1.1.2

### Patch Changes

- 4b510dd: Fix TSServer crashing in certain situations

## 1.1.1

### Patch Changes

- 65fca95: Update Volar to latest version. This fixes resolving Astro files from `node_modules` and various other import errors.

## 1.1.0

### Minor Changes

- f9b2aea: The Astro TypeScript plugin is now powered by Volar! Much like our Volar-powered language server, this brings many improvement in stability, performance and in the future, will allow us to add more features to it much more easily than before.

### Patch Changes

- 1202c9d: Upgraded dependencies, added support for Prettier 3

## 1.0.10

### Patch Changes

- 60e4ce0: Fix packaging error causing TypeScript plugin to not work

## 1.0.9

### Patch Changes

- b6a98e0: Better handle when the Astro compiler fails to parse a file

## 1.0.8

### Patch Changes

- 170a193: Update dependencies

## 1.0.7

### Patch Changes

- c6cf1d7: Update Prettier plugin version

## 1.0.6

### Patch Changes

- 3fcbc1a: Fix TypeScript plugin crashing at start in certain circumstances

## 1.0.5

### Patch Changes

- ae15420: Fix importing `.astro` files in `.ts` files not working with TypeScript 5.0+

## 1.0.4

### Patch Changes

- eaefe96: Fix packaging error

## 1.0.3

### Patch Changes

- 685513b: Improve stability related to converting files to TSX

## 1.0.0

### Major Changes

- 39a7669: 1.0! This release includes no new changes by itself, but symbolize the official release of what was previously the pre-release version of the extension. For changelogs, please refer to the changelog from `0.29.0` to now.

## 0.4.5

### Patch Changes

- 8ff8bdf: Update compiler version to fix Windows mapping issue

## 0.4.4

### Patch Changes

- c04adf3: Upgrade compiler version to 1.1.1

## 0.4.3

### Patch Changes

- 6b81412: Added an explanation on how to generate types for content collections to the error message for the `astro:content` import

## 0.4.2

### Patch Changes

- 94a9b61: Add proper support for renaming symbols inside Astro (.astro) files

## 0.4.1

### Patch Changes

- 985515d: Update `@astrojs/compiler`, fixing a few bugs

## 0.4.0

### Minor Changes

- c8cdef9: Improved support for `.astro` imports inside JavaScript/TypeScript files:
  - Added support for finding file references inside Astro files
  - Added support for path completions for .astro, .md and .mdx files
  - Fixed cases where our TypeScript plugin would fail to load under certain circumstance
  - Fixed certain cases where Go to definition / implementation would fail

## 0.3.0

### Minor Changes

- b66ae70: Update the VS Code extension to use a bundled version of the language server for better performance and compatibility with running the extension in the web

## 0.2.1

### Patch Changes

- d056cd5: Fixes production bugs in extension

## 0.2.0

### Minor Changes

- 6b6b47a: Remove internal astro.d.ts files, instead prefer the one provided by Astro itself

## 0.1.1

### Patch Changes

- f1f3091: Fix commenting, namespaced elements, and Fragment typings
