Skip to content

Releases: docker/extensions-sdk

Now shipped in Docker Desktop

01 Jul 12:19
62717ec
Compare
Choose a tag to compare

Docker Extensions CLI

The Docker Extension CLI is now shipped by default with Docker Desktop version 4.10.0 and higher.
There is no other prerequisites to install in addition to Docker Desktop, in order to start install or build your own extensions

Major updates

  • docker extension CLI is now part of Docker Desktop, no separate install
  • Documentation content has been moved to https://github.com/docker/docker.github.io.
  • docker extension init now generates Typescript code (instead of JavaScript)
  • docker extension init go build has been containerized. Having Go installed is not required anymore.

Bug Fixes

  • The init template comes with a go.mod file in the vm directory. Fixes #178
  • The init template comes with a global .gitignore file. Fixes #169

v0.2.4

03 May 12:49
5899a86
Compare
Choose a tag to compare

Docker Desktop and Docker extension CLI

Docker Desktop version 4.8.0 enables the beta version of Docker Extensions for all Mac, Windows and Linux users.

In order to develop your own extensions, you will need the Docker Extensions CLI.
Please find platform-specific CLI release assets attached below.

Major updates

  • New Image label which allows providing a changelog for each extension version
  • CLI Warning on docker extension install and docker extension update
More details

Bug Fixes

  • Fix links in extension description image label or changelog image label, now opening in an external browser
  • Fix socket path depending on username on mac, that sometimes lead to socket path being too long

What's Changed

  • Add doc for the changelog label by @benja-M-1 in #140
  • align the docs with Docker's style guide and other documentation by @aevesdocker in #141
  • Warn users about installing extensions with the CLI by @gtardif in #142
  • preparing docs for inclusion in docs.docker.com by @gtardif in #143

New Contributors

Full Changelog: v0.2.3...v0.2.4

v0.2.3

14 Apr 14:31
3946a13
Compare
Choose a tag to compare

Docker Desktop with Extensions capabilities

Docker Extensions CLI: please find platform-specific release assets attached below.

Major updates

More details

Bug Fixes

  • Fix updating extension that was deleting volumes mentioned in the extension compose files. Updating does now keep volumes and extensions using backend services can store application state in volumes.

What's Changed

Full Changelog: v0.2.2...v0.2.3

v0.2.2

05 Apr 14:59
31f502c
Compare
Choose a tag to compare

Docker Desktop with Extensions capabilities

Docker Extensions CLI: please find platform-specific release assets attached below.

Major updates

  • js API library available to use in your extension code, with Typescript support. Allows auto-complete of extension API invocation in your IDE
  • New APIs to get host platform, arch and hostname
  • New API to split output by lines when streaming CLI output (useful to read logs, docker events output, ...)
  • Users will be notified when a new version of an extension is published and will be able to update it
  • docker extension validate validate more extension information required to get extensions working and ready to be included in the Marketplace
More details

More changes

  • docker extension init generates a sample extension using the Docker Extension API library by default
  • Various improvements in the Marketplace (including and extension details popup) and the extension sidebar menus
  • Added new extensions in the Marketplace

Bug Fixes

  • Fixed path paramaters being updated when invoking extension host CLI commands
  • Fixed a quick white flash displayed when opening an extension in Dark mode
  • Fixed cropped icons in the Marketplace

What's Changed

New Contributors

Full Changelog: v0.2.1...v0.2.2

v0.2.1

03 Mar 17:23
89cd128
Compare
Choose a tag to compare

Docker Desktop with Extensions capabilities

Docker Extensions CLI: please find platform-specific release assets attached below.

Bug Fixes

  • Fix extensions not working on Docker Desktop for Linux! 🐧

Known issues

  • Some extensions do not fully work on Linux. The "Log in with browser" button won't work on Tailscale but you can log in with the QR code. In the Snyk and Tailscale extensions, external links will not open in the browser. This will hopefully be fixed quickly in upcoming versions of these extensions.
More details

What's Changed

Full Changelog: v0.2.0...v0.2.1

v0.2.0

01 Mar 16:18
edc0125
Compare
Choose a tag to compare

Docker Desktop with Extensions capabilities

Docker Extensions CLI: please find platform-specific release assets attached below.

Major updates

  • Support for Desktop Linux! 🐧 (see Docker Desktop for Linux - Tech Preview)
  • New set of APIs, old APIs are still supported for backward compatibility and marked deprecated, but will be removed in a next release
  • Support for host bind mounts in extension VM services
More details

More changes

  • docker extension init generates a sample extension using the Docker MUI Theme by default
  • Display an error message when an extension is either not compatible with the current API version of the extension SDK or is not built for the target platform and architecture.
  • Extensions CLI is now signed and notarized.

Bug Fixes

  • Extensions are deleted when uninstalling Docker Desktop
  • Focusing back to Docker Desktop after extension login process fixed on windows
  • Refresh the extensions on the left menu automatically when an extension is installed or uninstalled
  • Fix issues with extension socket names sometimes being too long.

What's Changed

  • Reordering of APIs by categories, minor updates by @gtardif in #82
  • Remove tailscale sample, totally out of date with real taislcale extension by @gtardif in #83
  • Fix main docs title + minor overview update by @gtardif in #84
  • Add documentation about different backend requests authors can make by @rumpl in #86
  • Move the documentation a bit by @rumpl in #90
  • Deploy docs with GHA by @felipecruz91 in #85
  • Fix Netlify GHA by @felipecruz91 in #93
  • Fix links in the UI API overview page by @rumpl in #92
  • Update docs with new versioning info by @felipecruz91 in #72
  • Document API changes (manual approach) by @felipecruz91 in #95
  • Move samples into samples folder by @gtardif in #97
  • Add sample about docker theme, move up design docs by @gtardif in #96
  • Update sample code to use new APIs by @gtardif in #98
  • Add docs for linux CLI install by @gtardif in #99

Full Changelog: v0.0.1-alpha-6...v0.2.0

v0.0.1-alpha-6

03 Feb 16:35
d8e6a7f
Compare
Choose a tag to compare

Docker Desktop with Extensions capabilities

Docker Extensions CLI: please find platform-specific release assets attached below.

Major updates

  • Updated docs with UI Guidelines and the Material UI package to replicate Docker Desktop's look & feel.
  • New API method window.ddClient.openExternal(url) to open external links.
More details

Bug Fixes

  • Display a default icon when the extension icon cannot be loaded (e.g. 404 from an external URL).
  • Clean up the leftover container after a failed extension install, e.g. when installing non-multi-arch extensions.
  • Fix docker extension validate command on Windows.

What's Changed

  • update wrong image label for icon by @gtardif in #75
  • Design guidelines by @mel-manohar in #71
  • Remove obsolete desktop-plugin-version from all metadata samples & docs by @gtardif in #76
  • Update references to desktop-extension-samples by @gtardif in #78
  • Add documentation for the openExternal function by @rumpl in #77
  • MUI Theme by @mel-manohar in #79
  • Nicer confirmation that everything is setup properly at the end of prerequisites by @gtardif in #80
  • Update Tailscale sample with openExternal API method by @felipecruz91 in #81

New Contributors

Full Changelog: v0.0.1-alpha-5...v0.0.1-alpha-6

v0.0.1-alpha-5

28 Jan 16:23
775538a
Compare
Choose a tag to compare

Docker Desktop build with Extensions capabilities

Docker Extensions CLI

Please find platform-specific release assets attached below.

Major updates

  • WSL2 support : the docker extension CLI (docker extension xxx) can be used fro WSL2 in order to develop extensions form a WSL2 terminal
  • Added the ability to execute commands and get live output updates. This also resolves issues with commands returning large output.

Bug Fixes

  • Navigation APIs to a specific container of image return a promise, and might return an error if the UI can't navigate to this container or image
  • Allow to debug/hot reload code from extensions with an org in the image name
  • Exit chrome dev tools (if opened) when navigating away from an extension tab. This voids some crashes of Docker Desktop

What's Changed

Full Changelog: v0.0.1-alpha-4...v0.0.1-alpha-5

v0.0.1-alpha-4

24 Jan 16:50
3a4604c
Compare
Choose a tag to compare

Docker Desktop build with Extensions capabilities

Docker Extensions CLI

Please find platform-specific release assets attached below.

Bug Fixes

  • When executing commands with ddClient.execDockerCmd(...), ddClient.execHostCmd(...) or ddClient.backend. execInVMExtension(...) , if the command exits with an error code, the js invocation can try/catch and read the error, that has the same fields and convenience methods as the cmd result.

What's Changed

New Contributors

Full Changelog: v0.0.1-alpha3...v0.0.1-alpha-4

v0.0.1-alpha3

23 Dec 16:04
36e65c4
Compare
Choose a tag to compare

⚠️ If you have already installed extensions, for this specific release you need to remove installed extensions before upgrading to this release, and reinstall them afterwards.
If you have upgraded before installing the new release, you can remove old extension folders from ~/Library/Containers/com.docker.docker/Data/plugins (mac) and ~\AppData\Roaming\Docker\Desktop\plugins (win)

No specific change is required in the extension code

Docker Desktop build with Extensions capabilities

Docker Extensions CLI

Please find platform-specific release assets attached below.

Bug Fixes

  • Fix hot reload bug in docker extension dev ui-source myextension http://localhost:3000, the extension ui should now hot-reload properly.

What's Changed

  • New API to run docker commands from the Extension UI + tutorial by @gtardif in #60
  • New docker extension init command by @rumpl in #61
  • Generate docs with MkDocs by @felipecruz91 in #53
  • Adding link to figma design guidelines by @gtardif in #58
  • Extension screen is now showing progress and install/uninstall log details are accessible

Full Changelog: v0.0.1-alpha.2...v0.0.1-alpha3