Repository navigation
Releases: dub1401/dublib
Releases · dub1401/dublib
Release list
0.33.2
0.33.1
0.33.0
✨ Added
validators
- All validators now can be used as pydantic annotations.
- Validators for packaging
VersionandSpecifierSet. - Validators for exists file and directory.
🎨 Changed
- Minimal supported Python raised to 3.13.
- All enumerations renamed in accordance with PEP 435.
- Dependencies separated in optional groups.
- Exceptions now replaced at modules roots in
exceptionssubmodule. - Logger now can used without
clidependencies (unstyled output).
cli.text_styler
TextStylernow is serve to HTML-Rich-ANSI styles conversion and presets generation.
engine.config
- Module renamed to
configfromconfigurator. - Migration to pydantic-settings.
Confignow isn't singleton.- Support many config sources.
- Switched in read-only mode.
- Support values from environment variables and *.toml files.
validators
- Validator
ValidPathrenamed toExistingPath. - Validator
Allrenamed toAny.
🗑️ Deprecated
- Module
engine.bus.
🔥 Removed
- Module
telebot_utils.
cli.text_styler
- Presets with
FastStyler.
functions.decorators
- Decorator
deprecated().
validators
- Validator
Number.
🐛 Fixed
validators
- False positive
Datetimevalidator. - Validator
Floatfalse positiove on non-human floats as1.or.5. - Validator
Pathignored platform.
0.32.0
✨ Added
cli.terminalyzer
- Handlers now can accept positional and named additional arguments.
- Method
run_handler()in command entity. - Property
is_handledto command entity.
🎨 Changed
- Module
cli.templates.busreworked ascli.messages.
cli.terminalyzer
- Rename
parse_parameters()toparse_command().
engine.patcher
- Module fully rewritten.
🐛 Fixed
cli.messages
- URL validation for scheme
file://failed (upstream forvalidators>=0.36).
engine.configurator
- Config instance initialization failure.
🔥 Removed
- Module
cli.templates.
0.31.1
0.31.0
✨ Added
cli.terminalyzer
- Method
parse_parameters()now may automatically split input parameters from string byshlex.split(). - Now handlers available in commands modules.
- Raising exception
NamedParameterMissingInModelErrorwhile named parameter required from entity.
🎨 Changed
cli.terminalyzer
- Method
set_commands_groups()renamed toset_models_groups(). - Helper method
generate_command_info()renamed togenerate_model_info().
🗑️ Deprecated
- Module
telebot_utilsplanned to remove in future versions.
Версия 0.30.4
✨ Добавлено
functions.data.dictionary
- Функция
deep_merge()для глубокого слияния многоуровневых словарей.
Версия 0.30.3
✨ Добавлено
web_requestor
- Оператор авторизации
Bearerполучил методget_jwt_expiration_date(). - Оператору авторизации добавлено свойство, представляющее сам метод авторизации.
Версия 0.30.2
🐛 Исправлено
cli.terminalyzer
- Аргументы позиций обрабатывались перед именованными параметрами базовой позиции.
- Не осуществлялась проверка блокировки параметра позиции.
telebot_utils.cache
- Невозможно кэшировать файл.
web_requestor
- Попытка смены протокола прокси могла проводиться для любого протокола, а не только HTTP / HTTPS.
Версия 0.30.1
✨ Добавлено
cli.terminalyzer
- Метод
get_position_named_parameter()для получения сущностей гарантированно именованных параметров позиции.
⚡️ Изменено
cli.terminalyzer
- Для сущностей флагов снова возвращается основное имя флага вместо
True.