Changlog¶
Version 0.5.3¶
To be released.
Version 0.5.2¶
Released on June 10, 2019.
- Enabled declaring
enum.Enum
types inconfig_proprety
. [#29] - Add hooks list feature for
on_web_loaded
andon_worker_loaded
. [#30]
Version 0.5.0¶
Released on July 24, 2017.
- Added
recurse
option toconfig_object_property
. If it’sTrue
nested tables are also evaluated.False
by default for backward compatibility.
Verison 0.4.0¶
Released on May 14, 2017.
config_object_property
was added. It’s a kind of dependency injection, but very limited version.ConfigError
,ConfigKeyError
,ConfigTypeError
, andConfigValueError
.Prior to 0.4.0,
Configuration
had raised Python’s built-inKeyError
on 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
TypeError
when a configured value is not of a type it expects, but since 0.4.0 it became to raiseConfigTypeError
instead.ConfigTypeError
is 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.
WorkerConfiguration
became to haveworker_schedule
config property to configure Celery beat — Celery’s periodic tasks.
Version 0.2.0¶
Released on July 13, 2016.
settei
became a package (had been a module), which containssettei.base
module.settei.Configuration
,settei.ConfigWarning
, andsettei.config_property
were moved tosettei.base
module. Although aliases for these previous import paths will be there for a while, we recommend to import them fromsettei.base
mdoule since they are deprecated.- Presets were introduced:
settei.presets
.settei.presets.celery
is for configuring Celery apps.settei.presets.flask
is for configuring Flask web apps.settei.presets.logging
is for configuring Python standardlogging
system.
settei.version
module 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_property
became to supporttyping.Union
type.
Version 0.1.0¶
Released on April 1, 2016. Initial release.