Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Mar 10:26
· 33 commits to main since this release
6f3ef94

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 extends to refer to another resource by @ndeloof in #591
  • let resourceloader compute relative working dir by @ndeloof in #593
  • warn user version is obsolete by @ndeloof in #575
  • Add volume subpath option by @vvoland in #594
  • build binaries by @ndeloof in #590
  • only warn once about obsolete version by @ndeloof in #598
  • introduce port.name by @ndeloof in #566
  • application (level 7) protocol on ports by @ndeloof in #597

New Contributors

Full Changelog: v1.20.0...v2.0.0