Releases: SINTEF/ci-cd
v2.7.4
Update the setver
task
Fully support PEP 440 Python versions when running the setver
task.
Add a test suite for the setver
task.
Changelog
v2.7.4 (2024-02-29)
Implemented enhancements:
- Use Python versioning regex in
setver
#243
Merged pull requests:
* This Changelog was automatically generated by github_changelog_generator
v2.7.3
Fix committing newly created files
This patch update fixes the issue of creating a first release without a committed CHANGELOG.md
file.
Changelog
v2.7.3 (2024-02-14)
Fixed bugs:
- Use
git add -- .
instead ofgit commit -a
#236
Merged pull requests:
- [Auto-generated] Update dependencies #241 (@TEAM4-0)
- Use git add -- . instead of git commit -a #240 (@CasperWA)
- [Auto-generated] Update dependencies #239 (@TEAM4-0)
* This Changelog was automatically generated by github_changelog_generator
v2.7.2
Support first time releases
Patch update to fix a bug, where a first time release was not performed due to an expectation in the callable workflow for a a previous version to be present.
This update also introduces a DX lift due to the shift to ruff over pylint and isort.
Changelog
v2.7.2 (2024-01-13)
Fixed bugs:
- Support first release #232
Closed issues:
- Use ruff instead of pylint (and isort) in code base #191
Merged pull requests:
- [Auto-generated] Update dependencies #235 (@TEAM4-0)
- Go through another env var to set --since-tag #233 (@CasperWA)
- [Auto-generated] Update dependencies #231 (@TEAM4-0)
- Update to ruff (instead of pylint (and isort)) #192 (@CasperWA)
* This Changelog was automatically generated by github_changelog_generator
v2.7.1
Patch release to remove unwanted code
Remove unwanted print-statements.
Changelog
v2.7.1 (2023-12-07)
* This Changelog was automatically generated by github_changelog_generator
v2.7.0
Explicit Python support and more packaging
usage
Check and verify the Python version in callable workflows that use the ci-cd
package, allowing Python 3.7-13.
Implement usage of packaging.version.Version
to support Pythonic versioning schemes, such as epoch.
Furthermore, this minor release introduces new input parameters for doing away with the setup of having a dedicated "permanent" dependencies branch (it is still an option to have this, of course) and allowing un-normalized Python package names in the dependencies. The latter for example adds support for cookiecutter Jinja-like variables to be present in place of a "real" Python package name in pyproject.toml
Changelog
v2.7.0 (2023-12-07)
Implemented enhancements:
- Toggle allowing invalid package name chars #208
- Support all newer Python versions #207
- Support not using a permanent dependencies branch #183
Fixed bugs:
Closed issues:
- Update to non-deprecated inputs in Actions #216
Merged pull requests:
- [Auto-generated] Update dependencies #228 (@TEAM4-0)
- Toggle for skipping dependency if it cannot be parsed #224 (@CasperWA)
- [Auto-generated] Update dependencies #223 (@TEAM4-0)
- Use non-deprecated actions inputs #219 (@CasperWA)
- Support Python 3.11, 3.12 and 3.13 #205 (@CasperWA)
- Make using dependencies branch toggleable #184 (@CasperWA)
* This Changelog was automatically generated by github_changelog_generator
v2.6.0
Properly handle version specifiers
This version greatly improves on the version specifier handling when updating the pyproject.toml
file using either the callable workflow CI - Check pyproject.toml dependencies or the pre-commit hook Update dependencies in pyproject.toml
.
It now utilizes the same logic as is implemented in the pip
package, namely the packaging
Python library to handle the dependencies and requirements listed in the pyproject.toml
file.
To an extent, there is also support for version markers, specifically, specifying a dependency's validity according to a Python language version, e.g., my_package~=1.3; python_version < '3.8'
. However, this support is limited in its scope, and does not support the full reasoning logic otherwise provided by the marker handling in packaging
, meaning for example if you specify different Python language version requirements based on the OS, this may not be respected as intended by the user.
Changelog
v2.6.0 (2023-11-17)
Implemented enhancements:
- Modularize
update_deps.py
further #148
Fixed bugs:
- Ensure version dependency ranges are respected when updating #141
Merged pull requests:
- [Auto-generated] Update dependencies #214 (@TEAM4-0)
- [Auto-generated] Check & update dependencies (
pyproject.toml
) #213 (@TEAM4-0) - [Auto-generated] Check & update dependencies (
pyproject.toml
) #206 (@TEAM4-0) - [Auto-generated] Update dependencies #204 (@TEAM4-0)
- Handle version specifiers #190 (@CasperWA)
* This Changelog was automatically generated by github_changelog_generator
v2.5.3
Several fixes
Several fixes for the CI - Check dependencies callable workflow and its underlying task update_deps()
have been implemented.
This fixes issues with spacing immediately prior to version specifiers, multiple parallel jobs each creating PRs with clashing branch names, and suppressing unnecessary warnings.
Changelog
v2.5.3 (2023-10-25)
Implemented enhancements:
Fixed bugs:
Merged pull requests:
- Add project name by default to
already_handled_packages
#202 (@CasperWA) - Customize branch name #201 (@CasperWA)
- Handle package-specifier spacing #197 (@CasperWA)
* This Changelog was automatically generated by github_changelog_generator
v2.5.2
Include extra toggle for releasing latest
MkDocs version
It is now possible to not release a latest
MkDocs documentation version. This is a feature specific to releasing documentation in the MkDocs framework and is backwards compatible, as the default value is true
, i.e., keeping with the current behavior if no action is taken by users.
Furthermore, some GH Actions were updated.
Changelog
v2.5.2 (2023-10-04)
Implemented enhancements:
- Toggle
latest
alias MkDocs release #187
Merged pull requests:
- [Auto-generated] Update dependencies #189 (@TEAM4-0)
- Add
mkdocs_update_latest
bool input #188 (@CasperWA) - [Auto-generated] Update dependencies #185 (@TEAM4-0)
- [Auto-generated] Update dependencies #177 (@TEAM4-0)
* This Changelog was automatically generated by github_changelog_generator
v2.5.1
Patch release for regression fix
This release fixes a regression for the --full-docs-dir
input to the docs-api-reference
pre-commit hook, which happened after implementing Windows support.
Furthermore, the CD - Release callable workflow has been made less strict concerning release tag naming. Semantic versioning is still required.
Changelog
v2.5.1 (2023-08-30)
Fixed bugs:
Merged pull requests:
- Fix --full-docs-dir regression #175 (@CasperWA)
- Remove requirement for release to start with 'v' #173 (@CasperWA)
* This Changelog was automatically generated by github_changelog_generator
v2.5.0
Support for Windows
Support and tests for Windows has been added for the pre-commit hooks.
The documentation has been updated as well with an improved distinction between single and multi-line inputs.
Changelog
v2.5.0 (2023-08-29)
Fixed bugs:
pylint_options
not working as intended #169- Pre-commit for documentation not working on windows #160
Merged pull requests:
- Parse
pylint_options
depending on newlines #170 (@CasperWA) - Support Windows for pre-commit hook usage #165 (@CasperWA)
- [Auto-generated] Update dependencies #159 (@TEAM4-0)
- [Auto-generated] Update dependencies #156 (@TEAM4-0)
- [Auto-generated] Update dependencies #154 (@TEAM4-0)
* This Changelog was automatically generated by github_changelog_generator