Skip to content

v1.9.12

Latest
Compare
Choose a tag to compare
@elatt elatt released this 01 Nov 14:03
· 370 commits to master since this release
5bc1088

The main improvement in this release is the new capability to add your own custom Flask extensions when running drum server. Note: this capability is not available when using the --production flag (or PRODUCTION=1 environment variable). For a reference implementation, see the new example.

Added
  • Add support for a new hook (custom_flask.py) in the model-dir to allow extending the Flask application when drum is running in server mode.
  • Add a new model template sample (flask_extension_httpauth) to illustrate a potential authentication use-case using the new custom_flask.py hook.
Changed
  • Improve handling of SIGTERM to support cleaner shutdowns.
  • Use --init flag when running docker containers to improve how signals are propigated to child processes.