- Add the
--host
option to CLI. It corresponds toflask run
's--host
option. - When serving (with
serve
orfreeze --serve
), Elsa now listens on Flask's default address,127.0.0.1
. The server is not visible externally. Use--host=0.0.0.0
to select the original, less secure behavior. (#67)
- Add
--verbose
option for the CLI. If used, it prints all frozen URLs to standard error. Useful when freezing big projects on Travis CI. (#51)
- Add
invoke_cli
option for thecli
function. If set toFalse
, it only returns the cli for further extending. (#45) - Don't remove the remote tracking branch when
--no-push
is used (fixes #41) - Improve handling of
FrozenFlaskWarning
(#37) - Add the
--show-git-push-stderr
option to make deploy more verbose, this can help debug problems, but is potentially dangerous, hence the output ofgit push
is hidden by default. (#37)
- Only treat Frozen-Flask warnings as errors, not other warnings (#34)
- Add a
--remote
option fordeploy
to use a custom git remote - Be consistent on local vs Travis CI deployment, always erase the history
of the
gh-pages
branch (actually fixes #14)
- Security: Do not display the remote URL when pushing gh-pages branch. If you used Elsa 0.1 or 0.1.1 on Travis CI, revoke your GitHub token, it was probably leaked in the log. (#25)
- Fix a problem with Travis CI based deployment
- Add a test suite
- Treat Frozen-Flask warnings as errors
- Important: It is now recommended to run
freeze
in.travis.yml
script
section to catch problems in Pull Requests etc. - Important: This version of Elsa will warn if you use the
deploy
command without specifying--push
or--no-push
explicitly. In a future release, it will switch to not pushing the built pages by default. - Remove the dependency on
sh
to improve compatibility with Windows - Supports Linux, Mac OS X and Windows
- The
gh-branch
is purged before the deploying commit (#14) - It is possible to shutdown the server via a special POST request (#21)
- Set template auto_reload flag directly in serve mode (#8)
- The CNAME route is now created automatically
- Initial implementation from PyLadies.cz