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