v1.6.0
Whats Changed
- Implemented Allow callback to be specified as import strings.
- Implemented Add an initialize callback.
- Implemented Add a finalize callback option for routines.
- Implemented Should not require the name to be listed on the routine when specified as a dictionary.
- Implemented Deprecate “kind” in favor of “management” vs “system”
The kind key is deprecated and should now be used as the command key in place of command. For example:
"commands": [
{"command": ("migrate"), "kind": "management"},
{"command": ("touch", "/var/www/site/wsgi.py"), "kind": "system"},
# the above will still work but should be rewritten as:
{"management": ("migrate"),}
{"system": ("touch", "/var/www/site/wsgi.py")},
]
- Fixed –subprocess,–atomic, and –continue options not working
- Implemented Add signals for routine started/ended.
- Fixed KeyError catch can hide errors and produce misleading statements
Full Changelog: v1.5.1...v1.6.0