Changlog¶
Version 0.5.2¶
Released on June 10, 2019.
- Enabled declaring
enum.Enumtypes inconfig_proprety. [#29] - Add hooks list feature for
on_web_loadedandon_worker_loaded. [#30]
Version 0.5.0¶
Released on July 24, 2017.
- Added
recurseoption toconfig_object_property. If it’sTruenested tables are also evaluated.Falseby default for backward compatibility.
Verison 0.4.0¶
Released on May 14, 2017.
config_object_propertywas added. It’s a kind of dependency injection, but very limited version.ConfigError,ConfigKeyError,ConfigTypeError, andConfigValueError.Prior to 0.4.0,
Configurationhad raised Python’s built-inKeyErroron missing keys, but since 0.4.0 it became to raiseConfigKeyError, a subtype ofKeyError, instead.In the same manner, while prior to 0.4.0, it had raised Python’s built-in
TypeErrorwhen a configured value is not of a type it expects, but since 0.4.0 it became to raiseConfigTypeErrorinstead.ConfigTypeErroris also a subtype ofTypeError.
Version 0.3.0¶
Released on January 22, 2017.
Version 0.2.2¶
Released on November 18, 2016. Note that the version 0.2.1 has never been released due to our mistake on versioning.
WorkerConfigurationbecame to haveworker_scheduleconfig property to configure Celery beat — Celery’s periodic tasks.
Version 0.2.0¶
Released on July 13, 2016.
setteibecame a package (had been a module), which containssettei.basemodule.settei.Configuration,settei.ConfigWarning, andsettei.config_propertywere moved tosettei.basemodule. Although aliases for these previous import paths will be there for a while, we recommend to import them fromsettei.basemdoule since they are deprecated.- Presets were introduced:
settei.presets.settei.presets.celeryis for configuring Celery apps.settei.presets.flaskis for configuring Flask web apps.settei.presets.loggingis for configuring Python standardloggingsystem.
settei.versionmodule was added.- typeannotations was replaced by tsukkomi.
- Settei now requires pytoml 0.1.10 or higher. (It had required 0.1.7 or higher.)
Version 0.1.1¶
Released on April 15, 2016.
settei.base.config_propertybecame to supporttyping.Uniontype.
Version 0.1.0¶
Released on April 1, 2016. Initial release.