Releases: Mityuha/fresh-bakery
Releases · Mityuha/fresh-bakery
v0.4.3 Python 3.13 support
What's Changed
- python 313 support by @Mityuha in #56
- New release version for 3.13 support by @legatusAlex in #57
Full Changelog: v0.4.2...v0.4.3
DI for Bakery itself
Big release where bakery's DI support was added (__Cake__
keyword)
What's new:
- new keyword to use:
__Cake__
, pronounced as dunder-cake - DI implementation
- A lot of test for DI
- Default logging fixes
- Library logging improvements
- brand new readme examples
- Bakery DI section added
- Bakery examples section added (examples from README)
- Test bakery section modified
- New examples added
Ingredients pimpl removal
- Remove
Ingredients
pimpl class - Complete
bake
method refactoring - Complete
stuff
module refactoring (splitting into files) - Some small code/annotation fixes
- Tests fixes
fresh-bakery
added as relative dependency for all examples
Codebase formatting with ruff
Related to #42
- bump python version 3.8 as a minimal supported version for library
- ruff was eventually included
- some warning/error prone places were fixed with the help of ruff
- isort/black/pylint removal
- all dev libraries are up-to-dated now
Great work about 'make code clear again' was done by @legatusAlex
Cakes only mock patching
Based on issue #41
- for now an explicit Cake assignment is only supported
- assignments like
bakery_mock.attr = 1
is deprecated and will be removed in next releases. Now non-Cake value is being converted to Cake implicitly - Docs improvements (regarding testing)
Non existent attributes error
Some improvements were made:
- mypy attribute error for non-existent attribute (stub file added)
- linters update
- CI actions' version update
- Unpack cakes feature example
Python 3.12 support
- Python 3.12 support
- Project keywords for pypi added
- Project urls for pypi added
Mypy Improvements
- Type hint improvements
- Mypy the latest version (1.5.1) support