Skip to content

Commit

Permalink
add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Mar 8, 2024
1 parent 0036c7f commit 2d1cbbb
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 3 deletions.
35 changes: 32 additions & 3 deletions .changeset/rotten-seahorses-fry.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
---
'graphql-language-service-server': patch
'vscode-graphql-syntax': patch
'graphql-language-service-server': minor
'vscode-graphql': minor
'graphql-language-service-server-cli': minor
---

Fix crash on saving empty package.json file
Fix many schema and fragment lifecycle issues, for all contexts except for schema updates for url schemas.
Note: this makes `cacheSchemaForLookup` enabled by default again for schema first contexts.

this fixes multiple cacheing bugs, on writing some in-depth integration coverage for the LSP server.
it also solves several bugs regarding loading config types, and properly restarts the server when there are config changes

### Bugfix Summary

- jump to definition in embedded files offset bug
- cache invalidation for fragments
- schema cache invalidation for schema files
- schema definition lookups & autocomplete crossing into the wrong workspace

### Known Bugs Fixed

- #3318
- #2357
- #3469
- #2422
- #2820
- many others to add here...

### Test Improvements

- new, high level integration spec suite for the LSP with a matching test utility
- more unit test coverage
- **total increased test coverage of about 25% in the LSP server codebase.**
- many "happy paths" covered for both schema and code first contexts
- many bugs revealed (and their source)
11 changes: 11 additions & 0 deletions .changeset/silly-yaks-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'graphiql': patch
'graphql-language-service': patch
'graphql-language-service-server': patch
'graphql-language-service-server-cli': patch
'codemirror-graphql': patch
'@graphiql/react': patch
'monaco-graphql': patch
---

bugfix to completion for SDL type fields

0 comments on commit 2d1cbbb

Please sign in to comment.