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
-v
option 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
--version
option.
- Emit warning log messages if clack is unable to construct the message
associated with the
--version
option.
0.3.6 - 2024-03-05
- Use package name instead of dist name in the message output by the
--version
option.
0.3.5 - 2024-03-05
- Fix the
--version
option.
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
typist
version to 0.2.0.
0.3.1 - 2022-01-09
- Add
clack.register_runner_factory()
function.
- The
ClackConfigFile.set()
method now returns aneris.LazyResult
type.
0.3.0 - 2022-01-08
- BREAKING CHANGE: Migrated all types / protocols to the
clack.types
module. - BREAKING CHANGE: The names of many variables were changed (most of these variables now live in the new
clack.types
module).
- Fix the
clack.Config
class so it is now of typeclack.types.ClackConfig
.
0.2.9 - 2022-01-08
- Add
AbstractConfig
,Confit_T
, andConfig_T_co
to API.
0.2.8 - 2022-01-08
- Add 'path' attribute to
ConfigFile
Protocol.
0.2.7 - 2022-01-08
- Abstract away all YAML logic to
ConfigFile
Protocol.
0.2.6 - 2022-01-08
- Add
clack.ConfigFile
class (the new default for the--config
option). - Add
clack.pytest_plugin
that includesmake_config_file()
fixture.
0.2.5 - 2022-01-08
- Set the
Config.config_file
attribute for implicit config files too.
0.2.4 - 2022-01-08
- Fix bug with new
--config
CLI option parsing.
0.2.3 - 2022-01-08
- Add support for explicit config file locations via the new
--config
CLI option.
0.2.2 - 2022-01-06
- Allow
clack.Config
to have extra arguments.
0.2.1 - 2022-01-06
- Fix crash when
Config
defaults 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_file
class.
0.1.2 - 2021-12-25
- Add new
clack.xdg
module.
0.1.1 - 2021-12-24
- Fix type checking issue with
clack.main_factory()
.
0.1.0 - 2021-12-23
- Port
clack
library from (original)bugyi-lib
library. - First release.