Changelog for clack
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.
Unreleased
No notable changes have been made.
0.3.12 - 2024-04-05
Changed
Change the
make_config_file()pytest plugin fixture from “function”-scoped to “session”-scoped.
0.3.11 - 2024-04-04
Fixed
Fix
clack.Parser()when called from a subpackage (e.g.zorg.app).
0.3.10 - 2024-03-31
Changed
Upgraded to pydantic>2 using pydantic’s migration guide.
0.3.9 - 2024-03-07
Added
Exposed the
clack_envvars_set()method to the public clack API.
0.3.8 - 2024-03-07
Added
Added support for reading
-voption when initializing logrus the first time.
Changed
Default to using colored log messages when initializing logrus the first time.
0.3.7 - 2024-03-06
Changed
Decided to use the distribution name instead of the package name for the
--versionoption.
Miscellaneous
Emit warning log messages if clack is unable to construct the message associated with the
--versionoption.
0.3.6 - 2024-03-05
Fixed
Use package name instead of dist name in the message output by the
--versionoption.
0.3.5 - 2024-03-05
Fixed
Fix the
--versionoption.
0.3.4 - 2022-05-09
Fixed
Fix the
clack.get_config()function.
0.3.3 - 2022-05-06
Added
Add
clack.get_config()function.
0.3.2 - 2022-01-14
Miscellaneous
Updated
typistversion to 0.2.0.
0.3.1 - 2022-01-09
Added
Add
clack.register_runner_factory()function.
Changed
The
ClackConfigFile.set()method now returns aneris.LazyResulttype.
0.3.0 - 2022-01-08
Changed
BREAKING CHANGE: Migrated all types / protocols to the
clack.typesmodule.BREAKING CHANGE: The names of many variables were changed (most of these variables now live in the new
clack.typesmodule).
Fixed
Fix the
clack.Configclass so it is now of typeclack.types.ClackConfig.
0.2.9 - 2022-01-08
Fixed
Add
AbstractConfig,Confit_T, andConfig_T_coto API.
0.2.8 - 2022-01-08
Fixed
Add ‘path’ attribute to
ConfigFileProtocol.
0.2.7 - 2022-01-08
Miscellaneous
Abstract away all YAML logic to
ConfigFileProtocol.
0.2.6 - 2022-01-08
Added
Add
clack.ConfigFileclass (the new default for the--configoption).Add
clack.pytest_pluginthat includesmake_config_file()fixture.
0.2.5 - 2022-01-08
Changed
Set the
Config.config_fileattribute for implicit config files too.
0.2.4 - 2022-01-08
Fixed
Fix bug with new
--configCLI option parsing.
0.2.3 - 2022-01-08
Added
Add support for explicit config file locations via the new
--configCLI option.
0.2.2 - 2022-01-06
Fixed
Allow
clack.Configto have extra arguments.
0.2.1 - 2022-01-06
Fixed
Fix crash when
Configdefaults are not json-serializable.
0.2.0 - 2022-01-04
Added
Ability to load
Config()class values from environment variables.Ability to load
Config()class values from YAML configuration files.
Changed
BREAKING CHANGE: The signature of the
clack.main_factory()function has been changed.
Miscellaneous
Increased test coverage to >=80%.
0.1.3 - 2021-12-26
Added
Add
comma_list_or_fileclass.
0.1.2 - 2021-12-25
Added
Add new
clack.xdgmodule.
0.1.1 - 2021-12-24
Fixed
Fix type checking issue with
clack.main_factory().
0.1.0 - 2021-12-23
Miscellaneous
Port
clacklibrary from (original)bugyi-liblibrary.First release.