Changelog¶
All notable changes to tomcatmanager will be documented in this file.
The format is based on Keep a Changelog and this project uses Semantic Versioning.
0.13.0 (2018-07-06)¶
Added¶
- In the interactive
tomcat-manager
tool, the history of previously executed commands is now persistent across invocations of the program. - Added common developer tasks to
tasks.py
. To run these tasks, use theinvoke
command provided by pyinvoke. - Tomcat 9.0.x officially supported. No material changes were required to gain this support, just validation via the test suite.
- Type hinting added for enhanced developer productivity in most IDE’s
- Full support for Python 3.7
Changed¶
ServerInfo.__init__()
no longer accepts the result as a positional argument: it must be a keyword argument.
0.12.0 (2018-02-23)¶
Added¶
- You can now deploy applications via a context xml file. A new
interactive command
deploy context
and a new methoddeploy_servercontext()
provide this capability.
Changed¶
- Better help messages in the interactive
tomcat-manager
tool deploy()
has been replaced by three new methods:deploy_localwar()
,deploy_serverwar()
, anddeploy_servercontext()
.- Commands which use an optional version parameter now use a
-v
option to specify the version - Most commands now have
-h
/--help
options
0.11.0 (2017-09-06)¶
Added¶
- New command line switches for
tomcat-manager
:--quiet
,--echo
,--status_to_stdout
- New setting
status_prefix
contains the string to emit prior to all status messages - New class
TomcatApplication
Changed¶
- If we get an http redirect during
TomcatManager.connect()
, save the new url so we don’t have to re-traverse the redirect on every command. - Interactive
list
command now can filter by application state, and has two sort options. TomcatManager._user
is nowTomcatManager.user
TomcatManager._url
is nowTomcatManager.url
TomcatManager.list()
now returns a list ofTomcatApplication
objects- Renamed
tm.codes
totm.status_codes
to clarify the purpose
0.10.0 (2017-08-24)¶
Added¶
- CHANGELOG.rst
- documentation for interactive mode
- documentation for use from the shell command line
- read settings from a config file
- add
config
command which allows user to edit config file - server shortcuts: save url, user, and password in config file
which
command to show which tomcat server you are connected totimeout
setting for HTTP timeoutsrestart
command as synonym forreload
- Add tox for testing against multiple versions of python
Changed¶
status
command now pretty prints the xml responseTomcatManager.__init__
no long accepts paramemeters: useconnect
insteadTomcatManager
methods which act on apps (deploy
,sessions
,stop
, etc.) now throw exceptions if no path is specified. Previously they returned a response withr.ok == False
0.9.2 (2017-08-16)¶
Added¶
- new TomcatManager.connect() method
- lots more documentation
- pytest now runs doctests
Changed¶
- version numbers now provided by
setuptools_scm
0.9.0 (2017-08-10)¶
Added¶
- Converted from a single script to an installable python package
- Remove documentation for tomcat 6, which is no longer supported
- Add
expire
command - Add
vminro
command - Add
sslconnectorciphers
command - Add
threaddump
command - Add
findleaks
command - Add
status
command - Unit tests using pytest
- Support Tomcat parallel deployment
- Real documentation using Sphinx
- Packaged to PyPI
Changed¶
- Switch from getopt to argparse
- Use
cmd2
, if available, instead ofcmd
- Switch from
urllib
torequests
Removed¶
- Drop support for Python 3.3
Changes in 2014 and 2015¶
- Remove methods deprecated in Python 3.4
- Add documentation to support Tomcat 7