github compose-spec/compose-go v2.17.0

2 hours ago

What's Changed

  • ci: harden checks, gate releases, report API changes and avoid redundant runs by @ndeloof in #945
  • ci: run go vet, go mod tidy and govulncheck by @ndeloof in #946
  • paths: raise test coverage (Windows paths, resolution, symlinks) by @ndeloof in #947
  • lint: enable perfsprint and forbidigo by @ndeloof in #949
  • errdefs: add IsDisabledError and test the Is*Error helpers by @ndeloof in #950
  • docs: refresh MAINTENANCE.md and fix the /v2 module path in docs by @ndeloof in #951
  • errdefs: fix the doc-comment of IsIncompatibleError by @ndeloof in #952
  • tests: extend the conformance completeness test and close known gaps by @ndeloof in #953
  • Let consumers capture or redirect loading warnings with a Logger by @ndeloof in #954
  • ci: add a ci-ok job aggregating the required jobs by @ndeloof in #955
  • build: bump Go to 1.26, the oldest supported release by @ndeloof in #944
  • refactor(loader): split loadYamlFile, Normalize and ApplyInclude, lint with gocognit by @ndeloof in #948
  • types: reject memory values that were silently turned into another amount by @ndeloof in #956
  • feat: route more warnings to the configured Logger by @ndeloof in #957
  • ci: read the golangci-lint version from ci/Dockerfile by @ndeloof in #960
  • fix(loader): extends of a job in another file, include stack, conformance gaps by @ndeloof in #959
  • paths: stop turning an empty path or ~user into another path by @ndeloof in #958
  • validation: reject negative memory limits, reservations and shared memory sizes by @ndeloof in #961
  • Fuzz the parsers, and fix the panics it finds by @ndeloof in #962
  • types: marshal a build ssh key as id=path by @ndeloof in #964
  • transform: apply the container defaults to pre_start hooks by @ndeloof in #963
  • types: read a file mode as an unsigned 32 bit number by @ndeloof in #965
  • override: enforce the unicity of the entries of a job like those of a service by @ndeloof in #967
  • dotenv: stop producing variables with an empty name by @ndeloof in #970
  • override: drop the dead volumeIndexer assignment for devices by @ndeloof in #968
  • paths: name the attribute in resolution errors, accept scalar additional contexts by @ndeloof in #971
  • format: read a volume named with a single letter as a named volume by @ndeloof in #972
  • transform: read the mode of a tmpfs volume as the Docker CLI does by @ndeloof in #973
  • format: read a single letter before a colon as a Windows drive, like docker/cli by @ndeloof in #974
  • types: read the text of a file mode with the syntax of the Docker CLI by @ndeloof in #975
  • Revert the Logger option: warnings go through the global logrus logger again by @ndeloof in #978
  • build(deps): bump go.yaml.in/yaml/v4 to v4.0.0 by @ndeloof in #991
  • Extract variables nested in required-error messages by @kaygaaf in #992
  • fix(types): resolve the images of hook volumes and of jobs by @ndeloof in #993
  • format: tell whether a volume can be said in the short syntax by @ndeloof in #986
  • build: bump Go to 1.26.11 by @ndeloof in #994
  • fix(loader): resolve the env_file and project_directory of a nested include against its declaring file by @ndeloof in #996
  • schema: declare the options of storage_opt by @ndeloof in #998
  • loader: reconcile restart and deploy.restart_policy, let restart_policy win by @ndeloof in #989
  • loader: split checkConsistency by topic and fix three consistency messages by @ndeloof in #977

New Contributors

Full Changelog: v2.16.2...v2.17.0

Don't miss a new compose-go release

NewReleases is sending notifications on new releases.