Platformshconfig

Latest version: v2.3.1

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

Scan your dependencies

Page 1 of 2

2.3.1

Added

* `CHANGELOG` added.
* `on_dedicated` method that determines if the current environment is a Platform.sh Dedicated environment. Replaces deprecated `on_enterprise` method.

Changed

* Deprecates `on_enterprise` method - which is for now made to wrap around the added `on_dedicated` method. `on_enterprise` **will be removed** in a future release, so update your projects to use `on_dedicated` instead as soon as possible.

2.3.0

Added

* `get_primary_route` method for accessing routes marked "primary" in `routes.yaml`.
* `get_upstream_routes` method returns an object map that includes only those routes that point to a valid upstream.

2.2.3

Changed

* Removes guard on `variables()` method.

2.2.2

Changed

* Refactors dynamic property access to be more permissive.

2.2.1

Changed

* More permissive check for relationships.

2.2.0

Added

* `postgresql_dsn` credential formatter; returns a DSN appropriate for PostgreSQL connection.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.