Skip to content

v2.17.0

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Mar 12:59

💁🏻 Upgrade Notes (2.17.x)

  • Project name validation is more strictly enforced (project names must be lowercase alphanumeric characters, -, or _ and start with a letter/number)
  • Only YAML 1.2 boolean values (true / false) are now accepted (deprecated YAML 1.1 values no longer supported: y|Y|yes|Yes|YES|n|N|no|No|NO|True|TRUE|False|FALSE|on|On|ON|off|Off|OFF)
  • Duplicate mapping keys (<<) for merging YAML anchors are not allowed (see #10411)

What's Changed

✨ Enhancements

🐛 Fixes

  • exclude unstable labels from config hash by @ndeloof in #10275
  • also restart dependent services after a service has been restarted by @ndeloof in #10273
  • ignore services without a build section by @ndeloof in #10271
  • apply config options for pseudo-subcommands by @ndeloof in #10289
  • only consider containers with config_hash labels (i.e, created by compose) by @ndeloof in #10317
  • report error if project name is empty after normalization by @ndeloof in #10334
  • restart only needed services by checking depends_on relations by @glours in #10338
  • pad can be negative on small terminal by @ndeloof in #10336
  • collect built image IDs by @ndeloof in #10372
  • one off container name use configured Separator for naming by @ndeloof in #10357
  • fix concurrent map read/write when recreating containers by @lrascao in #10379

🔧 Internal

  • add dry-run support for stop and rm by @glours in #10257
  • add dry-run support for pull command by @glours in #10341
  • add dry-run support for push command by @glours in #10355
  • add dry-run support for exec command by @glours in #10252
  • add dry-run support for restart by @glours in #10339
  • ci: use CGO for tests to enable race detector by @milas in #10261
  • ci: don't use -race on Windows by @milas in #10262
  • ci: bump to Go 1.20.1 and latest deps by @milas in #10285
  • use go 1.20 -cover support by @ndeloof in #10361
  • build and push binaries images when a PR is merged or a tag pushed by @glours in #10371
  • use CGO to enable fsevent on OSX [ENV-37] by @ndeloof in #10249
  • watch: ignore ephemeral files & minor output tweaks by @milas in #10311
  • test: tweak pause test to try and prevent failures in Windows CI by @milas in #10320
  • preserve symbol table in binaries for static analysis (govulncheck) by @tianon in #10325
  • use build as common API for build scenarios by @ndeloof in #10374

Changelog

  • build(deps): bump go.uber.org/goleak from 1.1.12 to 1.2.1 by @dependabot in #10279
  • build(deps): bump github.com/docker/buildx from 0.10.2 to 0.10.3 by @dependabot in #10291
  • build(deps): bump github.com/containerd/containerd from 1.6.17 to 1.6.18 by @dependabot in #10287
  • bump golang/x/net to v0.7.0 (CVE-2022-41723) by @glours in #10302
  • build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #10316
  • build(deps): bump go.opentelemetry.io/otel from 1.13.0 to 1.14.0 by @dependabot in #10329
  • build(deps): bump github.com/containerd/containerd from 1.6.18 to 1.6.19 by @dependabot in #10330
  • update compose-go by @ndeloof in #10335
  • build(deps): bump github.com/moby/buildkit from 0.11.3 to 0.11.4 by @dependabot in #10353
  • build(deps): bump github.com/docker/buildx from 0.10.3 to 0.10.4 by @dependabot in #10352

New Contributors

Full Changelog: v2.16.0...v2.17.0