Skip to content

Latest commit

 

History

History
189 lines (117 loc) · 6.15 KB

File metadata and controls

189 lines (117 loc) · 6.15 KB

Changelog

1.14.0 - 2026-04-03

  • Add unreleased_git_tag and prefixed_unreleased_git_tag (thanks @greboid)

1.13.3 - 2026-03-27

  • Fixed an incorrect array index in the previous fix...

1.13.2 - 2026-03-27

  • Fixed an occasional infinite loop in contempt when resolving APK dependencies with pc: constraints. Thanks @Greboid for the report.

1.13.1 - 2026-02-16

  • Updated to latest v3.0.1 which fixes an occasional infinite loop when resolving APK dependencies with pc: constraints
  • Other minor dependency updates

1.13.0 - 2025-11-20

  • Add ability to pass username/password when checking for the latest git tags

1.12.0 - 2025-10-30

  • Dependency updates

1.11.5 - 2025-05-02

  • Dependencies listed by the orchestrator are now listed alphabetically instead of non-deterministically

1.11.4 - 2025-05-02

  • Fix crash in orchestrator due to uninitialised map

1.11.3 - 2025-03-30

  • Orchestrator will now ignore duplicate dependencies

1.11.2 - 2025-03-29

  • Update liquid library to allow better whitespace handling in orchestrator

1.11.1 - 2025-01-08

  • Fix compiler error in orchestrator (thanks @greboid)

1.11.0 - 2024-12-24

  • Fixed issue resolving dependencies if functions were passed non-string arguments, or returned ints.
  • Add {{map}} and {{arr}} utility template functions.
  • Fix postgres sources not working.

1.10.0 - 2024-12-23

  • Refactor templating to use the latest library instead of Contempt knowing how to check the latest version of everything
  • Added generic {{postgres_url <version>}} and {{postgres_checksum <version>}} functions. The older version specific functions are deprecated, but will not be removed in the near future.
  • Support for including other templates. The option "includes" specifies a directory containing templates (default: _includes) which can then be called using Go's standard {{template "name.gotpl"}} convention.

1.9.0 - 2024-12-16

  • Add support for retrieving releases of postgres 16/17 (thanks @greboid)

1.8.1 - 2024-05-23

  • If a scanner error occurs while reading the Alpine APK index, it is now propagated up instead of ignored
  • Fix {{alpine_packages}} failing for Alpine v3.20 due to extremely long lines in the package index

1.8.0 - 2024-05-02

  • Add support for setting the alpine mirror via the --alpine-mirror flag, and change default to a working mirror.
  • Dependency updates

1.7.4 - 2023-08-23

  • Revert --identity-label=false change as it's not supported by the version of Buildah currently deployed on GitHub Actions.

1.7.3 - 2023-08-23

  • Add logging for commands that are executed on the host, and automatically query the version of buildah and git when running with --commit or --build

1.7.2 - 2023-08-20

  • Further fix for randomly choosing between multiple tags with the same semver.
  • Add increment_int template function (thanks @Greboid).
  • Pass --identity-label=false to Buildah to make builds more reproducible (thanks @Greboid).

1.7.1 - 2023-07-31

  • Update gitrefs dependency, which fixes issue where contempt will randomly choose between tags if they're all the same semver (e.g. v1.2.3 and 1.2.3)

1.7.0 - 2023-07-23

  • Add orchestrator binary, for generating configs based on the dependencies between projects. This can be used to (for example) generate a GitHub Actions workflow file that contains a separate job for each project, with the dependencies properly expressed between them. A future version of contempt will better support this single-project-at-a-time usecase.

1.6.1 - 2023-05-12

  • Ignore ~x.x version selectors in apk dependencies (thanks @greboid)

1.6.0 - 2022-11-23

  • Added {{postgres15_url}} and {{postgres15_checksum}} template functions

1.5.1 - 2022-11-14

  • Fixed issue where all projects are ignored if the path is given as . (like in the examples in the README...)

1.5.0 - 2022-11-14

  • The --project flag can now contain multiple projects separated by commas.
  • No longer recurses into directories which start with a . (e.g. .git) when finding projects.
  • Now properly reports errors when finding projects, instead of panicing.
  • Added regex_url_content template function (thanks @Greboid)

1.4.1 - 2022-02-05

  • Fix dependency resolution when using fully-qualified names in the image template function.

1.4.0 - 2022-02-04

  • When multiple materials change the commit message is now summarised as "N changes", the details are spread over multiple lines, and sorted alphabetically.
  • The image template function now accepts fully-qualified image names, and will not pre-pend the default registry.
  • Added git_tag and prefixed_git_tag template functions.
  • Fixed -push-retries flag including the original push attempt in the count (i.e., a value of 2 would retry once; a value of 0 would fail without trying.)

1.3.1 - 2022-01-26

  • prefixed_github_tag no longer includes the stripped prefix in the bill of materials.

1.3.0 - 2022-01-23

  • Added -push-retries flag to specify how many times a failed push should be retried. Defaults to 2.

1.2.0 - 2021-11-28

  • Added option (enabled by default) to print workflow commands for GitHub Actions to group log output.
  • Skip 'conflicts with' dependencies when resolving Alpine packages (thanks @Greboid)

1.1.0 - 2021-11-03

  • Make the project build order deterministic.
  • LatestGitHubTag now uses gitrefs to get the latest tag instead of the GitHub API.
  • Fix "Generated from" header when running with absolute paths

1.0.4 - 2021-10-26

  • Fix infinite loop if running with paths other than ".", or if projects are nested multiple directories deep.
  • Explicitly error if dependencies can't be resolved.
  • Improved error message if GitHub tags couldn't be resolved.

1.0.3 - 2021-10-26

  • Fixed image digests being truncated to "sha256:" and a single character in commit messages
  • Increased size of versions shown in commit messages from 8 to 12

1.0.2 - 2021-10-25

  • Fixed commit messages showing old/new versions the wrong way around

1.0.1 - 2021-10-23

  • Flags can be specified as env vars

1.0.0 - 2021-10-23

Initial version.