Yellowbox

Latest version: v0.8.8

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

Scan your dependencies

Page 3 of 7

0.7.5

Added
* support for python 3.11
* added the `fake_gcs` extra, to set up a fake google cloud storage container.
Internal
* removed deprecated function from hvac tests

0.7.4

Fixed
* all dependencies have been unlocked for major changes (`^X` => `>=X`)

0.7.3

Fixed
* the type hints for `class_http_endpoint` and `class_ws_endpoint` have been changed to allow any side effect
(including methods).
Changed
* When an `MockHTTPEndpoint`/`MockWSEndpoint` raises an exception, the traceback is printed.

0.7.2

Added
* `removing` context wrapper, that ensures containers will be removed after exiting.
* `MSSQLService`, a new service that can be used to create a new MSSQL database.
* `database` mixing method, use to create and manage database within an sql service. In use both in `MSSQLService` and
`PostgreSQLService`.
* `PostgreSQLService`'s `*_connection_string` methods now also accept an `options` argument.
* `PostgreSQLService`'s constructor now accept the `local_driver` and `local_options` arguments.
Deprecated
* `PostgreSQLService`'s `engine` and `connection` methods are now deprecated, create an sqlalchemy engine and
connection manually instead.
Fixed
* rabbitmq service startup can now handle `AMQPConnectorException`.
* `azure-blob-storage` of versions `12.11.0` and up can now be installed.
* header type hinting for expected webservice requests
* headers in recorded webservice requests are now always lowercase
Changed
* redis' default retry attempts changed from 10 to 15.
Internal
* tests have been streamlined to be faster and more stable
* If a helper container fails during tests, it will not be removed

0.7.1

Added
* pytest integration, with the `docker_client` fixture
* `AsyncRunMixin` class, to allow starting up services asynchronously
* Note: Currently, only waiting for services to start is asynchronous.
* `webserver.verbose_http_side_effect` to print all http traffic through an endpoint.
* Webserver: all endpoint factory functions now also accept a `name` parameter, to manually set the name of an endpoint.
* `RetrySpec.aretry` to retry a function but to wait asynchronously between attempts.
Changed
* `docker_client` function renamed to `open_docker_client` (legacy alias kept for backwards compatibility)
* `extras.BlobStorageService` renamed to `extras.AzuriteService` (legacy alias kept for backwards compatibility)
* Webserver no longer uses uvicorn's logging. This can be reverted by manually setting the `log_config` in `WebServer`'s constructor.
To note endpoint access, use `webserver.verbose_http_side_effect`.
Deprecated
* `yellowbox.docker_client` should be replaced with `yellowbox.open_docker_client`
* `yellowbox.extras.BlobStorageService` should be replaced with `yellowbox.extras.AzuriteService`

0.7.0

Removed
* the method ``RecordedHTTPRequests.has_requests_any_order`` has been removed.
Fixed
* webserver: fixed websocket endpoint not working for starlette 0.18
Changed
* igraph is no longer a requirement for webserver

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.