Changelong¶
0.4.0 - 2022-07-04¶
release-by: Lanqing Huang (@lqhuang)
This version is still major in refactoring and tuning. There are serveral breaking changes. Some notable changes including:
on_initmethod ofServiceis removed from this version.want_secondsfunction do not acceptNoneas input.This may most influenced changes: args
loglevel,logfile,loghandlersofWorkerhas been renamed tolog_level,log_fileandlog_handlersin order to followPEP8style.annotationsfunction which is conflicting to same value in__future__is renamed toreveal_annotations.
And after updates of Python version and mode-ng itself, ThreadService is probably not stable yet for now.
Please carefully test your codes, if you’re using it in production.
Commits history¶
[breaking] Update logging time format to timezone aware and format
extrafield in loggerMake
want_secondsraiseTypeErrorwhen input isNoneReorg cases for unit tests
Update CoC guidelines and README
[breaking] Improve logging module and setup args
loglevelhas been rename tolog_levelImprove implementations of singledispatch function
Improve type hints for
signals.pyand reformat forproxy.pyFix circular imports and remove lazy importer
Improve type hints for worker, services, etc
[breaking] Remove
on_initfrom nowImprove notes for lazy loading
Reconfig
.bumpversion.cfgTune flake8 config and adjust requirements content
[breaking] Rename
annotationstoreveal_annotationsdue to conflict[breaking] Replace
Eventlock to std (asyncio) version. Need more tests in async tasks running in multiple threads.Remove
contexts.pyand improve type hintsAdjust docs location about installation
0.3.1 - 2022-06-27¶
release-by: Lanqing Huang (@lqhuang)
No features and bugs updates, only project scaffold is improved.
tests: Fix logging tests and simplified test requirements
chore: Use
pyproject.tomlto declare metadatachore: Switch to
srclayout
0.3.0 - 2022-06-21¶
release-by: Lanqing Huang (@lqhuang)
Now you can output log to file and console simultaneously.
Remove redundant config files
Improve type hints
Cleanup asyncio future utilities
Improve code style and add an assertion
Fix
logfileonly acceptsstrtype and deprecatesys.version< (3, 8)Tune config for mypy and flake8
Unify
setup.cfgandsetup.py
0.2.0 - 2021-11-21¶
release-by: Lanqing Huang (@lqhuang)
Tune bumpversion config
Add more readme content
Deprecate custom
cached_property(1) Fix timer wait twice before execution; (2) Add optional arg to exectue immediately
Deprecate
mode.utils.compatandmode.utils.contextsDeprecate
mode.utils.typing
0.1.0 - 2021-11-16¶
release-by: Lanqing Huang (@lqhuang)
Support python-3.10
Friendly fork of
faust-streaming/mode: Initial releaseNothing changes yet
Previous release - 2021-10-14¶
release-by: Taybin Rutkin (@taybin), Thomas Sarboni (@max-k)
Support python-3.10
Format with black and isort
Add crontab timer from Faust (@lqhuang)
Friendly fork of
ask/mode: Initial releaseMove to new travis-ci.com domain
Add tests on Python 3.8.1-3.8.6
Fix broken tests
Add Python 3.9 support