!!! Info
(#{number})
means an issue of this project. You may check details of the issue by visiting https://github.com/zillionare/cfg4py/issues/_{number}_
- lock apscheduler version to 3.9.1. APScheduler 4.0 has been refactored thus cause importing error.
- on apple m1, it's not able to watch file changes, and cause cfg4py fail. This revision will disable hot-reload in such scenario and user can still use all other functions of cfg4py.
- remove support for python 3.6 since it's out of service, and opt 3.10, 3.11 in
- (#4) log settings are now available by
cfg.logging
.
- (#1) hot-reload will now only react to configuration files's change.
-
add strict mode: default is non-strict mode, which allows you run cfg4py without set environment variable cfg4py_server_role
this is a break change. If you've used cfg4py in your project and it worked well, after upgrade to 0.9.0, you have to modify your init code as this:
cfg4py.init('path_to_config_dir', strict = True)
see more in usage and FAQ document
- rename cfg4py_auto_gen.py to schema.py
- support environment macro
- add command hint, set_server_role
- export envar
- add pip source, conda source
- First release on PyPI.