Releases: docker/vscode-extension
Releases · docker/vscode-extension
v0.18.0 - 2025-10-15
Added
- introduced a new
cwddebug configuration attribute so that the working directory used to launch the debug adapter can be set (#210) - record the system's version of Buildx in the telemetry (#218)
- record telemetry when any Buildx debug session is started (#226)
- Compose
- update schema to the latest version
Changed
- the extension's telemetry is now controlled by environment variables and by default will not be collected during local development and locally built VSIX files as those environment variables would be undefined locally (#220)
- note that the language server is a binary that is downloaded and included in the VSIX file at build-time so its behaviour is unaffected by this change
Fixed
- correct the description to state that the
dockerfiledebug attribute has to be relative to the working directory (#210) - Bake
- correct the schema for the
outputattribute of thetargetblock so that the list can also contain objects instead of only strings (docker/docker-language-server#77)
- correct the schema for the
Removed
- removed the "Build with Debugger" command (
docker.debug.editorContents) as it is no longer necessary now that launch configurations have been implemented
v0.17.0 - 2025-09-17
Added
- Dockerfile
- textDocument/codeAction
InvalidBaseImagePlatformwarnings can now be ignored with a code action (docker/docker-language-server#464)
- textDocument/codeAction
- Bake
- textDocument/publishDiagnostics
- flag
annotationsin atargetblock without an equals sign as an error (docker/docker-language-server#99)
- flag
- textDocument/publishDiagnostics
Fixed
- Dockerfile
- textDocument/inlayHint
- handle inlay hints asynchronously so that it does not block other LSP messages when trying to fetch image data (docker/docker-language-server#467)
- textDocument/inlayHint
- Compose
- textDocument/documentLink
- return document links for files referenced in the short-form
volumesattribute of a service object (docker/docker-language-server#460) - return document links for files referenced in the long-form
volumesattribute of a service object that has a bind mount (docker/docker-language-server#462)
- return document links for files referenced in the short-form
- textDocument/documentLink
Removed
- the experimental
docker.extension.enableBuildDebuggingsetting has been removed and the build debugging features are now enabled by default
v0.16.0 - 2025-08-26
Added
- Dockerfile
- textDocument/inlayHint
- show when an image was last pushed (docker/docker-language-server#431)
- textDocument/inlayHint
- Compose
- textDocument/completion
- suggest image tags for images from Docker Hub (docker/docker-language-server#375)
- 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/documentLink
- support providing links for the
env_fileattribute of a service object (docker/docker-language-server#436) - support providing links for the
env_filefor included paths (docker/docker-language-server#438)
- support providing links for 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/completion
- Bake
- textDocument/completion
- provide local file and folder name suggestions (docker/docker-language-server#414)
contextattribute in atargetblockcontextsattribute in atargetblockdockerfileattribute in atargetblock
- provide local file and folder name suggestions (docker/docker-language-server#414)
- textDocument/completion
Fixed
- Dockerfile
- textDocument/hover
- ignore 4XX errors when hovering over images with a non-standard tag (docker/docker-language-server#371)
- textDocument/hover
- Compose
- textDocument/completion
- correct file system suggestions if an absolute path is used (docker/docker-language-server#443)
- textDocument/documentHighlight
- prevent file and folder bind mounts from returning results as they are not valid volume object references (#450)
- textDocument/documentLink
- stop returning links for alias nodes in included paths (docker/docker-language-server#439)
- 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/completion
- Bake
- textDocument/completion
- check the type of the block before suggesting items (docker/docker-language-server#422)
- textDocument/completion
v0.15.0 - 2025-08-13
Added
- added a language configuration for the
dockerbakelanguage to improve the editing experience (#184) - Compose
- updated Compose schema to the latest version
Fixed
- Bake
- textDocument/hover
- fix error when hovering inside a comment (docker/docker-language-server#410)
- textDocument/hover
v0.14.0 - 2025-08-06
Added
- Compose
- textDocument/completion
- provide local file and folder name suggestions when modifying simple strings
- service volumes (docker/docker-language-server#376)
contextattribute of abuildobject of a service (docker/docker-language-server#403)dockerfileattribute of abuildobject of a service (docker/docker-language-server#403)fileattribute of acredential_specobject of a service (docker/docker-language-server#403)env_fileof a service (docker/docker-language-server#403)pathattribute of anenv_filearray item of a service (docker/docker-language-server#403)fileattribute of anextendsobject of a service (docker/docker-language-server#403)label_fileof a service (docker/docker-language-server#403)fileattribute of a config (docker/docker-language-server#403)fileattribute of a secret (docker/docker-language-server#403)- string items of include objects (docker/docker-language-server#403)
env_fileattribute of include objects (docker/docker-language-server#403)pathattribute of include objects (docker/docker-language-server#403)
- provide local file and folder name suggestions when modifying simple strings
- textDocument/completion
Fixed
- fix Dockerfile Language Server crash with tabbed heredoc delimiters (#171)
- fix Buildx debugger integration so that it works on Windows (#181)
- allow switching the builder used for debug sessions (#183)
- Compose
- textDocument/completion
- fix build stage lookups for files in a folder under the
\\wsl$host (docker/docker-language-server#382)
- fix build stage lookups for files in a folder under the
- textDocument/documentLink
- improve handling of malformed image attribute values with registry prefixes (docker/docker-language-server#369)
- convert links properly if a WSL URI with a dollar sign is used (docker/docker-language-server#366)
- textDocument/completion
- Bake
- textDocument/codeLens
- refactor the URI handling code so it will accept a WSL URI with a dollar sign (docker/docker-language-server#388)
- textDocument/completion
- fix build stage and ARG name inference completion items for files in a folder under the
\\wsl$host (docker/docker-language-server#396)
- fix build stage and ARG name inference completion items for files in a folder under the
- textDocument/definition
- handle WSL URIs with a dollar sign properly to fix build stage lookups on those hosts (docker/docker-language-server#390)
- handle WSL URIs with a dollar sign properly to fix build ARG reference lookups on those hosts (docker/docker-language-server#393)
- textDocument/documentLink
- convert links properly if a WSL URI with a dollar sign is used (docker/docker-language-server#378)
- textDocument/inlayHint
- refactor the URI handling code so it will process a WSL URI with a dollar sign correctly (docker/docker-language-server#395)
- textDocument/inlineCompletion
- convert links properly if a WSL URI with a dollar sign is used (docker/docker-language-server#384)
- textDocument/publishDiagnostics
- update the URI handling so that a WSL URI with a dollar sign can be scanned for errors (docker/docker-language-server#386)
- textDocument/codeLens
v0.13.0 - 2025-07-17
Added
- Compose
- textDocument/documentLink
- add anchor resolution for all supported document links (docker/docker-language-server#348)
- return document links for the
fileattribute of a service object'sextendsattribute object (docker/docker-language-server#172) - provide document links for models on Docker Hub and Hugging Face (docker/docker-language-server#356)
- return document links for the
label_fileattribute of a service object (docker/docker-language-server#360)
- textDocument/hover
- support hovering over referenced models (docker/docker-language-server#343)
- textDocument/documentLink
Changed
- errors with the Docker Language Server will no longer be hidden
Fixed
- stop the language server from crashing when opened inside a WSL folder with a dollar sign (#165)
- Compose
- textDocument/completion
- prevent wildcard object attribute suggestions if the text cursor is not at the right indentation for attributes to be inserted (docker/docker-language-server#342)
- textDocument/documentLink
- fix bounds index error if a quoted string just has a registry and the colon character at the end (docker/docker-language-server#351)
- textDocument/completion
v0.12.0 - 2025-07-09
Added
- a new experimental
docker.extension.enableBuildDebuggingsetting for developing and testing the upcoming build debugging feature- this feature is under active development and is not ready for general use
- Compose
- update schema to the latest version
- textDocument/completion
- support completing model object names (docker/docker-language-server#343)
- textDocument/definition
- support jumping to referenced model objects (docker/docker-language-server#343)
- textDocument/documentHighlight
- support highlighting referenced models objects (docker/docker-language-server#343)
- textDocument/documentLink
- support recursing into anchors when searching for document links (docker/docker-language-server#329)
- return document links for the
fileattribute of a service object'scredential_spec(docker/docker-language-server#338)
- textDocument/documentSymbol
- show model objects in the document symbol tree (docker/docker-language-server#343)
- textDocument/prepareRename
- allow preparing rename on model objects (docker/docker-language-server#343)
- textDocument/rename
- support renaming model objects (docker/docker-language-server#343)
Fixed
- Compose
- textDocument/completion
- prevent errors if an empty JSON object is the content of the YAML file (docker/docker-language-server#330)
- check character offset before processing to prevent errors (docker/docker-language-server#333)
- textDocument/completion
v0.11.0 - 2025-06-23
Added
- Dockerfile
- include the Dockerfile Language Server written in TypeScript into the extension
- draw horizontal lines between each
FROMinstruction to help users visually distinguish the different parts of a Dockerfile (#147)- a new
docker.extension.editor.dockerfileBuildStageDecorationLinessetting to toggle the divider lines, defaults totrue
- a new
0.10.0 - 2025-06-12
Added
- Dockerfile
- textDocument/publishDiagnostics
- provide code actions to easily ignore build checks (docker/docker-language-server#320)
- textDocument/publishDiagnostics
- Compose
- textDocument/completion
- add support for suggesting
includeproperties (docker/docker-language-server#316)
- add support for suggesting
- textDocument/completion
Fixed
- Compose
- textDocument/completion
- fix error case triggered by using code completion before the first node (docker/docker-language-server#314)
- textDocument/definition
- check the type of a dependency node's value before assuming it is a map and recursing into it (docker/docker-language-server#324)
- textDocument/hover
- protect the processing of included files if the node is not a proper array (docker/docker-language-server#322)
- textDocument/completion
- Bake
- textDocument/inlineCompletion
- check that the request is within the document's bounds when processing the request (docker/docker-language-server#318)
- textDocument/inlineCompletion
0.9.0 - 2025-06-10
Added
- Compose
- textDocument/definition
- recurse into anchors when evaluating the cursor's position (docker/docker-language-server#305)
- textDocument/documentHighlight
- recurse into anchors when evaluating the cursor's position (docker/docker-language-server#305)
- textDocument/hover
- resolve anchors when constructing the path of the hovered item (docker/docker-language-server#303)
- textDocument/prepareRename
- recurse into anchors when evaluating the cursor's position (docker/docker-language-server#305)
- textDocument/rename
- recurse into anchors when evaluating the cursor's position (docker/docker-language-server#305)
- textDocument/definition
Fixed
- Compose
- textDocument/completion
- stop volume named references from causing volume attributes to not be suggested (docker/docker-language-server#309)
- textDocument/documentLink
- ensure the image attribute is valid before trying to process it for document links (docker/docker-language-server#306)
- textDocument/completion
- Bake
- textDocument/definition
- fix nil pointers when navigating around a top level attribute that is not in any block (docker/docker-language-server#311)
- textDocument/definition