- GitHub actions for tests (
quality-assurance.yaml) and publishing to npm (npm-publish.yaml).
configmethod can now get an object{ varPrefix: string }to specify a different environment variables prefix.
- CircleCI action config.
CHANGELOGadded.onDedicatedmethod that determines if the current environment is a Platform.sh Dedicated environment. Replaces deprecatedonEnterprisemethod.
- Deprecates
onEnterprisemethod - which is for now made to wrap around the addedonDedicatedmethod.onEnterprisewill be removed in a future release, so update your projects to useonDedicatedinstead as soon as possible.
getPrimaryRoutemethod for accessing routes marked "primary" inroutes.yaml.getUpstreamRoutesmethod returns an object map that includes only those routes that point to a valid upstream.
- Credential formatter
puppeteerFormatterthat returns Puppeteer connection string for using Headless Chrome on Platform.sh.
- Removes the strict guard in place on the
variablesmethod.
- Checks for valid environments were relaxed to unbreak use during local development.
hasRelationshipmethod 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.