Tomcatmanager

Latest version: v7.0.1

Safety actively analyzes 629678 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

3.0.0

Not secure
------------------

Added
^^^^^

- Support for discovering and exposing the version of the Tomcat server we
are connected to in the API. See `TomcatManager.connect()
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManager.html#tomcatmanager.tomcat_manager.TomcatManager.connect>`_,
`TomcatManager.implements()
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManager.html#tomcatmanager.tomcat_manager.TomcatManager.implements>`_,
and `TomcatManager.implemented_by()
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManager.html#tomcatmanager.tomcat_manager.TomcatManager.implemented_by>`_.
- `TomcatMajorMinor <https://tomcatmanager.readthedocs.io/en/stable/api/TomcatMajorMinor.html>`_
enumeration for supported versions of Tomcat. Major and minor have the meaning
defined at `https://semver.org/ <https://semver.org>`_.
- `TomcatManager.tomcat_major_minor
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManager.html#tomcatmanager.tomcat_manager.TomcatManager.tomcat_major_minor>`_
attribute which contains one of the values from `TomcatMajorMinor`_
representing the version of the Tomcat server we are connected to.
- Control server SSL/TLS certificate validation using the new ``verify`` parameter
to `TomcatManager.connect()`_.
Also available from the command-line and interactive mode using the ``--cacert``
and ``--noverify`` options of the ``connect`` command.
- Client side SSL/TLS certificate authentication added to
`TomcatManager.connect()`_
via the ``cert`` parameter. Also available from the command line and interactive
mode using the ``--cert`` and ``--key`` options of the ``connect`` command.
- Documentation explaining all
`authentication <https://tomcatmanager.readthedocs.io/en/stable/authentication.html>`_
approaches with configuration and usage examples.
- Documentation for
`migrating from 2.x to 3.x
<https://tomcatmanager.readthedocs.io/en/stable/api/migrating3.html>`_.


Changed
^^^^^^^
- `TomcatManager
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManager.html>`_
methods raise `TomcatNotConnected
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatNotConnected.html>`_ if
called before `connect()
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManager.html#tomcatmanager.tomcat_manager.TomcatManager.connect>`_.
Previously you got a `TomcatManagerResponse
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManagerResponse.html>`_
and had to call `raise_for_status()
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManagerResponse.html#tomcatmanager.models.TomcatManagerResponse.raise_for_status>`_
or check `ok
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManagerResponse.html#tomcatmanager.models.TomcatManagerResponse.ok>`_
in order to determine that you weren't connected.
- `TomcatManager.url
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManager.html#tomcatmanager.tomcat_manager.TomcatManager.url>`_
and `TomcatManager.user
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManager.html#tomcatmanager.tomcat_manager.TomcatManager.user>`_
are now read-only properties set by `TomcatManager.connect()`_.
- `TomcatManager`_ methods raise `TomcatNotImplementedError
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatNotImplementedError.html>`_
if the server does not implement the requested capability. For example `ssl_reload()
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManager.html#tomcatmanager.tomcat_manager.TomcatManager.ssl_reload>`__
is not implemented by Tomcat 7.0.x or 8.0.x, so if you are connected to a Tomcat 7.0.x
server and call `ssl_reload()
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManager.html#tomcatmanager.tomcat_manager.TomcatManager.ssl_reload>`__,
`TomcatNotImplementedError`_ will be raised.
- Timeouts were previously ``int`` only, now they can be ``float``
- The ``timeout`` parameter to `TomcatManager.connect()`_
is now keyword only.


Fixed
^^^^^

- `TomcatManager.connect()`_ no longer erroneously sets the `url
<https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManager.html#tomcatmanager.tomcat_manager.TomcatManager.url>`_
and `user <https://tomcatmanager.readthedocs.io/en/stable/api/TomcatManager.html#tomcatmanager.tomcat_manager.TomcatManager.user>`_
attributes if an exception is raised.
- Allow ``--timeout=0`` from the command line if you want to wait forever for
network operations.

2.0.0

Not secure
------------------

Added
^^^^^

- Support for Python 3.9
- Support for Tomcat 10
- New methods on TomcatManager: ``ssl_connector_certs()``,
``ssl_connector_trusted_certs()``, and ``ssl_reload()``
- New commands in ``tomcat-manager``: ``sslconnectorcerts``,
``sslconnectortrustedcerts`` and ``sslreload``
- Documentation for `migrating from 1.x to 2.x
<https://tomcatmanager.readthedocs.io/en/stable/api/migrating2.html>`_

Changed
^^^^^^^

- ``TomcatApplication.state`` now contains an ``Enum`` instead of an
``AttrDict``
- The ``tomcatmanager.application_states`` dict has been replaced by the
``tomcatmanager.ApplicationState`` enum
- Timeouts can now be ``float`` instead of ``int``
- Improved documentation for network timeouts

Removed
^^^^^^^

- Support for Python 3.5, which as of 2020-09-13 no longer receives
security updates
- Dependency on ``attrdict`` module, which has been archived

1.0.2

Not secure
------------------

Changed
^^^^^^^

- upstream ``cmd2`` library released v1.0.0. Now require ``cmd2>=1,<2``.

Fixed
^^^^^

- timeout command line and setting was not being honored

1.0.1

Not secure
------------------

Changed
^^^^^^^

- ``cmd2=0.10`` changed the way settings work. We now require that version or higher.

1.0.0

Not secure
------------------

Changed
^^^^^^^

- Switch documentation theme from ``alabaster`` to ``sphinx_rtd_theme``

Added
^^^^^

- Already have a setting to control network timeouts. Added a command line option
``--timeout`` to do the same, making it easier for modify for command-line only use.
- Adjustments for upstream changes in ``cmd2``. No longer pinned to
``cmd2=0.9.4``, but require ``cmd2>=0.9.14``.
- Add support for Python 3.8.
- Add documentation style checking using ``doc8``.

Removed
^^^^^^^

- Drop support for Python 3.4, which reached end-of-life on Mar 18, 2019.

0.14.0

Not secure
-------------------

Changed
^^^^^^^
- ``invoke clean.pycache`` is now ``invoke clean.bytecode``
- Run tests using python 3.7 on Appveyor and Travis
- Source code has been moved inside of ``src`` directory
- Pin cmd2 to version 0.9.4; newer versions break us badly

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.