Releases: docker/docker-language-server
Releases · docker/docker-language-server
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
v0.7.0 - 2025-05-09
v0.6.0 - 2025-05-07
Added
- Compose
- updated Compose schema to the latest version
- textDocument/completion
- improve code completion by automatically including required attributes in completion items (#155)
- textDocument/inlayHint
- show the parent service's value if it is being overridden and they are not object attributes (#156)
- textDocument/formatting
- add support to format YAML files that do not have clear syntactical errors (#165)
- textDocument/publishDiagnostics
- report YAML syntax errors (#167)
Fixed
- Compose
- textDocument/completion
- suggest completion items for array items that use an object schema directly (#161)
- textDocument/definition
- consider
extends
when looking up a service reference (#170)
- consider
- textDocument/documentHighlight
- consider
extends
when looking up a service reference (#170)
- consider
- textDocument/prepareRename
- consider
extends
when looking up a service reference (#170)
- consider
- textDocument/rename
- consider
extends
when looking up a service reference (#170)
- consider
- textDocument/completion
v0.5.0 - 2025-05-05
Added
- Compose
- updated Compose schema to the latest version (#117)
- textDocument/completion
- suggest dependent service names for the
depends_on
attribute (#131) - suggest dependent network names for the
networks
attribute (#132) - suggest dependent volume names for the
volumes
attribute (#133) - suggest dependent config names for the
configs
attribute (#134) - suggest dependent secret names for the
secrets
attribute (#135)
- suggest dependent service names for the
- textDocument/definition
- support looking up volume references (#147)
- textDocument/documentHighlight
- textDocument/prepareRename
- support rename preparation requests (#150)
- textDocument/rename
- support renaming named references of services, networks, volumes, configs, and secrets (#149)
Fixed
v0.4.1 - 2025-04-29
Merge pull request #113 from docker/fix-completion-panic Prevent completion error with empty arrays
v0.4.0 - 2025-04-28
Added
- Compose
- textDocument/completion
- textDocument/definition
- support lookup of
configs
,networks
, andsecrets
referenced insideservices
object (#91)
- support lookup of
- textDocument/documentLink
- support opening a referenced image's page as a link (#91)
- textDocument/hover
- extract descriptions and enum values from the Compose specification and display them as hovers (#101)