Mode

Latest version: v4.4.0

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

Scan your dependencies

Page 6 of 15

3.0.7

=====
:release-date: 2019-01-18 01:12 P.M PDT
:release-by: Ask Solem (:github_user:`ask`)

- **ServiceThread** ``.stop()`` would wait for thread shutdown
even if thread was never started.

- **CI**: Adds CPython 3.7.2 and 3.6.8 to build matrix

.. _version-3.0.6:

3.0.6

=====
:release-date: 2019-01-07 12:10 P.M PDT
:release-by: Ask Solem (:github_user:`ask`)

- Adds ``%(extra)s`` as log format option.

To add additional context to your logging statements use for example::

logger.error('Foo', extra={'data': {'database': 'db1'}})

.. _version-3.0.5:

3.0.5

=====
:release-date: 2018-12-19 04:40 P.M PDT
:release-by: Ask Solem (:github_user:`ask`)

- Fixes compatibility with :pypi:`colorlog` 4.0.x.

Contributed by Ryan Whitten (:github_user:`rwhitten577`).

.. _version-3.0.4:

3.0.4

=====
:release-date: 2018-12-07 04:40 P.M PDT
:release-by: Ask Solem (:github_user:`ask`)

- Now depends on :pypi:`mypy_extensions`.

.. _version-3.0.3:

3.0.3

=====
:release-date: 2018-12-07 3:22 P.M PDT
:release-by: Ask Solem (:github_user:`ask`)

- Threads: Fixed delay in shutdown if ``on_thread_stop`` callback raises
exception.

- Service: Stopping of children no longer propagates exceptions, to ensure
other services are still stopped.

- Worker: Fixed race condition if worker stopped before being fully started.

This would lead the worker to shutdown early before fully stopping
all dependent services.

- Tests: Adds :class:`~mode.utils.mocks.AsyncMagicMock`

.. _version-3.0.2:

3.0.2

=====
:release-date: 2018-12-07 1:14 P.M PDT
:release-by: Ask Solem (:github_user:`ask`)

- Worker: Fixes crash on Windows where signal handlers cannot be registered.

- Utils: Adds :func:`~mode.utils.objects.shortname` to get non-qualified
object path.

- Utils: Adds :func:`~mode.utils.objects.canonshortname` to get non-qualified
object path that attempts to resolve the real name of ``__main__``.

.. _version-3.0.1:

Page 6 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.