Releases: projectsyn/commodore
v1.20.1
Summary
Apart from some dependency updates, this release fixes an inconsistency between creating the initial commit new catalog repositories and the fall back logic which detects the repository default branch when a user sets init.defaultBranch
to a value other than master
.
Changes
4 changes since v1.20.0
🐛 Fixes
- Ensure that cluster catalog is initialized with branch
master
(#915)
🔗 Dependency Updates
v1.20.0
Summary
We're pleased to announce Commodore v1.20.0. This is mostly a dependency update release.
Notably, we've updated reclass-rs to v0.2.0, to make the improved error messages for reference resolution errors available to Commodore users.
Additionally, PyGithub has been updated to v2, which brings improved automated backoff for GitHub's secondary rate limits.
Apart from dependency updates, we've also added explicit timeouts for all HTTP requests made by Commodore.
Changes
15 changes since v1.19.1
🚀 Features
- Add explicit HTTP request timeouts (#892)
🔗 Dependency Updates
- Update dependency pylint to v3 (#862)
- Update dependency PyGithub to v2 (#859)
- Update dependency pytest-mock to v3.12.0 (#874)
- Update dependency responses to v0.24.1 (#887)
- Update dependency python-poetry/poetry to v1.7.1 (#889)
- Update dependency pytest-xdist to v3.5.0 (#891)
- Update dependency pyfakefs to v5.3.2 (#894)
- Update dependency importlib-metadata to v7 (#896)
- Update dependency pytest to v7.4.4 (#904)
- Update dependency kubernetes-sigs/kustomize to v5.3.0 (#899)
- Update dependency black to v23.12.1 (#903)
- Update docker.io/alpine Docker tag to v3.19 (#900)
- Update dependency gitpython to v3.1.41 (#905)
- Update dependency reclass-rs to v0.2.0 (#906)
v1.19.1
Summary
This release updates jb
in the Commodore Docker image to v0.6.2 (from the Project Syn fork). This jb
version introduces more robust error handling when downloading dependencies.
Changes
3 changes since v1.19.0
🔗 Dependency Updates
v1.19.0
Summary
Hot on the heels of v1.18.0, we're pleased to announce Commodore v1.19.0. This release brings further performance enhancements for Commodore.
The Commodore Docker image now uses our fork of jsonnet-bundler (jb
), which parallelizes dependency fetching. Additionally, we've updated the Commodore documentation to point to our fork of jsonnet-bundler for local installations.
Additionally, we switch to multiprocessing start method spawn
on Linux. While this doesn't improve runtime, it improves the memory footprint of Commodore, which is especially valuable when running Commodore in CI pipelines.
Changes
4 changes since v1.18.0
🚀 Features
- Use the projectsyn fork of jsonnet-bundler (#855)
🛠️ Minor Changes
- Use multiprocessing start method
spawn
by default (#854)
🐛 Fixes
- Fix component ordering in
jsonnetfile.json
and catalog commit message (#852)
🔗 Dependency Updates
- Update dependency reclass-rs to v0.1.1 (#851)
v1.18.0
Summary
We're pleased to announce Comodore v1.18.0. This release brings significant performance enhancements for Commodore.
The two big performance improvements are that we now fetch Commodore component in parallel (#844) and the Commodore Docker image uses reclass-rs by default (#848).
To use reclass-rs
when installing Commodore locally, you need to manually patch Kapitan to use the library over its bundled Python reclass implementation. You can do this by running the following commands while the Commodore virtualenv is activated:
KAPITAN_PATH=$(python -c 'import kapitan; print(kapitan.__path__[0])')
curl -L https://raw.githubusercontent.com/projectsyn/reclass-rs/main/hack/kapitan_0.32_reclass_rs.patch \
| patch -p1 -d "${KAPITAN_PATH}"
Changes
16 changes since v1.17.1
🚀 Features
- Fetch component and package dependencies in parallel (#844)
- Use
reclass-rs
in Commodore Docker image (#848)
🔗 Dependency Updates
- Update dependency PyGithub to v1.59.1 (#816)
- Update dependency pylint to v2.17.5 (#821)
- Update dependency types-toml to v0.10.8.7 (#823)
- Update dependency responses to v0.23.3 (#822)
- Update dependency importlib-metadata to v6.8.0 (#826)
- Update dependency pyjwt to v2.8.0 (#827)
- Update dependency pyfakefs to v5.2.4 (#831)
- Update dependency click to v8.1.7 (#830)
- Update dependency python-poetry/poetry to v1.6.1 (#834)
- Update docker.io/python Docker tag to v3.11.5 (#835)
- Update actions/checkout action to v4 (#840)
- Update dependency pytest to v7.4.2 (#842)
- Update dependency black to v23.9.1 (#845)
- Update dependency gitpython to v3.1.36 (#847)
v1.17.1
Summary
This is a bugfix release which adds the previously missing ${cluster:display_name}
and ${cluster:tenant_display_name}
to commands component compile
and package compile
Changes
1 changes since v1.17.0
🐛 Fixes
- Provide cluster and tenant display names in
component compile
andpackage compile
(#812)
v1.17.0
Summary
We're pleased to announce the release of Commodore v1.17.0. This release updates Kapitan to v0.32.0 and fixes a bug related to parsing multiple Kapitan secret references in the same inventory value.
Changes
17 changes since v1.16.0
🐛 Fixes
- Fix reference parsing for strings which contain multiple references (#811)
📄 Documentation
- Add Python package
wheel
in install prerequisites (#784)
🔗 Dependency Updates
- Update dependency cruft to v2.15.0 (#789)
- Update dependency pytest-xdist to v3.3.1 (#790)
- Update docker.io/alpine Docker tag to v3.18 (#788)
- Update dependency pytest-cov to v4.1.0 (#794)
- Update dependency python-poetry/poetry to v1.5.1 (#796)
- Update dependency kapitan to v0.32.0 (#797)
- Update dependency requests to v2.31.0 [SECURITY] (#798)
- Update dependency gitpython to v3.1.31 (#799)
- Update mikepenz/release-changelog-builder-action action to v4 (#800)
- Update docker.io/python Docker tag to v3.11.4 (#801)
- Update dependency pytest-mock to v3.11.1 (#803)
- Update dependency importlib-metadata to v6.7.0 (#804)
- Update dependency PyGithub to v1.59.0 (#805)
- Update dependency pytest to v7.4.0 (#806)
- Update paambaati/codeclimate-action action to v5 (#807)
v1.16.0
Summary
This release of Commodore increases the amount of information we show on Git push errors. Additionally, the release also ensures that commodore component sync
and commodore package sync
skip archived repositories.
Apart from those changes, this release updates a number of dependencies. See the full changelog below for details.
Changes
12 changes since v1.15.1
🚀 Features
- Provide more output for Git errors on push (#751)
🐛 Fixes
- Skip archived repositories in dependency sync (#770)
📄 Documentation
- Add some additional notes for commodore installation (#757)
- Add libmagic to system requirements (#762)
🔗 Dependency Updates
- Update dependency responses to v0.23.1 (#752)
- Update dependency pytest-xdist to v3.2.1 (#753)
- Update dependency types-toml to v0.10.8.6 (#764)
- Switch to upstream Cruft (#768)
- Update docker.io/python Docker tag to v3.11.3 (#769)
- Update dependency pyfakefs to v5.2.2 (#775)
- Update dependency pytest to v7.3.1 (#776)
- Update dependency importlib-metadata to v6.6.0 (#781)
v1.15.1
Summary
This release fixes a bug where instance parameters weren't correctly merged in commodore component compile
. Catalog compilation wasn't affected by the bug.
The fix refactors the implementation to use the same logic for instance parameter merging for catalog compilation and component compilation.
Changes
1 changes since v1.15.0
🐛 Fixes
- Correctly merge instance parameters in
component compile
(#750)
v1.15.0
Summary
We're pleased to announce the release of Commodore v1.15.0. Apart from some smaller dependency updates, this release updates Commodore to use Kapitan 0.31.0, which brings various improvements. The most visible change for users is Kapitan's new multi-line YAML string formatting. Commodore switches to the "literal" format, which renders multi-line strings with literal newlines in the YAML output.
Please note that you can verify that the YAML formatting changes don't hide any real catalog changes with the ignore-yaml-formatting
migration by providing flag -m ignore-yaml-formatting
to commodore catalog compile
.
Additionally, the release introduces improved shell autocompletion. The shell autocompletion for commodore catalog compile
can now complete cluster names by querying the configured Lieutenant API for all known clusters. Please see the shell autocompletion how-to for instructions on setting up autocompletion.
Changes
7 changes since v1.14.0
🚀 Features
- Switch to Kapitan's new
literal
multi-line YAML string style (#746) - Add auto-completion for catalog compilation (#722)
- Only print a message when the OIDC login URL can't be opened automatically (#747)