extensions-sdk

Desktop Extensions SDK

APACHE-2.0 License

Stars
135
Committers
23

Bot releases are visible (Hide)

extensions-sdk - Now shipped in Docker Desktop Latest Release

Published by felipecruz91 over 2 years ago

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

extensions-sdk - v0.2.4

Published by gtardif over 2 years ago

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

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

New Contributors

Full Changelog: https://github.com/docker/extensions-sdk/compare/v0.2.3...v0.2.4

extensions-sdk - v0.2.3

Published by gtardif over 2 years ago

Docker Desktop with Extensions capabilities

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

Major updates

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: https://github.com/docker/extensions-sdk/compare/v0.2.2...v0.2.3

extensions-sdk - v0.2.2

Published by gtardif over 2 years ago

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 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: https://github.com/docker/extensions-sdk/compare/v0.2.1...v0.2.2

extensions-sdk - v0.2.1

Published by gtardif over 2 years ago

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.

What's Changed

Full Changelog: https://github.com/docker/extensions-sdk/compare/v0.2.0...v0.2.1

extensions-sdk - v0.2.0

Published by gtardif over 2 years ago

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

Full Changelog: https://github.com/docker/extensions-sdk/compare/v0.0.1-alpha-6...v0.2.0

extensions-sdk - v0.0.1-alpha-6

Published by felipecruz91 over 2 years ago

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.

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

New Contributors

Full Changelog: https://github.com/docker/extensions-sdk/compare/v0.0.1-alpha-5...v0.0.1-alpha-6

extensions-sdk - v0.0.1-alpha-5

Published by gtardif over 2 years ago

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: https://github.com/docker/desktop-extension-samples/compare/v0.0.1-alpha-4...v0.0.1-alpha-5

extensions-sdk - v0.0.1-alpha-4

Published by gtardif over 2 years ago

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: https://github.com/docker/desktop-extension-samples/compare/v0.0.1-alpha3...v0.0.1-alpha-4

extensions-sdk - v0.0.1-alpha3

Published by gtardif almost 3 years ago

⚠️ 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

Full Changelog: https://github.com/docker/desktop-extension-samples/compare/v0.0.1-alpha.2...v0.0.1-alpha3

extensions-sdk - v0.0.1-alpha.2

Published by gtardif almost 3 years ago

Docker Desktop build with Extensions capabilities

Docker Extensions CLI

Please find platform-specific release assets attached below.

Bug Fixes

  • Fix CLI bug in docker extension enable, the extension feature was not properly enabled

Highlights

See changes in the previous release

extensions-sdk - v0.0.1-alpha.1

Published by felipecruz91 almost 3 years ago

Docker Desktop build with Extensions capabilities

Docker Extensions CLI

Please find platform-specific release assets attached below.

✨ Highlights ✨

What's Changed

New Contributors

Full Changelog: https://github.com/docker/desktop-extension-samples/compare/v0.0.1-alpha...v0.0.1-alpha.1

extensions-sdk - v0.0.1-alpha

Published by felipecruz91 almost 3 years ago

Docker Desktop build with Extensions capabilities

Docker Extensions CLI

Please find platform-specific release assets attached below.