Baseplate

Latest version: v2.6.0

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

Scan your dependencies

Page 10 of 24

2.3.2

Bug fix

* sqlalchemy: Don't truncate the executed statement, just the tag (635)

2.3.1

Bug Fix

* Fix CachingSecretsStore issue missing parser (634)

2.3.0

New Features

SecretsStore support for Vault CSI

**Note for reddit devs: this requires some infrastructural components that will be rolling out in the near future. Hold tight!**

The `SecretsStore` now supports the [Vault CSI secret provider](https://www.vaultproject.io/docs/platform/k8s/csi) as an alternative to the secrets fetcher sidecar, reducing deployment complexity.

When it comes time to make the swap, change your application configuration to use the new provider and point it at the directory the secrets are written into:

ini
[app:main]

...

secrets.provider = vault_csi
secrets.path = /var/lib/secrets

...


You will also need to update the names of secrets in your application to match the output of the CSI provider.

See 625.

Prometheus exporter in baseplate-serve

If the `prometheus-client` package is installed, running `baseplate-serve` will now also start up a Prometheus HTTP exporter listening on port 6060. This does not affect any statsd metrics you are emitting.

You can generate Prometheus metrics using [prometheus-client]'s metrics classes:

python
from prometheus_client import Counter

c = Counter("sheep_counted", "Description of metric")
c.inc()


and they will be automatically available in the exporter's HTTP endpoint. Baseplate.py does not currently emit any standard span-based metrics via Prometheus but we will be building this in the near future.

The exporter is multiprocess-aware. If your application runs under Einhorn, any given worker process will report metrics registered by all of its local peers as well.

[prometheus-client]: https://pypi.org/project/prometheus-client/

See 632.

Changes

* sqlalchemy: limit statement tag length (615)

Bug Fixes

* Fix syntax error in shell logging (also in v2.2.1, 621)
* Fix healthcheck failure message (also in v2.2.2, 623)
* Add a timeout to fix hung requests to vault (also in v2.2.2, 624)
* Don't show confusing IPython exception context in shell tracebacks (630)
* Don't show confusing BatchFull exception context on event publisher errors (631)

2.2.3

What's Changed
* rm annoying Prometheus Client log that isnt helpful by JessicaGreben in https://github.com/reddit/baseplate.py/pull/661


**Full Changelog**: https://github.com/reddit/baseplate.py/compare/v2.4.1...v2.4.3

2.2.2

Bug Fixes

* Fix healthcheck failure message (623)
* Add a timeout to fix hung requests to vault (624)

2.2.1

Bug Fixes

* Fix syntax error in shell logging (621)

Page 10 of 24

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.