Sprockets-postgres

Latest version: v1.8.1

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

Scan your dependencies

Page 2 of 3

1.4.1

Previous releases would include the database password in log messages when running in debug mode. This release replaces the password when logging connection DSNs with a fixed ***** string.

1.4.0

- Implements a change in sprockets_postgres.PostgresConnector to only handle `psycopg2.OperationalError` and `asyncio.TimeoutError` so that other exceptions are not swallowed as connection issues when using the context manager.
- Logs a warning when a QueryResult object is being built and a `psycopg2.ProgrammingException` is raise with a `pgcode` value which should never happen.
- Adds an optional `sprockets_postgres.StatusRequestHandler` as a quick implementation of a RequestHandler for API health-checking.

1.3.3

Fix a bug in statsd metric submission where the order of the arguments being passed in was incorrect.

1.3.2

Creating asyncio objects in `tornado.web.Application.__init__` causes issues with multi-process application creation when initializing the HTTP server.

1.3.1

Only change is the DEBUG log entry for the URL being connected to

1.3.0

This update adds rediscovery of SRV records when a connection is interrupted.
In addition it changes SRV behavior to include all hosts returned in SRV records, in priority and weight order as part of the computed Postgres URL.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.