Skip to content

3.7.0

Compare
Choose a tag to compare
@radeklat radeklat released this 15 Dec 14:47
· 42 commits to main since this release
a7b5d38

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
Types of changes are:

  • Breaking changes for breaking changes.
  • Features for new features or changes in existing functionality.
  • Fixes for any bug fixes.
  • Deprecated for soon-to-be removed features.

Unreleased

3.7.0 - 2022-12-15

Features

  • Add support for poetry in the dependencies-update command.

Fixes

  • Point to correct file to edit in dependencies-update for pipenv.

3.6.0 - 2022-12-15

Features

  • Commands executed via utils.execute_commands_group will receive passed arguments as passed_args from config, if they use the delfino.decorators.pass_args decorator. Example:
    [tool.delfino.plugins.delfino-core.lint-pylint]
    pass_args = "--fail-under 0.9"
    will pass --fail-under 0.9 to pylint executed by lint-pylint, which is in lint group, which itself is in verify-all group.

3.5.0 - 2022-12-14

Features

  • utils.execute_commands_group logs a debug message when a command is not executed because it is disabled.

3.4.1 - 2022-12-13

Fixes

  • Wrapping pytest with extra modules via the tool.delfino.plugins.delfino-core.pytest_modules config.

3.4.0 - 2022-12-13

Features

  • Allow wrapping pytest with extra modules via tool.delfino.plugins.delfino-core.pytest_modules config. Each value in this list will prepend pytest with -m <MODULE NAME>.

Fixes

  • Warn about using commands in a group that don't exist instead of skipping them silently.

3.3.0 - 2022-12-12

Features

  • Commands in the lint command group can be overriden with tool.delfino.plugins.delfino-core.lint_commands option in the pyproject.toml file.

3.2.1 - 2022-12-09

Fixes

  • Add missing setting of PYTHONPATH environment variable in tests.

3.2.0 - 2022-12-09

Features

  • New command test, which is the same as test-all but without coverage.

3.1.0 - 2022-12-09

Features

  • typecheck will print additional headings if any folders are in a strict mode.

3.0.1 - 2022-12-09

Fixes

  • Dependencies update

3.0.0 - 2022-12-08

Breaking changes

  • test-unit and test-integration no longer support the --maxfail and --debug flags. Use the passthrough option (any argument after --) to pass these flags to pytest directly with --maxfail and -s respectively.

Features

  • test-all command takes a list of one or more files/folders to use with the -f/--file/--folder option.

Fixes

  • Fix type annotations for passed_args.

2.3.0 - 2022-12-07

Features

  • lint, lint-pylint, lint-pydocstyle and lint-pycodestyle commands takes a list of one or more files/folders to use with the -f/--file/--folder option.

2.2.0 - 2022-12-07

Features

  • The following commands now take arbitrary arguments after --, which are then passed to the underlying tool:
    • lint-pycodestyle
    • lint-pydocstyle
    • lint-pylint
    • test-integration
    • test-unit
    • typecheck

2.1.1 - 2022-12-05

Fixes

  • Add missing optional dependencies.

2.1.0 - 2022-12-05

Features

  • New command dependencies-update and optional dependency group dependencies_update.

2.0.1 - 2022-12-04

Fixes

  • Workaround for build-docker of cargo on ARMv7 in emulator.

2.0.0 - 2022-11-30

Breaking changes

  • typecheck no longer accepts an arbitrary list of arguments interpreted as list of files to use. Use -f/--file/--folder instead. This option must be repeated for multiple files/folders.

1.2.2 - 2022-11-30

Fixes

  • Plugin entry point to the module with commands.

1.2.1 - 2022-11-29

Fixes

  • Relax version dependency on delfino to allow faster initial development.

1.2.0 - 2022-11-29

Features

  • Moved in optional dependencies from delfino.

1.1.0 - 2022-11-29

Features

  • Moved in core commands from delfino.

1.0.0 - 2022-11-26

Features

  • Initial source code