Docker Compose - v2.7.0


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
  • 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
  • Fix issue with close networks name on up and down command by @glours in https://github.com/docker/compose/pull/9640
  • 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 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


Details

date
July 20, 2022, 6:43 a.m.
name
v2.7.0
type
Minor
👇
Register or login to:
  • 🔍View and search all Docker Compose releases.
  • 🛠️Create and share lists to track your tools.
  • 🚨Setup notifications for major, security, feature or patch updates.
  • 🚀Much more coming soon!
Continue with GitHub
Continue with Google
or