Skip to content

Releases: compose-spec/compose-go

v2.1.0

23 Apr 08:12
Compare
Choose a tag to compare

What's Changed

  • Bump actions/checkout from 3 to 4 by @dependabot in #600
  • merge devices by unique mount path by @ndeloof in #610
  • detect include misconfiguration by @ndeloof in #611
  • prevent panic by @ndeloof in #612
  • fix: include.project_directory path resolution by @glours in #614
  • Only ignore parsing errors when used with no-interpolate by @ndeloof in #613
  • build entitlements by @ndeloof in #617
  • refs issue:11706 Resolving the Alias value of Alias type node by @arankeparth in #618
  • remove constraint for container_name unicity while loading model by @ndeloof in #619
  • detect self-reference and better report depends_on cycles by @ndeloof in #620
  • normalization creates implicit default network only when used by some service by @ndeloof in #595

New Contributors

Full Changelog: v2.0.2...v2.1.0

v2.0.2

29 Mar 13:12
Compare
Choose a tag to compare

What's Changed

  • checkConsistency must ignore disabled service if required=false by @ndeloof in #609

Full Changelog: v2.0.1...v2.0.2

v2.0.1

29 Mar 13:12
Compare
Choose a tag to compare

What's Changed

  • Update README.md for v2 by @stasadev in #599
  • introduce CheckCycle to detect cycles in project's depends_on by @ndeloof in #602
  • marshall json with 2 indent (align with yaml marshalling) by @ndeloof in #601
  • make defaultPattern public otherwise ExtractVariables isn't usable by @ndeloof in #608
  • fix WithProfiles to return a project wih Profiles set by @ndeloof in #607
  • run checkConsistency after profiles were applied by @ndeloof in #606
  • allow COMPOSE_PROFILES to be set by a multiline string by @ndeloof in #605
  • enforce limits are consistent with deploy section by @ndeloof in #604

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

15 Mar 10:26
6f3ef94
Compare
Choose a tag to compare

What's Changed

  • Add Kurtosis to the list of compose-go users by @mieubrisse in #474
  • unit bytes can be set as plain int by @ndeloof in #482
  • introduce compose-spec command line for compose file validation by @ndeloof in #473
  • add support for inline config by @ndeloof in #478
  • add support for build.ulimits by @ndeloof in #486
  • validate watch.path is set to a valid path by @ndeloof in #490
  • don't check path is an actual file by @ndeloof in #493
  • Add a network-scoped mac_address field by @akerouanton in #491
  • test case checking we manage empty files by @ndeloof in #485
  • make scale a *int as default is 1 (not 0) by @ndeloof in #481
  • make External a boolean by @ndeloof in #480
  • bump golang versions to use v1.20 and v1.21 by @glours in #497
  • check conflict between scale and container_name by @ndeloof in #498
  • Permit '=' separator and '[ipv6]' in 'extra_hosts'. by @robmry in #499
  • add test to check 'x-' named resources by @glours in #502
  • project name set by yaml must be identified by caller as opts.projectName by @ndeloof in #503
  • docs: add testcontainers-go's Compose module to the list of compose-go users by @mdelapenya in #505
  • Bump golangci-lint to v1.55.2 by @ndeloof in #507
  • restore support for extends short syntax by @ndeloof in #508
  • restore support for escaped quoted char by @ndeloof in #511
  • env_file can be declared optional by @ndeloof in #509
  • fix #512 revert err check by @lionello in #513
  • COMPOSE_DISABLE_ENV_FILE allows to disable use of default .env file by @ndeloof in #510
  • Expose build.shm_size as Build.ShmSize by @lionello in #514
  • Read config file content if missing by @aksiksi in #517
  • introduce general-purpose service dependency graph traversal functions by @ndeloof in #506
  • Make public functions of Project type immutable by @glours in #518
  • remove the sync of schema/compose-spec.json from the compose-spec/compose-spec repo by @glours in #523
  • neutralize path separator when used in service name by @ndeloof in #522
  • Clean target volume path by @ndeloof in #525
  • fix regression in cycle detection by @ndeloof in #524
  • Fix regression with additional_context short syntax by @ndeloof in #527
  • Fix merge between two numbers by @jhrotko in #528
  • fix regression merging overrides by @ndeloof in #526
  • Add port indexer to be sure a service port declaration is unique by @glours in #529
  • corner case merging override by @ndeloof in #530
  • validate merge result vs individual overrides by @ndeloof in #532
  • enforce unicity as this is checked by validation by @ndeloof in #533
  • don't assume attribute type to prevent int vs uint32 type mismatch by @ndeloof in #537
  • Fix ulimit parsing by @ndeloof in #535
  • use standard errors package by @mmorel-35 in #539
  • always resolve paths relative to extending file's working dir by @ndeloof in #538
  • fix build.args merge issue when defined with a list by @glours in #540
  • Add usage in readme by @glours in #541
  • config dependabot to maintain github-actions by @mmorel-35 in #543
  • Bump actions/setup-go from 4 to 5 by @dependabot in #544
  • golangci-lint: enable testifylint by @mmorel-35 in #542
  • add go binding for storage_opt by @ndeloof in #545
  • fix: typo in error message (cannont -> cannot) by @milas in #550
  • Fix #520 project name not available for lookup by @lionello in #549
  • process extends recursively by @ndeloof in #547
  • Fix extensions for DevelopConfig by @jhrotko in #551
  • !override can be used to replace value by @ndeloof in #552
  • add depends_on cycle detection during validation phase by @glours in #546
  • fix: handle more complex fields during merge by @glours in #548
  • fix cycle tracker to manage homonym services by @ndeloof in #556
  • add package.go file to use compose-go in docker cli by @glours in #560
  • host list can be used to declare both IPv4 and IPv6 for same hostname by @ndeloof in #563
  • introduce ability to register types for extensions by @ndeloof in #564
  • bump x/exp and adjust slices.Sort by @ndeloof in #562
  • enforce unicity after canonical transformation by @ndeloof in #565
  • Restore ability to override an included resource in compose.override.yaml by @ndeloof in #559
  • set default values to required attributes by @ndeloof in #558
  • Fix relative path resolution when combining include+extends by @ndeloof in #553
  • schema is hosted by compose-go, no need to sync anymore by @ndeloof in #567
  • validate extends source does not share resources with another service/container by @ndeloof in #568
  • Add getters for services that have defined build, extends, depends_on, capabilities, gpu and tpu by @jhrotko in #561
  • Rename ServicesBuild -> ServicesWithBuild by @jhrotko in #569
  • Bump golang minimal version to 1.21 and 1.22 by @jhrotko in #531
  • Bump golangci/golangci-lint-action from 3 to 4 by @dependabot in #570
  • Add listeners to trace file metadata by @jhrotko in #571
  • use listener to collect include metadata by @ndeloof in #576
  • add flags to the compose-spec CLI by @ndeloof in #577
  • process include with a relative-path local resource loader by @ndeloof in #579
  • ignore failure parsing yaml file when looking for project name by @ndeloof in #578
  • NetworksByPriority: ensure the sort order is stable by @akerouanton in #580
  • Fix broken interpolation with JSON (curly braces) default values by @shcheklein in #581
  • pass context as first parameter by @ndeloof in #574
  • check that a container_name is used only once across all services declarations by @glours in #585
  • do not presume of the service processing order in TestValidateContainerName by @glours in #587
  • validate content of develop.watch section by @glours in #586
  • Fix env file read from include by @jhrotko in #582
  • merge volumes/networks labels by @ndeloof in #584
  • prevent concurrent map write updating services with image digest by @ndeloof in #588
  • implement normalization as a yaml transformation by @ndeloof in #589
  • remove restriction for `e...
Read more

v2.0.0-rc.8

21 Feb 16:40
Compare
Choose a tag to compare
v2.0.0-rc.8 Pre-release
Pre-release

What's Changed

  • add flags to the compose-spec CLI by @ndeloof in #577
  • process include with a relative-path local resource loader by @ndeloof in #579
  • ignore failure parsing yaml file when looking for project name by @ndeloof in #578
  • NetworksByPriority: ensure the sort order is stable by @akerouanton in #580
  • Fix broken interpolation with JSON (curly braces) default values by @shcheklein in #581
  • pass context as first parameter by @ndeloof in #574
  • check that a container_name is used only once across all services declarations by @glours in #585
  • do not presume of the service processing order in TestValidateContainerName by @glours in #587
  • validate content of develop.watch section by @glours in #586
  • Fix env file read from include by @jhrotko in #582
  • merge volumes/networks labels by @ndeloof in #584

New Contributors

Full Changelog: v2.0.0-rc.7...v2.0.0-rc.8

v2.0.0-rc.7

15 Feb 09:00
Compare
Choose a tag to compare
v2.0.0-rc.7 Pre-release
Pre-release

What's Changed

  • use listener to collect include metadata by @ndeloof in #576

Full Changelog: v2.0.0-rc.6...v2.0.0-rc.7

v2.0.0-rc.6

14 Feb 13:42
Compare
Choose a tag to compare
v2.0.0-rc.6 Pre-release
Pre-release

What's Changed

Full Changelog: v2.0.0-rc.5...v2.0.0-rc.6

v2.0.0-rc.5

08 Feb 18:01
Compare
Choose a tag to compare
v2.0.0-rc.5 Pre-release
Pre-release

What's Changed

  • schema is hosted by compose-go, no need to sync anymore by @ndeloof in #567
  • validate extends source does not share resources with another service/container by @ndeloof in #568
  • Add getters for services that have defined build, extends, depends_on, capabilities, gpu and tpu by @jhrotko in #561
  • Rename ServicesBuild -> ServicesWithBuild by @jhrotko in #569
  • Bump golang minimal version to 1.21 and 1.22 by @jhrotko in #531

Full Changelog: v2.0.0-rc.4...v2.0.0-rc.5

v2.0.0-rc.4

06 Feb 11:43
Compare
Choose a tag to compare
v2.0.0-rc.4 Pre-release
Pre-release

What's Changed

  • fix cycle tracker to manage homonym services by @ndeloof in #556
  • add package.go file to use compose-go in docker cli by @glours in #560
  • host list can be used to declare both IPv4 and IPv6 for same hostname by @ndeloof in #563
  • introduce ability to register types for extensions by @ndeloof in #564
  • bump x/exp and adjust slices.Sort by @ndeloof in #562
  • enforce unicity after canonical transformation by @ndeloof in #565
  • Restore ability to override an included resource in compose.override.yaml by @ndeloof in #559
  • set default values to required attributes by @ndeloof in #558
  • Fix relative path resolution when combining include+extends by @ndeloof in #553

Full Changelog: v2.0.0-rc.3...v2.0.0-rc.4

v2.0.0-rc.3

29 Jan 14:26
Compare
Choose a tag to compare
v2.0.0-rc.3 Pre-release
Pre-release

What's Changed

Full Changelog: v2.0.0-rc.2...v2.0.0-rc.3