Skip to content

v2.6.0

Choose a tag to compare

@Ext745 Ext745 released this 29 Sep 00:15
· 85 commits to master since this release

Added

  • Compose check before Save and Deploy. The agent runs docker compose config on the edited file first, the way Deploy will read it (same .env/global.env, relative paths resolved from the stack folder). A mistake like imagee: now blocks Deploy with compose's own error message, and Save asks before saving anyway. Agents older than 2.6.0 don't answer, and the save goes ahead as before.
  • Format button and "Format on save" next to compose.yaml in edit mode. Tabs used for indentation become spaces, indentation becomes 2 spaces, and trailing spaces go; comments, quotes and inline lists are kept. It only applies if the file still means exactly the same. "Format on save" is off by default and remembered per browser.

Fixed

  • Save no longer rewrites your compose file when you didn't change it. Opening a stack rebuilt its text from the parsed data, so any Save dropped quotes, turned ["a", "b"] into a block list, wrote key: as key: null and added networks: {} in edit mode. Files are now saved as written. Edits made through the form editors (containers, networks, URLs) still rebuild the file; that's planned for the next release.

Image: ghcr.io/ext745/dockge:2.6.0