# apollo-language-server ## vNEXT # v0.3.0 - [#208](https://github.com/mdg-private/language-server/pull/208) Auto-import spec directives. When a user types a directive that isn't imported in its respective @link, the server will now suggest adding the directive to the `import` list. Prefixed imports like `federation__key` will now be sorted to the bottom of the list to add preference to the unprefixed import. - [#207](https://github.com/mdg-private/language-server/pull/207) Implementation detail: Refactor spec definitions to use apollo-compiler AST nodes. # v0.2.1 - [#205](https://github.com/mdg-private/language-server/pull/205) Remove stale diagnostics for removed _local_ subgraphs. When a subgraph was removed via the `remove_subgraph` method, the diagnostics for that subgraph would linger in the client with no way for the user to remove them. This change sends an empty diagnostic list for the removed subgraph to clear the diagnostics. # v0.2.0 - [#195](https://github.com/mdg-private/language-server/pull/195) Feature: Add custom snippets for known federation/connect directives. Typical snippet generation for directive arguments isn't quite sufficient for federation/connect directives and how we expect our users to use them. This PR improves the usability of the `@key`, `@requires`, `@provides`, `@connect`, and `@source` directives. - [#196](https://github.com/mdg-private/language-server/pull/196) Fix: Set `tracing` max log level for dev and release builds. - [#197](https://github.com/mdg-private/language-server/pull/197) Fix: Remove left paren commit character for directive snippets. Unfortunately, commit characters don't interact well with snippets. - [#198](https://github.com/mdg-private/language-server/pull/198) Fix: Temporarily reformat satisfiability errors due to whitespace collapse issue in VS Code problems pane. - [#199](https://github.com/mdg-private/language-server/pull/199) Prepare for `rover lsp` integration - [#200](https://github.com/mdg-private/language-server/pull/200) Feature: Allow the LSP host to publish diagnostics for a URI through its client via the `publish_diagnostics` method. ## v0.1.1 - [#191](https://github.com/mdg-private/language-server/pull/191) [`f5925e9`](https://github.com/mdg-private/language-server/commit/f5925e9804899cceb6a4d9f6bc00b4941d9237a7) Bug fix: Fixes a regression in config updates—where if the client doesn't pass initialization options, the server implementations initial options were being thrown out. ## v0.1.0 - Initial release