Skip to content

0.33.0

Choose a tag to compare

@dub1401 dub1401 released this 26 Oct 10:27
· 7 commits to main since this release

✨ Added

validators

  • All validators now can be used as pydantic annotations.
  • Validators for packaging Version and SpecifierSet.
  • 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 exceptions submodule.
  • Logger now can used without cli dependencies (unstyled output).

cli.text_styler

  • TextStyler now is serve to HTML-Rich-ANSI styles conversion and presets generation.

engine.config

  • Module renamed to config from configurator.
  • Migration to pydantic-settings.
  • Config now isn't singleton.
  • Support many config sources.
  • Switched in read-only mode.
  • Support values from environment variables and *.toml files.

validators

  • Validator ValidPath renamed to ExistingPath.
  • Validator All renamed to Any.

🗑️ 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 Datetime validator.
  • Validator Float false positiove on non-human floats as 1. or .5.
  • Validator Path ignored platform.