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
Copy file name to clipboardExpand all lines: V4-Upgrade-Guide.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ The To-Do list is:
19
19
20
20
-[Update Your Project Dependencies](#update-your-project-dependencies)
21
21
-[Update to Node 22 or Newer](#update-to-node-22-or-newer)
22
+
-[Set `useCache` explicitly to false to turn off destination caching](#set-useCache-explicitly-to-false-to-turn-off-destination-caching)
22
23
23
24
## Update Your Project Dependencies
24
25
@@ -34,3 +35,15 @@ We recommend updating your applications in one commit or pull request and making
34
35
All SAP Cloud SDK for JavaScript libraries now support node 22 (LTS) as the **minimum** node version.
35
36
If you are using a node version older than 22, update your runtime environment to a newer version.
36
37
On Cloud Foundry you can do this by [setting the node engine in your `package.json`](https://docs.cloudfoundry.org/buildpacks/node/index.html#runtime).
38
+
39
+
## Set `useCache` explicitly to false to turn off destination caching
40
+
41
+
**Destination caching while retrieving destinations via the destination service is now enabled by default.**
42
+
This change affects the default behviour of `getDestination()` method, generated client's `execute()` method and generic HTTP requests execution using `executeHttpRequest()`.
43
+
44
+
To disable caching set `useCache: false` in the options, for example in `execute()` method:
0 commit comments