You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`onDedicated` method that determines if the current environment is a Platform.sh Dedicated environment. Replaces deprecated `onEnterprise` method.
9
+
10
+
### Changed
11
+
12
+
* Deprecates `onEnterprise` method - which is for now made to wrap around the added `onDedicated` method. `onEnterprise`**will be removed** in a future release, so update your projects to use `onDedicated` instead as soon as possible.
13
+
14
+
## [2.3.0] - 2019-09-19
15
+
16
+
### Added
17
+
18
+
*`getPrimaryRoute` method for accessing routes marked "primary" in `routes.yaml`.
19
+
*`getUpstreamRoutes` method returns an object map that includes only those routes that point to a valid upstream.
20
+
21
+
## [2.2.5] - 2019-06-04
22
+
23
+
### Added
24
+
25
+
* Credential formatter `puppeteerFormatter` that returns Puppeteer connection string for using [Headless Chrome](https://docs.platform.sh/configuration/services/headless-chrome.html) on Platform.sh.
26
+
27
+
## [2.2.1] - 2019-04-30
28
+
29
+
### Removed
30
+
31
+
* Removes the strict guard in place on the `variables` method.
32
+
33
+
## [2.2.0] - 2019-04-24
34
+
35
+
### Changed
36
+
37
+
* Checks for valid environments were relaxed to unbreak use during local development.
38
+
39
+
## [2.1.0] - 2019-03-22
40
+
41
+
### Added
42
+
43
+
*`hasRelationship` method to verify relationship has been defined before attempting to access credentials for it.
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,11 +61,17 @@ config.inBuild();
61
61
62
62
config.inRuntime();
63
63
64
-
config.onEnterprise();
64
+
config.onDedicated();
65
65
66
66
config.onProduction();
67
67
```
68
68
69
+
> **Note:**
70
+
>
71
+
> Platform.sh will no longer refer to its [99.99% uptime SLA product](https://platform.sh/solutions/) as "Enterprise", but rather as "Dedicated". Configuration Reader libraries have in turn been updated to include an `onDedicated` method to replace `onEnterprise`. For now `onEnterprise` remains available. It now calls the new method and no breaking changes have been introduced.
72
+
>
73
+
> It is recommended that you update your projects to use `onDedicated` as soon as possible, as `onEnterprise` will be removed in a future version of this library.
74
+
69
75
### Read environment variables
70
76
71
77
The following magic properties return the corresponding environment variable value. See the [Platform.sh documentation](https://docs.platform.sh/development/variables.html) for a description of each.
0 commit comments