All notable changes to the Docker Language Server will be documented in this file.
- Bake
- fix parsing error caused by referencing a variable with no value (#490)
0.20.1 - 2025-10-14
- Bake
- correct the schema for the
outputattribute of thetargetblock so that the list can also contain objects instead of only strings (#77)
- correct the schema for the
0.20.0 - 2025-10-14
- Compose
- update schema to the latest version
0.19.0 - 2025-09-16
- Dockerfile
- textDocument/codeAction
InvalidBaseImagePlatformwarnings can now be ignored with a code action (#464)
- textDocument/codeAction
- Bake
- textDocument/publishDiagnostics
- flag
annotationsin atargetblock without an equals sign as an error (#99)
- flag
- textDocument/publishDiagnostics
- Dockerfile
- textDocument/inlayHint
- handle inlay hints asynchronously so that it does not block other LSP messages when trying to fetch image data (#467)
- textDocument/inlayHint
- Compose
0.18.0 - 2025-08-25
- Compose
- textDocument/definition
- support jumping to service references in the
volumes_fromattribute of a service object (#452)
- support jumping to service references in the
- textDocument/documentHighlight
- support highlighting service references in the
volumes_fromattribute of a service object (#452)
- support highlighting service references in the
- textDocument/prepareRename
- support preparing renames for services in the
volumes_fromattribute of a service object (#452)
- support preparing renames for services in the
- textDocument/rename
- support renaming service referencesin the
volumes_fromattribute of a service object (#452)
- support renaming service referencesin the
- textDocument/definition
- Compose
- textDocument/documentHighlight
- prevent file and folder bind mounts from returning results as they are not valid volume object references (#450)
- textDocument/prepareRename
- prevent file and folder bind mounts from returning results as they are not valid volume object references (#450)
- textDocument/rename
- prevent file and folder bind mounts from returning results as they are not valid volume object references (#450)
- textDocument/documentHighlight
0.17.0 - 2025-08-21
- Dockerfile
- textDocument/inlayHint
- show when an image was last pushed (#431)
- textDocument/inlayHint
- Compose
- Bake
- textDocument/completion
- provide local file and folder name suggestions (#414)
contextattribute in atargetblockcontextsattribute in atargetblockdockerfileattribute in atargetblock
- provide local file and folder name suggestions (#414)
- textDocument/completion
- Dockerfile
- textDocument/hover
- ignore 4XX errors when hovering over images with a non-standard tag (#371)
- textDocument/hover
- Compose
- Bake
- textDocument/completion
- check the type of the block before suggesting items (#422)
- textDocument/completion
0.16.0 - 2025-08-12
- Compose
- updated Compose schema to the latest version
- Bake
- textDocument/hover
- fix error when hovering inside a comment (#410)
- textDocument/hover
0.15.0 - 2025-08-06
- Compose
- textDocument/completion
- provide local file and folder name suggestions when modifying simple strings
- service volumes (#376)
contextattribute of abuildobject of a service (#403)dockerfileattribute of abuildobject of a service (#403)fileattribute of acredential_specobject of a service (#403)env_fileof a service (#403)pathattribute of anenv_filearray item of a service (#403)fileattribute of anextendsobject of a service (#403)label_fileof a service (#403)fileattribute of a config (#403)fileattribute of a secret (#403)- string items of include objects (#403)
env_fileattribute of include objects (#403)pathattribute of include objects (#403)
- provide local file and folder name suggestions when modifying simple strings
- textDocument/completion
- Compose
- Bake
- textDocument/codeLens
- refactor the URI handling code so it will accept a WSL URI with a dollar sign (#388)
- textDocument/completion
- fix build stage and ARG name inference completion items for files in a folder under the
\\wsl$host (#396)
- fix build stage and ARG name inference completion items for files in a folder under the
- textDocument/definition
- textDocument/documentLink
- convert links properly if a WSL URI with a dollar sign is used (#378)
- textDocument/inlayHint
- refactor the URI handling code so it will process a WSL URI with a dollar sign correctly (#395)
- textDocument/inlineCompletion
- convert links properly if a WSL URI with a dollar sign is used (#384)
- textDocument/publishDiagnostics
- update the URI handling so that a WSL URI with a dollar sign can be scanned for errors (#386)
- textDocument/codeLens
0.14.0 - 2025-07-16
- Compose
- textDocument/documentLink
- add anchor resolution for all supported document links (#348)
- return document links for the
fileattribute of a service object'sextendsattribute object (#172) - provide document links for models on Docker Hub and Hugging Face (#356)
- return document links for the
label_fileattribute of a service object (#360)
- textDocument/hover
- support hovering over referenced models (#343)
- textDocument/documentLink
- initialize
- convert WSL URIs with custom code as the dollar sign in the host cannot be parsed (#362)
- Compose
0.13.0 - 2025-07-09
- 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)
- Compose
0.12.0 - 2025-06-12
- Dockerfile
- textDocument/publishDiagnostics
- provide code actions to easily ignore build checks (#320)
- textDocument/publishDiagnostics
- Compose
- textDocument/completion
- add support for suggesting
includeproperties (#316)
- add support for suggesting
- textDocument/completion
- 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
0.11.0 - 2025-06-10
- 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
- Compose
- Bake
- textDocument/definition
- fix nil pointers when navigating around a top level attribute that is not in any block (#311)
- textDocument/definition
0.10.2 - 2025-06-06
- 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
0.10.1 - 2025-06-04
- 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)
0.10.0 - 2025-06-03
- 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
buildobject'sdockerfileattribute (#69) - support opening a referenced file from a config's
fileattribute (#271) - support opening a referenced file from a secret's
fileattribute (#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
- 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
0.9.0 - 2025-05-26
- 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
- Dockerfile
- correct initialize request handling for clients that do not support dynamic registrations (#229)
- Dockerfile
- Compose
- textDocument/hover
- fixed a case where an object reference's description would not be returned in a hover result (#233)
- textDocument/hover
0.8.0 - 2025-05-23
- 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
- Dockerfile
- textDocument/publishDiagnostics
- hide
not_pinned_digestdiagnostics from Scout by default (#216)
- hide
- textDocument/publishDiagnostics
- 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
0.7.0 - 2025-05-09
- Compose
- textDocument/completion
- textDocument/hover
- render a referenced service's YAML content as a hover (#157)
- Compose
- textDocument/inlayHint
- prevent circular service dependencies from crashing the server (#182)
- textDocument/inlayHint
0.6.0 - 2025-05-07
- 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)
- Compose
- textDocument/completion
- suggest completion items for array items that use an object schema directly (#161)
- textDocument/definition
- consider
extendswhen looking up a service reference (#170)
- consider
- textDocument/documentHighlight
- consider
extendswhen looking up a service reference (#170)
- consider
- textDocument/prepareRename
- consider
extendswhen looking up a service reference (#170)
- consider
- textDocument/rename
- consider
extendswhen looking up a service reference (#170)
- consider
- textDocument/completion
0.5.0 - 2025-05-05
- Compose
- updated Compose schema to the latest version (#117)
- textDocument/completion
- suggest dependent service names for the
depends_onattribute (#131) - suggest dependent network names for the
networksattribute (#132) - suggest dependent volume names for the
volumesattribute (#133) - suggest dependent config names for the
configsattribute (#134) - suggest dependent secret names for the
secretsattribute (#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)
- Dockerfile
- textDocument/codeAction
- preserve instruction flags when fixing a
not_pinned_digestdiagnostic (#123)
- preserve instruction flags when fixing a
- textDocument/codeAction
- Compose
- textDocument/completion
- resolved a spacing offset issue with object or array completions (#115)
- textDocument/hover
- return the hover results for Compose files
- textDocument/completion
0.4.1 - 2025-04-29
- Compose
- textDocument/completion
- protect the completion calculation code from throwing errors when encountering empty array items (#112)
- textDocument/completion
0.4.0 - 2025-04-28
- Compose
- textDocument/completion
- textDocument/definition
- support lookup of
configs,networks, andsecretsreferenced insideservicesobject (#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)
0.3.8 - 2025-04-24
- Bake
- Compose
- ensure file validation is skipped if the file has since been closed by the editor (#79)
0.3.7 - 2025-04-21
- ensure file validation is skipped if the file has since been closed by the editor (#79)
0.3.6 - 2025-04-18
- get the JSON structure of a Bake target with Go APIs instead of spawning a separate child process (#63)
- Update
moby/buildkitto v0.21.0 anddocker/buildxto v0.23.0 (#64)
- Bake
- textDocument/publishDiagnostics
- consider the context attribute when determining which Dockerfile the Bake target is for (#57)
- textDocument/inlayHint
- consider the context attribute when determining which Dockerfile to use for inlaying default values of
ARGvariables (#60)
- consider the context attribute when determining which Dockerfile to use for inlaying default values of
- textDocument/completion
- consider the context attribute when determining which Dockerfile to use for looking up build stages (#61)
- textDocument/definition
- textDocument/publishDiagnostics
0.3.5 - 2025-04-13
- initialize
- when responding to the initialize request, we should send an empty array back for tokenModifiers instead of a null
0.3.4 - 2025-04-11
- Compose
- textDocument/documentSymbol
- prevent scalar values from showing up as a document symbol
- textDocument/documentSymbol
0.3.3 - 2025-04-09
- refactored the panic handler so that crashes from handling the JSON-RPC messages would no longer cause the language server to crash
0.3.2 - 2025-04-09
- Docker Bake
- textDocument/semanticTokens/full
- prevent single line comments from crashing the server
- textDocument/semanticTokens/full
0.3.1 - 2025-04-09
- binaries are now built with
CGO_ENABLED=0to allow for greater interoperability
0.3.0 - 2025-04-08
- textDocument/publishDiagnostics
- stop diagnostics from being sent to the client if a file with errors or warnings were opened by the client and then quickly closed
0.2.0 - 2025-04-03
-
Dockerfile
- textDocument/publishDiagnostics
- introduce a setting to ignore certain diagnostics to not duplicate the ones from the Dockerfile Language Server
- textDocument/publishDiagnostics
-
Docker Bake
- textDocument/completion
- suggest network attributes when the text cursor is inside of a string
- textDocument/completion
-
telemetry
- records the language identifier of modified files, this will only include Dockerfiles, Bake files, and Compose files
- Docker Bake
- textDocument/definition
- always return LocationLinks to help disambiguate word boundaries for clients (#31)
- textDocument/definition
- Dockerfile
- textDocument/codeAction
- suggest remediation actions for build warnings
- textDocument/hover
- provide vulnerability information of referenced images (experimental)
- textDocument/publishDiagnostics
- report build check warnings from BuildKit and BuildX
- scan images for vulnerabilities (experimental)
- textDocument/codeAction
- Compose
- textDocument/documentLink
- allow jumping between included files
- textDocument/documentSymbol
- provide a document outline for Compose files
- textDocument/documentLink
- Docker Bake
- textDocument/codeAction
- provide remediation actions for some detected errors
- textDocument/codeLens
- relays information to the client to run Bake on a specific target
- textDocument/completion
- code completion of block and attribute names
- textDocument/definition
- code navigation between variables, referenced targets, and referenced build stages
- textDocument/documentHighlight
- highlights the same variable or target references
- textDocument/documentLink
- jump from the Bake file to the Dockerfile
- textDocument/documentSymbol
- provide an outline for Bake files
- textDocument/formatting
- provide rudimentary support for formatting
- textDocument/hover
- show variable values
- textDocument/inlayHint
- inlay ARG values from the Dockerfile
- textDocument/inlineCompletion
- scans build stages from the Dockerfile and suggests target blocks
- textDocument/publishDiagnostics
- scan and report the Bake file for errors
- textDocument/semanticTokens/full
- provide syntax highlighting for Bake files
- textDocument/codeAction