Docker Compose v2.7.0stable Released Jul 20, 2022
Impact Score: 5/10

Docker Compose v2.7.0 - Release Notes & Engineering Impact

Source available - automated, not human-reviewed

Component: docker-compose · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Compatibility not verified - check source notes
📄 .MD
⚡ Executive Summary (TL;DR)

Docker Compose v2.7.0. Source highlight: add support of environment secret during build step

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Check the source notes against the package and APIs you use before upgrading.

📊 Product & Engineering Leads

Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.

⚙️ DevOps & Security

Verify the target version, runtime requirements and rollback procedure in the official documentation.

✨ New Features & Capabilities (6)

  • add support of environment secret during build step
  • e2e: split out `pause` tests and add more cases
  • e2e: add more start/stop test cases
  • add new targets to build Compose binary before running e2e tests
  • Add gocritic to linters
  • add 2 named networks with close name in the networks test suite to gu…

🔧 Bug Fixes & Patches (6)

  • networks: prevent issues due to duplicate names
  • Fix issue with close networks name on up and down command
  • Use appropriate dependency condition for one-shot containers when running `compose up --wait`
  • Fix environment variable expansion
  • Validate depended-on services exist in consistency check
  • Fix hash usage in environment values
📄 View Raw Release Notes (Original Developer Log)
## What's Changed ### Enhancements ✨ * add support of environment secret during build step by @glours in https://github.com/docker/compose/pull/9615 ### Fixes 🐛 * networks: prevent issues due to duplicate names by @milas in https://github.com/docker/compose/pull/9585 * Fix issue with close networks name on up and down command by @glours in https://github.com/docker/compose/pull/9640 * Use appropriate dependency condition for one-shot containers when running `compose up --wait` by @laurazard in https://github.com/docker/compose/pull/9572 * Fix environment variable expansion by @ulyssessouza in https://github.com/compose-spec/compose-go/pull/276 * Validate depended-on services exist in consistency check by @laurazard in https://github.com/compose-spec/compose-go/pull/281 * Fix hash usage in environment values by @ulyssessouza in https://github.com/compose-spec/compose-go/pull/283 * build: respect dependency order for classic builder by @milas in https://github.com/docker/compose/pull/9587 * fix: panic caused by empty string argument by @nicksieger in https://github.com/docker/compose/pull/9592 * (re)start should not impact one-off containers by @ndeloof in https://github.com/docker/compose/pull/9049 * keep the container reference when volumes_from target a container and not a service by @glours in https://github.com/docker/compose/pull/9641 * build.go: initialize CustomLabels map if nil by @paroque28 in https://github.com/docker/compose/pull/9579 ### Internal 🔧 * ci: release workflow to open a PR on docs repo with latest changes by @crazy-max in https://github.com/docker/compose/pull/9583 * Bump compose-go -> v1.2.9 by @ulyssessouza in https://github.com/docker/compose/pull/9664 * e2e: split out `pause` tests and add more cases by @milas in https://github.com/docker/compose/pull/9609 * e2e: add more start/stop test cases by @milas in https://github.com/docker/compose/pull/9612 * [Bump compose-go -> v1.2.9](https://github.com/compose-spec/compose-go/releases/tag/v1.2.9) by @ulyssessouza in https://github.com/docker/compose/pull/9664 * update go to 1.18.4 by @thaJeztah in https://github.com/docker/compose/pull/9645 * add new targets to build Compose binary before running e2e tests by @glours in https://github.com/docker/compose/pull/9623 ## Changelog * build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 by @dependabot in https://github.com/docker/compose/pull/9580 * build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 by @dependabot in https://github.com/docker/compose/pull/9581 * build(deps): bump github.com/cnabio/cnab-to-oci from 0.3.3 to 0.3.4 by @dependabot in https://github.com/docker/compose/pull/9582 * build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 by @dependabot in https://github.com/docker/compose/pull/9590 * build(deps): bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 by @dependabot in https://github.com/docker/compose/pull/9607 * Replace deprecated ioutil pkg with os & io by @abhinavnair in https://github.com/docker/compose/pull/9595 * build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 by @dependabot in https://github.com/docker/compose/pull/9611 * TC: Use switch case to simplify flag conversion and avoid multiple if statements by @TheodosiouTh in https://github.com/docker/compose/pull/9507 * Fix golangci syntax error in run configuration by @Jeldo in https://github.com/docker/compose/pull/9619 * build(deps): bump github.com/cnabio/cnab-to-oci from 0.3.4 to 0.3.5 by @dependabot in https://github.com/docker/compose/pull/9631 * Fix typo in compose pull documentation by @Oriun in https://github.com/docker/compose/pull/9626 * Add gocritic to linters by @ulyssessouza in https://github.com/docker/compose/pull/9643 * add 2 named networks with close name in the networks test suite to gu… by @glours in https://github.com/docker/compose/pull/9647 * build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 by @dependabot in https://github.com/docker/compose/pull/9663 ## New Contributors * @crazy-max made their first contribution in https://github.com/docker/compose/pull/9583 * @abhinavnair made their first contribution in https://github.com/docker/compose/pull/9595 * @TheodosiouTh made their first contribution in https://github.com/docker/compose/pull/9507 * @Jeldo made their first contribution in https://github.com/docker/compose/pull/9619 * @Oriun made their first contribution in https://github.com/docker/compose/pull/9626 * @paroque28 made their first contribution in https://github.com/docker/compose/pull/9579 **Full Changelog**: https://github.com/docker/compose/compare/v2.6.1...v2.7.0