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
refactor: in discovery, rename getSourceCredentials to getCredentials
update ibm-cloud-sdk-core, which renames `getCredentials` to `getServiceCredentials`
BREAKING CHANGE: These method renames are breaking changes. Update the method names to migrate your code.
Copy file name to clipboardExpand all lines: UPGRADE-4.0.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
-[Breaking changes]
3
3
-[Methods no longer return stream]
4
4
-[Error Handling Compatibility]
5
+
-[Default Methods Compatibility]
5
6
-[Removed Services]
6
7
-[Constructor Compatibility]
7
8
-[Assistant Compatibility]
@@ -42,6 +43,9 @@ The object returned is of class `Error` and has the following properties:
42
43
43
44
If a request is made but no response is received (very rare), `error.body` will be an instance of [HTTP.ClientRequest](https://nodejs.org/api/http.html#http_class_http_clientrequest).
44
45
46
+
### Default Methods Compatibility
47
+
- The method `getCredentials`, which formerly returned an object containing all user credentials (username, password, etc.), has been renamed to `getServiceCredentials`
48
+
45
49
### Removed Services
46
50
The following services have been deprecated for an extended period of time and will no longer be supported in the SDK:
47
51
- Dialog
@@ -57,6 +61,9 @@ The following services have been deprecated for an extended period of time and w
57
61
- Parameter name changed: `export` -> `_export` (_All instances_)
58
62
59
63
### Discovery Compatibility
64
+
#### getSourceCredentials
65
+
- Method name changed: `getSourceCredentials` -> `getCredentials`
66
+
60
67
#### getEnvironments
61
68
- Method name changed: `getEnvironments` -> `listEnvironments`
0 commit comments