Releases: docker/docker-language-server
Releases · docker/docker-language-server
v0.14.0 - 2025-07-16
Added
- Compose
- textDocument/documentLink
- add anchor resolution for all supported document links (#348)
- return document links for the
file
attribute of a service object'sextends
attribute object (#172) - provide document links for models on Docker Hub and Hugging Face (#356)
- return document links for the
label_file
attribute of a service object (#360)
- textDocument/hover
- support hovering over referenced models (#343)
- textDocument/documentLink
Fixed
- initialize
- convert WSL URIs with custom code as the dollar sign in the host cannot be parsed (#362)
- Compose
v0.13.0 - 2025-07-09
Added
- Compose
- update schema to the latest version
- textDocument/completion
- support completing model object names (#343)
- textDocument/definition
- support jumping to referenced model objects (#343)
- textDocument/documentHighlight
- support highlighting referenced models objects (#343)
- textDocument/documentLink
- textDocument/documentSymbol
- show model objects in the document symbol tree (#343)
- textDocument/prepareRename
- allow preparing rename on model objects (#343)
- textDocument/rename
- support renaming model objects (#343)
Fixed
v0.12.0 - 2025-06-12
Added
- Dockerfile
- textDocument/publishDiagnostics
- provide code actions to easily ignore build checks (#320)
- textDocument/publishDiagnostics
- Compose
- textDocument/completion
- add support for suggesting
include
properties (#316)
- add support for suggesting
- textDocument/completion
Fixed
- Compose
- textDocument/completion
- fix error case triggered by using code completion before the first node (#314)
- textDocument/definition
- check the type of a dependency node's value before assuming it is a map and recursing into it (#324)
- textDocument/hover
- protect the processing of included files if the node is not a proper array (#322)
- textDocument/completion
- Bake
- textDocument/inlineCompletion
- check that the request is within the document's bounds when processing the request (#318)
- textDocument/inlineCompletion
v0.11.0 - 2025-06-10
Added
- Compose
- textDocument/definition
- recurse into anchors when evaluating the cursor's position (#305)
- textDocument/documentHighlight
- recurse into anchors when evaluating the cursor's position (#305)
- textDocument/hover
- resolve anchors when constructing the path of the hovered item (#303)
- textDocument/prepareRename
- recurse into anchors when evaluating the cursor's position (#305)
- textDocument/rename
- recurse into anchors when evaluating the cursor's position (#305)
- textDocument/definition
Fixed
- Compose
- Bake
- textDocument/definition
- fix nil pointers when navigating around a top level attribute that is not in any block (#311)
- textDocument/definition
v0.10.2 - 2025-06-06
Fixed
- lock cache manager when deleting to prevent concurrent map writes (#298)
- initialize
- return JSON-RPC error if an invalid URI was sent with the request (#292)
- Compose
- textDocument/completion
- check for whitespace when performing prefix calculations for build target suggestions (#294)
- return an empty result instead of an internal server error if the request's parameters are outside the document's bounds (#296)
- check the node path's length before recursing deeper for pattern properties matches (#300)
- textDocument/hover
- fix error caused by casting a node without checking its type first (#290)
- textDocument/completion
v0.10.1 - 2025-06-04
Fixed
- Compose
- textDocument/completion
- textDocument/definition
- recurse into YAML anchors if they are defined on a service object (#287)
- textDocument/documentHighlight
- recurse into YAML anchors if they are defined on a service object (#287)
- textDocument/prepareRename
- recurse into YAML anchors if they are defined on a service object (#287)
- textDocument/rename
- recurse into YAML anchors if they are defined on a service object (#287)
v0.10.0 - 2025-06-03
Added
- errors will now be reported to BugSnag if telemetry is not disabled
- Compose
- textDocument/definition
- support navigating to the defined YAML anchor from an alias reference (#264)
- textDocument/documentHighlight
- support highlighting YAML anchor and alias references (#264)
- textDocument/documentLink
- support opening a referenced Dockerfile from the
build
object'sdockerfile
attribute (#69) - support opening a referenced file from a config's
file
attribute (#271) - support opening a referenced file from a secret's
file
attribute (#272) - provide document links when an included file is also a YAML anchor (#275)
- support opening a referenced Dockerfile from the
- textDocument/hover
- render the referenced network's YAML content as a hover result (#246)
- render the referenced config's YAML content as a hover result (#249)
- render the referenced secret's YAML content as a hover result (#250)
- render the referenced volume's YAML content as a hover result (#251)
- include the range of the hovered element to clearly identify what is being hovered over for the client (#256)
- render the referenced anchor's YAML content as a hover result (#268)
- textDocument/prepareRename
- support renaming YAML anchor and alias references (#264)
- textDocument/rename
- preparing rename operations for YAML anchor and alias references (#264)
- textDocument/definition
Fixed
- Compose
- textDocument/completion
- include the array definition in the inserted text so we do not make the YAML content malformed (#278)
- textDocument/definition
- fix range calculation when the element is quoted (#255)
- textDocument/documentHighlight
- fix range calculation when the element is quoted (#255)
- textDocument/documentLink
- textDocument/hover
- textDocument/prepareRename
- fix range calculation when the element is quoted (#255)
- textDocument/rename
- fix range calculation when the element is quoted (#255)
- textDocument/completion
- Bake
- textDocument/publishDiagnostics
- filter out variables when resolving Dockerfile paths to prevent false positives from being reported (#263)
- textDocument/publishDiagnostics
v0.9.0 - 2025-05-26
Added
- global initialization option to disable all Compose features (#230)
- Compose
- textDocument/completion
- include the attribute's schema description when providing enum suggestions (#235)
- textDocument/completion
Changed
- Dockerfile
Fixed
v0.8.0 - 2025-05-23
Added
- Dockerfile
- Compose
- updated Compose schema to the latest version
- textDocument/definition
- support navigating to a dependency that is defined in another file (#190)
- textDocument/hover
- Bake
- textDocument/publishDiagnostics
- support filtering vulnerability diagnostics with an experimental setting (#192)
- textDocument/publishDiagnostics
Changed
- Dockerfile
- textDocument/publishDiagnostics
- hide
not_pinned_digest
diagnostics from Scout by default (#216)
- hide
- textDocument/publishDiagnostics
Fixed
- Dockerfile
- textDocument/publishDiagnostics
- ignore the diagnostic's URL and do not set it if it is evaluated to be the empty string (#219)
- textDocument/publishDiagnostics
- Compose
- Bake