Releases: Mityuha/fresh-bakery
Releases · Mityuha/fresh-bakery
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
Litestar support
Python 3.11 support
Some fixes and improvements
What's done:
- #20 issue fixed. Now cakes unbaked remain unbaked with no errors
- #22 documentation (readthedocs) added (sorry for english, guys, I'm working on it)
- #23 small readme updates. Big thanks to @xfenix
- #24 explicit tox dependencies to avoid unexpected surprises
- #25 working with piece of cake as well as with cakes
- #26 hand made any object, not just cakes. Under the hood objects are wrapped into cakes. Thanks @legatusAlex for inspiration and reviews
- Some minor bugs/details fixes