Skip to content

Releases: docker/docker-language-server

v0.18.0 - 2025-08-25

25 Aug 20:17
3ec833a
Compare
Choose a tag to compare

Added

  • Compose
    • textDocument/definition
      • support jumping to service references in the volumes_from attribute of a service object (#452)
    • textDocument/documentHighlight
      • support highlighting service references in the volumes_from attribute of a service object (#452)
    • textDocument/prepareRename
      • support preparing renames for services in the volumes_from attribute of a service object (#452)
    • textDocument/rename
      • support renaming service referencesin the volumes_from attribute of a service object (#452)

Fixed

  • 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)

v0.17.0 - 2025-08-21

21 Aug 12:46
584d894
Compare
Choose a tag to compare

Added

  • Dockerfile
    • textDocument/inlayHint
      • show when an image was last pushed (#431)
  • Compose
    • textDocument/completion
      • suggest image tags for images from Docker Hub (#375)
    • textDocument/documentLink
      • support providing links for the env_file attribute of a service object (#436)
      • support providing links for the env_file for included paths (#438)
  • Bake
    • textDocument/completion
      • provide local file and folder name suggestions (#414)
        • context attribute in a target block
        • contexts attribute in a target block
        • dockerfile attribute in a target block

Fixed

  • Dockerfile
    • textDocument/hover
      • ignore 4XX errors when hovering over images with a non-standard tag (#371)
  • Compose
    • textDocument/completion
      • correct file system suggestions if an absolute path is used (#443)
    • textDocument/documentLink
      • stop returning links for alias nodes in included paths (#439)
  • Bake
    • textDocument/completion
      • check the type of the block before suggesting items (#422)

v0.16.0 - 2025-08-12

12 Aug 12:14
07d5add
Compare
Choose a tag to compare

Added

  • Compose
    • updated Compose schema to the latest version

Fixed

  • Bake
    • textDocument/hover
      • fix error when hovering inside a comment (#410)

v0.15.0 - 2025-08-06

06 Aug 17:15
b69492a
Compare
Choose a tag to compare

Added

  • Compose
    • textDocument/completion
      • provide local file and folder name suggestions when modifying simple strings
        • service volumes (#376)
        • context attribute of a build object of a service (#403)
        • dockerfile attribute of a build object of a service (#403)
        • file attribute of a credential_spec object of a service (#403)
        • env_file of a service (#403)
        • path attribute of an env_file array item of a service (#403)
        • file attribute of an extends object of a service (#403)
        • label_file of a service (#403)
        • file attribute of a config (#403)
        • file attribute of a secret (#403)
        • string items of include objects (#403)
        • env_file attribute of include objects (#403)
        • path attribute of include objects (#403)

Fixed

  • Compose
    • textDocument/completion
      • fix build stage lookups for files in a folder under the \\wsl$ host (#382)
    • textDocument/documentLink
      • improve handling of malformed image attribute values with registry prefixes (#369)
      • convert links properly if a WSL URI with a dollar sign is used (#366)
  • 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)
    • textDocument/definition
      • handle WSL URIs with a dollar sign properly to fix build stage lookups on those hosts (#390)
      • handle WSL URIs with a dollar sign properly to fix build ARG reference lookups on those hosts (#393)
    • 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)

v0.14.0 - 2025-07-16

16 Jul 19:07
55a813f
Compare
Choose a tag to compare

Added

  • Compose
    • textDocument/documentLink
      • add anchor resolution for all supported document links (#348)
      • return document links for the file attribute of a service object's extends 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)

Fixed

  • initialize
    • convert WSL URIs with custom code as the dollar sign in the host cannot be parsed (#362)
  • Compose
    • textDocument/completion
      • prevent wildcard object attribute suggestions if the text cursor is not at the right indentation for attributes to be inserted (#342)
    • textDocument/documentLink
      • fix bounds index error if a quoted string just has a registry and the colon character at the end (#351)

v0.13.0 - 2025-07-09

09 Jul 16:37
d798493
Compare
Choose a tag to compare

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
      • support recursing into anchors when searching for document links (#329)
      • return document links for the file attribute of a service object's credential_spec (#338)
    • 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

  • Compose
    • textDocument/completion
      • prevent errors if an empty JSON object is the content of the YAML file (#330)
      • check character offset before processing to prevent errors (#333)

v0.12.0 - 2025-06-12

12 Jun 14:03
e42c011
Compare
Choose a tag to compare

Added

  • Dockerfile
    • textDocument/publishDiagnostics
      • provide code actions to easily ignore build checks (#320)
  • Compose
    • textDocument/completion
      • add support for suggesting include properties (#316)

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)
  • Bake
    • textDocument/inlineCompletion
      • check that the request is within the document's bounds when processing the request (#318)

v0.11.0 - 2025-06-10

10 Jun 13:06
bc115fa
Compare
Choose a tag to compare

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)

Fixed

  • Compose
    • textDocument/completion
      • stop volume named references from causing volume attributes to not be suggested (#309)
    • textDocument/documentLink
      • ensure the image attribute is valid before trying to process it for document links (#306)
  • Bake
    • textDocument/definition
      • fix nil pointers when navigating around a top level attribute that is not in any block (#311)

v0.10.2 - 2025-06-06

06 Jun 10:23
d97c5a4
Compare
Choose a tag to compare

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)

v0.10.1 - 2025-06-04

04 Jun 18:10
534fb60
Compare
Choose a tag to compare

Fixed

  • Compose
    • textDocument/completion
      • fix incorrect snippet item that was generated even if there were no choices to suggest (#283)
      • stop local service name suggestions if another file has been explicitly specified (#285)
    • 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)