- GitHub actions for tests (
quality-assurance.yaml
) and publishing to npm (npm-publish.yaml
).
config
method can now get an object{ varPrefix: string }
to specify a different environment variables prefix.
- CircleCI action config.
CHANGELOG
added.onDedicated
method that determines if the current environment is a Platform.sh Dedicated environment. Replaces deprecatedonEnterprise
method.
- Deprecates
onEnterprise
method - which is for now made to wrap around the addedonDedicated
method.onEnterprise
will be removed in a future release, so update your projects to useonDedicated
instead as soon as possible.
getPrimaryRoute
method for accessing routes marked "primary" inroutes.yaml
.getUpstreamRoutes
method returns an object map that includes only those routes that point to a valid upstream.
- Credential formatter
puppeteerFormatter
that returns Puppeteer connection string for using Headless Chrome on Platform.sh.
- Removes the strict guard in place on the
variables
method.
- Checks for valid environments were relaxed to unbreak use during local development.
hasRelationship
method to verify relationship has been defined before attempting to access credentials for it.
- BSD-2-Clause to MIT license.
- CircleCI deploy hook added to publish to npm.