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